CN117116188A - Color temperature adjusting method, color temperature adjusting device, storage medium and display device - Google Patents

Color temperature adjusting method, color temperature adjusting device, storage medium and display device Download PDF

Info

Publication number
CN117116188A
CN117116188A CN202211042620.2A CN202211042620A CN117116188A CN 117116188 A CN117116188 A CN 117116188A CN 202211042620 A CN202211042620 A CN 202211042620A CN 117116188 A CN117116188 A CN 117116188A
Authority
CN
China
Prior art keywords
brightness
color temperature
ambient brightness
temperature value
threshold
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.)
Pending
Application number
CN202211042620.2A
Other languages
Chinese (zh)
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.)
Shenzhen Tcl Yunchuang Technology Co ltd
Original Assignee
Shenzhen Tcl Yunchuang Technology 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 Shenzhen Tcl Yunchuang Technology Co ltd filed Critical Shenzhen Tcl Yunchuang Technology Co ltd
Priority to CN202211042620.2A priority Critical patent/CN117116188A/en
Publication of CN117116188A publication Critical patent/CN117116188A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light

Landscapes

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

Abstract

The application provides a color temperature adjusting method, a color temperature adjusting device, a storage medium and a display device, wherein the color temperature adjusting method is applied to the display device, the display device comprises a display screen, and the method comprises the following steps: determining an ambient brightness change trend, wherein the ambient brightness change trend comprises brightness increase or brightness decrease; determining a corresponding brightness threshold algorithm according to the environment brightness change trend; calculating to obtain a brightness threshold according to a brightness threshold algorithm; acquiring current ambient brightness; and adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold value. The embodiment of the application can improve the flexibility of the color temperature value adjustment of the display screen.

Description

Color temperature adjusting method, color temperature adjusting device, storage medium and display device
Technical Field
The present application relates to the field of display technologies, and in particular, to a color temperature adjustment method, a color temperature adjustment device, a storage medium, and a display apparatus.
Background
In recent years, the development and application speed of digital display technology has been greatly increased, and more people are facing the display screen of display devices for a long time, and most display devices use Light Emitting Diode (LED) backlight technology to improve the brightness and definition of the display screen. The LEDs emit very intense blue light in a short-wave region (i.e., a 380-500nm blue light region), so that human contact blue light sources are more and more, and the time for contacting blue light is longer and longer. Research shows that the long-time continuous exposure of human eyes to blue light can damage retina cells, thereby causing visual problems such as senile macular degeneration and the like.
The industries of display devices such as mobile phones and the like are gradually aware of the damage of blue light to human bodies, and the blue light content is limited by adjusting the color temperature value of a display screen, but the color temperature value of the display screen is relatively poor in adjustment flexibility in the related art.
Disclosure of Invention
The embodiment of the application provides a color temperature adjusting method which can improve the flexibility of adjusting the color temperature value of a display screen.
In a first aspect, an embodiment of the present application provides a color temperature adjustment method, which is applied to a display device, where the display device includes a display screen, and includes:
determining an ambient brightness change trend, wherein the ambient brightness change trend comprises brightness increase or brightness decrease;
determining a corresponding brightness threshold algorithm according to the environment brightness change trend;
calculating according to the brightness threshold algorithm to obtain a brightness threshold;
acquiring current ambient brightness;
and adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold.
Optionally, the determining the environmental brightness change trend includes:
and acquiring the first ambient brightness at the first moment and the second ambient brightness at the second moment in sequence, and obtaining the brightness change trend according to the first ambient brightness and the second ambient brightness.
Optionally, the calculating the brightness threshold according to the brightness threshold algorithm includes:
obtaining a brightness threshold according to the first ambient brightness and the brightness threshold algorithm;
the adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold value comprises the following steps:
and if the difference value between the current ambient brightness and the first ambient brightness is larger than the brightness threshold value, adjusting the color temperature value of the display screen.
Optionally, the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold value includes:
and within a preset duration, if the obtained difference values of the plurality of environmental brightnesses and the first environmental brightness are all larger than the brightness threshold value, the difference value of the current environmental brightness and the first environmental brightness is larger than the brightness threshold value.
Optionally, if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, adjusting the color temperature value of the display screen includes:
if the difference value between the current ambient brightness and the first ambient brightness is larger than a brightness threshold value, a first color temperature value corresponding to the first ambient brightness and a second color temperature value corresponding to the current ambient brightness are obtained;
And if the difference value between the second color temperature value and the first color temperature value is larger than a color temperature threshold value, adjusting the color temperature value of the display screen.
Optionally, the adjusting the color temperature value of the display screen includes:
and determining a target color temperature value according to the second color temperature value, and adjusting the color temperature value of the display screen to the target color temperature value.
Optionally, the method includes: receiving a color temperature value adjusting instruction sent by a user, and adjusting the color temperature value of the display screen according to the color temperature value adjusting instruction;
updating a brightness color temperature mapping table according to the current ambient brightness and the adjusted color temperature value of the display screen to obtain an updated brightness color temperature mapping table;
the obtaining the first color temperature value corresponding to the first ambient brightness and the second color temperature value corresponding to the current ambient brightness includes:
obtaining a first color temperature value according to the first ambient brightness and the updated brightness color temperature mapping table;
and obtaining a second color temperature value according to the current ambient brightness and the updated brightness color temperature mapping table.
Optionally, the method further comprises:
if the change trend of the ambient brightness is brightness increase, a first brightness threshold algorithm is obtained, and a first brightness threshold is obtained according to the first brightness value and the first brightness threshold algorithm;
And if the change trend of the ambient brightness is brightness reduction, obtaining a second brightness threshold algorithm, and obtaining a second brightness threshold according to the first brightness value and the second brightness threshold algorithm, wherein the second brightness threshold is smaller than the first brightness threshold.
Optionally, the determining a corresponding brightness threshold algorithm according to the environmental brightness variation trend includes:
and determining the brightness threshold algorithm according to the environment brightness change trend and the interval where the first environment brightness is located.
In a second aspect, an embodiment of the present application further provides a color temperature adjustment apparatus, which is applied to a display device, where the display device includes a display screen, and the apparatus includes:
the first determining module is used for determining an environment brightness change trend, wherein the environment brightness change trend comprises brightness increase or brightness decrease;
the second determining module is used for determining a corresponding brightness threshold algorithm according to the environment brightness change trend;
the calculation module is used for calculating a brightness threshold according to the brightness threshold algorithm;
the acquisition module is used for acquiring the current ambient brightness;
and the adjusting module is used for adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold value.
In a third aspect, embodiments of the present application also provide a storage medium having stored thereon a computer program which, when executed on a computer, causes the computer to perform a method as claimed in any of the preceding claims.
In a fourth aspect, an embodiment of the present application further provides a display device, including an ambient light sensor, a memory, a processor, and a display screen, where the ambient light sensor obtains ambient brightness, and the processor is configured to execute the method according to any one of the preceding claims by calling a computer program stored in the memory.
According to the embodiment of the application, the color temperature value of the display screen can be automatically adjusted according to the ambient brightness, so that the color temperature value of the display screen is matched with the current ambient brightness of the display equipment, the response characteristic of eyes to blue light is met, the image quality and eye protection requirements can be considered, for example, in a bright environment, the damage of blue light to eyes when the display screen displays content is small, the display equipment can automatically improve the color temperature value of the display screen, the blue light content when the display screen displays content is properly increased, the image quality of the display screen is improved, and the picture of the display screen is clearer and brighter; for another example, in a darker environment, the display device can automatically reduce the color temperature value of the display screen, reduce the blue light content of the display screen when the display screen displays content, and make the picture of the display screen softer, so that eyes are not too tired even if a user faces the display screen for a long time. In addition, under different conditions of brightness increase or brightness decrease, different brightness thresholds are adopted for judging whether the color temperature value of the display screen needs to be adjusted, so that the flexibility of adjusting the color temperature value of the display screen can be improved, the first threshold algorithm and the second threshold algorithm are different corresponding to the same environment brightness, and the corresponding first brightness threshold and the corresponding second brightness threshold are also different, for example, the first brightness threshold is larger than the second brightness threshold, the environment brightness change trend is brightness increase, the damage of blue light to eyes is reduced, the corresponding first brightness threshold is larger, the frequency of adjusting the color temperature value of the display screen is reduced, and the occupation of internal resources of display equipment is reduced; when the change trend of the ambient brightness is brightness reduction, the damage of blue light to eyes of a person is increased, so that the corresponding second brightness threshold value is smaller, the color temperature value of the display screen can be timely adjusted according to the change of the ambient brightness, the blue light content is timely reduced, and eyes of the user are protected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is evident that the figures in the following description are only some embodiments of the application, from which other figures can be obtained without inventive effort for a person skilled in the art.
For a more complete understanding of the present application and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings. Wherein like reference numerals refer to like parts throughout the following description.
Fig. 1 is a schematic flow chart of a color temperature adjustment method according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a color temperature adjustment method according to an embodiment of the application.
Fig. 3 is a third flowchart of a color temperature adjustment method according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a color temperature adjusting device according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a first structure of a display device according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a second structure of a display device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
An embodiment of the present application provides a color temperature adjustment method applied to a display device, where the display device includes a display screen, and the method will be described with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flow chart of a color temperature adjusting method according to an embodiment of the application.
More and more people are facing the display screen of the display device for a long time, and the retina cells can be damaged by long-time continuous exposure to blue light, so that the visual problems of age-related macular degeneration and the like are easily caused. The industries of display equipment such as mobile phones and the like are gradually aware of the harm of blue light to human bodies, and develop a blue light control function. For example, the blue light content is limited by regulating down the color temperature value of the display screen, so that a user is helped to reduce the blue light generated by contacting the display screen, but the direct regulation of the color temperature value of the display screen easily causes the phenomenon that the picture of the display screen is biased and the picture is yellow, and the use of the display screen is affected. In addition, the user manually opens or closes the function according to the application scene requirement, so that the use is inconvenient.
It can be understood that if the display device is in a high ambient brightness, for example, in an environment where the outdoor natural ambient light is sufficient, the blue light of the display screen has less damage to human eyes; if the display device is in a low ambient brightness, for example, in a low-brightness indoor environment, the blue light of the display screen is harmful to human eyes. As can be seen from a large amount of experimental data, there is no corresponding matching relationship between the ambient color temperature value and the ambient brightness, for example, in the environment of a laboratory light, the ambient brightness is 0.1, and the corresponding ambient color temperature value is 5396; for another example, in the environment of the indoor aisle, the ambient brightness is 23.7, and the corresponding ambient color temperature value is 2533; for another example, the ambient brightness is 37340 in a sunny outdoor environment, the corresponding ambient color temperature value is 4855, and for another example, the ambient brightness is 17000 in a cloudy outdoor environment, and the corresponding ambient color temperature value is 6860. Therefore, the environment color temperature value cannot be used for distinguishing the bright or low dark environment where the display device is currently located, and the color temperature value of the display screen is adjusted according to the environment color temperature value, so that the influence of the environment brightness on the response characteristic of human eyes is not considered, and the effect of adjusting the color temperature value of the display screen is not ideal. Here, the unit of the corresponding values of the ambient brightness and the brightness threshold is lux (lux), and the unit of the corresponding value of the color temperature value is kelvin (K).
The display device according to the embodiment of the present application includes, but is not limited to, a display device including a display screen, such as a mobile phone, a tablet, a television, and the like, and herein, the display device is described as an example of the mobile phone. The color temperature adjustment method may include:
in 101, an ambient brightness trend is determined, the ambient brightness trend including an increase in brightness or a decrease in brightness.
When the display device is used by a user, the ambient brightness may change, for example, the ambient brightness may change from dark to bright, and the ambient brightness may also change from bright to dark.
In 102, a corresponding brightness threshold algorithm is determined based on the ambient brightness trend.
When the environment brightness change trend is brightness increase, the bearing capacity of the human eyes to the blue light becomes larger, the damage of the corresponding blue light to the human eyes becomes smaller, and when the environment brightness change trend is brightness decrease, the bearing capacity of the human eyes to the blue light becomes smaller, and the damage of the corresponding blue light to the human eyes becomes larger. Therefore, in the embodiment of the application, different environment brightness change trends correspond to different brightness threshold algorithms, for example, when the environment change trend is brightness increase, the corresponding brightness threshold algorithm is a first threshold algorithm; when the environment change trend is brightness reduction, the corresponding brightness threshold algorithm is a second threshold algorithm. Wherein the first and second threshold algorithms are different.
At 103, a luminance threshold is calculated according to a luminance threshold algorithm.
The brightness threshold algorithm is used for calculating brightness threshold values, and different brightness threshold values are calculated by different brightness threshold algorithm. For example, when the environmental change trend is brightness increase, the first brightness threshold may be calculated by a first threshold algorithm, and when the environmental change trend is brightness decrease, the second brightness threshold may be calculated by a second threshold algorithm. The first threshold algorithm and the second threshold algorithm are different corresponding to the same ambient brightness, and the first brightness threshold and the second brightness threshold obtained correspondingly are different.
For example, the environmental change trend is that the brightness increases, and if the change amount of the environmental brightness is larger than the first brightness threshold value, the change amount of the environmental brightness is larger, and if the change amount of the environmental brightness is smaller than the first brightness threshold value, the change amount of the environmental brightness is smaller. For another example, the environmental change trend is that the brightness decreases, and if the change amount of the environmental brightness is larger than the second brightness threshold, the change amount of the environmental brightness is larger, and if the change amount of the environmental brightness is smaller than the second brightness threshold, the change amount of the environmental brightness is smaller.
At 104, the current ambient brightness is obtained.
The current ambient brightness is obtained, for example, by an ambient light sensor of the display device.
It should be noted that, the embodiment of the application does not limit the sequence of the steps of obtaining the current ambient brightness, and the ambient light sensor can obtain the current ambient brightness in real time according to the requirement.
In 105, the color temperature value of the display screen is adjusted according to the current ambient brightness and the brightness threshold.
It can be appreciated that the display device has an initial ambient brightness before the current ambient brightness is obtained, and the color temperature value of the display screen is a color temperature value corresponding to the initial ambient brightness.
If the difference between the current ambient brightness and the initial ambient brightness is greater than the brightness threshold, the change amount of the ambient brightness is larger, and the color temperature value of the display screen is matched with the initial ambient brightness, but may not be matched with the current ambient brightness. If the current ambient brightness is increased compared with the initial ambient brightness, the bearing capacity of human eyes on blue light is increased, the color temperature value of the display screen can be adjusted adaptively, and the blue light content is increased appropriately, so that the excellent image quality of the display screen is ensured, and the visual quality of a user is improved. For another example, if the current environmental change is smaller than the initial environmental brightness, the human eye's ability to withstand blue light is smaller, and then the color temperature value of the display screen needs to be adaptively adjusted, for example, the color temperature value of the display screen is adjusted down, so that the blue light content is properly reduced, and the damage of blue light to human eyes is reduced.
The embodiment of the application can automatically adjust the color temperature value of the display screen according to the ambient brightness, can give consideration to the image quality and the eye protection requirement, does not need manual adjustment by a user, is convenient to use, ensures that the color temperature value of the display screen is matched with the ambient brightness of the display equipment, and accords with the response characteristic of human eyes to blue light. The environment brightness can be clearly distinguished into bright or low-dark environments, for example, in bright environments, the damage of blue light to human eyes when the display screen displays content is small, the display device can automatically improve the color temperature value of the display screen, the blue light content is properly increased, the image quality of the display screen is improved, and the picture of the display screen is clearer and brighter; for another example, in a darker environment, the display device can automatically reduce the color temperature value of the display screen, reduce the blue light content of the display screen when the display screen displays content, and make the picture of the display screen softer, so that eyes are not too tired even if a user faces the display screen for a long time.
And under different conditions of brightness increase or brightness decrease, different brightness thresholds are adopted for judging whether the color temperature value of the display screen needs to be adjusted, so that the flexibility of adjusting the color temperature value of the display screen can be improved. Corresponding to the same ambient brightness, the first threshold algorithm and the second threshold algorithm are different, and the corresponding first brightness threshold and the corresponding second brightness threshold are also different, for example, the first brightness threshold is larger than the second brightness threshold, the ambient brightness change trend is brightness increase, and the damage of blue light to human eyes is reduced, so that the corresponding first brightness threshold is larger, the frequency of adjusting the color temperature value of the display screen is reduced, and the occupation of internal resources of the display device is reduced; when the change trend of the ambient brightness is brightness reduction, the damage of blue light to eyes of a person is increased, so that the corresponding second brightness threshold value is smaller, the color temperature value of the display screen can be timely adjusted according to the change of the ambient brightness, the blue light content is timely reduced, and eyes of the user are protected.
Referring to fig. 2, fig. 2 is a schematic flow chart of a color temperature adjusting method according to an embodiment of the application.
In 201, a first ambient brightness at a first time and a second ambient brightness at a second time are sequentially obtained, and a brightness variation trend is obtained according to the first ambient brightness and the second ambient brightness.
When the display device is used by a user, the ambient brightness may change, for example, the ambient brightness may change from dark to bright, and the ambient brightness may also change from bright to dark.
In order to acquire the change trend of the ambient brightness where the display device is located, the first ambient brightness at the first moment and the second ambient brightness at the second moment can be acquired successively, if the second ambient brightness is greater than the first ambient brightness, the brightness change trend is judged to be brightness increase, and if the second ambient brightness is less than the first ambient brightness, the brightness change trend is judged to be brightness decrease. The first ambient brightness and the second ambient brightness may be obtained by an ambient light sensor of the display device, where the first ambient brightness may be considered as an initial ambient brightness of the display screen, and based on the first ambient brightness, the trend of ambient brightness change may be obtained by obtaining whether the second ambient brightness increases or decreases relative to the first ambient brightness after comparison.
In 202, a corresponding brightness threshold algorithm is determined based on the ambient brightness trend.
When the environment brightness change trend is brightness increase, the bearing capacity of the human eye to the blue light becomes large, at the moment, the damage of the blue light to the human eye becomes small, and when the environment brightness change trend is brightness decrease, the bearing capacity of the human eye to the blue light becomes small, and the damage of the blue light to the human eye becomes large. According to the embodiment of the application, different environment brightness change trends correspond to different brightness threshold algorithms, for example, when the environment change trend is brightness increase, the corresponding brightness threshold algorithm is a first threshold algorithm; when the environment change trend is brightness reduction, the corresponding brightness threshold algorithm is a second threshold algorithm. The first and second threshold algorithms are different.
In an embodiment, the brightness threshold algorithm may be determined according to the environmental brightness trend and the interval where the first environmental brightness is located.
Setting different intervals from small to large in ambient brightness, and when the ambient change trend is brightness increase, setting a corresponding brightness threshold algorithm as a first threshold algorithm, wherein the first threshold algorithm comprises a plurality of first threshold sub-algorithms, and the different first threshold sub-algorithms respectively correspond to the different intervals of the ambient brightness; when the environment change trend is brightness reduction, the corresponding brightness threshold algorithm is a second threshold algorithm, the second threshold algorithm also comprises a plurality of second threshold sub-algorithms, and different second threshold sub-algorithms also respectively correspond to different intervals of the environment brightness.
The first ambient brightness may be an initial ambient brightness where the display device is located, and the brightness threshold algorithm may be determined from a plurality of first sub-threshold algorithms or a plurality of second sub-threshold algorithms according to an ambient brightness change trend and a range where the first ambient brightness is located.
For example, if the brightness change trend is a brightness decrease trend, the environmental brightness is set to be three sections from small to large, and if the first environmental brightness is in the first section, a second sub-threshold algorithm corresponding to the first section is selected as the brightness threshold algorithm; if the first ambient brightness is in the second interval, selecting a second sub-threshold algorithm corresponding to the second interval as a brightness threshold algorithm; and if the first ambient brightness is in the third interval, selecting a second sub-threshold algorithm corresponding to the third interval as a brightness threshold algorithm.
For another example, the brightness change trend is a brightness increase trend, and the environment brightness is changed from small to large and is set into three sections, and if the first environment brightness is in the fourth section, a first sub-threshold algorithm corresponding to the fourth section is selected as the brightness threshold algorithm; if the first ambient brightness is in the fifth interval, selecting a first sub-threshold algorithm corresponding to the fifth interval as a brightness threshold algorithm; and if the first ambient brightness is in the sixth interval, selecting a first sub-threshold algorithm corresponding to the sixth interval as a brightness threshold algorithm.
The brightness change trend is brightness decrease or brightness increase, and the interval value and the interval number set for the environment brightness can be the same or different, and can be flexibly adjusted according to the requirement. For example, when the brightness trend is brightness decrease, three different sections may be set for the ambient brightness, the ambient brightness of the first section is [0,7], the ambient brightness of the second section is (7, 60], the brightness of the third section is (60, 30000], and when the brightness trend is brightness increase, three different sections may be set for the ambient brightness of the first section, the ambient brightness of the first section is [0,7], the ambient brightness of the second section is (7, 200), and the ambient brightness of the third section is (200, 30000].
In 203, a luminance threshold is derived from the first ambient luminance and a luminance threshold algorithm.
The first ambient brightness may be considered as an initial ambient brightness of the display screen, and the brightness threshold may be calculated according to a first ambient brightness and brightness threshold algorithm. For example, when the environment change trend is that the brightness increases, a first brightness threshold value can be obtained through calculation by a first environment brightness and a first threshold algorithm; when the environment change trend is brightness reduction, the second brightness threshold value can be calculated through the first environment brightness and the second threshold value algorithm. The first threshold algorithm and the second threshold algorithm are different corresponding to the same ambient brightness, and the first brightness threshold and the second brightness threshold obtained correspondingly are different.
In an embodiment, if the brightness variation trend is brightness decrease, determining a brightness threshold algorithm from a plurality of second sub-threshold algorithms according to a section where the first ambient brightness is located. If the first ambient brightness is within the first interval, selecting a second sub-threshold algorithm corresponding to the first interval as a brightness threshold algorithm, for example, if the first ambient brightness is within the first interval, the obtained brightness threshold may be set to be 0; if the first ambient brightness is in the second interval, selecting a second sub-threshold algorithm corresponding to the second interval as a brightness threshold algorithm, for example, the obtained brightness threshold is that the first ambient brightness is multiplied by a first preset value, wherein the minimum value of the second interval is larger than the maximum value of the first interval; for another example, if the first ambient brightness is within the third interval, the brightness threshold is determined as the first ambient brightness multiplied by a second preset value, the minimum value of the third interval is greater than the maximum value of the second interval, and the second preset value is greater than the first preset value.
It can be understood that if the first ambient brightness is in the first interval, it indicates that the display device is in a very dark environment, and the damage of blue light to human eyes is relatively large, so as long as the current ambient brightness is detected to be reduced compared with the first ambient brightness, the change amount of the ambient brightness can be considered to be relatively large, and whether the color temperature value of the display screen needs to be adjusted is considered, so that the blue light can be timely reduced, the eyes of the user are protected, and the brightness threshold value can be set to be very low, for example, 0 or close to 0.
When the first ambient brightness is in the second interval, the display equipment is in an environment with moderate brightness, and the bearing capacity of human eyes on blue light is moderate; when the first ambient brightness is in the third interval, the display device is in an environment with better brightness, and the human eyes have larger bearing capacity on blue light. Therefore, when the brightness threshold is calculated, the first ambient brightness is multiplied by different preset values, and the second preset value is larger than the first preset value, so that the larger the first ambient brightness is, the larger the obtained brightness threshold is by multiplying the larger second preset value, thereby effectively reducing the times of adjusting the color temperature value of the display screen, avoiding frequent adjustment of the color temperature value of the display screen and reducing the occupation of internal resources of the display equipment.
Illustratively, when the luminance variation trend is a decrease in luminance, the luminance threshold value is 0 when the first ambient luminance is between [0,7], for example, the first ambient luminance is 5, and the luminance threshold value is 0. When the first ambient brightness is between (7, 60), the brightness threshold is the first ambient brightness multiplied by 0.3, e.g., the first ambient brightness is 50, the brightness threshold is 15 (50 x 0.3), when the first ambient brightness is between (60,30000), the brightness threshold is the first ambient brightness multiplied by 0.5, e.g., the first ambient brightness is 1000, the brightness threshold is 200 (1000 x 0.5).
In an embodiment, if the environmental change trend is that the brightness increases, the brightness threshold algorithm is determined from a plurality of first sub-threshold algorithms according to the interval in which the first environmental brightness is located. If the first ambient brightness is in the fourth interval, selecting a first sub-threshold algorithm corresponding to the fourth interval as a brightness threshold algorithm, for example, the obtained brightness threshold is the first ambient brightness plus a third preset value; if the first ambient brightness is between the fifth intervals, selecting a first sub-threshold algorithm corresponding to the fifth intervals as a brightness threshold algorithm, for example, the obtained brightness threshold is the first ambient brightness multiplied by a fourth preset value, wherein the minimum value of the fifth intervals is larger than the maximum value of the fourth intervals; for another example, if the first ambient brightness is between the sixth intervals, the brightness threshold is determined as the first ambient brightness multiplied by a fifth preset value, the minimum value of the sixth interval is greater than the maximum value of the fifth interval, and the fifth preset value is less than the fourth preset value.
Illustratively, when the brightness trend is brightness increase, when the first ambient brightness is between [0,7], the brightness threshold is a first brightness value plus 7, for example, the first ambient brightness is 5, and the brightness threshold is 12 (5+7); when the first ambient brightness is between (7, 200), the brightness threshold is the first ambient brightness multiplied by 2, e.g., 50, the brightness threshold is 100 (50 x 2), and when the first ambient brightness is between (200,30000), the brightness threshold is the first ambient brightness multiplied by 1.5, e.g., 1000, the brightness threshold is 1500 (1000 x 1.5).
In 204, if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, a first color temperature value corresponding to the first ambient brightness and a second color temperature value corresponding to the current ambient brightness are obtained.
In an embodiment, if the differences between the plurality of environmental brightnesses and the first environmental brightness obtained by the display device are all greater than the brightness threshold value within the preset duration, it is determined that the difference between the current environmental brightness and the first environmental brightness is greater than the brightness threshold value. The preset time period can be set according to the needs, for example, ten seconds, twenty seconds, 30 seconds, one minute, and the like.
The ambient light sensor of the display device can acquire the ambient brightness of the environment where the display device is located in real time according to a certain frequency, but the color temperature value of the display screen is correspondingly adjusted as soon as the change of the ambient brightness and the first ambient brightness is detected. And judging whether the acquired difference value between the ambient brightness and the first ambient brightness is larger than a brightness threshold value, if so, further judging whether the difference value between the ambient brightness and the first ambient brightness is larger than the brightness threshold value in the next preset time period, and only if each difference value in the preset time period is larger than the brightness threshold value, confirming that the difference value between the current ambient brightness and the first ambient brightness is larger than the brightness threshold value, namely, the variation of the current ambient brightness and the first ambient brightness is larger, and then generating the problem that the color temperature value of the display screen is possibly not matched with the current ambient brightness. If the difference between the ambient brightness and the first ambient brightness obtained by each of the plurality of ambient light sensors is not greater than the brightness threshold value within the following preset time period, the display device such as a mobile phone may shake, so that the ambient brightness obtained by the ambient light sensor is unstable, and in order to reduce misjudgment, the difference between the current ambient brightness and the first ambient brightness is not considered to be greater than the brightness threshold value.
When the current ambient brightness is obtained, an average value of a plurality of ambient brightnesses within a preset time period can be used as the current ambient brightness, an average value of partial ambient brightnesses, which are close to the current time within the preset time period, can be used as the current ambient brightness, or the finally obtained ambient brightness within the preset time period can be used as the current ambient brightness.
If the difference value between the current ambient brightness and the first ambient brightness is larger than the brightness threshold value, a first color temperature value corresponding to the first ambient brightness and a second color temperature value corresponding to the current ambient brightness are obtained.
According to the embodiment of the application, the blue light content of the display screen can be adjusted by adjusting the color temperature value of the display screen, the higher the color temperature value of the display screen is, the larger the blue light content of the corresponding display screen is, the lower the color temperature value of the display screen is, and the smaller the blue light content of the corresponding display screen is. For example, according to the response characteristic of the human eye to blue light, the mapping relation between the ambient brightness and the color temperature value can be preset, for example, the brightness color temperature mapping table is preset, the brightness color temperature mapping table can include a plurality of groups of corresponding relation between the ambient brightness and the color temperature value, different ambient brightness corresponds to different color temperature values, the larger the ambient brightness is, the color temperature value of the display screen can be correspondingly increased, the blue light content can be appropriately increased, so that the excellent image quality of the display screen is ensured, and the look and feel quality of a user is improved; the lower the ambient brightness is, the color temperature value of the display screen can be correspondingly reduced, and the blue light content can be timely reduced, so that the damage of the blue light to eyes is reduced, and the glasses of a user are protected.
For example, a part of examples in the luminance color temperature mapping table are shown in table 1, and the luminance color temperature mapping table can obtain a first color temperature value of the display screen corresponding to the first ambient luminance. For example, if the first ambient brightness is 5, the first color temperature value corresponding to the first ambient brightness is 3500; if the first ambient brightness is 50, the first color temperature value of the display screen corresponding to the first ambient brightness is 4700; if the first ambient brightness is 1000, the first color temperature value of the display screen corresponding to the first ambient brightness is 6000.
The second color temperature value of the display screen corresponding to the current ambient brightness can be obtained through the brightness color temperature mapping table. For example, if the first ambient brightness is 5, the first color temperature value corresponding to the first ambient brightness is 3500; if the first ambient brightness is 50, the first color temperature value of the display screen corresponding to the first ambient brightness is 4700.
Similarly, the second color temperature value of the display screen corresponding to the current ambient brightness can be obtained through the brightness color temperature mapping table. For example, if the current ambient brightness is 10, the first color temperature value of the display screen corresponding to the current ambient brightness is 3500; if the current ambient brightness is 1000, the first color temperature value of the display screen corresponding to the current ambient brightness is 6000.
Table 1:
ambient brightness Color temperature value
0 3500
1 3500
10 3500
50 4700
100 5500
1000 6000
3000 6000
4000 6000
8000 7000
20000 7000
The user can adjust the color temperature value of the display screen, and the display device can receive a color temperature value adjusting instruction sent by the user and adjust the color temperature value of the display screen according to the color temperature value adjusting instruction; the luminance color temperature mapping table is updated according to the current ambient luminance and the color temperature value of the adjusted display screen, so as to obtain an updated luminance color temperature mapping table, for example, table 2 is a partial example of the updated luminance color temperature mapping table. When the first color temperature value corresponding to the first ambient brightness is obtained, the first color temperature value can be obtained according to the first ambient brightness and the updated brightness color temperature mapping table, and when the second color temperature value corresponding to the current ambient brightness is obtained, the second color temperature value can be obtained according to the current ambient brightness and the updated brightness color temperature mapping table.
Table 2:
ambient brightness Color temperatureValue of Color temperature value after user adjustment
0 3500 3500+T△
1 3500 3500+T△
10 3500 3500+T△
50 4700 4700+T△
100 5500 5500+T△
1000 6000 6000+T△
3000 6000 6000+T△
4000 6000 6000+T△
8000 7000 7000+T△
20000 7000 7000+T△
The above tables 1 and 2 are only examples, and the corresponding color temperature values can be set for more ambient brightness according to the needs, so that the adjustment of the color temperature values of the display screen is more hierarchical, the user is not easy to feel abrupt change of the color temperature values, and the use experience of the user is improved; and the ambient brightness in the brightness and color temperature mapping table can be a range value, so that the color temperature values corresponding to the ambient brightness in the same range are the same, and when the ambient brightness fluctuates in the range, the color temperature values do not need to be adjusted, so that the color temperature values of the display screen can be prevented from being frequently adjusted.
At 205, if the difference between the second color temperature value and the first color temperature value is greater than the color temperature threshold, the color temperature value of the display screen is adjusted.
The first ambient brightness may be considered as an initial ambient brightness of the display screen, if the display device detects that the difference between the current ambient brightness and the first ambient brightness is greater than a brightness threshold, it is further determined whether the difference between the second color temperature value corresponding to the current ambient brightness and the first color temperature value corresponding to the first ambient brightness is greater than a color temperature threshold, and the color temperature value of the display screen is adjusted only if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold and the difference between the second color temperature value and the first color temperature value is greater than the color temperature threshold.
It can be understood that if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, the variation of the ambient brightness is greater, but the difference between the second color temperature value and the first color temperature value is smaller than the color temperature threshold, that is, the value required to be adjusted for the color temperature value of the display screen is smaller, even if the color temperature value is adjusted, the influence on the generation of the user is small, the color temperature value of the display screen can not be adjusted, so that the color temperature of the display screen can be further prevented from being frequently switched.
When the color temperature of the display screen is adjusted, a target color temperature value can be determined according to the second color temperature value, and the color temperature value of the display screen is adjusted to the target color temperature value. The second color temperature value may be a target color temperature value, and the color temperature value of the display screen is adjusted to be a second color temperature value matched with the current ambient brightness. Alternatively, the target color temperature value may be appropriately adjusted based on the second color temperature value as needed, for example, the second color temperature value is multiplied by a preset value, or the second color temperature value is increased/decreased by the preset value, which is not limited in the embodiment of the present application.
Therefore, in the embodiment of the application, the color temperature value of the display screen is correspondingly adjusted as soon as the change of the ambient brightness and the first ambient brightness is detected, only when the change of the ambient brightness is larger than the brightness threshold value, whether the difference value of the ambient brightness and the first ambient brightness is larger than the brightness threshold value or not is further judged in the next preset time period, and only when each difference value of the preset time period is larger than the brightness threshold value, the current difference value of the ambient brightness and the first ambient brightness is confirmed to be larger than the brightness threshold value, which is equivalent to the function of increasing the anti-shake of the ambient light when the change of the ambient brightness is judged, so that the color temperature value of the display screen is prevented from being frequently adjusted under the condition that the ambient brightness is unstable; further, in the embodiment of the application, when the difference between the current ambient brightness and the first ambient brightness is larger than the brightness threshold and the ambient brightness of the environment where the display device is located is stable, whether the difference between the second color temperature value corresponding to the current ambient brightness and the first color temperature value corresponding to the first ambient brightness is larger than the color temperature threshold is further judged, the color temperature value of the display screen is regulated only if the difference between the second color temperature value and the first color temperature value is larger than the color temperature threshold, namely, the color temperature value of the display screen is regulated only if the change of the color temperature value can effectively change the blue light content and has a favorable influence on the use of a user, and the color temperature value of the display screen is regulated to the second color temperature value matched with the current ambient brightness, so that the display device is more suitable for eyes of people, the color temperature value anti-shake function is increased when judging whether the color temperature value needs to be regulated is needed, the color temperature value of the display device is prevented from being regulated frequently, and the use experience of the user is improved.
In an embodiment, when determining whether to adjust the color temperature value of the display screen, the difference between the second color temperature value and the first color temperature value may not be determined, for example, refer to fig. 3, and fig. 3 is a schematic diagram of a third flow chart of the color temperature adjustment method according to the embodiment of the present application, including the following steps:
in 301, a first ambient brightness at a first time and a second ambient brightness at a second time are sequentially obtained, and a brightness variation trend is obtained according to the first ambient brightness and the second ambient brightness.
In 302, a corresponding brightness threshold algorithm is determined based on the ambient brightness trend.
In 303, a luminance threshold is derived from the first ambient luminance and a luminance threshold algorithm.
In 304, if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, the color temperature value of the display screen is adjusted.
According to the embodiment of the application, different environment brightness change trends correspond to different brightness threshold algorithms, different brightness thresholds are obtained according to the different brightness threshold algorithms, and the flexibility of adjusting the color temperature value of the display screen is improved; when judging whether the color temperature value of the display screen needs to be adjusted, not only detecting that the ambient brightness and the first ambient brightness change, but also correspondingly adjusting the color temperature value of the display screen, further judging whether the difference value between the ambient brightness and the first ambient brightness is larger than the brightness threshold value in the next preset time period only when the change amount of the ambient brightness is larger than the brightness threshold value, and confirming that the difference value between the current ambient brightness and the first ambient brightness is larger than the brightness threshold value only when each difference value in the preset time period is larger than the brightness threshold value so as to ensure that the ambient brightness of the environment where the display device is positioned is relatively stable, prevent the false detection of the ambient brightness and also prevent the frequent switching of the color temperature value of the display screen; if the difference value between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, the color temperature of the display screen can be adjusted, specifically, a second color temperature value corresponding to the current ambient brightness can be obtained according to the brightness color temperature mapping table, and the color temperature value of the display screen is adjusted to be the second color temperature value. It can be understood that in the embodiment of the application, the brightness threshold algorithm can be adjusted as required to set different brightness thresholds, and the brightness and color temperature mapping table can be adjusted as required to control the ambient brightness of the display device to correspond to the same color temperature value in a proper range, so that when the color temperature value of the display screen is required to be adjusted, the display device can adjust in time, for example, in a bright environment, the color temperature value of the display screen can be automatically improved, the image quality of the display screen is improved, and the picture of the display screen is clearer and brighter; for another example, in a darker environment, the display device can automatically reduce the color temperature value of the display screen, reduce the blue light content of the display screen when the display screen displays content, and make the picture of the display screen softer, so that eyes are not too tired even if a user faces the display screen for a long time. And through reasonable setting of the brightness threshold algorithm and the brightness color temperature mapping table, the color temperature value of the display screen can be adjusted only when the variation of the ambient brightness reaches the brightness threshold and the color temperature value of the display screen is not matched with the current ambient brightness, so that the problem of frequent adjustment of the color temperature value of the display screen caused by unstable ambient brightness and small variation of the ambient brightness is prevented.
The embodiment of the application can automatically adjust the color temperature value of the display screen according to the ambient brightness, and a user can select to always start the color temperature adjusting method of the embodiment of the application, so that the color temperature adjusting method can be applied to the whole scene of the display equipment, the method does not need to be manually started in a low dark environment or manually closed in a bright environment, the use is convenient, and the image quality and the eye protection requirement can be considered according to different use scenes. In addition, the user can set whether to start the color temperature adjustment method in the embodiment of the application or not on the display device according to the use habit, specifically, the user can set color temperature value adjustment switch information on the interactive interface of the display device, the display device can detect whether the user needs to start the color temperature adjustment method by acquiring the color temperature value adjustment switch information, if the color temperature value adjustment switch information is the start information, the user needs to start the color temperature adjustment method is indicated, and then the color temperature value adjustment is executed according to the color temperature adjustment method; if the color temperature value adjusting switch information is the closing information, the user is not required to start the color temperature adjusting method, and the current color temperature value of the display screen is maintained.
In an embodiment, if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, the blue light content can be controlled by adjusting the color temperature value of the display screen, and other multidimensional parameters related to eye protection, such as strobe, picture color and the like, can be synchronously adjusted to achieve better omnibearing intelligent eye protection effect; in addition, the image quality parameters of the display screen, such as contrast, brightness, definition and the like, can be synchronously adjusted so as to improve the image quality effect of the display screen and meet the image quality requirement of users.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a color temperature adjusting device according to an embodiment of the application. The color temperature adjusting device can be applied to a display device, and the display device comprises a display screen. The color temperature adjusting apparatus 300 may include: a first determining module 401, a second determining module 402, a calculating module 403, an obtaining module 404 and an adjusting module 405.
The first determining module 401 is configured to: determining an ambient brightness change trend, wherein the ambient brightness change trend comprises brightness increase or brightness decrease;
the second determining module 402 is configured to: determining a corresponding brightness threshold algorithm according to the environment brightness change trend;
the calculation module 403 is configured to: calculating to obtain a brightness threshold according to a brightness threshold algorithm;
The acquisition module 404 is configured to: and acquiring the current ambient brightness.
The adjustment module 405 is configured to: and adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold value.
In one embodiment, the first determining module 401 may be configured to:
and acquiring the first ambient brightness at the first moment and the second ambient brightness at the second moment in sequence, and obtaining the brightness change trend according to the first ambient brightness and the second ambient brightness.
In one embodiment, the second determination module 402 may be configured to: obtaining a brightness threshold according to the first ambient brightness and a brightness threshold algorithm;
the adjustment module 405 may be used to: and if the difference value between the current ambient brightness and the first ambient brightness is larger than the brightness threshold value, adjusting the color temperature value of the display screen.
In one embodiment, the adjustment module 405 may be used to: and within the preset duration, if the obtained difference values of the plurality of environmental brightnesses and the first environmental brightness are larger than the brightness threshold value, the difference value of the current environmental brightness and the first environmental brightness is larger than the brightness threshold value.
In one embodiment, the adjustment module 405 may be used to: if the difference value between the current ambient brightness and the first ambient brightness is larger than the brightness threshold value, a first color temperature value corresponding to the first ambient brightness and a second color temperature value corresponding to the current ambient brightness are obtained;
And if the difference value between the second color temperature value and the first color temperature value is larger than the color temperature threshold value, adjusting the color temperature value of the display screen.
In one embodiment, the adjustment module 405 may be configured to: and determining a target color temperature value according to the second color temperature value, and adjusting the color temperature value of the display screen to the target color temperature value.
In an embodiment, the adjusting module 405 may be configured to receive a color temperature value adjustment instruction sent by a user, and adjust a color temperature value of the display screen according to the color temperature value adjustment instruction;
updating the brightness color temperature mapping table according to the current ambient brightness and the color temperature value of the adjusted display screen to obtain an updated brightness color temperature mapping table;
and obtaining a second color temperature value according to the current ambient brightness and the updated brightness color temperature mapping table.
In one embodiment, the adjustment module 405 may be configured to: if the change trend of the ambient brightness is that the brightness is increased, a first brightness threshold algorithm is obtained, and a first brightness threshold is obtained according to the first brightness value and the first brightness threshold algorithm;
and if the change trend of the ambient brightness is brightness reduction, obtaining a second brightness threshold algorithm, and obtaining a second brightness threshold according to the first brightness value and the second brightness threshold algorithm, wherein the second brightness threshold is smaller than the first brightness threshold.
In one embodiment, the computing module 403 may be configured to: and determining a brightness threshold algorithm according to the environment brightness change trend and the interval where the first environment brightness is located.
The application embodiment provides a computer-readable storage medium having a computer program stored thereon, which when executed on a computer causes the computer to execute a flow in the device control method as provided in the embodiment.
Referring to fig. 5, fig. 5 is a schematic diagram of a first structure of a display device according to an embodiment of the application. The display device according to the embodiment of the present application includes, but is not limited to, a mobile phone, a tablet, a television, and the like, and the display device is described herein as an example of the mobile phone.
The display device 500 comprises an ambient light sensor 501, a memory 502, a processor 503 and a display screen 504. It will be appreciated by those skilled in the art that the display device 500 structure shown in fig. 4 is not limiting of the display device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
Ambient light sensor 501 may acquire the ambient brightness of the environment in which display device 500 is located in real time at a certain frequency. According to the embodiment of the application, the color temperature value of the display screen is automatically adjusted according to the ambient brightness, the ambient light sensor 501 only needs to acquire the ambient brightness, but does not need to acquire the color temperature value of the environment, and does not need to acquire the correlation values of red light, green light and blue light respectively to calculate the ambient color temperature, so that the display device 500 only needs to be provided with the ambient light sensor 501 capable of acquiring the ambient brightness, but does not need to be provided with a color temperature sensor with higher relative cost.
Memory 502 may be used to store applications and data. The memory 502 stores application programs including executable code. Applications may constitute various functional modules. The processor 503 executes various functional applications and data processing by running application programs stored in the memory 502.
The processor 503 is a control center of the display device 500, connects various parts of the entire display device using various interfaces and lines, and performs various functions of the display device and processes data by running or executing application programs stored in the memory 502, and calling data stored in the memory 502, thereby performing overall monitoring of the display device.
The display 504 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the terminal, which may be composed of images, text, icons, video, and any combination thereof.
In this embodiment, the processor 503 in the display device 500 loads executable codes corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 503 executes the application programs stored in the memory 502, so as to execute:
Determining an ambient brightness change trend, wherein the ambient brightness change trend comprises brightness increase or brightness decrease;
determining a corresponding brightness threshold algorithm according to the environment brightness change trend;
calculating to obtain a brightness threshold according to a brightness threshold algorithm;
acquiring current ambient brightness;
and adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold value.
In one embodiment, in determining the trend of the change in the ambient brightness, the processor 503 performs the steps of sequentially obtaining the first ambient brightness at the first time and the second ambient brightness at the second time, and obtaining the trend of the change in the brightness according to the first ambient brightness and the second ambient brightness.
In one embodiment, in calculating the luminance threshold according to a luminance threshold algorithm, the processor 503 performs a luminance threshold according to a first ambient luminance and luminance threshold algorithm;
in adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold, the processor 503 performs adjustment on the color temperature value of the display screen if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold.
In one embodiment, in the case that the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, the processor 503 executes the operation for a preset period, and if the obtained differences between the plurality of ambient brightnesses and the first ambient brightness are all greater than the brightness threshold, the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold.
In one embodiment, in adjusting the color temperature value of the display screen if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold, the processor 503 performs to obtain a first color temperature value corresponding to the first ambient brightness and a second color temperature value corresponding to the current ambient brightness if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold; and if the difference value between the second color temperature value and the first color temperature value is larger than the color temperature threshold value, adjusting the color temperature value of the display screen.
In one embodiment, in adjusting the color temperature value of the display screen, the processor 503 performs determining a target color temperature value from the second color temperature value, and adjusts the color temperature value of the display screen to the target color temperature value.
In one embodiment, the processor 503 executes a color temperature value adjustment instruction received from a user, and adjusts a color temperature value of the display screen according to the color temperature value adjustment instruction; updating the brightness color temperature mapping table according to the current ambient brightness and the color temperature value of the adjusted display screen to obtain an updated brightness color temperature mapping table;
in deriving the second color temperature value from the current ambient brightness, the processor 503 performs: and obtaining a second color temperature value according to the current ambient brightness and the updated brightness color temperature mapping table.
Referring to fig. 6, fig. 6 is a schematic diagram of a second structure of a display device according to an embodiment of the application. The display device 500 may further include a camera module 505, a battery 506, a radio frequency circuit 507, a control circuit 508, an input unit 509, and the like.
The camera module 505 can be used for video camera and image acquisition, and processes the image by a photosensitive component circuit and a control component in the camera after the image is acquired by the lens, and then restores the image by software, and the image can be seen through the display screen.
The battery 506 may be used to supply power to the various modules and components of the electronic device.
The radio frequency circuit 507 is used to transmit and receive radio frequency signals to communicate with a network device or other electronic device via wireless communication.
The control circuit 508 is electrically connected to the display 504, and is used for controlling the display 504 to display information.
The input unit 509 may be used to receive input numbers, character information or user characteristic information (e.g., a fingerprint) and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display device may further include a microphone, a speaker, an acceleration sensor, and the like.
It should be noted that, for the color temperature adjustment method according to the embodiment of the present application, it will be understood by those skilled in the art that all or part of the flow of implementing the color temperature adjustment method according to the embodiment of the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory, and executed by at least one processor, and the execution process may include the flow of the embodiment of the color temperature adjustment method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), or the like.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of a certain embodiment that are not described in detail may be referred to the above detailed description of the color temperature adjustment method, which is not repeated herein.
The color temperature adjusting method, the color temperature adjusting device, the storage medium and the display device provided by the embodiment of the application are described in detail, and specific examples are applied to the description of the principle and the implementation mode of the application, and the description of the above embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the present description should not be construed as limiting the present application in summary.

Claims (12)

1. A color temperature adjustment method applied to a display device, the display device including a display screen, comprising:
determining an ambient brightness change trend, wherein the ambient brightness change trend comprises brightness increase or brightness decrease;
determining a corresponding brightness threshold algorithm according to the environment brightness change trend;
calculating according to the brightness threshold algorithm to obtain a brightness threshold;
acquiring current ambient brightness;
and adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold.
2. The color temperature adjustment method according to claim 1, wherein the determining the ambient brightness change trend includes:
and acquiring the first ambient brightness at the first moment and the second ambient brightness at the second moment in sequence, and obtaining the brightness change trend according to the first ambient brightness and the second ambient brightness.
3. The color temperature adjustment method according to claim 2, wherein the calculating the brightness threshold according to the brightness threshold algorithm comprises:
obtaining a brightness threshold according to the first ambient brightness and the brightness threshold algorithm;
the adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold value comprises the following steps:
And if the difference value between the current ambient brightness and the first ambient brightness is larger than the brightness threshold value, adjusting the color temperature value of the display screen.
4. The color temperature adjustment method according to claim 3, characterized in that the difference between the current ambient brightness and the first ambient brightness being larger than the brightness threshold comprises:
and within a preset duration, if the obtained difference values of the plurality of environmental brightnesses and the first environmental brightness are all larger than the brightness threshold value, the difference value of the current environmental brightness and the first environmental brightness is larger than the brightness threshold value.
5. The color temperature adjustment method according to claim 3, wherein adjusting the color temperature value of the display screen if the difference between the current ambient brightness and the first ambient brightness is greater than the brightness threshold comprises:
if the difference value between the current ambient brightness and the first ambient brightness is larger than a brightness threshold value, a first color temperature value corresponding to the first ambient brightness and a second color temperature value corresponding to the current ambient brightness are obtained;
and if the difference value between the second color temperature value and the first color temperature value is larger than a color temperature threshold value, adjusting the color temperature value of the display screen.
6. The color temperature adjustment method according to claim 5, wherein the adjusting the color temperature value of the display screen includes:
and determining a target color temperature value according to the second color temperature value, and adjusting the color temperature value of the display screen to the target color temperature value.
7. The color temperature adjustment method according to claim 5, characterized in that the method further comprises:
receiving a color temperature value adjusting instruction sent by a user, and adjusting the color temperature value of the display screen according to the color temperature value adjusting instruction;
updating a brightness color temperature mapping table according to the current ambient brightness and the adjusted color temperature value of the display screen to obtain an updated brightness color temperature mapping table;
the obtaining the first color temperature value corresponding to the first ambient brightness and the second color temperature value corresponding to the current ambient brightness includes:
obtaining a first color temperature value according to the first ambient brightness and the updated brightness color temperature mapping table;
and obtaining a second color temperature value according to the current ambient brightness and the updated brightness color temperature mapping table.
8. The color temperature adjustment method according to claim 3, characterized in that the method further comprises:
if the change trend of the ambient brightness is brightness increase, a first brightness threshold algorithm is obtained, and a first brightness threshold is obtained according to the first brightness value and the first brightness threshold algorithm;
And if the change trend of the ambient brightness is brightness reduction, obtaining a second brightness threshold algorithm, and obtaining a second brightness threshold according to the first brightness value and the second brightness threshold algorithm, wherein the second brightness threshold is smaller than the first brightness threshold.
9. The color temperature adjustment method according to claim 2, wherein the determining the corresponding brightness threshold algorithm according to the ambient brightness variation trend includes:
and determining the brightness threshold algorithm according to the environment brightness change trend and the interval where the first environment brightness is located.
10. A color temperature adjusting apparatus applied to a display device including a display screen, the apparatus comprising:
the first determining module is used for determining an environment brightness change trend, wherein the environment brightness change trend comprises brightness increase or brightness decrease;
the second determining module is used for determining a corresponding brightness threshold algorithm according to the environment brightness change trend;
the calculation module is used for calculating a brightness threshold according to the brightness threshold algorithm;
the acquisition module is used for acquiring the current ambient brightness;
and the adjusting module is used for adjusting the color temperature value of the display screen according to the current ambient brightness and the brightness threshold value.
11. A storage medium having stored thereon a computer program, which, when executed on a computer, causes the computer to perform the method of any of claims 1 to 9.
12. A display device comprising an ambient light sensor, a memory, a processor and a display screen, wherein the ambient light sensor obtains ambient brightness, the processor being adapted to perform the method of any of claims 1 to 9 by invoking a computer program stored in the memory.
CN202211042620.2A 2022-08-29 2022-08-29 Color temperature adjusting method, color temperature adjusting device, storage medium and display device Pending CN117116188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211042620.2A CN117116188A (en) 2022-08-29 2022-08-29 Color temperature adjusting method, color temperature adjusting device, storage medium and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211042620.2A CN117116188A (en) 2022-08-29 2022-08-29 Color temperature adjusting method, color temperature adjusting device, storage medium and display device

Publications (1)

Publication Number Publication Date
CN117116188A true CN117116188A (en) 2023-11-24

Family

ID=88809798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211042620.2A Pending CN117116188A (en) 2022-08-29 2022-08-29 Color temperature adjusting method, color temperature adjusting device, storage medium and display device

Country Status (1)

Country Link
CN (1) CN117116188A (en)

Similar Documents

Publication Publication Date Title
US9672764B2 (en) Liquid crystal display device
CN110113536B (en) Screen light supplementing method and device, storage medium and intelligent terminal
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
EP3697079A1 (en) Image capturing method and apparatus, and terminal
CN106710535B (en) A kind of screen backlight adjusting method, device and mobile terminal
CN111223432B (en) Method and device for controlling screen display
CN109272917B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
US11232757B2 (en) Backlight control method and device, and computer-readable storage medium for improving the contrast, restoring the image, and ensuring the distortion of the image
CN109272944B (en) Backlight adjusting method and device, terminal equipment and computer readable storage medium
CN109302564B (en) Shooting method and mobile terminal
CN112289278A (en) Screen brightness adjusting method, screen brightness adjusting device and electronic equipment
US9743009B2 (en) Image processing method and image processing device
CN114119431A (en) Image processing method, image processing device, electronic equipment and storage medium
CN111179877B (en) Screen display effect adjusting method, mobile device and storage device
CN109544441B (en) Image processing method and device, and skin color processing method and device in live broadcast
CN117116188A (en) Color temperature adjusting method, color temperature adjusting device, storage medium and display device
CN112333541A (en) Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium
CN111726542A (en) Camera light supplementing method, terminal and storage medium
CN114038370B (en) Display parameter adjustment method and device, storage medium and display equipment
CN107578753B (en) Mobile terminal, display screen brightness adjusting method and storage medium
CN114187874B (en) Brightness adjusting method, device and storage medium
CN112037719B (en) Screen brightness adjusting method and device
CN114220399B (en) Backlight value control method and device, storage medium and electronic equipment
CN112102765A (en) Display parameter adjusting method and device and electronic equipment
CN112019680A (en) Screen brightness adjusting method and device

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