Patent ID: 11915633
Assignee: HUIZHOU TCL MOBILE COMMUNICATION CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 4:
5. A mobile terminal comprising:
a processor; and
a memory, storing computer program instructions executed by the processor to perform operations comprising:
acquiring ambient light parameters according to a preset time interval;
obtaining an ambient relative color temperature value corresponding to the ambient light parameter acquired at each acquisition time point;
performing a weighted average process on the ambient relative color temperature value corresponding to the ambient light parameter acquired at each acquisition time point to obtain a current ambient color temperature value;
obtaining a target historical ambient color temperature value closest to a current time, wherein the historical ambient color temperature value is obtained by performing a weighted average process on the ambient relative color temperature value corresponding to the ambient light parameter acquired at each historical acquisition time point;
multiplying the target historical ambient color temperature value by a first fixed value and a second fixed value respectively to obtain a first target historical ambient color temperature threshold value and a second target historical ambient color temperature threshold value;
determining a target ambient color temperature value based on the current ambient color temperature value, the first target historical ambient color temperature threshold value, and the second target historical ambient color temperature threshold value;
determining a target screen color temperature value corresponding to the target ambient color temperature value and further a current screen color temperature value; and
obtaining a screen color temperature value change time according to the target screen color temperature value and the current screen color temperature value and changing a color temperature value of the screen from the current screen color temperature value to the target screen color temperature value according to the screen color temperature value change time, wherein the ambient light parameters comprise RGB color and RGB transparency of the ambient light in an environment where the mobile terminal is located.