CN111736793A - Screen light adjusting method and device - Google Patents

Screen light adjusting method and device Download PDF

Info

Publication number
CN111736793A
CN111736793A CN202010562157.9A CN202010562157A CN111736793A CN 111736793 A CN111736793 A CN 111736793A CN 202010562157 A CN202010562157 A CN 202010562157A CN 111736793 A CN111736793 A CN 111736793A
Authority
CN
China
Prior art keywords
screen
color temperature
value
initial
adjusting
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
CN202010562157.9A
Other languages
Chinese (zh)
Other versions
CN111736793B (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202010562157.9A priority Critical patent/CN111736793B/en
Publication of CN111736793A publication Critical patent/CN111736793A/en
Application granted granted Critical
Publication of CN111736793B publication Critical patent/CN111736793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • 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/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • 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

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 embodiment of the application discloses a screen light adjusting method and device. According to the technical scheme provided by the embodiment of the application, the ambient light brightness value and the ambient light color temperature value are detected in real time, the initial brightness value of the screen is determined and adjusted based on a first mapping relation between the preset ambient light brightness and the initial brightness of the screen, the initial color temperature value of the screen is determined and adjusted based on a second mapping relation between the preset ambient light color temperature and the initial color temperature of the screen, then the real-time brightness value of the screen is gradually adjusted by using a set brightness adjusting algorithm based on the initial brightness value and according to the service duration of the screen, and meanwhile the real-time color temperature value of the screen is gradually adjusted by using a set color temperature adjusting algorithm based on the initial color temperature value and according to the service duration of the. By adopting the technical means, the adaptability adjustment of the screen brightness and the color temperature along with the screen use time can be realized, the influence of the visual fatigue degree on the visual comfort level in the screen use process is reduced, and the screen display effect and the user experience are optimized.

Description

Screen light adjusting method and device
Technical Field
The embodiment of the application relates to the technical field of intelligent equipment, in particular to screen light adjustment and a screen light adjustment device.
Background
The visual comfort level (VICO) index is an index for evaluating the influence of illumination and light media on the visual physiological function change and the visual fatigue of human eyes, which is formed based on a composite physiological index, and aims to ensure that the visual system of the human body can maintain a preset working state, keep the physiological function normal and ensure that the optical design and the optical application meet the health and safety requirements of the human body in the aspects of physiology and psychology. At present, a comfortable viewing effect is provided, and when most of intelligent devices adjust a screen, the brightness and the color temperature of the screen are generally adjusted according to real-time ambient natural light, so that the use experience of a user is optimized.
However, the screen light adjusting mode of most of the existing intelligent devices considers the influence of visual fatigue on visual comfort less, and the screen light adjusting mode of the intelligent devices is difficult to adapt to the requirement of visual comfort level (VICO) indexes.
Disclosure of Invention
The embodiment of the application provides a screen light adjusting method and device, which can adjust the screen light based on the use duration and reduce the influence of visual fatigue on the visual comfort.
In a first aspect, an embodiment of the present application provides a screen light adjusting method, including:
detecting an ambient light brightness value and an ambient light color temperature value in real time;
determining and adjusting an initial brightness value of a screen based on a first mapping relation between preset ambient light brightness and initial screen brightness, and determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and initial screen color temperature;
and gradually adjusting the real-time brightness value of the screen by using a set brightness adjusting algorithm based on the initial brightness value and according to the service time of the screen, and gradually adjusting the real-time color temperature value of the screen by using a set color temperature adjusting algorithm based on the initial color temperature value and according to the service time of the screen.
Further, the brightness adjustment algorithm is as follows:
L=wlg(l0*(1+0.05%*t))
wherein L is the real-time brightness value of the screen, the unit is lux (lux), w is a parameter factor, L0The ambient light brightness value is, and t is the screen use duration.
Further, the color temperature adjusting algorithm is as follows:
S=(S0*10%+6000)*(1-1%*t) Smin≤S≤Smax
wherein S isReal-time color temperature value of screen in K (Kelvin), S0Is the ambient light color temperature value, SminLower limit of color temperature of screen, SmaxAnd t is the screen use duration.
Further, determining and adjusting an initial brightness value of the screen based on a first mapping relationship between the preset ambient light brightness and the initial brightness of the screen, including:
a first mapping relation between the ambient light brightness and the screen initial brightness is established in advance based on a first set interval of the screen initial brightness value;
determining an initial brightness value of a screen according to the ambient light brightness value and the first mapping relation;
and adjusting the brightness value of the current screen to be the initial brightness value.
Further, determining and adjusting an initial color temperature value of the screen based on a second mapping relation between the preset ambient light color temperature and the initial color temperature of the screen, including:
a second mapping relation between the ambient light color temperature and the screen initial color temperature is pre-established in a second set interval based on the screen initial color temperature value;
determining an initial color temperature value of the screen according to the ambient light color temperature value and the second mapping relation;
and adjusting the color temperature value of the current screen to be the initial color temperature value.
Further, after the real-time brightness value of the screen is gradually adjusted by using a set brightness adjustment algorithm based on the initial brightness value and according to the screen usage duration, and the real-time color temperature value of the screen is gradually adjusted by using a set color temperature adjustment algorithm based on the initial color temperature value and according to the screen usage duration, the method further includes:
when detecting that the change of the ambient light brightness value reaches a set first change threshold value, re-determining the initial brightness value of the screen based on the new ambient light brightness value, and adjusting the real-time brightness value of the screen according to the re-determined initial brightness value; and/or the presence of a gas in the gas,
and when the change of the ambient light color temperature value is detected to reach a set second change threshold value, re-determining the initial color temperature value of the screen based on the new ambient light color temperature value, and adjusting the real-time color temperature value of the screen according to the re-determined initial color temperature value.
Further, after the real-time brightness value of the screen is gradually adjusted by using a set brightness adjustment algorithm based on the initial brightness value and according to the screen usage duration, and the real-time color temperature value of the screen is gradually adjusted by using a set color temperature adjustment algorithm based on the initial color temperature value and according to the screen usage duration, the method further includes:
outputting a fatigue use prompt when the screen use time reaches a set first time threshold, wherein the first time threshold is set based on the adjustment upper limit of the real-time brightness value; and/or the presence of a gas in the gas,
and outputting a fatigue use prompt when the screen use time reaches a set second time threshold, wherein the second time threshold is set based on the adjustment lower limit of the real-time color temperature value.
In a second aspect, an embodiment of the present application provides a screen light adjusting device, including:
the detection module is used for detecting the ambient light brightness value and the ambient light color temperature value in real time;
the determining module is used for determining and adjusting an initial brightness value of the screen based on a first mapping relation between preset ambient light brightness and screen initial brightness, and determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and screen initial color temperature;
and the adjusting module is used for gradually adjusting the real-time brightness value of the screen by using a set brightness adjusting algorithm based on the initial brightness value and according to the service life of the screen, and simultaneously gradually adjusting the real-time color temperature value of the screen by using a set color temperature adjusting algorithm based on the initial color temperature value and according to the service life of the screen.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, cause the one or more processors to implement the screen light adjustment method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the screen light adjustment method according to the first aspect when executed by a computer processor.
The method comprises the steps of detecting an ambient light brightness value and an ambient light color temperature value in real time, determining and adjusting an initial brightness value of a screen based on a first mapping relation between preset ambient light brightness and screen initial brightness, determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and screen initial color temperature, then gradually adjusting a real-time brightness value of the screen based on the initial brightness value and according to screen use duration by using a set brightness adjusting algorithm, and simultaneously gradually adjusting the real-time color temperature value of the screen based on the initial color temperature value and according to the screen use duration by using a set color temperature adjusting algorithm. By adopting the technical means, the adaptability adjustment of the screen brightness and the color temperature along with the screen use time can be realized, the influence of the visual fatigue degree on the visual comfort level in the screen use process is reduced, and the screen display effect and the user experience are optimized.
Drawings
Fig. 1 is a flowchart of a method for adjusting screen light according to an embodiment of the present application;
FIG. 2 is a flow chart of the determination and adjustment of the initial brightness value in the first embodiment of the present application;
FIG. 3 is a flow chart of the determination and adjustment of the initial color temperature value according to the first embodiment of the present application;
fig. 4 is a schematic structural diagram of a screen light adjusting device according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The application provides a screen light adjusting method, aims at carrying out the adaptability of screen luminance and colour temperature based on screen duration of use to this comes to adapt to user's visual fatigue and carries out the screen light adjustment, and then promotes user's visual comfort level. For the conventional screen light adjusting method, when the screen light is adjusted, the brightness and the color temperature of the screen light are generally automatically adjusted according to the brightness and the color temperature of the real-time ambient light, so as to realize the adaptive adjustment of the screen. Or the screen brightness and the color temperature are set by the user in a self-defined way by adopting a manual adjustment mode. The two screen adjusting modes are relatively single, the influence of the visual fatigue of a user cannot be well considered, adaptive screen adjustment is not performed according to the using time, and the adjusting effect is general. According to the requirement of visual comfort level (VICO) index, the screen light meets the health and safety requirements of human body in physiological and psychological aspects, namely the influence of user visual fatigue in the using process of the screen is considered. Therefore, the screen light adjusting method provided by the embodiment of the application is provided to solve the technical problems of single screen adjusting mode and poor adaptability in the prior art.
The first embodiment is as follows:
fig. 1 is a flowchart of a screen light adjusting method according to an embodiment of the present disclosure, where the screen light adjusting method provided in this embodiment may be executed by a screen light adjusting device, the screen light adjusting device may be implemented in a software and/or hardware manner, and the screen light adjusting device may be formed by two or more physical entities or may be formed by one physical entity. Generally, the screen light adjusting device may be a smart device such as a tablet, a computer, or a mobile phone.
The following description will be given taking a screen light adjusting apparatus as an example of a main body that performs the screen light adjusting method. Referring to fig. 1, the screen light adjusting method specifically includes:
and S110, detecting the ambient light brightness value and the ambient light color temperature value in real time.
When the screen light is adjusted, the embodiment of the application firstly detects the external environment light in real time. And determining an ambient light brightness value and an ambient light color temperature value based on the external ambient light detected in real time, so as to correspondingly adjust the initial brightness value of the screen based on the ambient light brightness value and correspondingly adjust the initial color temperature value of the screen based on the ambient light color temperature value. The ambient light brightness information is collected through a light sense detection element arranged on the screen adjusting device, and then the current ambient light brightness value is determined. On the other hand, the RGB sensor is used for collecting the ambient light color temperature information, and then the current ambient light color temperature value is determined.
Illustratively, the screen light adjusting device triggers the ambient light detection when the screen is turned on, collects the ambient light brightness value and the ambient light color temperature value, and then performs the screen light adjustment. In some embodiments, the light sensing element and the RGB sensor on the screen light adjusting device perform the ambient light detection in real time after the device is turned on (i.e. no matter whether the screen is turned on), and correspondingly perform the screen light adjustment when the screen is turned on according to the detected ambient light brightness value and the ambient light color temperature value.
S120, determining and adjusting an initial brightness value of the screen based on a first mapping relation between preset ambient light brightness and screen initial brightness, and determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and screen initial color temperature.
Further, based on the ambient light brightness value and the ambient light color temperature value collected in step S110, when performing screen light adjustment, different from a conventional screen light adjustment mode, the screen light adjustment device according to the embodiment of the present application does not directly adjust the brightness and the color temperature of the screen light to be equal to the ambient light brightness value and the ambient light color temperature value according to the collected ambient light brightness value and the collected ambient light color temperature value. But determines the initial brightness value and the initial color temperature value of the screen according to the preset mapping relation. The mapping relation between the ambient light brightness and the screen initial brightness is defined as a first mapping relation, and the mapping relation between the ambient light color temperature and the screen initial color temperature is defined as a second mapping relation. It is understood that, based on the first mapping relationship, the initial brightness value of the corresponding mapped screen can be determined according to the detected ambient light brightness value. Based on the second mapping relationship, the initial color temperature value of the screen corresponding to the mapping can be determined according to the detected ambient light color temperature value.
Specifically, referring to fig. 2, the determining of the adjustment flow of the initial brightness value includes:
s1201, a first mapping relation between the ambient light brightness and the screen initial brightness is established in advance based on a first set interval of the screen initial brightness value;
s1202, determining an initial brightness value of a screen according to the ambient light brightness value and the first mapping relation;
s1203, adjusting the brightness value of the current screen to be the initial brightness value.
In the embodiment of the application, a brightness value interval is preset corresponding to the initial brightness value, the brightness value interval is defined as a first set interval, and the initial brightness value of the screen light is within a reasonable range, and cannot be higher or lower by setting the brightness value interval. In addition, in order to provide better visual experience, the first mapping relationship of the embodiment of the application needs to simulate the ambient light, so that the initial brightness value of the screen light is as close as possible to the ambient light brightness value. It can be understood that, since the external environment light is the light with the strongest adaptability to human eyes, in order to improve the visual comfort of human eyes, the screen is required to simulate the ambient light, so that the brightness of the light emitted by the screen reaches the effect of being close to the external environment. Wherein, the first mapping relation formula is as follows:
l1=wlg(l0*(1+0.05%))
wherein l1Is the initial brightness value of the screen, with lux (lux), w as a parameter factor, l0Is the ambient light brightness value. It should be noted that, in order to make the brightness of the light emitted initially by the screen reach the effect of being close to the external environment, in the first mapping relation formula, the relation between the brightness value of the ambient light and the parameter factor is required to be l0=wlgl0The initial brightness value l calculated by this1Can be as close to ambient light level as possible.
Then, based on the first mapping relation formula and the real-time detected ambient light brightness value, the initial brightness value of the current screen can be determined, and the brightness of the screen light is adjusted to the initial brightness value.
In the embodiment of the present application, since the first setting section of the initial brightness value is provided, when the initial brightness value is calculated based on the first mapping relation formula, if the calculated value exceeds the upper limit or the lower limit of the first setting section, the upper limit or the lower limit of the first setting section is directly used as the initial brightness value of the screen. Therefore, the problem that the appearance of the screen is influenced by directly simulating the ambient light when the ambient light is too bright or too dark can be avoided.
On the other hand, referring to fig. 3, the determination of the initial color temperature value adjusts the flow including:
s1204, a second mapping relation between the ambient light color temperature and the screen initial color temperature is pre-established in a second set interval based on the screen initial color temperature value;
s1205, determining an initial color temperature value of the screen according to the ambient light color temperature value and the second mapping relation;
and S1206, adjusting the color temperature value of the current screen to be the initial color temperature value.
Similarly, in the embodiment of the present application, a color temperature value interval is preset corresponding to the initial color temperature value, the color temperature value interval is defined as a second setting interval, and the color temperature value interval is set, so that the initial color temperature value of the screen light is within a reasonable range, and cannot be higher or lower. In addition, in order to provide better visual experience, the second mapping relationship of the embodiment of the application needs to simulate ambient light, so that the initial color temperature value of the screen light is as close to the ambient light as possible. Different from the brightness adjustment method, in the embodiment of the present application, when the initial color temperature value is adjusted, the color temperature effect of a cold tone (e.g., the color temperature of the ambient light at the beginning of the sun) is first adjusted, and then the color temperature effect of adjusting the color temperature to a warm tone (e.g., the color temperature of the ambient light at noon) is implemented. Wherein the second mapping relation formula is:
S1=S0*10%+6000
wherein, S1Is the initial color temperature value of the screen and has the unit of K (Kelvin) and S0Is the color temperature value of the ambient light. Then, based on the first mapping relation formula and the real-time detected ambient light color temperature value, the initial color temperature value of the current screen can be determined, and further, the brightness of the screen light is adjusted to the initial color temperature value. It can be understood that the initial color temperature value is above 6000K, so as to simulate the color temperature of the ambient light at the initial rise of the sun.
It should be noted that, because the second setting interval of the initial color temperature value is set in the embodiment of the present application, the second setting interval may be 4000 to 7000K. When the initial color temperature value is calculated based on the second mapping relation formula, if the calculated value exceeds the upper limit of the second setting interval (generally, the initial color temperature value is more than 6000K, and the color temperature value is not lower than the lower limit of the second setting interval), the upper limit of the second setting interval (i.e. 7000K) is directly used as the initial color temperature value of the screen. Therefore, the problem that the initial color temperature value obtained by calculation influences the screen appearance when the color temperature of the ambient light is too cold can be avoided.
Moreover, the first mapping relation formula and the second mapping relation formula are only one way to determine the initial color temperature value and the initial brightness value in the application embodiment. In some embodiments, the first mapping relation formula and the second mapping relation formula may be set according to actual adjustment requirements, and the embodiments of the present application are not limited herein.
And S130, gradually adjusting the real-time brightness value of the screen by using a set brightness adjusting algorithm according to the screen use duration based on the initial brightness value, and simultaneously gradually adjusting the real-time color temperature value of the screen by using a set color temperature adjusting algorithm according to the screen use duration based on the initial color temperature value.
Further, after the initial color temperature value and the initial brightness value of the screen are determined and adjusted, in order to meet different requirements of different visual fatigue degrees on screen light in the using process of the screen, the real-time brightness value and the real-time color temperature value of the screen are adjusted along with the using time of the screen in the embodiment of the application. Among them, according to the demand of visual comfort level (VICO) index, along with the increase of visual fatigue, in order to promote visual comfort level, it is necessary to adaptively adjust the luminance and the color temperature of light to a warmer tone. Therefore, in order to improve visual comfort, it is necessary to gradually increase the screen brightness and decrease the screen color temperature along with the use time.
The method comprises the following steps of gradually adjusting the real-time brightness value of a screen by using a set brightness adjusting algorithm according to the service time of the screen, wherein the brightness adjusting algorithm comprises the following steps:
L=wlg(l0*(1+0.05%*t))
wherein, L is the real-time brightness value of the screen, the unit is lux (lux), w is a parameter factor, the value of the parameter factor is referred to a first mapping relation formula, L0The ambient light brightness value is, and t is the screen use duration. The brightness adjusting algorithm of the embodiment of the application is derived based on the first mapping formula, and because the real-time brightness value of the screen needs to be adjusted step by step along with the use duration, the brightness adjusting algorithm introduces the time parameter t on the basis of the first mapping relation formula. The real-time brightness value calculation formula obtained by the method has the value which is gradually increased along with the increase of the use time, namely the real-time brightness value is gradually increased along with the use time. In addition, the brightness adjustment algorithm of the embodiment of the application uses a logarithmic function, and according to the function curve characteristic of the logarithmic function, the value of the brightness adjustment algorithm is gradually increased along with the increase of the use duration. Further, as the function curve becomes more gentle in the future, the value thereof tends to be more stable and does not increase excessively. Thereby ensuring real-time brightnessThe value is adjusted below a certain upper limit, so that the visual comfort degree is prevented from being influenced by overlarge screen brightness.
On the other hand, the real-time color temperature value of the screen is gradually adjusted by using a set color temperature adjusting algorithm according to the service time of the screen, wherein the color temperature adjusting algorithm is as follows:
S=(S0*10%+6000)*(1-1%*t) Smin≤S≤Smax
wherein S is the real-time color temperature value of the screen, and the unit is K (Kelvin), S0Is the ambient light color temperature value, SminLower limit of color temperature of screen, SmaxAnd t is the screen use duration. Similarly, the color temperature adjustment algorithm in the embodiment of the present application is derived based on the second mapping formula. Since the real-time color temperature value of the screen needs to be adjusted step by step along with the use duration, the color temperature adjusting algorithm introduces the time parameter t on the basis of the second mapping relation formula. According to the real-time color temperature value calculation formula obtained by the method, as the use time length increases, the value of the real-time color temperature value is gradually reduced (adjusted from a cold color tone to a warm color tone), namely, the real-time color temperature value is gradually reduced along with the use time length. In addition, the value of the real-time color temperature value of the embodiment of the application is Smin~SmaxS ofmin~SmaxThe value can be 4000K to 7000K. The real-time color temperature value is generally between 4000K to 7000K, the initial color temperature value is not higher than 7000K, the color temperature is reduced to 4000K along with the increase of the using time, and then the color temperature value 4000K is kept for displaying, so that the adjustment of the real-time color temperature value is completed.
It should be noted that the screen usage time t is set according to actual adjustment requirements, and may be 30S, 1 minute, or 5 minutes. And according to the actual screen light adjusting requirement, other screen brightness adjusting algorithms and color temperature adjusting algorithms can be adaptively selected, and the embodiment of the application does not make fixed limitation on a specific adjusting formula, and particularly aims to realize that the screen brightness is increased and the screen color temperature is reduced along with the use time.
In one embodiment, when the screen light adjusting device detects that the change of the ambient light brightness value reaches a set first change threshold, the initial brightness value of the screen is determined again based on the new ambient light brightness value, and the real-time brightness value of the screen is adjusted according to the determined initial brightness value. For example, when the environment in which the screen is used changes (i.e. the change of the ambient light brightness value reaches the set first change threshold), in order to adapt the screen to the changed environment, the initial brightness value of the screen light needs to be readjusted so that the new initial brightness value approaches the new ambient light brightness value. After that, the real-time brightness value of the screen light is adjusted stepwise following the use period based on the newly determined initial brightness value. The adjustment method of the real-time luminance value refers to the step S130, which is not described herein again.
On the other hand, in one embodiment, the screen color temperature that changes in the use environment is also readjusted. When the screen light adjusting device detects that the change of the ambient light color temperature value reaches a set second change threshold value, the initial color temperature value of the screen is determined again based on the new ambient light color temperature value, and the real-time color temperature value of the screen is adjusted according to the determined initial color temperature value. For example, when the screen usage environment changes (i.e. the change of the color temperature value of the ambient light reaches the set second change threshold), in order to adapt the screen to the changed environment, the initial color temperature value of the screen light needs to be readjusted to adapt the new initial color temperature value to the new usage environment. After that, the real-time color temperature value of the screen light is adjusted stepwise following the usage period based on the newly determined initial color temperature value. The adjustment method of the real-time color temperature value refers to the step S130, which is not described herein again.
In addition, in one embodiment, a fatigue use prompt is also output when the screen use time reaches a set first time threshold value, and the first time threshold value is set based on the adjustment upper limit of the real-time brightness value; and/or outputting a fatigue use prompt when the screen use time reaches a set second time threshold, wherein the second time threshold is set based on the adjustment lower limit of the real-time color temperature value. It can be understood that when the real-time brightness value of the screen light is adjusted to the brightness adjustment upper limit, or the implemented color temperature value of the screen light is adjusted to the color temperature adjustment lower limit, indicating that the current screen light adjustment is close to the limit, in order to avoid the user from using excessively and affecting the eye health, the first time length threshold and the second time length threshold are set according to the brightness adjustment upper limit and the color temperature adjustment lower limit, and when the first time length threshold or the second time length threshold is reached, the fatigue use prompt is output to prompt the user to use moderately.
The method comprises the steps of detecting an ambient light brightness value and an ambient light color temperature value in real time, determining and adjusting an initial brightness value of a screen based on a first mapping relation between preset ambient light brightness and screen initial brightness, determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and screen initial color temperature, then gradually adjusting a real-time brightness value of the screen based on the initial brightness value and according to screen use duration by using a set brightness adjusting algorithm, and gradually adjusting a real-time color temperature value of the screen based on the initial color temperature value and according to the screen use duration by using a set color temperature adjusting algorithm. By adopting the technical means, the adaptability adjustment of the screen brightness and the color temperature along with the screen use time can be realized, the influence of the visual fatigue degree on the visual comfort level in the screen use process is reduced, and the screen display effect and the user experience are optimized.
Example two:
on the basis of the above embodiments, fig. 4 is a schematic structural diagram of a screen light adjusting device according to a second embodiment of the present application. Referring to fig. 4, the screen light adjusting apparatus provided in this embodiment specifically includes: a detection module 21, a determination module 22 and an adjustment module 23.
The detection module 21 is configured to detect an ambient light brightness value and an ambient light color temperature value in real time;
the determining module 22 is configured to determine and adjust an initial brightness value of the screen based on a first mapping relationship between preset ambient light brightness and an initial brightness of the screen, and determine and adjust an initial color temperature value of the screen based on a second mapping relationship between a preset ambient light color temperature and an initial color temperature of the screen;
the adjusting module 23 is configured to gradually adjust the real-time brightness value of the screen based on the initial brightness value and according to the screen usage duration by using a set brightness adjusting algorithm, and simultaneously gradually adjust the real-time color temperature value of the screen based on the initial color temperature value and according to the screen usage duration by using a set color temperature adjusting algorithm.
The method comprises the steps of detecting an ambient light brightness value and an ambient light color temperature value in real time, determining and adjusting an initial brightness value of a screen based on a first mapping relation between preset ambient light brightness and screen initial brightness, determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and screen initial color temperature, then gradually adjusting a real-time brightness value of the screen based on the initial brightness value and according to screen use duration by using a set brightness adjusting algorithm, and gradually adjusting a real-time color temperature value of the screen based on the initial color temperature value and according to the screen use duration by using a set color temperature adjusting algorithm. By adopting the technical means, the adaptability adjustment of the screen brightness and the color temperature along with the screen use time can be realized, the influence of the visual fatigue degree on the visual comfort level in the screen use process is reduced, and the screen display effect and the user experience are optimized.
The screen light adjusting device provided by the second embodiment of the present application can be used for executing the screen light adjusting method provided by the first embodiment of the present application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 5, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is a computer readable storage medium for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the screen light adjusting method according to any embodiment of the present application (e.g., the. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the memory, that is, implements the screen light adjusting method described above.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the above can be used to execute the screen light adjusting method provided by the first embodiment, and has corresponding functions and beneficial effects.
Example four:
embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a screen light adjusting method, the screen light adjusting method including: detecting an ambient light brightness value and an ambient light color temperature value in real time; determining and adjusting an initial brightness value of a screen based on a first mapping relation between preset ambient light brightness and initial screen brightness, and determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and initial screen color temperature; and gradually adjusting the real-time brightness value of the screen by using a set brightness adjusting algorithm based on the initial brightness value and according to the service time of the screen, and gradually adjusting the real-time color temperature value of the screen by using a set color temperature adjusting algorithm based on the initial color temperature value and according to the service time of the screen.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the screen light adjusting method described above, and may also perform related operations in the screen light adjusting method provided in any embodiment of the present application.
The screen light adjusting device, the storage medium, and the electronic device provided in the above embodiments may perform the screen light adjusting method provided in any embodiment of the present application, and reference may be made to the screen light adjusting method provided in any embodiment of the present application without detailed technical details described in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A screen light adjustment method, comprising:
detecting an ambient light brightness value and an ambient light color temperature value in real time;
determining and adjusting an initial brightness value of a screen based on a first mapping relation between preset ambient light brightness and initial screen brightness, and determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and initial screen color temperature;
and gradually adjusting the real-time brightness value of the screen by using a set brightness adjusting algorithm based on the initial brightness value and according to the service time of the screen, and gradually adjusting the real-time color temperature value of the screen by using a set color temperature adjusting algorithm based on the initial color temperature value and according to the service time of the screen.
2. The screen light adjustment method of claim 1, wherein the brightness adjustment algorithm is:
L=wlg(l0*(1+0.05%*t))
wherein L is the real-time brightness value of the screen, the unit is lux (lux), w is a parameter factor, L0The ambient light brightness value is, and t is the screen use duration.
3. The screen light adjustment method of claim 1, wherein the color temperature adjustment algorithm is:
S=(S0*10%+6000)*(1-1%*t) Smin≤S≤Smax
wherein S is the real-time color temperature value of the screen, and the unit is K (Kelvin), S0Is the ambient light color temperature value, SminLower limit of color temperature of screen, SmaxIs the upper limit of the color temperature of the screen, and t is the screenThe curtain is used for a long time.
4. The method of claim 1, wherein determining and adjusting the initial brightness value of the screen based on a first mapping relationship between the preset ambient light brightness and the initial brightness of the screen comprises:
a first mapping relation between the ambient light brightness and the screen initial brightness is established in advance based on a first set interval of the screen initial brightness value;
determining an initial brightness value of a screen according to the ambient light brightness value and the first mapping relation;
and adjusting the brightness value of the current screen to be the initial brightness value.
5. The screen light adjusting method of claim 1, wherein determining and adjusting an initial color temperature value of the screen based on a second mapping relationship between a preset ambient light color temperature and an initial color temperature of the screen comprises:
a second mapping relation between the ambient light color temperature and the screen initial color temperature is pre-established in a second set interval based on the screen initial color temperature value;
determining an initial color temperature value of the screen according to the ambient light color temperature value and the second mapping relation;
and adjusting the color temperature value of the current screen to be the initial color temperature value.
6. The screen light adjusting method of any one of claims 1 to 5, further comprising, after gradually adjusting the real-time luminance value of the screen using a set luminance adjusting algorithm based on the initial luminance value and according to the screen use time period, and simultaneously gradually adjusting the real-time color temperature value of the screen using a set color temperature adjusting algorithm based on the initial color temperature value and according to the screen use time period:
when detecting that the change of the ambient light brightness value reaches a set first change threshold value, re-determining the initial brightness value of the screen based on the new ambient light brightness value, and adjusting the real-time brightness value of the screen according to the re-determined initial brightness value; and/or the presence of a gas in the gas,
and when the change of the ambient light color temperature value is detected to reach a set second change threshold value, re-determining the initial color temperature value of the screen based on the new ambient light color temperature value, and adjusting the real-time color temperature value of the screen according to the re-determined initial color temperature value.
7. The screen light adjusting method of any one of claims 1 to 5, further comprising, after gradually adjusting the real-time luminance value of the screen using a set luminance adjusting algorithm based on the initial luminance value and according to the screen use time period, and simultaneously gradually adjusting the real-time color temperature value of the screen using a set color temperature adjusting algorithm based on the initial color temperature value and according to the screen use time period:
outputting a fatigue use prompt when the screen use time reaches a set first time threshold, wherein the first time threshold is set based on the adjustment upper limit of the real-time brightness value; and/or the presence of a gas in the gas,
and outputting a fatigue use prompt when the screen use time reaches a set second time threshold, wherein the second time threshold is set based on the adjustment lower limit of the real-time color temperature value.
8. A screen light adjusting apparatus, comprising:
the detection module is used for detecting the ambient light brightness value and the ambient light color temperature value in real time;
the determining module is used for determining and adjusting an initial brightness value of the screen based on a first mapping relation between preset ambient light brightness and screen initial brightness, and determining and adjusting an initial color temperature value of the screen based on a second mapping relation between preset ambient light color temperature and screen initial color temperature;
and the adjusting module is used for gradually adjusting the real-time brightness value of the screen by using a set brightness adjusting algorithm based on the initial brightness value and according to the service life of the screen, and simultaneously gradually adjusting the real-time color temperature value of the screen by using a set color temperature adjusting algorithm based on the initial color temperature value and according to the service life of the screen.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the screen light adjustment method of any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the screen light adjustment method of any one of claims 1-7 when executed by a computer processor.
CN202010562157.9A 2020-06-18 2020-06-18 Screen light adjusting method and device Active CN111736793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010562157.9A CN111736793B (en) 2020-06-18 2020-06-18 Screen light adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010562157.9A CN111736793B (en) 2020-06-18 2020-06-18 Screen light adjusting method and device

Publications (2)

Publication Number Publication Date
CN111736793A true CN111736793A (en) 2020-10-02
CN111736793B CN111736793B (en) 2024-02-20

Family

ID=72649772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010562157.9A Active CN111736793B (en) 2020-06-18 2020-06-18 Screen light adjusting method and device

Country Status (1)

Country Link
CN (1) CN111736793B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630502A (en) * 2021-08-02 2021-11-09 惠州Tcl云创科技有限公司 Display automatic adjustment processing method and device based on mobile terminal and mobile terminal
CN115499692A (en) * 2022-09-28 2022-12-20 中广(绍兴柯桥)有线信息网络有限公司 Digital television intelligent control method and system based on image processing
CN117558254A (en) * 2024-01-11 2024-02-13 宁波赛宝信息产业技术研究院有限公司 Display screen brightness adjusting method, system, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503683A (en) * 2014-12-01 2015-04-08 小米科技有限责任公司 Eyesight protecting method and device
CN106250012A (en) * 2016-07-20 2016-12-21 广东欧珀移动通信有限公司 Screen intensity and color temperature adjusting method, device and terminal unit
CN106325791A (en) * 2015-07-06 2017-01-11 联想(北京)有限公司 Display parameter adjustment method and electronic device
CN109064997A (en) * 2018-10-17 2018-12-21 宁波大红鹰学院 Automatically adjust the method and display device of display device output colour temperature
WO2018232585A1 (en) * 2017-06-20 2018-12-27 深圳市柔宇科技有限公司 Method and apparatus for adjusting brightness of head-mounted display device
CN110969981A (en) * 2019-12-30 2020-04-07 维沃移动通信有限公司 Screen display parameter adjusting method and electronic equipment
CN111124534A (en) * 2019-12-05 2020-05-08 深圳智锐通科技有限公司 Intelligent eye protection computer
CN111163305A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Screen adjusting method, device and equipment and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503683A (en) * 2014-12-01 2015-04-08 小米科技有限责任公司 Eyesight protecting method and device
CN106325791A (en) * 2015-07-06 2017-01-11 联想(北京)有限公司 Display parameter adjustment method and electronic device
CN106250012A (en) * 2016-07-20 2016-12-21 广东欧珀移动通信有限公司 Screen intensity and color temperature adjusting method, device and terminal unit
WO2018232585A1 (en) * 2017-06-20 2018-12-27 深圳市柔宇科技有限公司 Method and apparatus for adjusting brightness of head-mounted display device
CN109064997A (en) * 2018-10-17 2018-12-21 宁波大红鹰学院 Automatically adjust the method and display device of display device output colour temperature
CN111124534A (en) * 2019-12-05 2020-05-08 深圳智锐通科技有限公司 Intelligent eye protection computer
CN110969981A (en) * 2019-12-30 2020-04-07 维沃移动通信有限公司 Screen display parameter adjusting method and electronic equipment
CN111163305A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Screen adjusting method, device and equipment and readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630502A (en) * 2021-08-02 2021-11-09 惠州Tcl云创科技有限公司 Display automatic adjustment processing method and device based on mobile terminal and mobile terminal
CN115499692A (en) * 2022-09-28 2022-12-20 中广(绍兴柯桥)有线信息网络有限公司 Digital television intelligent control method and system based on image processing
CN115499692B (en) * 2022-09-28 2023-06-16 中广(绍兴柯桥)有线信息网络有限公司 Digital television intelligent control method and system based on image processing
CN117558254A (en) * 2024-01-11 2024-02-13 宁波赛宝信息产业技术研究院有限公司 Display screen brightness adjusting method, system, equipment and storage medium
CN117558254B (en) * 2024-01-11 2024-04-26 宁波赛宝信息产业技术研究院有限公司 Display screen brightness adjusting method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN111736793B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
CN111736793B (en) Screen light adjusting method and device
CN113362775B (en) Display screen control method and device, electronic equipment and storage medium
CN108538265B (en) Display brightness adjusting method and device of liquid crystal display screen
KR101526351B1 (en) Mobile terminal and control method for mobile terminal
CN106445151B (en) A kind of control method and terminal of screen luminance of terminal
CN111565289A (en) Method for adjusting screen brightness and color temperature, terminal and storage medium
CN111667798A (en) Screen adjusting method and device
CN105810152B (en) Method for controlling backlight thereof and device, the television set of display terminal
CN105453166A (en) Method and apparatus for regulating backlight brightness, and electronic device
CN104754219B (en) A kind of terminal
WO2016169186A1 (en) Method and apparatus for controlling electronic lock
KR20160055534A (en) Method for content adaptation based on ambient environment in electronic device and the electronic device thereof
CN105719618A (en) Method for saving energy by means of automatically adjusting brightness of mobile phone screen
CN107749289A (en) Brightness adjusting method, device, brightness control system and augmented reality equipment
WO2017032019A1 (en) Screen brightness adjusting method and user terminal
CN110248444A (en) Flashlight brightness adjusting method, device, mobile terminal and storage medium
CN106657676A (en) Screen brightness adjusting method and device
CN113395457B (en) Parameter adjusting method, device and equipment of image collector and storage medium
CN111739456A (en) Display screen control method, device, equipment and storage medium
CN113587206B (en) Method, device, equipment and medium for adjusting heating temperature in sleeping process
CN112233631B (en) Automatic screen brightness adjusting device and method for all-solid tablet personal computer
CN204945946U (en) Computer screen control system
CN106851007A (en) A kind of method and system for adjusting screen backlight
CN111984337B (en) Operation mode collection method, terminal device, massage device and storage medium
CN111599326A (en) Screen brightness adjusting method and device based on screen angle

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