CN109817130B - Color temperature regulating method, device and computer readable storage medium - Google Patents
Color temperature regulating method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109817130B CN109817130B CN201910091175.0A CN201910091175A CN109817130B CN 109817130 B CN109817130 B CN 109817130B CN 201910091175 A CN201910091175 A CN 201910091175A CN 109817130 B CN109817130 B CN 109817130B
- Authority
- CN
- China
- Prior art keywords
- screen
- color temperature
- time
- display
- display screen
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000001105 regulatory effect Effects 0.000 title abstract description 14
- 230000033228 biological regulation Effects 0.000 claims abstract description 25
- 230000008033 biological extinction Effects 0.000 claims abstract description 21
- 230000006870 function Effects 0.000 claims description 96
- 238000010791 quenching Methods 0.000 claims description 24
- 230000000171 quenching effect Effects 0.000 claims description 24
- 238000005282 brightening Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 230000000737 periodic effect Effects 0.000 claims 2
- 230000006854 communication Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000001514 detection method Methods 0.000 description 11
- 238000010295 mobile communication Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000035945 sensitivity Effects 0.000 description 4
- 230000036962 time dependent Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a color temperature regulating method, a device and a computer readable storage medium, wherein the method comprises the following steps: detecting the display color temperature of the display screen according to a preset period from the moment of screen extinction or the moment of screen brightness of the display screen; then, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value; then, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function; finally, the display color temperature is adjusted to the target color temperature. The humanized color temperature regulation scheme is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Description
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a color temperature adjusting method, a device, and a computer readable storage medium.
Background
In the prior art, along with the rapid development of intelligent terminal equipment, the requirement of a user on the screen display effect of the intelligent terminal equipment is also higher and higher, wherein one of main factors influencing the screen effect is the color expression of the screen. According to the prior art, the color temperature of the screen can influence the color expression of the screen, and the proper color temperature can lead the vision of the screen to be white, clean and comfortable and natural, otherwise, the screen can have various color bias problems such as bluish, yellowish, reddish and the like, and users commonly call the poor experience of the type as 'screen warmth' or 'screen coldness'.
Because the color temperature of the screen can change along with the time extension of the screen on or off, in the prior art, the intelligent terminal device does not perform relevant regulation and control on the color temperature of the screen according to the characteristic, therefore, the color temperature of the screen can not keep in a stable state along with the time extension of the screen on or off, and the user experience is poor.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides a color temperature regulating and controlling method, which comprises the following steps:
detecting the display color temperature of the display screen according to a preset period from the moment of screen extinction or the moment of screen brightness of the display screen;
judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value;
if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function;
and adjusting the display color temperature to the target color temperature.
Optionally, the detecting the display color temperature of the display screen according to a preset period from the time of screen off or the time of screen on includes:
recording a first time interval between the current moment and the screen-off moment from the moment when the display screen is in the screen-off moment;
And if the current moment is the bright screen moment, detecting the display color temperature of the display screen at the bright screen moment.
Optionally, from the time of screen off or the time of screen on, detecting the display color temperature of the display screen according to a preset period, and further including:
determining the preset period according to the current running environment;
and detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen.
Optionally, if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining the target color temperature according to a preset color temperature time function includes:
determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen;
and determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic.
Optionally, if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining a target color temperature according to a preset color temperature time function, and further including:
if the display screen is converted from the screen-off time to the screen-on time, generating a first target color temperature corresponding to the screen-on time according to the time interval between the screen-off time and the screen-on time and the first color temperature time function;
And if the display screen is at the screen-brightening moment, generating a second target color temperature corresponding to the screen-brightening moment according to the time interval of the preset period and the second color temperature time function.
The invention also provides a color temperature regulating device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program is realized when being executed by the processor:
detecting the display color temperature of the display screen according to a preset period from the moment of screen extinction or the moment of screen brightness of the display screen;
judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value;
if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function;
and adjusting the display color temperature to the target color temperature.
Optionally, the computer program is implemented when executed by the processor:
recording a first time interval between the current moment and the screen-off moment from the moment when the display screen is in the screen-off moment;
and if the current moment is the bright screen moment, detecting the display color temperature of the display screen at the bright screen moment.
Optionally, the computer program is implemented when executed by the processor:
determining the preset period according to the current running environment;
and detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen.
Optionally, the computer program is implemented when executed by the processor:
determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen;
determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic;
if the display screen is converted from the screen-off time to the screen-on time, generating a first target color temperature corresponding to the screen-on time according to the time interval between the screen-off time and the screen-on time and the first color temperature time function;
and if the display screen is at the screen-brightening moment, generating a second target color temperature corresponding to the screen-brightening moment according to the time interval of the preset period and the second color temperature time function.
The invention also proposes a computer readable storage medium having stored thereon a color temperature regulation program which, when executed by a processor, implements the steps of the color temperature regulation method as described in any of the above.
The color temperature regulating method, the device and the computer readable storage medium are implemented, and the display color temperature of the display screen is detected according to a preset period from the screen extinguishing time or the screen brightening time of the display screen; then, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value; then, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function; finally, the display color temperature is adjusted to the target color temperature. The humanized color temperature regulation scheme is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a first embodiment of a color temperature tuning method of the present invention;
FIG. 4 is a flowchart of a second embodiment of the color temperature control method of the present invention;
FIG. 5 is a flowchart of a third embodiment of a color temperature adjustment method of the present invention;
FIG. 6 is a flowchart of a fourth embodiment of a color temperature tuning method of the present invention;
FIG. 7 is a flowchart of a fifth embodiment of a color temperature control method of the present invention;
FIG. 8 is a graph of the bright screen time color temperature characteristic of the color temperature control method of the present invention;
FIG. 9 is a graph of off-screen time color temperature characteristics of the color temperature control method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 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 volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
Example 1
Fig. 3 is a flowchart of a first embodiment of the color temperature adjusting method of the present invention. A color temperature regulation method, the method comprising:
s1, detecting the display color temperature of a display screen according to a preset period from the moment of screen extinction or the moment of screen brightness of the display screen;
s2, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value;
s3, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function;
and S4, adjusting the display color temperature to the target color temperature.
In this embodiment, first, from the moment of screen extinction or the moment of screen brightness of the display screen, the display color temperature of the display screen is detected according to a preset period; then, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value; then, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function; finally, the display color temperature is adjusted to the target color temperature.
Specifically, in this embodiment, first, from the time when the display screen is turned off or the time when the display screen is turned on, the display color temperature of the display screen is detected according to a preset period. It can be understood that the color temperature of the display screen can affect the color performance of the display screen, and a proper color temperature can make the vision of the display screen white, clean and comfortable, and natural, otherwise, various color cast problems such as bluish, yellowish, reddish and the like can appear on the display screen, and the color temperature of the display screen can change along with the time extension of the lighting or extinguishing of the display screen, so in this embodiment, when the display screen is in a off state or when the display screen is in a bright state, the display color temperature of the display screen is detected according to a preset time period. Optionally, the corresponding detection period is determined according to attribute information of the display screen, where the attribute information of the display screen includes a time-dependent change characteristic of the display screen during self-lighting or off-screen time, specifically, referring to fig. 8, which is a graph of a color temperature characteristic of a lighting time of the color temperature regulation method according to the present invention, referring to fig. 9, which is a graph of a color temperature characteristic of an off-screen time of the color temperature regulation method according to the present invention, and in fig. 8 and 9, a correspondence between the lighting time and the color temperature and a correspondence between the off-screen time and the color temperature are respectively shown under a fixed brightness.
Specifically, in this embodiment, it is determined whether the difference between the display color temperature and the standard color temperature exceeds a preset difference. The corresponding preset difference value is determined according to the visual sensitivity of the user, that is, if the user is sensitive to the color temperature change of the display screen, a smaller difference value is preset, otherwise, a larger difference value is preset, specifically, for example, when the display screen is in a preset period after the self-lighting time, the color temperature monitoring is started, the current display color temperature is calculated to be 7700K according to the lighting time and the initial color temperature, if the standard color temperature of the embodiment is 7500K, the color temperature at the moment is judged to be increased by only 200K, the adjustment condition is not met, and the color temperature of the display screen is not required to be adjusted. For another example, if the current display color temperature is 7850K, it is determined that the color temperature at this time is increased by 350K, and the color temperature needs to be adjusted. Optionally, in this embodiment, two ways are adopted to determine the current display color temperature, firstly, the current display color temperature of the display screen is obtained through the color temperature sensing component, and secondly, the current display color temperature is obtained through the off-screen or on-screen time color temperature characteristic curve of the embodiment.
Specifically, in this embodiment, if the difference between the display color temperature and the standard color temperature exceeds the preset difference, the target color temperature is determined according to a preset color temperature time function. In this embodiment, two schemes are adopted to determine the target color temperature, namely, a fixed preset value is used as the target color temperature of this embodiment, and the target color temperature is determined according to a preset color temperature time function, wherein the first target color temperature setting scheme is more accurate, and the second target color temperature setting scheme enables the range of color temperature regulation to be more humanized.
Specifically, in the present embodiment, the display color temperature is adjusted to the target color temperature. Similarly, as described in the foregoing examples, in this embodiment, two schemes are adopted to adjust the current display color temperature, firstly, a fixed preset value is directly used as the target color temperature to be adjusted, that is, after the color temperature detection is completed, the color temperature value of the current screen is adjusted to be the target color temperature value, and secondly, the target color temperature of at least one stage is determined according to the preset color temperature time function, that is, the current screen color temperature is adjusted in multiple stages within a period of adjustment time until the target color temperature value is adjusted.
The method has the advantages that the display color temperature of the display screen is detected according to a preset period from the screen-off time or the screen-on time of the display screen; then, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value; then, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function; finally, the display color temperature is adjusted to the target color temperature. The humanized color temperature regulation scheme is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example two
Fig. 4 is a flowchart of a second embodiment of the color temperature adjustment method according to the present invention, based on the above embodiment, the detecting, at a preset period, a display color temperature of a display screen from a screen-off time or a screen-on time of the display screen includes:
s11, recording a first time interval between the current moment and the screen-off moment from the moment when the display screen is in the screen-off moment;
and S12, if the current moment is a bright screen moment, detecting the display color temperature of the display screen at the bright screen moment.
In this embodiment, first, from the moment when the display screen is turned off, a first time interval between a current moment and the moment when the display screen is turned off is recorded; and then, if the current moment is a bright screen moment, detecting the display color temperature of the display screen at the bright screen moment.
Specifically, in this embodiment, first, from the time when the display screen is turned off or the time when the display screen is turned on, the display color temperature of the display screen is detected according to a preset period. It can be understood that the color temperature of the display screen can affect the color performance of the display screen, and a proper color temperature can make the vision of the display screen white, clean and comfortable, and natural, otherwise, various color cast problems such as bluish, yellowish, reddish and the like can appear on the display screen, and the color temperature of the display screen can change along with the time extension of the lighting or extinguishing of the display screen, so in this embodiment, when the display screen is in a off state or when the display screen is in a bright state, the display color temperature of the display screen is detected according to a preset time period. Optionally, the corresponding detection period is determined according to attribute information of the display screen, where the attribute information of the display screen includes a time-dependent change characteristic of the display screen during self-lighting or off-screen time, specifically, referring to fig. 8, which is a graph of a color temperature characteristic of a lighting time of the color temperature regulation method according to the present invention, referring to fig. 9, which is a graph of a color temperature characteristic of an off-screen time of the color temperature regulation method according to the present invention, and in fig. 8 and 9, a correspondence between the lighting time and the color temperature and a correspondence between the off-screen time and the color temperature are respectively shown under a fixed brightness.
Optionally, when the display screen is continuously turned off, starting timing until the display screen is turned on, and taking the period of time as a first time interval of the embodiment, wherein the first time interval is the off time;
optionally, when the display screen is continuously on, starting timing, and detecting the display color temperature of the display screen when the preset time is reached;
optionally, when the display screen is in an alternating process of bright screen and off screen, determining a minimum off screen interval time, and if the display screen is in the alternating time of bright screen and off screen, determining that the current time is continuous bright screen time if the off screen time of each time is smaller than the minimum off screen interval time;
optionally, when the display screen is in the alternating process of bright screen and off screen, determining the minimum bright screen interval time, and if the display screen is in the alternating time of bright screen and off screen, determining the current time as continuous off screen time if the bright screen time of each time is smaller than the minimum bright screen interval time.
The method has the advantages that a first time interval between the current moment and the screen-off moment is recorded from the moment that the display screen is in the screen-off moment; and then, if the current moment is a bright screen moment, detecting the display color temperature of the display screen at the bright screen moment. The color temperature regulating scheme with more humanization is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example III
Fig. 5 is a flowchart of a third embodiment of the color temperature adjustment method according to the present invention, based on the above embodiment, the method detects the display color temperature of the display screen according to a preset period from the time when the display screen is turned off or the time when the display screen is turned on, and further includes:
s13, determining the preset period according to the current running environment;
and S14, detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen.
In this embodiment, first, the preset period is determined according to the current operating environment; and then, detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen.
Specifically, in this embodiment, it is determined whether the difference between the display color temperature and the standard color temperature exceeds a preset difference. The corresponding preset difference value is determined according to the visual sensitivity of the user, that is, if the user is sensitive to the color temperature change of the display screen, a smaller difference value is preset, otherwise, a larger difference value is preset, specifically, for example, when the display screen is in a preset period after the self-lighting time, the color temperature monitoring is started, the current display color temperature is calculated to be 7700K according to the lighting time and the initial color temperature, if the standard color temperature of the embodiment is 7500K, the color temperature at the moment is judged to be increased by only 200K, the adjustment condition is not met, and the color temperature of the display screen is not required to be adjusted. For another example, if the current display color temperature is 7850K, it is determined that the color temperature at this time is increased by 350K, and the color temperature needs to be adjusted. Optionally, in this embodiment, two ways are adopted to determine the current display color temperature, firstly, the current display color temperature of the display screen is obtained through the color temperature sensing component, and secondly, the current display color temperature is obtained through the off-screen or on-screen time color temperature characteristic curve of the embodiment.
Optionally, the preset period of different time intervals is determined according to the color temperature characteristic curve of the screen-off or screen-on time, for example, when the screen-off or screen-on is just started, the color temperature change range is larger, so that a shorter time interval is set, and when the screen-off or screen-on is continuously performed for a longer time, the color temperature change range is smaller, so that a longer time interval is set, on one hand, the accuracy and timeliness of the color temperature adjustment are improved when the screen-off or screen-on is just started, and on the other hand, the system resource consumption of the color temperature adjustment operation is reduced after the screen-off or screen-on is continuously performed for a longer time.
The method has the beneficial effects that the preset period is determined through the current running environment; and then, detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen. The color temperature regulating scheme with more humanization is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example IV
Fig. 6 is a flowchart of a fourth embodiment of the color temperature adjusting method according to the present invention, based on the above embodiment, wherein if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining the target color temperature according to the preset color temperature time function includes:
S31, determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen;
s32, determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic.
In this embodiment, first, according to attribute information and screen quenching characteristics of the display screen, determining a first color temperature time function related to screen quenching; and then, determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic.
Specifically, in this embodiment, if the difference between the display color temperature and the standard color temperature exceeds the preset difference, the target color temperature is determined according to a preset color temperature time function. In this embodiment, two schemes are adopted to determine the target color temperature, namely, a fixed preset value is used as the target color temperature of this embodiment, and the target color temperature is determined according to a preset color temperature time function, wherein the first target color temperature setting scheme is more accurate, and the second target color temperature setting scheme enables the range of color temperature regulation to be more humanized.
Optionally, determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen, wherein the attribute information of the display screen comprises information such as screen material and color temperature parameters of the display screen;
Optionally, if the terminal device has two or more display screens, the first color temperature time function of the embodiment and the second color temperature time function of the embodiment are determined according to attribute information of the respective display screens.
The method has the advantages that the first color temperature time function related to screen quenching is determined through the attribute information and the screen quenching characteristics of the display screen; and then, determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic. The color temperature regulating scheme with more humanization is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example five
Fig. 7 is a flowchart of a fifth embodiment of the color temperature adjusting method according to the present invention, based on the above embodiment, wherein if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining the target color temperature according to a preset color temperature time function, further includes:
s33, if the display screen is converted from the screen-off time to the screen-on time, generating a first target color temperature corresponding to the screen-on time according to the time interval between the screen-off time and the screen-on time and the first color temperature time function;
And S34, if the display screen is at the bright screen moment, generating a second target color temperature corresponding to the bright screen moment according to the time interval of the preset period and the second color temperature time function.
In this embodiment, first, if the display screen is converted from the screen-off time to the screen-on time, a first target color temperature corresponding to the screen-on time is generated according to a time interval between the screen-off time and the screen-on time and the first color temperature time function; and then, if the display screen is at the bright screen moment, generating a second target color temperature corresponding to the bright screen moment according to the time interval of the preset period and the second color temperature time function.
Specifically, in the present embodiment, the display color temperature is adjusted to the target color temperature. Similarly, as described in the foregoing examples, in this embodiment, two schemes are adopted to adjust the current display color temperature, firstly, a fixed preset value is directly used as the target color temperature to be adjusted, that is, after the color temperature detection is completed, the color temperature value of the current screen is adjusted to be the target color temperature value, and secondly, the target color temperature of at least one stage is determined according to the preset color temperature time function, that is, the current screen color temperature is adjusted in multiple stages within a period of adjustment time until the target color temperature value is adjusted.
Optionally, if the terminal device has a first screen and a second screen, the respective screen color temperatures are adjusted according to the off-screen or on-screen time of the first screen and the second screen, respectively
The method has the advantages that if the display screen is converted from the screen-off time to the screen-on time, a first target color temperature corresponding to the screen-on time is generated according to the time interval between the screen-off time and the screen-on time and the first color temperature time function; and then, if the display screen is at the bright screen moment, generating a second target color temperature corresponding to the bright screen moment according to the time interval of the preset period and the second color temperature time function. The color temperature regulating scheme with more humanization is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example six
Based on the above embodiments, the present invention further provides a color temperature adjusting device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is implemented when executed by the processor:
Detecting the display color temperature of the display screen according to a preset period from the moment of screen extinction or the moment of screen brightness of the display screen;
judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value;
if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function;
and adjusting the display color temperature to the target color temperature.
In this embodiment, first, from the moment of screen extinction or the moment of screen brightness of the display screen, the display color temperature of the display screen is detected according to a preset period; then, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value; then, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function; finally, the display color temperature is adjusted to the target color temperature.
Specifically, in this embodiment, first, from the time when the display screen is turned off or the time when the display screen is turned on, the display color temperature of the display screen is detected according to a preset period. It can be understood that the color temperature of the display screen can affect the color performance of the display screen, and a proper color temperature can make the vision of the display screen white, clean and comfortable, and natural, otherwise, various color cast problems such as bluish, yellowish, reddish and the like can appear on the display screen, and the color temperature of the display screen can change along with the time extension of the lighting or extinguishing of the display screen, so in this embodiment, when the display screen is in a off state or when the display screen is in a bright state, the display color temperature of the display screen is detected according to a preset time period. Optionally, the corresponding detection period is determined according to attribute information of the display screen, where the attribute information of the display screen includes a time-dependent change characteristic of the display screen during self-lighting or off-screen time, specifically, referring to fig. 8, which is a graph of a color temperature characteristic of a lighting time of the color temperature regulation method according to the present invention, referring to fig. 9, which is a graph of a color temperature characteristic of an off-screen time of the color temperature regulation method according to the present invention, and in fig. 8 and 9, a correspondence between the lighting time and the color temperature and a correspondence between the off-screen time and the color temperature are respectively shown under a fixed brightness.
Specifically, in this embodiment, it is determined whether the difference between the display color temperature and the standard color temperature exceeds a preset difference. The corresponding preset difference value is determined according to the visual sensitivity of the user, that is, if the user is sensitive to the color temperature change of the display screen, a smaller difference value is preset, otherwise, a larger difference value is preset, specifically, for example, when the display screen is in a preset period after the self-lighting time, the color temperature monitoring is started, the current display color temperature is calculated to be 7700K according to the lighting time and the initial color temperature, if the standard color temperature of the embodiment is 7500K, the color temperature at the moment is judged to be increased by only 200K, the adjustment condition is not met, and the color temperature of the display screen is not required to be adjusted. For another example, if the current display color temperature is 7850K, it is determined that the color temperature at this time is increased by 350K, and the color temperature needs to be adjusted. Optionally, in this embodiment, two ways are adopted to determine the current display color temperature, firstly, the current display color temperature of the display screen is obtained through the color temperature sensing component, and secondly, the current display color temperature is obtained through the off-screen or on-screen time color temperature characteristic curve of the embodiment.
Specifically, in this embodiment, if the difference between the display color temperature and the standard color temperature exceeds the preset difference, the target color temperature is determined according to a preset color temperature time function. In this embodiment, two schemes are adopted to determine the target color temperature, namely, a fixed preset value is used as the target color temperature of this embodiment, and the target color temperature is determined according to a preset color temperature time function, wherein the first target color temperature setting scheme is more accurate, and the second target color temperature setting scheme enables the range of color temperature regulation to be more humanized.
Specifically, in the present embodiment, the display color temperature is adjusted to the target color temperature. Similarly, as described in the foregoing examples, in this embodiment, two schemes are adopted to adjust the current display color temperature, firstly, a fixed preset value is directly used as the target color temperature to be adjusted, that is, after the color temperature detection is completed, the color temperature value of the current screen is adjusted to be the target color temperature value, and secondly, the target color temperature of at least one stage is determined according to the preset color temperature time function, that is, the current screen color temperature is adjusted in multiple stages within a period of adjustment time until the target color temperature value is adjusted.
The method has the advantages that the display color temperature of the display screen is detected according to a preset period from the screen-off time or the screen-on time of the display screen; then, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value; then, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function; finally, the display color temperature is adjusted to the target color temperature. The humanized color temperature regulation scheme is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example seven
Based on the above embodiments, the computer program when executed by the processor implements:
recording a first time interval between the current moment and the screen-off moment from the moment when the display screen is in the screen-off moment;
and if the current moment is the bright screen moment, detecting the display color temperature of the display screen at the bright screen moment.
In this embodiment, first, from the moment when the display screen is turned off, a first time interval between a current moment and the moment when the display screen is turned off is recorded; and then, if the current moment is a bright screen moment, detecting the display color temperature of the display screen at the bright screen moment.
Specifically, in this embodiment, first, from the time when the display screen is turned off or the time when the display screen is turned on, the display color temperature of the display screen is detected according to a preset period. It can be understood that the color temperature of the display screen can affect the color performance of the display screen, and a proper color temperature can make the vision of the display screen white, clean and comfortable, and natural, otherwise, various color cast problems such as bluish, yellowish, reddish and the like can appear on the display screen, and the color temperature of the display screen can change along with the time extension of the lighting or extinguishing of the display screen, so in this embodiment, when the display screen is in a off state or when the display screen is in a bright state, the display color temperature of the display screen is detected according to a preset time period. Optionally, the corresponding detection period is determined according to attribute information of the display screen, where the attribute information of the display screen includes a time-dependent change characteristic of the display screen during self-lighting or off-screen time, specifically, referring to fig. 8, which is a graph of a color temperature characteristic of a lighting time of the color temperature regulation method according to the present invention, referring to fig. 9, which is a graph of a color temperature characteristic of an off-screen time of the color temperature regulation method according to the present invention, and in fig. 8 and 9, a correspondence between the lighting time and the color temperature and a correspondence between the off-screen time and the color temperature are respectively shown under a fixed brightness.
Optionally, when the display screen is continuously turned off, starting timing until the display screen is turned on, and taking the period of time as a first time interval of the embodiment, wherein the first time interval is the off time;
optionally, when the display screen is continuously on, starting timing, and detecting the display color temperature of the display screen when the preset time is reached;
optionally, when the display screen is in an alternating process of bright screen and off screen, determining a minimum off screen interval time, and if the display screen is in the alternating time of bright screen and off screen, determining that the current time is continuous bright screen time if the off screen time of each time is smaller than the minimum off screen interval time;
optionally, when the display screen is in the alternating process of bright screen and off screen, determining the minimum bright screen interval time, and if the display screen is in the alternating time of bright screen and off screen, determining the current time as continuous off screen time if the bright screen time of each time is smaller than the minimum bright screen interval time.
The method has the advantages that a first time interval between the current moment and the screen-off moment is recorded from the moment that the display screen is in the screen-off moment; and then, if the current moment is a bright screen moment, detecting the display color temperature of the display screen at the bright screen moment. The color temperature regulating scheme with more humanization is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example eight
Based on the above embodiments, the computer program when executed by the processor implements:
determining the preset period according to the current running environment;
and detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen.
In this embodiment, first, the preset period is determined according to the current operating environment; and then, detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen.
Specifically, in this embodiment, it is determined whether the difference between the display color temperature and the standard color temperature exceeds a preset difference. The corresponding preset difference value is determined according to the visual sensitivity of the user, that is, if the user is sensitive to the color temperature change of the display screen, a smaller difference value is preset, otherwise, a larger difference value is preset, specifically, for example, when the display screen is in a preset period after the self-lighting time, the color temperature monitoring is started, the current display color temperature is calculated to be 7700K according to the lighting time and the initial color temperature, if the standard color temperature of the embodiment is 7500K, the color temperature at the moment is judged to be increased by only 200K, the adjustment condition is not met, and the color temperature of the display screen is not required to be adjusted. For another example, if the current display color temperature is 7850K, it is determined that the color temperature at this time is increased by 350K, and the color temperature needs to be adjusted. Optionally, in this embodiment, two ways are adopted to determine the current display color temperature, firstly, the current display color temperature of the display screen is obtained through the color temperature sensing component, and secondly, the current display color temperature is obtained through the off-screen or on-screen time color temperature characteristic curve of the embodiment.
Optionally, the preset period of different time intervals is determined according to the color temperature characteristic curve of the screen-off or screen-on time, for example, when the screen-off or screen-on is just started, the color temperature change range is larger, so that a shorter time interval is set, and when the screen-off or screen-on is continuously performed for a longer time, the color temperature change range is smaller, so that a longer time interval is set, on one hand, the accuracy and timeliness of the color temperature adjustment are improved when the screen-off or screen-on is just started, and on the other hand, the system resource consumption of the color temperature adjustment operation is reduced after the screen-off or screen-on is continuously performed for a longer time.
The method has the beneficial effects that the preset period is determined through the current running environment; and then, detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen. The color temperature regulating scheme with more humanization is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Example nine
Based on the above embodiments, the computer program when executed by the processor implements:
Determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen;
determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic;
if the display screen is converted from the screen-off time to the screen-on time, generating a first target color temperature corresponding to the screen-on time according to the time interval between the screen-off time and the screen-on time and the first color temperature time function;
and if the display screen is at the screen-brightening moment, generating a second target color temperature corresponding to the screen-brightening moment according to the time interval of the preset period and the second color temperature time function.
In this embodiment, first, according to attribute information and screen quenching characteristics of the display screen, determining a first color temperature time function related to screen quenching; and then, determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic.
Specifically, in this embodiment, if the difference between the display color temperature and the standard color temperature exceeds the preset difference, the target color temperature is determined according to a preset color temperature time function. In this embodiment, two schemes are adopted to determine the target color temperature, namely, a fixed preset value is used as the target color temperature of this embodiment, and the target color temperature is determined according to a preset color temperature time function, wherein the first target color temperature setting scheme is more accurate, and the second target color temperature setting scheme enables the range of color temperature regulation to be more humanized.
Optionally, determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen, wherein the attribute information of the display screen comprises information such as screen material and color temperature parameters of the display screen;
optionally, if the terminal device has two or more display screens, the first color temperature time function of the embodiment and the second color temperature time function of the embodiment are determined according to attribute information of the respective display screens.
Specifically, in the present embodiment, the display color temperature is adjusted to the target color temperature. Similarly, as described in the foregoing examples, in this embodiment, two schemes are adopted to adjust the current display color temperature, firstly, a fixed preset value is directly used as the target color temperature to be adjusted, that is, after the color temperature detection is completed, the color temperature value of the current screen is adjusted to be the target color temperature value, and secondly, the target color temperature of at least one stage is determined according to the preset color temperature time function, that is, the current screen color temperature is adjusted in multiple stages within a period of adjustment time until the target color temperature value is adjusted.
Optionally, if the terminal device has a first screen and a second screen, the respective screen color temperatures are adjusted according to the off-screen or on-screen time of the first screen and the second screen, respectively
The method has the advantages that if the display screen is converted from the screen-off time to the screen-on time, a first target color temperature corresponding to the screen-on time is generated according to the time interval between the screen-off time and the screen-on time and the first color temperature time function; and then, if the display screen is at the bright screen moment, generating a second target color temperature corresponding to the bright screen moment according to the time interval of the preset period and the second color temperature time function. The color temperature regulating scheme with more humanization is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
Examples ten
Based on the above embodiments, the present invention also proposes a computer readable storage medium having stored thereon a color temperature adjusting program, which when executed by a processor, implements the steps of the color temperature adjusting method as described in any one of the above.
The color temperature regulating method, the device and the computer readable storage medium are implemented, and the display color temperature of the display screen is detected according to a preset period from the screen extinguishing time or the screen brightening time of the display screen; then, judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value; then, if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function; finally, the display color temperature is adjusted to the target color temperature. The humanized color temperature regulation scheme is realized, so that the color temperature of the display screen of the terminal equipment cannot change along with the change of the screen extinction time or the screen brightness time, the color stability of the display screen is improved, and the user experience is enhanced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (3)
1. A color temperature regulation method, the method comprising:
detecting the display color temperature of the display screen according to a preset period from the moment of screen extinction or the moment of screen brightness of the display screen;
judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value;
if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function;
adjusting the display color temperature to the target color temperature;
the detecting the display color temperature of the display screen according to a preset period from the screen-off time or the screen-on time of the display screen comprises the following steps:
recording a first time interval between the current moment and the screen-off moment from the moment when the display screen is in the screen-off moment;
If the current moment is a screen-lightening moment, detecting the display color temperature of the display screen at the screen-lightening moment;
determining the preset period according to the current running environment;
detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen;
wherein,
when the display screen is continuously turned off, starting timing until the display screen is turned on, and taking the time as the first time interval;
when the display screen is continuously on, starting timing, presetting a periodic time interval, and detecting the display color temperature of the display screen;
determining minimum screen-off interval time when the display screen is in an alternating process of screen-on and screen-off, and determining the current time as continuous screen-on time if the screen-off time of each time is smaller than the minimum screen-off interval time when the display screen is in the alternating time of screen-on and screen-off;
when the display screen is in the alternating process of the bright screen and the off screen, determining the minimum bright screen interval time, and if the display screen is in the alternating time of the bright screen and the off screen, determining the current time as the continuous off screen time if the bright screen time of each time is smaller than the minimum bright screen interval time;
determining preset periods of different time intervals according to the color temperature characteristic curve of the off-screen or on-screen time, wherein the preset periods comprise:
Setting a shorter time interval if the duration of the continuous screen-on time or the duration of the continuous screen-off time is shorter;
if the duration of the continuous screen-on time or the duration of the continuous screen-off time is longer, setting the longer time interval;
if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining a target color temperature according to a preset color temperature time function, including:
determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen;
determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic;
if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining a target color temperature according to a preset color temperature time function, and further comprising:
if the display screen is converted from the screen-off time to the screen-on time, generating a first target color temperature corresponding to the screen-on time according to the time interval between the screen-off time and the screen-on time and the first color temperature time function;
if the display screen is at the screen-brightening moment, generating a second target color temperature corresponding to the screen-brightening moment according to the time interval of the preset period and the second color temperature time function;
The adjusting the display color temperature to the target color temperature includes:
determining a target color temperature of at least one stage according to a preset color temperature time function, and adjusting the current screen color temperature for multiple times or multiple stages in a period of adjusting time until the current screen color temperature is adjusted to the target color temperature;
wherein,
determining the first target color temperature of one stage according to the first color temperature time function, and adjusting the current screen color temperature in multiple times or multiple stages within the time interval between the screen quenching moment and the screen brightening moment until the current screen color temperature is adjusted to the first target color temperature;
and determining the second target color temperature of another stage according to the second color temperature time function, and adjusting the current screen color temperature in multiple times or multiple stages within the time interval of the preset period until the current screen color temperature is adjusted to the second target color temperature.
2. A color temperature regulation apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program realizing when executed by the processor:
detecting the display color temperature of the display screen according to a preset period from the moment of screen extinction or the moment of screen brightness of the display screen;
Judging whether the difference value between the display color temperature and the standard color temperature exceeds a preset difference value;
if the difference value between the display color temperature and the standard color temperature exceeds the preset difference value, determining a target color temperature according to a preset color temperature time function;
adjusting the display color temperature to the target color temperature;
the detecting the display color temperature of the display screen according to a preset period from the screen-off time or the screen-on time of the display screen comprises the following steps:
recording a first time interval between the current moment and the screen-off moment from the moment when the display screen is in the screen-off moment;
if the current moment is a screen-lightening moment, detecting the display color temperature of the display screen at the screen-lightening moment;
determining the preset period according to the current running environment;
detecting the display color temperature of the display screen according to the preset period from the moment that the display screen is on the bright screen;
wherein,
when the display screen is continuously turned off, starting timing until the display screen is turned on, and taking the time as the first time interval;
when the display screen is continuously on, starting timing, presetting a periodic time interval, and detecting the display color temperature of the display screen;
determining minimum screen-off interval time when the display screen is in an alternating process of screen-on and screen-off, and determining the current time as continuous screen-on time if the screen-off time of each time is smaller than the minimum screen-off interval time when the display screen is in the alternating time of screen-on and screen-off;
When the display screen is in the alternating process of the bright screen and the off screen, determining the minimum bright screen interval time, and if the display screen is in the alternating time of the bright screen and the off screen, determining the current time as the continuous off screen time if the bright screen time of each time is smaller than the minimum bright screen interval time;
determining preset periods of different time intervals according to the color temperature characteristic curve of the off-screen or on-screen time, wherein the preset periods comprise:
setting a shorter time interval if the duration of the continuous screen-on time or the duration of the continuous screen-off time is shorter;
if the duration of the continuous screen-on time or the duration of the continuous screen-off time is longer, setting the longer time interval;
if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining a target color temperature according to a preset color temperature time function, including:
determining a first color temperature time function related to screen quenching according to the attribute information and the screen quenching characteristics of the display screen;
determining a second color temperature time function related to the bright screen according to the attribute information of the display screen and the bright screen characteristic;
if the difference between the display color temperature and the standard color temperature exceeds the preset difference, determining a target color temperature according to a preset color temperature time function, and further comprising:
If the display screen is converted from the screen-off time to the screen-on time, generating a first target color temperature corresponding to the screen-on time according to the time interval between the screen-off time and the screen-on time and the first color temperature time function;
if the display screen is at the screen-brightening moment, generating a second target color temperature corresponding to the screen-brightening moment according to the time interval of the preset period and the second color temperature time function;
the adjusting the display color temperature to the target color temperature includes:
determining a target color temperature of at least one stage according to a preset color temperature time function, and adjusting the current screen color temperature for multiple times or multiple stages in a period of adjusting time until the current screen color temperature is adjusted to the target color temperature;
wherein,
determining the first target color temperature of one stage according to the first color temperature time function, and adjusting the current screen color temperature in multiple times or multiple stages within the time interval between the screen quenching moment and the screen brightening moment until the current screen color temperature is adjusted to the first target color temperature;
and determining the second target color temperature of another stage according to the second color temperature time function, and adjusting the current screen color temperature in multiple times or multiple stages within the time interval of the preset period until the current screen color temperature is adjusted to the second target color temperature.
3. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a color temperature regulation program, which when executed by a processor, implements the steps of the color temperature regulation method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910091175.0A CN109817130B (en) | 2019-01-30 | 2019-01-30 | Color temperature regulating method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910091175.0A CN109817130B (en) | 2019-01-30 | 2019-01-30 | Color temperature regulating method, device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109817130A CN109817130A (en) | 2019-05-28 |
CN109817130B true CN109817130B (en) | 2023-11-10 |
Family
ID=66605974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910091175.0A Active CN109817130B (en) | 2019-01-30 | 2019-01-30 | Color temperature regulating method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109817130B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110706673B (en) * | 2019-07-26 | 2021-08-06 | 深圳市彤兴电子有限公司 | Display control method and device of display, electronic equipment and computer readable storage medium |
CN111681593A (en) * | 2020-07-29 | 2020-09-18 | 北京小米移动软件有限公司 | Method and device for adjusting display effect of display screen, terminal equipment and medium |
CN111883040B (en) * | 2020-07-31 | 2023-10-13 | 北京小米移动软件有限公司 | Display effect adjusting method and device of display screen, terminal equipment and medium |
CN117198176B (en) * | 2023-09-08 | 2024-08-20 | 深圳市圆周检测技术有限公司 | Display color temperature detection method, system and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200643849A (en) * | 2005-06-14 | 2006-12-16 | Benq Corp | Display apparatuses and color temperature adjustment methods thereof |
CN1885398A (en) * | 2005-06-23 | 2006-12-27 | 明基电通股份有限公司 | Color temperature adjusting method and display device employing the same |
JP2007156157A (en) * | 2005-12-06 | 2007-06-21 | Sharp Corp | Apparatus for adjusting image quality, display apparatus, and method for adjusting image quality |
CN104867476A (en) * | 2014-02-20 | 2015-08-26 | 联想(北京)有限公司 | Color temperature adjusting method and electronic device |
CN106304536A (en) * | 2015-06-24 | 2017-01-04 | 财团法人工业技术研究院 | Light emitting device capable of adjusting color temperature and color temperature adjusting method thereof |
CN107680544A (en) * | 2017-09-14 | 2018-02-09 | 维沃移动通信有限公司 | A kind of colour temperature calibration method and mobile terminal |
-
2019
- 2019-01-30 CN CN201910091175.0A patent/CN109817130B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200643849A (en) * | 2005-06-14 | 2006-12-16 | Benq Corp | Display apparatuses and color temperature adjustment methods thereof |
CN1885398A (en) * | 2005-06-23 | 2006-12-27 | 明基电通股份有限公司 | Color temperature adjusting method and display device employing the same |
JP2007156157A (en) * | 2005-12-06 | 2007-06-21 | Sharp Corp | Apparatus for adjusting image quality, display apparatus, and method for adjusting image quality |
CN104867476A (en) * | 2014-02-20 | 2015-08-26 | 联想(北京)有限公司 | Color temperature adjusting method and electronic device |
CN106304536A (en) * | 2015-06-24 | 2017-01-04 | 财团法人工业技术研究院 | Light emitting device capable of adjusting color temperature and color temperature adjusting method thereof |
CN107680544A (en) * | 2017-09-14 | 2018-02-09 | 维沃移动通信有限公司 | A kind of colour temperature calibration method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109817130A (en) | 2019-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110175062B (en) | Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium | |
CN109817130B (en) | Color temperature regulating method, device and computer readable storage medium | |
CN110087287B (en) | Control method and device for terminal network searching, mobile terminal and storage medium | |
CN109348067B (en) | Method for adjusting screen display brightness, mobile terminal and computer readable storage medium | |
CN110417999B (en) | Screen brightness adjusting method, mobile terminal and computer readable storage medium | |
CN107067842B (en) | Color value adjusting method, mobile terminal and storage medium | |
CN109195213B (en) | Mobile terminal screen control method, mobile terminal and computer readable storage medium | |
CN107295270B (en) | Image brightness value determination method and device, terminal and computer-readable storage medium | |
CN108958695B (en) | Audio output method, device and computer readable storage medium | |
CN108958936B (en) | Application program switching method, mobile terminal and computer readable storage medium | |
CN109144705B (en) | Application management method, mobile terminal and computer readable storage medium | |
CN111899695A (en) | Backlight adjusting method, terminal device and readable storage medium | |
CN109389394B (en) | Multi-screen payment control method, equipment and computer readable storage medium | |
CN109545120B (en) | Screen light sensor adjusting method, mobile terminal and computer readable storage medium | |
CN113596231B (en) | Screen-throwing display control method, device and computer readable storage medium | |
CN112492450B (en) | Sound parameter regulation and control method, device and computer readable storage medium | |
CN112667339B (en) | Screen refresh rate setting method, terminal and computer readable medium | |
CN111443818B (en) | Screen brightness regulation and control method, equipment and computer readable storage medium | |
CN109521979B (en) | Display control method, terminal and computer-readable storage medium | |
CN109684020B (en) | Theme switching method, device and computer readable storage medium | |
CN109388947B (en) | Background management method, device and computer readable storage medium | |
CN107743204B (en) | Exposure processing method, terminal, and computer-readable storage medium | |
CN107770373B (en) | Screen saturation adjusting method and corresponding mobile terminal | |
CN107844353B (en) | Display method, terminal and computer readable storage medium | |
CN107682551B (en) | Control method, terminal and storage medium of intelligent power amplifier |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20231009 Address after: No. 7, Floor 4, Unit 1, Building 1, Jindi Plaza Community, Century Avenue, Liuwu New District, Lhasa, Xizang Autonomous Region 851414 Applicant after: Tibet Chuanghuang Information Technology Co.,Ltd. Address before: 518000 6-8 / F, 10-11 / F, 6 / F, 6-10 / F, C zone, Han's innovation building, No. 9018, Beihuan Avenue, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |