CN117558254A - Display screen brightness adjusting method, system, equipment and storage medium - Google Patents

Display screen brightness adjusting method, system, equipment and storage medium Download PDF

Info

Publication number
CN117558254A
CN117558254A CN202410039115.5A CN202410039115A CN117558254A CN 117558254 A CN117558254 A CN 117558254A CN 202410039115 A CN202410039115 A CN 202410039115A CN 117558254 A CN117558254 A CN 117558254A
Authority
CN
China
Prior art keywords
brightness
value
ambient light
display screen
brightness value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410039115.5A
Other languages
Chinese (zh)
Other versions
CN117558254B (en
Inventor
接军
金桂芳
钟鸣
袁保玉
张浩敏
屠倩雯
严明杰
任继栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Saibao Information Industry Technology Research Institute Co ltd
Original Assignee
Ningbo Saibao Information Industry Technology Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Saibao Information Industry Technology Research Institute Co ltd filed Critical Ningbo Saibao Information Industry Technology Research Institute Co ltd
Priority to CN202410039115.5A priority Critical patent/CN117558254B/en
Publication of CN117558254A publication Critical patent/CN117558254A/en
Application granted granted Critical
Publication of CN117558254B publication Critical patent/CN117558254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a display screen brightness adjusting method, a system, equipment and a storage medium, and relates to the technical field of display screen control, wherein the method comprises the following steps: acquiring a brightness value of ambient light of a display screen; judging whether the brightness value changes or not by the brightness value of the ambient light, and judging whether the ambient light changes after the interval time; if yes, judging that the working mode of the display screen is a stable mode; if not, judging the working mode of the display screen to be a dynamic mode; when the working mode is a stable mode, the brightness of the display screen is adjusted according to the brightness value of the ambient light; and when the working mode is a dynamic mode, stopping adjusting the brightness of the display screen. According to the invention, the working mode of the display is judged according to the brightness value of the ambient light, and the brightness adjustment is carried out according to the working mode of the display, so that the high power consumption of the display screen is avoided, the heating of the display screen is reduced, the service life of the display screen is prolonged, and the brightness adjustment effect of the display screen is improved.

Description

Display screen brightness adjusting method, system, equipment and storage medium
Technical Field
The invention relates to the technical field of display screen control, in particular to a display screen brightness adjusting method, a system, equipment and a storage medium.
Background
With the wide application of display screens in a plurality of fields, each field has higher requirements on the brightness adjusting function of the display screen, for example, in the vehicle field, along with the electrified and intelligent rapid development of automobiles, various display screens are generally arranged on the automobiles, the brightness of the display screen in the automobile can be adjusted according to the ambient light, for example, when the ambient light in front of the display screen is brighter, and when the ambient light in front of the display screen is darker, the display screen is darker.
In the prior art, when the change speed of the ambient light in front of the display screen is high, there is usually ineffective brightness adjustment of the display, because the ambient light in front of the display screen will change again at the next moment, for example, the ambient light at the display screen in the vehicle changes greatly and quickly due to the influence of trees, vehicles, weather and the like on the vehicle running road; frequent control of the brightness of the display screen can cause higher power consumption and larger heating at the same time, so that the cruising time of the automobile is influenced, and the service life of the display screen is also reduced.
Disclosure of Invention
The invention solves the technical problem of improving the brightness adjusting effect of the display screen.
The invention provides a display screen brightness adjusting method, which comprises the following steps:
acquiring a brightness value of ambient light of a display screen;
obtaining interval duration for judging whether the brightness value changes or not through the brightness value of the ambient light, and judging whether the ambient light changes after the interval duration;
if not, judging the working mode of the display screen to be a stable mode; if yes, judging that the working mode of the display screen is a dynamic mode;
when the working mode is a stable mode, adjusting the brightness of the display screen according to the brightness value of the ambient light;
when the working mode is a dynamic mode, stopping adjusting the brightness of the display screen;
wherein, the obtaining the interval duration for judging whether the brightness value changes by the brightness value of the ambient light includes:
establishing a brightness value change coordinate system according to the brightness value and the interval duration, wherein the interval duration is an x-axis, and the brightness value is a y-axis;
when the ambient light changes after the interval time length passes, taking the brightness value of the ambient light and the interval time length as the current change coordinates of the brightness value change coordinate system;
obtaining other change coordinates closest to the current change coordinates according to the current change coordinates, wherein the other change coordinates are of a preset number;
and obtaining an average interval duration according to the interval durations corresponding to the other change coordinates and the current change coordinates, and taking the average interval duration as the interval duration for judging whether the brightness value changes next time.
Optionally, the acquiring the brightness value of the ambient light of the display screen includes:
obtaining a YUV value of the ambient light according to the RGB value of the ambient light through a conversion formula;
obtaining the brightness value of the ambient light according to the brightness value of the YUV value;
the conversion formula is as follows:
Y=0.299×R+0.587×G+0.114×B;
wherein R is the red chromaticity value of the RGB value, G is the green chromaticity value of the RGB value, B is the blue chromaticity value of the RGB value, and Y is the luminance value of the YUV value.
Optionally, the obtaining the brightness value of the ambient light according to the brightness value of the YUV value includes:
setting a section of a preset brightness range according to the brightness value of the YUV value;
judging whether the brightness value of the YUV value is in any interval within the preset brightness range or not;
if yes, taking the brightness value corresponding to the interval as the brightness value of the ambient light;
if not, determining the brightness value of the ambient light according to the brightness value of the YUV value and the preset brightness range;
and taking the brightness value corresponding to the previous interval of the ambient light as the brightness value of the ambient light.
Optionally, the determining the brightness value of the ambient light according to the brightness value of the YUV value and the preset brightness range includes:
obtaining the section of the luminance value of the YUV value before falling into the position according to the position of the luminance value of the YUV value in the preset luminance range;
and taking the brightness value corresponding to the section where the YUV value is located before as the brightness value of the ambient light.
Optionally, the setting a section of a preset brightness range according to the brightness value of the YUV value includes:
when the brightness value of the YUV value is larger than or equal to a first preset brightness threshold value, continuously setting the interval of the preset brightness range;
when the brightness value of the YUV value is smaller than a second preset brightness threshold value, setting the interval of the preset brightness range according to a preset brightness interval;
wherein the first preset brightness threshold is greater than the second preset brightness threshold.
Optionally, the determining whether the ambient light changes after the interval time length includes:
when the brightness value of the ambient light changes after the interval time length passes, judging that the ambient light changes;
and when the brightness value of the ambient light is unchanged after the interval time, judging that the ambient light is unchanged.
Optionally, the adjusting the brightness of the display screen according to the brightness value of the ambient light includes:
obtaining an expected brightness value of the display screen according to the brightness value of the ambient light;
and adjusting the brightness of the display screen according to the expected brightness value.
The invention also provides a display screen brightness adjusting system, which comprises:
the sensing unit is used for acquiring the brightness value of the ambient light of the display screen;
the processing unit is used for obtaining interval duration for judging whether the brightness value changes or not through the brightness value of the ambient light, and judging whether the ambient light changes after the interval duration passes;
if not, judging the working mode of the display screen to be a stable mode; if yes, judging that the working mode of the display screen is a dynamic mode;
wherein, the obtaining the interval duration for judging whether the brightness value changes by the brightness value of the ambient light includes:
establishing a brightness value change coordinate system according to the brightness value and the interval duration, wherein the interval duration is an x-axis, and the brightness value is a y-axis;
when the ambient light changes after the interval time length passes, taking the brightness value of the ambient light and the interval time length as the current change coordinates of the brightness value change coordinate system;
obtaining other change coordinates closest to the current change coordinates according to the current change coordinates, wherein the other change coordinates are of a preset number;
obtaining an average interval duration according to the interval durations corresponding to the other change coordinates and the current change coordinates, and taking the average interval duration as the interval duration for judging whether the brightness value changes next time;
the adjusting unit is used for adjusting the brightness of the display screen according to the brightness value of the ambient light when the working mode is a stable mode;
and stopping adjusting the brightness of the display screen when the working mode is a dynamic mode.
The invention also provides a computer device which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the display screen brightness adjusting method when executing the computer program.
The invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the above-mentioned display screen brightness adjustment method.
According to the display screen brightness adjusting method, system, equipment and storage medium, the ambient light brightness value of the display screen is obtained, the ambient light of the display screen is monitored, the time interval duration for judging whether the ambient light changes each time is calculated according to the ambient light brightness value, the time interval duration is flexibly changed along with the change of the ambient light, when the ambient light is in an unchanged environment, the judging times can be reduced, electric energy is saved, when the ambient light is in the unchanged environment, the judging frequency of the ambient light can be quickened, meanwhile, the working mode of the display screen is determined, whether the display screen meets the brightness switching condition or not is reflected, when the working mode is a stable mode, the ambient light change is not large, the display screen can stably adjust the brightness, at the moment, the brightness of the display screen can be adjusted according to the ambient light brightness value, when the working mode is a dynamic mode, the ambient environment around the display screen is always in a dynamic change phase, at the moment, the brightness of a display screen is not required to be adjusted, the high power consumption is avoided, the display screen heating is reduced, the service life of the display screen is prolonged, and the display screen brightness adjusting effect is improved.
Drawings
FIG. 1 is a block flow diagram of a method for adjusting brightness of a display screen according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a display screen brightness adjusting system according to another embodiment of the invention;
FIG. 3 is a schematic diagram of a computer device according to another embodiment of the present invention;
fig. 4 is a schematic view of an ambient light level change coordinate system according to another embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present invention provides a method for adjusting brightness of a display screen, including:
and acquiring the brightness value of the ambient light of the display screen.
In particular, the brightness value of the ambient light of the display screen, that is, the change of the light around the display screen is obtained, and in a preferred embodiment of the present invention, the ambient light around the display screen may be obtained through RGB sensors provided in the display screen, so as to capture the change of the ambient light.
Obtaining interval duration for judging whether the brightness value changes or not through the brightness value of the ambient light, and judging whether the ambient light changes after the interval duration;
if not, judging the working mode of the display screen to be a stable mode; if yes, judging that the working mode of the display screen is a dynamic mode.
Specifically, whether the ambient light changes within the interval period is judged through the brightness value of the ambient light, if not, the working mode of the display screen is judged to be a stable mode, if yes, the working mode of the display screen is judged to be a dynamic mode, in the preferred embodiment of the invention, whether the ambient light changes within 1s is judged, if not, the working mode of the display screen is judged to be a stable mode, and if yes, the working mode of the display screen is judged to be a dynamic mode. And determining the working mode of the display screen through the brightness value of the ambient light, wherein the working mode of the display screen reflects whether the display screen meets the brightness switching condition at the moment, so that the frequency of brightness adjustment of the display screen is reduced. The stable mode is that the change of the ambient light of the display screen is small, the display screen tends to be stable, and the dynamic mode is that the change of the ambient light of the display screen is large and the display screen is unstable.
Specifically, the operation mode of the display screen is determined by the brightness value of the ambient light, wherein the operation mode of the display screen is determined by the information of the ambient light, so that the ambient light is connected with the display screen, and therefore, the operation mode of the display screen is determined by the brightness value of the ambient light.
And when the working mode is a stable mode, adjusting the brightness of the display screen according to the brightness value of the ambient light.
Specifically, when the operation mode is the stable mode, it means that the ambient light around the display screen is relatively stable at this time, and stable brightness adjustment can be performed at this time, and at this time, the brightness of the display screen can be adjusted based on the brightness value of the ambient light.
And stopping adjusting the brightness of the display screen when the working mode is a dynamic mode.
Specifically, when the working mode is the dynamic mode, the ambient light around the display screen is unstable and is in a frequently changed state, and the display screen displays the dynamic mode at this time, so if the brightness adjustment is performed on the basis, the brightness adjustment is affected by the frequent change of the ambient light, and the phenomena such as overheating of the display screen occur, and therefore, the brightness adjustment of the display screen needs to be stopped when the display screen is in the dynamic mode.
Wherein, the obtaining the interval duration for judging whether the brightness value changes by the brightness value of the ambient light includes:
and establishing a brightness value change coordinate system according to the brightness value and the interval duration, wherein the interval duration is an x-axis, and the brightness value is a y-axis.
Specifically, as shown in fig. 4, the brightness value is taken as the y-axis of the coordinate system, the interval duration is taken as the x-axis, and the basis for collecting the brightness value and the interval duration is taken as the basis.
And when the ambient light changes after the interval duration, taking the brightness value of the ambient light and the interval duration as the current change coordinates of the brightness value change coordinate system.
Specifically, in a preferred embodiment of the present invention, as shown in fig. 4, all coordinate points in fig. 4 are brightness values and time intervals, which are found to be changed when ambient light is monitored after an interval period elapses, and brightness values and time intervals corresponding to the last ambient light change are used as current change coordinates.
And obtaining other change coordinates closest to the current change coordinates according to the current change coordinates, wherein the other change coordinates are of a preset number.
In particular, other variation coordinates for equalizing the interval duration may be selected by calculating the distance between the current variation coordinate and the other variation coordinates, and in a preferred embodiment of the present invention, 3 other variation coordinates closest may be selected. Meanwhile, the distance can be calculated by using the Pythagorean theorem through the coordinates of other coordinate points.
And obtaining an average interval duration according to the interval durations corresponding to the other change coordinates and the current change coordinates, and taking the average interval duration as the interval duration for judging whether the brightness value changes next time.
Specifically, the abscissa of the other selected change coordinates, that is, the interval duration is added, and then divided by the number of the other change coordinates and the current change coordinates, so that an average value of the interval duration can be obtained, and the average value is used as the interval duration for judging whether the brightness value changes next time.
In a preferred embodiment of the present invention, an acceleration sensor may be set to determine the state of the display screen based on a point where the possibility of the brightness value of the ambient light changing is low when the display screen is kept stationary, when the acceleration sensor determines that the display is moving, if it is determined that the display is moving once, the display is at a last position 1 of an N-bit shift register (the shift register is all cleared after a certain time), and when all positions 1 of the shift register are at N-bit, whether the set time is reached or not, whether the ambient light changes within a preset time period is determined by the brightness value of the ambient light. The purpose is to ensure that the frequency of detecting the luminance value varies with the ambient light.
According to the display screen brightness adjusting method, the ambient light brightness value of the display screen is obtained, the monitoring of the ambient light around the display screen is achieved, the time interval duration for judging whether the ambient light changes is calculated according to the ambient light brightness value, the time interval duration is enabled to flexibly change along with the change of the ambient light, the judging times can be reduced when the ambient light is in an unchanged environment, electric energy is saved, the judging frequency of the ambient light can be quickened when the ambient light is in the changed environment, meanwhile, the working mode of the display screen is determined, whether the display screen meets brightness switching conditions or not at the moment is reflected, when the working mode is a stable mode, the ambient light changes little at the moment, the display screen can adjust brightness stably, at the moment, the brightness of the display screen can be adjusted according to the ambient light brightness value, when the working mode is a dynamic mode, the ambient environment around the display screen is always in a dynamic change phase, at the moment, the brightness of the display screen is not required to be adjusted, high power consumption of the display screen is avoided, the heating of the display screen is reduced, the service life of the display screen is prolonged, and the display screen adjusting effect is improved.
In an embodiment of the present invention, the obtaining a brightness value of ambient light of a display screen includes:
obtaining a YUV value of the ambient light according to the RGB value of the ambient light through a conversion formula;
obtaining the brightness value of the ambient light according to the brightness value of the YUV value;
the conversion formula is as follows:
Y=0.299×R+0.587×G+0.114×B;
wherein R is the red chromaticity value of the RGB value, G is the green chromaticity value of the RGB value, B is the blue chromaticity value of the RGB value, and Y is the luminance value of the YUV value.
In this embodiment, since the brightness value of the ambient light is continuously changed, it is necessary to acquire the brightness value of the ambient light of the display screen in real time. In the preferred embodiment of the invention, an RGB sensor can be arranged in a display screen to acquire RGB values in ambient light, and after the RGB values of the ambient light are obtained, red color values, green color values and blue color values in the ambient light are converted through a conversion formula to obtain YUV values;
wherein, the conversion formula is:
Y=0.299×R+0.587×G+0.114×B;
U=-0.169×R-0.331×G+0.5B;
V=0.5×R-0.419×G-0.081×B;
of the Y, U, V values, only Y is needed to be paid attention to, which is the luminance value of the ambient light, and therefore, the luminance value of the ambient light can be obtained according to the luminance value of the YUV value.
According to the display screen brightness adjusting method, the environment brightness is accurately obtained, so that the adaptability of the display screen to different environment conditions is enhanced by taking the environment brightness as the basis of more complex automatic brightness control, and the readability of the display screen under variable illumination conditions is improved.
In the embodiment of the present invention, the obtaining the brightness value of the ambient light according to the brightness value of the YUV value includes:
setting a section of a preset brightness range according to the brightness value of the YUV value;
judging whether the brightness value of the YUV value is in any interval within the preset brightness range or not;
if yes, taking the brightness value corresponding to the interval as the brightness value of the ambient light;
if not, determining the brightness value of the ambient light according to the brightness value of the YUV value and the preset brightness range;
and taking the brightness value corresponding to the previous interval of the ambient light as the brightness value of the ambient light.
In this embodiment, it is determined whether the luminance value of the YUV value is in any section within the preset luminance range, if so, the luminance value corresponding to the section is taken as the luminance value of the ambient light, in another preferred embodiment of the present invention, a count of shuttling of light intensity in each section is set according to usage division of increasing sections, if the count of the number of sections passed by the luminance value of the YUV value at a set time (for example, 5 seconds) exceeds the preset number (for example, 5 seconds), the range of the section near the average value of the luminance values of the YUV value in the set time is narrowed, for example, the average value of the luminance values of the YUV value in the set time is 55, and the current section is as follows: 11 to 20, 31 to 40, 51 to 60, 71 to 80, 91 to 100, wherein 55 is located in the interval of 51 to 60, then the adjacent interval including the present interval and the adjacent two intervals are reduced, namely, the interval of 31 to 40, the interval of 51 to 60, and the interval of 71 to 80 are reduced.
According to the display screen brightness adjusting method, the corresponding interval is allocated to the brightness value of the YUV value, so that the brightness adjusting frequency of the display screen is effectively reduced, and the readability of the display screen under variable illumination conditions is improved.
In the embodiment of the present invention, the determining the brightness value of the ambient light according to the brightness value of the YUV value and the preset brightness range includes:
obtaining the section of the luminance value of the YUV value before falling into the position according to the position of the luminance value of the YUV value in the preset luminance range;
and taking the brightness value corresponding to the section where the YUV value is located before as the brightness value of the ambient light.
In the present embodiment, in consideration of the fluctuation of the luminance value of the YUV value, the preset luminance range is divided into a plurality of sections in advance, and when the luminance value of the YUV value is actually detected to fall into a certain section, the luminance value corresponding to the section is taken as the luminance value of the ambient light, and in the preferred embodiment of the present invention, the preset luminance range is divided into the following sections: 0 to 10, 21 to 50, 61 to 150, and 161 to 300; the brightness values corresponding to the intervals are 5, 30, 100, 200 and 350 respectively; when the brightness value of the YUV value is 20, the brightness value of the corresponding ambient light is 30; when the luminance value of the YUV value is 18, if the interval before the luminance value of the YUV value is 0 to 10, the luminance value representing the YUV value is increased from 0 to 10 to the current luminance value, so that the luminance value of the ambient light is set to be 5 luminance values corresponding to 0 to 10.
According to the display screen brightness adjusting method, the brightness value of the ambient light is obtained by searching the interval in which the brightness value of the YUV value which is not in the interval is before the change, so that the brightness adjusting frequency of the display screen is effectively reduced.
In the embodiment of the present invention, the setting the interval of the preset brightness range according to the brightness value of the YUV value includes:
when the brightness value of the YUV value is larger than or equal to a first preset brightness threshold value, continuously setting the interval of the preset brightness range;
when the brightness value of the YUV value is smaller than a second preset brightness threshold value, setting the interval of the preset brightness range according to a preset brightness interval;
wherein the first preset brightness threshold is greater than the second preset brightness threshold.
In the preferred embodiment of the present invention, in a darker environment, that is, the luminance value of the YUV value is smaller than the second preset luminance threshold, the user is sensitive to light, and the intervals may be set to discontinuous intervals, for example, the intervals between 0-30 and 80-110 are set to preset luminance intervals of 50 luminance values, so as to reduce the variation of the luminance value of the ambient light and reduce the frequency of adjusting the luminance of the display screen. In contrast, if the luminance value of the YUV value is greater than or equal to the first preset luminance threshold, at this time, the ambient luminance is higher, and the user is insensitive to light, so that the interval is set to be a continuous interval, and the frequency of adjusting the luminance of the display screen is improved.
The brightness adjusting method of the display screen of the invention preliminarily judges the brightness of the ambient light according to the brightness value of the YUV value, and adjusts the interval according to the brightness of the ambient light, thereby realizing the brightness adjustment according to the proper opportunity of the ambient light.
In the embodiment of the present invention, the determining whether the ambient light changes after the interval time length has elapsed includes:
when the brightness value of the ambient light changes after the interval time length passes, judging that the ambient light changes;
and when the brightness value of the ambient light is unchanged after the interval time, judging that the ambient light is unchanged.
In this embodiment, when the brightness value of the ambient light changes within the interval period, it is determined that the ambient light changes; and when the brightness value of the ambient light is unchanged in the interval time, judging that the ambient light is unchanged. In a preferred embodiment of the present invention, when the brightness value of the ambient light changes within 1s, it is determined that the ambient light changes, and when the brightness value of the ambient light does not change within 1s, it is determined that the ambient light does not change.
According to the display screen brightness adjusting method, whether the ambient light changes is monitored, so that the frequency of display screen brightness adjustment is reduced.
In an embodiment of the present invention, the adjusting the brightness of the display screen according to the brightness value of the ambient light includes:
obtaining an expected brightness value of the display screen according to the brightness value of the ambient light;
and adjusting the brightness of the display screen according to the expected brightness value.
In this embodiment, according to the brightness value of the ambient light, the expected brightness value of the display screen is obtained; the brightness of the display screen is adjusted according to the desired brightness value, and in a preferred embodiment of the present invention, the brightness of the display screen may be adjusted by increasing the brightness value by 5 brightness values according to the ambient light brightness as the desired brightness value of the display screen.
According to the display screen brightness adjusting method, the expected brightness value of the display screen is set according to the brightness value of the ambient light, so that the heating of the display screen is reduced, the service life of the display screen is prolonged, and the display screen brightness adjusting effect is improved.
As shown in fig. 2, the present invention further provides a display screen brightness adjustment system 100, including:
a sensing unit 101, configured to obtain a brightness value of ambient light of the display screen;
the processing unit 102 is configured to obtain an interval duration for determining whether the brightness value changes according to the brightness value of the ambient light, and determine whether the ambient light changes after the interval duration passes;
if not, judging the working mode of the display screen to be a stable mode; if yes, judging that the working mode of the display screen is a dynamic mode;
wherein, the obtaining the interval duration for judging whether the brightness value changes by the brightness value of the ambient light includes:
establishing a brightness value change coordinate system according to the brightness value and the interval duration, wherein the interval duration is an x-axis, and the brightness value is a y-axis;
when the ambient light changes after the interval time length passes, taking the brightness value of the ambient light and the interval time length as the current change coordinates of the brightness value change coordinate system;
obtaining other change coordinates closest to the current change coordinates according to the current change coordinates, wherein the other change coordinates are of a preset number;
obtaining an average interval duration according to the interval durations corresponding to the other change coordinates and the current change coordinates, and taking the average interval duration as the interval duration for judging whether the brightness value changes next time;
an adjusting unit 103, configured to adjust, when the operation mode is a stable mode, the brightness of the display screen according to the brightness value of the ambient light;
and stopping adjusting the brightness of the display screen when the working mode is a dynamic mode.
According to the display screen brightness adjusting system, the ambient light brightness value of the display screen is obtained, the monitoring of the ambient light around the display screen is achieved, the time interval duration for judging whether the ambient light changes is calculated according to the ambient light brightness value, the time interval duration is changed flexibly along with the change of the ambient light, the judging times can be reduced when the ambient light is in an unchanged environment, electric energy is saved, the judging frequency of the ambient light can be quickened when the ambient light is in the changed environment, meanwhile, the working mode of the display screen is determined, whether the display screen meets brightness switching conditions or not is reflected, when the working mode is a stable mode, the ambient light changes little at the moment, the display screen can adjust brightness stably, at the moment, the brightness of the display screen can be adjusted according to the ambient light brightness value, when the working mode is a dynamic mode, the ambient environment around the display screen is always in a dynamic change phase, at the moment, the brightness of the display screen is not required to be adjusted, high power consumption of the display screen is avoided, the heating of the display screen is reduced, the service life of the display screen is prolonged, and the display screen adjusting effect is improved.
The invention also provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the display screen brightness adjusting method when executing the computer program.
According to the computer equipment, the ambient light around the display screen is monitored by acquiring the brightness value of the ambient light of the display screen, the working mode of the display screen is determined according to the brightness value of the ambient light, the working mode of the display screen reflects whether the display screen meets brightness switching conditions or not at the moment, when the working mode is a stable mode, the ambient light is not changed greatly, the display screen can adjust the brightness stably, at the moment, the brightness of the display screen can be adjusted according to the brightness value of the ambient light, when the working mode is a dynamic mode, the ambient light around the display screen is always in a dynamic change stage, at the moment, the brightness of the display is not required to be adjusted, high power consumption of the display screen is avoided, heating of the display screen is reduced, the service life of the display screen is prolonged, and the brightness adjusting effect of the display screen is improved.
The invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the above-mentioned display screen brightness adjustment method.
The computer readable storage medium of the invention realizes the monitoring of the ambient light around the display screen by acquiring the brightness value of the ambient light of the display screen, calculates the time interval duration for judging whether the ambient light changes each time according to the brightness value of the ambient light, enables the interval duration to flexibly change the judging duration along with the change of the ambient light, can reduce the judging times and save the electric energy when the ambient light is in an unchanged environment, can accelerate the judging frequency of the ambient light when the ambient light is in the changed environment, simultaneously determines the working mode of the display screen, reflects whether the display screen meets the brightness switching condition at the moment, and can stably adjust the brightness when the working mode is a stable mode, wherein the brightness of the display screen can be adjusted according to the brightness value of the ambient light at the moment, and the environment around the display screen is always in a dynamic change stage when the working mode is a dynamic mode.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A display screen brightness adjustment method, comprising:
acquiring a brightness value of ambient light of a display screen;
obtaining interval duration for judging whether the brightness value changes or not through the brightness value of the ambient light, and judging whether the ambient light changes after the interval duration;
if not, judging the working mode of the display screen to be a stable mode; if yes, judging that the working mode of the display screen is a dynamic mode;
when the working mode is a stable mode, adjusting the brightness of the display screen according to the brightness value of the ambient light;
when the working mode is a dynamic mode, stopping adjusting the brightness of the display screen;
wherein, the obtaining the interval duration for judging whether the brightness value changes by the brightness value of the ambient light includes:
establishing a brightness value change coordinate system according to the brightness value and the interval duration, wherein the interval duration is an x-axis, and the brightness value is a y-axis;
when the ambient light changes after the interval time length passes, taking the brightness value of the ambient light and the interval time length as the current change coordinates of the brightness value change coordinate system;
obtaining other change coordinates closest to the current change coordinates according to the current change coordinates, wherein the other change coordinates are of a preset number;
and obtaining an average interval duration according to the interval durations corresponding to the other change coordinates and the current change coordinates, and taking the average interval duration as the interval duration for judging whether the brightness value changes next time.
2. The method for adjusting brightness of a display screen according to claim 1, wherein the acquiring the brightness value of the ambient light of the display screen comprises:
obtaining a YUV value of the ambient light according to the RGB value of the ambient light through a conversion formula;
obtaining the brightness value of the ambient light according to the brightness value of the YUV value;
the conversion formula is as follows:
Y=0.299×R+0.587×G+0.114×B;
wherein R is the red chromaticity value of the RGB value, G is the green chromaticity value of the RGB value, B is the blue chromaticity value of the RGB value, and Y is the luminance value of the YUV value.
3. The method for adjusting brightness of a display screen according to claim 2, wherein the obtaining the brightness value of the ambient light according to the brightness value of the YUV value includes:
setting a section of a preset brightness range according to the brightness value of the YUV value;
judging whether the brightness value of the YUV value is in any interval within the preset brightness range or not;
if yes, taking the brightness value corresponding to the interval as the brightness value of the ambient light;
if not, determining the brightness value of the ambient light according to the brightness value of the YUV value and the preset brightness range;
and taking the brightness value corresponding to the previous interval of the ambient light as the brightness value of the ambient light.
4. A display screen brightness adjustment method according to claim 3, wherein the determining the brightness value of the ambient light according to the brightness value of the YUV value and the preset brightness range comprises:
obtaining the section of the luminance value of the YUV value before falling into the position according to the position of the luminance value of the YUV value in the preset luminance range;
and taking the brightness value corresponding to the section where the YUV value is located before as the brightness value of the ambient light.
5. A display screen brightness adjustment method according to claim 3, wherein the setting the interval of the preset brightness range according to the brightness value of the YUV value comprises:
when the brightness value of the YUV value is larger than or equal to a first preset brightness threshold value, continuously setting the interval of the preset brightness range;
when the brightness value of the YUV value is smaller than a second preset brightness threshold value, setting the interval of the preset brightness range according to a preset brightness interval;
wherein the first preset brightness threshold is greater than the second preset brightness threshold.
6. The method of claim 1, wherein determining whether the ambient light has changed after the lapse of the interval period comprises:
when the brightness value of the ambient light changes after the interval time length passes, judging that the ambient light changes;
and when the brightness value of the ambient light is unchanged after the interval time, judging that the ambient light is unchanged.
7. The method for adjusting brightness of a display screen according to claim 1, wherein adjusting the brightness of the display screen according to the brightness value of the ambient light comprises:
obtaining an expected brightness value of the display screen according to the brightness value of the ambient light;
and adjusting the brightness of the display screen according to the expected brightness value.
8. A display screen brightness adjustment system, comprising:
the sensing unit is used for acquiring the brightness value of the ambient light of the display screen;
the processing unit is used for obtaining interval duration for judging whether the brightness value changes or not through the brightness value of the ambient light, and judging whether the ambient light changes after the interval duration passes;
if not, judging the working mode of the display screen to be a stable mode; if yes, judging that the working mode of the display screen is a dynamic mode;
wherein, the obtaining the interval duration for judging whether the brightness value changes by the brightness value of the ambient light includes:
establishing a brightness value change coordinate system according to the brightness value and the interval duration, wherein the interval duration is an x-axis, and the brightness value is a y-axis;
when the ambient light changes after the interval time length passes, taking the brightness value of the ambient light and the interval time length as the current change coordinates of the brightness value change coordinate system;
obtaining other change coordinates closest to the current change coordinates according to the current change coordinates, wherein the other change coordinates are of a preset number;
obtaining an average interval duration according to the interval durations corresponding to the other change coordinates and the current change coordinates, and taking the average interval duration as the interval duration for judging whether the brightness value changes next time;
the adjusting unit is used for adjusting the brightness of the display screen according to the brightness value of the ambient light when the working mode is a stable mode;
and stopping adjusting the brightness of the display screen when the working mode is a dynamic mode.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the display screen brightness adjustment method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the display screen brightness adjustment method of any one of claims 1 to 7.
CN202410039115.5A 2024-01-11 2024-01-11 Display screen brightness adjusting method, system, equipment and storage medium Active CN117558254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410039115.5A CN117558254B (en) 2024-01-11 2024-01-11 Display screen brightness adjusting method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410039115.5A CN117558254B (en) 2024-01-11 2024-01-11 Display screen brightness adjusting method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117558254A true CN117558254A (en) 2024-02-13
CN117558254B CN117558254B (en) 2024-04-26

Family

ID=89815124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410039115.5A Active CN117558254B (en) 2024-01-11 2024-01-11 Display screen brightness adjusting method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117558254B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118397983A (en) * 2024-06-27 2024-07-26 深圳市德立通智能科技有限公司 Intelligent flat panel display adjusting system based on data analysis

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010265731A (en) * 2009-05-18 2010-11-25 Sumitomo (Shi) Construction Machinery Co Ltd Display device of construction machine
CN103401970A (en) * 2013-07-23 2013-11-20 广东欧珀移动通信有限公司 Method and system for adjusting display screen backlight and mobile terminal
CN111736793A (en) * 2020-06-18 2020-10-02 广东小天才科技有限公司 Screen light adjusting method and device
JP2021057060A (en) * 2020-12-07 2021-04-08 キヤノン株式会社 Information processing device and information processing method
CN112885311A (en) * 2021-01-28 2021-06-01 惠州Tcl移动通信有限公司 Display screen brightness control method and system, storage medium and terminal equipment
CN113495629A (en) * 2021-09-08 2021-10-12 艾伯资讯(深圳)有限公司 Notebook computer display screen brightness adjusting system and method
CN115132136A (en) * 2021-03-26 2022-09-30 北京小米移动软件有限公司 Display brightness adjusting method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010265731A (en) * 2009-05-18 2010-11-25 Sumitomo (Shi) Construction Machinery Co Ltd Display device of construction machine
CN103401970A (en) * 2013-07-23 2013-11-20 广东欧珀移动通信有限公司 Method and system for adjusting display screen backlight and mobile terminal
CN111736793A (en) * 2020-06-18 2020-10-02 广东小天才科技有限公司 Screen light adjusting method and device
JP2021057060A (en) * 2020-12-07 2021-04-08 キヤノン株式会社 Information processing device and information processing method
CN112885311A (en) * 2021-01-28 2021-06-01 惠州Tcl移动通信有限公司 Display screen brightness control method and system, storage medium and terminal equipment
CN115132136A (en) * 2021-03-26 2022-09-30 北京小米移动软件有限公司 Display brightness adjusting method, device, equipment and storage medium
CN113495629A (en) * 2021-09-08 2021-10-12 艾伯资讯(深圳)有限公司 Notebook computer display screen brightness adjusting system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118397983A (en) * 2024-06-27 2024-07-26 深圳市德立通智能科技有限公司 Intelligent flat panel display adjusting system based on data analysis
CN118397983B (en) * 2024-06-27 2024-08-23 深圳市德立通智能科技有限公司 Intelligent flat panel display adjusting system based on data analysis

Also Published As

Publication number Publication date
CN117558254B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN117558254B (en) Display screen brightness adjusting method, system, equipment and storage medium
CN110718069B (en) Image brightness adjusting method and device and storage medium
US9639764B2 (en) Image recognition system for vehicle for traffic sign board recognition
JP4666049B2 (en) Light source identification device, light source identification program, vehicle detection device, and light control device
JP5375814B2 (en) Exposure control device
CN108551553B (en) Method and device for controlling light supplement lamp
CN105489192A (en) Display with image automatic optimization function and image adjusting method thereof
CN113306486B (en) In-vehicle lighting device control method, storage medium, and electronic apparatus
US6362848B1 (en) Brightness control on video cameras
CN111563989B (en) Intelligent control method of gate, gate and computer readable storage medium
CN111688568B (en) Brightness detection method, vehicle lamp control method, system thereof and storage medium
CN112513609B (en) Street lamp flicker effect analysis method and terminal
CN114333715B (en) Vehicle backlight brightness adjusting method, device, computer equipment and storage medium
CN115416574B (en) Strong light early warning method, device and equipment in automobile driving and storage medium
KR100758981B1 (en) Back-light unit having a plurality of luminous element and control method thereof
JP2013257630A (en) Image processing apparatus
CN118244658B (en) Intelligent control method and device for lighting device, monitoring equipment, chip and storage medium
CN115484415B (en) Image exposure processing method, device, system and storage medium
CN115633431B (en) Energy-saving control method and device for car lamp, car lamp control equipment and storage medium
US20230049522A1 (en) Vehicle lighting control using image processing of changes in ambient light intensity
CN111343385B (en) Method, device, equipment and storage medium for determining environment brightness
CN112597840B (en) Image recognition method, device and equipment
CN113052845B (en) Method and device for detecting vehicle carpet lamp
CN111654955B (en) Indoor ambient light change factor identification method based on image analysis
JP2011028136A (en) Information presentation device, program, and information presentation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant