Intelligent power-saving display method, system and computer readable storage medium

By periodically collecting images from the display screen, calculating brightness, and dynamically adjusting the screen brightness, the problem of high energy consumption of the display screen is solved, achieving intelligent power saving and improved user experience.

CN122116844APending Publication Date: 2026-05-29YIBIN BENXIN ELECTRONIC TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
YIBIN BENXIN ELECTRONIC TECH CO LTD
Filing Date
2026-03-24
Publication Date
2026-05-29

Smart Images

  • Figure CN122116844A_ABST
    Figure CN122116844A_ABST
Patent Text Reader

Abstract

The application discloses a kind of intelligent power-saving display method, system and computer readable storage medium.The present application obtains the picture displayed by display periodically, then obtains the brightness value of the pixel of current display picture, and calculates the brightness percentage of current display picture, then adjusts the brightness value of display according to the brightness percentage of current display picture;Specifically, when brightness percentage is less than N%, the target brightness of display is fixed as M% brightness, when brightness percentage is greater than or equal to N%, it is adjusted according to the preset adjustment table, in the adjustment table, each brightness percentage corresponds to a target brightness value of display;In the adjustment table, as brightness percentage gradually increases from N%, the target brightness value of display presents the trend that gradually decreases from M% starting;So as to realize the effect of energy saving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of display technology, and more particularly to an energy-saving display method, system, and computer-readable storage medium. Background Technology

[0002] With societal progress, displays are being used more and more, such as computer monitors, televisions, laptops, mobile phones, tablets, and advertising displays. However, their power consumption is still very high when playing videos. This is especially true for large-sized, high-brightness displays, which consume a great deal of power when playing videos.

[0003] Therefore, existing technologies have shortcomings and need to be improved. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide an intelligent power-saving display method, system and computer-readable storage medium to reduce the energy consumption of the display during display.

[0005] The technical solution of the present invention is as follows: a smart power-saving display method is provided, comprising the following steps.

[0006] S1: Periodically capture the image currently displayed on the screen.

[0007] S2: Convert the currently displayed image into a NumPy array. The NumPy array stores all pixel information of the image in the structure of "height, width, pixel data at this position". The pixel data at this position is the pixel data of the three colors of red (R), green (G), and blue (B) at this position. The value of the three colors of pixel data at each position represents the brightness of the corresponding color of the pixel. The value range is 0-255, where 0 is the darkest and 255 is the brightest.

[0008] S3: Split the red, green, and blue color channels; extract the red, green, and blue values ​​of all pixels from the NumPy array above to form three independent numerical matrices, namely the red matrix, green matrix, and blue matrix, with the matrix size of each color being the same as the pixel size of the image.

[0009] S4: Calculate the average brightness of each color channel; calculate the average value of all values ​​in the red matrix, green matrix, and blue matrix respectively to obtain the red average value, green average value, and blue average value; these three average values ​​can reflect the overall intensity of the whole image in the three color dimensions of red, green, and blue (for example, a high red average value indicates that the image is generally reddish).

[0010] S5: Calculate the overall brightness of the image; referencing the human eye's sensitivity to different colors (most sensitive to green, least sensitive to blue), use the brightness formula (industry standard): Overall Brightness = Red Coefficient a × Average Red Value + Green Coefficient b × Average Green Value + Blue Coefficient c × Average Blue Value, where the red coefficient a ranges from 0.299 ± 0.0299, the green coefficient b ranges from 0.587 ± 0.0587, and the blue coefficient c ranges from 0.114 ± 0.0114; the overall brightness value ranges from 0 to 255, with a larger value indicating a brighter image; the overall brightness result accurately reflects the actual perceived brightness of the image by the human eye.

[0011] S6: Output the overall brightness value of the image.

[0012] S7: Calculate the brightness percentage. The formula is: Brightness percentage = Overall brightness value / 255 * 100.

[0013] S8: Dynamically adjust the target brightness value of the display based on the brightness percentage; when the brightness percentage is < N%, the target brightness of the display is fixed at M% brightness; when the brightness percentage is ≥ N%, it is adjusted according to the preset adjustment table. In this adjustment table, each brightness percentage corresponds to a target brightness value of the display. In this adjustment table, as the brightness percentage gradually increases from N%, the target brightness value of the display shows a trend of gradually decreasing from M%.

[0014] The periodicity in step S1 is every 1ms-1s.

[0015] Step S3 also includes converting the values ​​in the red, green, and blue matrices into floating-point numbers to avoid losing precision during calculation.

[0016] The N is no greater than 30, and the M is no greater than 70.

[0017] In this adjustment table, the brightness percentage value increases linearly, and the corresponding target brightness value of the monitor decreases linearly; or, in this adjustment table, the brightness percentage value is divided into several levels, and each level of brightness percentage corresponds to a fixed target brightness value of the monitor.

[0018] Step S6 also includes outputting the average brightness values ​​of the three colors: red, green, and blue. This facilitates further analysis based on the data, such as determining whether the image is too dark or has a color cast.

[0019] When the average brightness of one of the three colors is greater than the sum of the average brightness of the other two colors, and the brightness percentage is ≥N%, the target brightness value of the monitor will be reduced by no more than 10% when adjusted according to the preset adjustment table.

[0020] The present invention also provides an intelligent power-saving display system, comprising: a computer module, a display, and a human-computer interaction module; the human-computer interaction module is used to input control commands to determine the screen to be displayed on the display, and the computer module is equipped with a computer program for executing the aforementioned intelligent power-saving display method.

[0021] The display includes a main control MCU, and the computer module sends instructions to the main control MCU to adjust the brightness of the display; the human-computer interaction module includes at least one of the following: keyboard, mouse, touch screen, and voice input microphone.

[0022] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed, implements the aforementioned intelligent power-saving display method.

[0023] By employing the above-described solution, this invention provides an intelligent power-saving display method, system, and computer-readable storage medium. It periodically acquires the image displayed on the monitor, then acquires the brightness value of the pixels in the current display image, calculates the brightness percentage of the current display image, and then adjusts the monitor's brightness value based on the current brightness percentage. Specifically, when the brightness percentage is < N%, the target brightness of the monitor is fixed at M%. When the brightness percentage is ≥ N%, adjustments are made according to a preset adjustment table. In this adjustment table, each brightness percentage corresponds to a target brightness value for the monitor. As the brightness percentage gradually increases from N%, the target brightness value of the monitor gradually decreases from M%, thus achieving energy savings. Furthermore, because this solution uses linear and abrupt adjustments, it effectively avoids flickering caused by excessive brightness adjustments, improving the user experience. Moreover, users can customize the monitor's brightness for each brightness percentage to meet individual needs. Similarly, multiple different energy-saving modes can be set, each with a different slope for the target brightness value decreasing from M%, thus adapting to the needs of different users. Attached Figure Description

[0024] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation

[0025] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.

[0026] Please see Figure 1 The present invention provides an intelligent power-saving display method, comprising the following steps.

[0027] S1: Periodically captures the image currently displayed on the screen. It should be noted that the image currently displayed on the screen can be the image being displayed or the next frame that is about to be displayed.

[0028] S2: Convert the currently displayed image into a NumPy array. The NumPy array stores all pixel information of the image in the structure of "height, width, pixel data at this position". The pixel data at this position is the pixel data of the three colors of red (R), green (G), and blue (B) at this position. The value of the three colors of pixel data at each position represents the brightness of the corresponding color of the pixel. The value range is 0-255, where 0 is the darkest and 255 is the brightest.

[0029] S3: Split the red, green, and blue color channels; extract the red, green, and blue values ​​of all pixels from the NumPy array above to form three independent numerical matrices, namely the red matrix, green matrix, and blue matrix, with the matrix size of each color being the same as the pixel size of the image.

[0030] S4: Calculate the average brightness of each color channel; calculate the average value of all values ​​in the red matrix, green matrix, and blue matrix respectively to obtain the red average value, green average value, and blue average value; these three average values ​​can reflect the overall intensity of the whole image in the three color dimensions of red, green, and blue (for example, a high red average value indicates that the image is generally reddish).

[0031] S5: Calculate the overall brightness of the image; referencing the human eye's sensitivity to different colors (most sensitive to green, least sensitive to blue), use the brightness formula (industry standard): Overall Brightness = Red Coefficient a × Average Red Value + Green Coefficient b × Average Green Value + Blue Coefficient c × Average Blue Value, where the red coefficient a ranges from 0.299 ± 0.0299, the green coefficient b ranges from 0.587 ± 0.0587, and the blue coefficient c ranges from 0.114 ± 0.0114; the overall brightness value ranges from 0 to 255, with a larger value indicating a brighter image; the overall brightness result accurately reflects the actual perceived brightness of the image by the human eye. Preferably, the red coefficient a is 0.299, the green coefficient b is 0.587, and the blue coefficient c is 0.114.

[0032] S6: Output the overall brightness value of the image.

[0033] S7: Calculate the brightness percentage. The formula is: Brightness percentage = Overall brightness value / 255 * 100.

[0034] S8: Dynamically adjust the target brightness value of the display based on the brightness percentage; when the brightness percentage is < N%, the target brightness of the display is fixed at M% brightness; when the brightness percentage is ≥ N%, adjust according to a preset adjustment table, in which each brightness percentage corresponds to a target brightness value of the display; in this adjustment table, as the brightness percentage gradually increases from N%, the target brightness value of the display shows a trend of gradually decreasing from M%. In a preferred embodiment, when the brightness percentage is < 50%, the target brightness of the display is fixed at 50% brightness; when the brightness percentage is ≥ 50%, adjust according to a preset adjustment table, in which each brightness percentage corresponds to a target brightness value of the display; in a specific embodiment, the adjustment table is as follows.

[0035]

[0036] It should be noted that this adjustment table allows users to set the brightness percentage and corresponding target brightness value to meet the needs of different users.

[0037] The periodicity in step S1 is every 1ms-1s.

[0038] Step S3 also includes converting the values ​​in the red, green, and blue matrices into floating-point numbers to avoid losing precision during calculation.

[0039] The N is no greater than 30, and the M is no greater than 70.

[0040] In this adjustment table, the brightness percentage value increases linearly, and the corresponding target brightness value of the monitor decreases linearly; or, in this adjustment table, the brightness percentage value is divided into several levels, and each level of brightness percentage corresponds to a fixed target brightness value of the monitor.

[0041] Step S6 also includes outputting the average brightness values ​​of the three colors: red, green, and blue. This facilitates further analysis based on the data, such as determining whether the image is too dark or has a color cast.

[0042] When the average brightness of one of the three colors is greater than the sum of the average brightness of the other two colors, and the brightness percentage is ≥N%, the target brightness value of the monitor will be reduced by no more than 10% when adjusted according to the preset adjustment table.

[0043] This embodiment also provides an intelligent power-saving display system, including: a computer module, a monitor, and a human-computer interaction module; the human-computer interaction module is used to input control commands to determine the screen to be displayed on the monitor, and the computer module is equipped with a computer program, which is used to execute the aforementioned intelligent power-saving display method.

[0044] The display includes a main control MCU, and the computer module sends commands to the main control MCU to adjust the brightness of the display. The human-computer interaction module includes at least one of a keyboard, mouse, touchscreen, and voice input microphone. The main control MCU adjusts the brightness of the display, reducing the transmission distance of the brightness adjustment signal and making the adjustment more efficient.

[0045] This embodiment also provides a computer-readable storage medium storing a computer program, which, when executed, implements the aforementioned intelligent power-saving display method.

[0046] In summary, this invention provides an intelligent power-saving display method, system, and computer-readable storage medium. It periodically acquires the image displayed on the monitor, then acquires the brightness value of the pixels in the currently displayed image, calculates the brightness percentage of the currently displayed image, and then adjusts the monitor's brightness value based on the current brightness percentage. Specifically, when the brightness percentage is < N%, the target brightness of the monitor is fixed at M%. When the brightness percentage is ≥ N%, adjustment is performed according to a preset adjustment table. In this adjustment table, each brightness percentage corresponds to a target brightness value for the monitor. As the brightness percentage gradually increases from N%, the target brightness value of the monitor gradually decreases from M%, thus achieving energy saving. Furthermore, because this solution uses linear and abrupt adjustment, it effectively avoids flickering caused by excessive brightness adjustment, improving the user experience. Moreover, users can customize the monitor's brightness for each brightness percentage to meet individual needs. Similarly, multiple different power-saving modes can be set, each with a different slope for the target brightness value decreasing from M%, thus adapting to the needs of different users.

[0047] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A smart, power-saving display method, characterized in that, Includes the following steps: S1: Periodically acquire the image currently displayed on the screen; S2: Convert the currently displayed image into a NumPy array. The NumPy array stores all pixel information of the image in the structure "height, width, pixel data at this position". The pixel data at this position is the pixel data of the three colors of red, green and blue at this position. The value of the three colors of pixel data at each position represents the brightness of the corresponding color of the pixel. The value range is 0-255, where 0 is the darkest and 255 is the brightest. S3: Split the red, green, and blue color channels; extract the red, green, and blue values ​​of all pixels from the NumPy array above to form three independent numerical matrices, namely the red matrix, green matrix, and blue matrix, with the matrix size of each color being the same as the pixel size of the image; S4: Calculate the average brightness of each color channel; calculate the average value of all values ​​in the red matrix, green matrix, and blue matrix respectively to obtain the average value of red, green, and blue. S5: Calculate the overall brightness of the image; using the brightness formula: Overall Brightness = Red Coefficient a × Average Red Value + Green Coefficient b × Average Green Value + Blue Coefficient c × Average Blue Value, where the red coefficient a ranges from 0.299 ± 0.0299, the green coefficient b ranges from 0.587 ± 0.0587, and the blue coefficient c ranges from 0.114 ± 0.0114; the overall brightness value ranges from 0 to 255, with a larger value indicating a brighter image. S6: Output the overall brightness value of the image; S7: Calculate the brightness percentage. The formula is: Brightness percentage = Overall brightness value / 255 * 100; S8: Dynamically adjust the target brightness value of the display based on the brightness percentage; when the brightness percentage is < N%, the target brightness of the display is fixed at M% brightness; when the brightness percentage is ≥ N%, it is adjusted according to the preset adjustment table. In this adjustment table, each brightness percentage corresponds to a target brightness value of the display. In this adjustment table, as the brightness percentage gradually increases from N%, the target brightness value of the display shows a trend of gradually decreasing from M%.

2. The intelligent power-saving display method according to claim 1, characterized in that, The periodicity in step S1 is every 1ms-1s.

3. The intelligent power-saving display method according to claim 1, characterized in that, Step S3 also includes converting the values ​​in the red matrix, green matrix, and blue matrix into floating-point numbers.

4. The intelligent power-saving display method according to claim 1, characterized in that, The N is no greater than 30, and the M is no greater than 70.

5. The intelligent power-saving display method according to claim 1, characterized in that, In this adjustment table, the brightness percentage value increases linearly, and the corresponding target brightness value of the monitor decreases linearly; or, in this adjustment table, the brightness percentage value is divided into several levels, and each level of brightness percentage corresponds to a fixed target brightness value of the monitor.

6. The intelligent power-saving display method according to claim 1, characterized in that, Step S6 also includes: outputting the average brightness values ​​of the three colors, red, green and blue.

7. The intelligent power-saving display method according to claim 6, characterized in that, When the average brightness of one of the three colors is greater than the sum of the average brightness of the other two colors, and the brightness percentage is ≥N%, the target brightness value of the monitor will be reduced by no more than 10% when adjusted according to the preset adjustment table.

8. A smart, energy-saving display system, characterized in that, include: The system comprises a computer module, a display, and a human-computer interaction module; the human-computer interaction module is used to input control commands to determine the screen displayed on the display, and the computer module is equipped with a computer program for executing the intelligent power-saving display method according to any one of claims 1-7.

9. The intelligent power-saving display system according to claim 8, characterized in that, The display includes a main control MCU, and the computer module sends instructions to the main control MCU to adjust the brightness of the display; the human-computer interaction module includes at least one of the following: keyboard, mouse, touch screen, and voice input microphone.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the intelligent power-saving display method as described in any one of claims 1-7.