WO2018113530A1 - Method and system for automatically adjusting colour temperature of screen when mobile terminal plays video - Google Patents

Method and system for automatically adjusting colour temperature of screen when mobile terminal plays video Download PDF

Info

Publication number
WO2018113530A1
WO2018113530A1 PCT/CN2017/115034 CN2017115034W WO2018113530A1 WO 2018113530 A1 WO2018113530 A1 WO 2018113530A1 CN 2017115034 W CN2017115034 W CN 2017115034W WO 2018113530 A1 WO2018113530 A1 WO 2018113530A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
video
color temperature
screen
playing
Prior art date
Application number
PCT/CN2017/115034
Other languages
French (fr)
Chinese (zh)
Inventor
唐向东
刘杰
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2018113530A1 publication Critical patent/WO2018113530A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a method and system for automatically adjusting a screen color temperature when a mobile terminal plays a video.
  • mobile terminals such as mobile phones, computers and smart watches, have become an indispensable tool in people's daily life and learning, and are closely related to people's lives.
  • the present invention aims to provide a method and system for automatically adjusting the color temperature of a screen when a mobile terminal plays a video, which aims to solve the problem that the mobile terminal can only manually perform color temperature adjustment in the prior art, and cannot automatically play during video playback. Adjust the color temperature of the screen.
  • a method for automatically adjusting a screen color temperature when a mobile terminal plays a video wherein:
  • Step A detecting whether the mobile terminal starts playing a video; wherein, setting a first interval time of detection, detecting, every other first interval time, whether the mobile terminal starts playing a video;
  • Step B when the mobile terminal starts playing the video, controlling the mobile terminal to gradually lower the screen color temperature to the predetermined screen color temperature;
  • Step D detecting whether the mobile terminal stops playing the video; wherein, setting the detected second interval time, detecting, every other second interval time, whether the mobile terminal stops playing the video;
  • Step E When the mobile terminal stops playing the video, the mobile terminal is controlled to gradually adjust the screen color temperature to the original color temperature.
  • the first interval time is 0.1S.
  • the second interval time is 0.1S.
  • the present invention provides a method for automatically adjusting a screen color temperature when a mobile terminal plays a video, which includes:
  • Step A detecting whether the mobile terminal starts playing a video
  • Step B When the mobile terminal starts playing the video, the mobile terminal is controlled to lower the screen color temperature to a predetermined screen color temperature.
  • the step B further includes:
  • Step D detecting whether the mobile terminal stops playing the video
  • Step E When the mobile terminal stops playing the video, the mobile terminal is controlled to adjust the screen color temperature to the original color temperature.
  • the step A specifically includes:
  • A1 query the state of the client by calling the MediaPlayerService of the Framework
  • A2. Determine whether the mobile terminal starts playing the video.
  • the step B specifically includes:
  • the step D specifically includes:
  • D1 query the state of the client by calling the MediaPlayerService of the Framework
  • the step E specifically includes:
  • the Color Management that controls the mobile terminal adjusts the color temperature of the screen, and gradually adjusts the color temperature of the screen to the color temperature before starting the video playback.
  • the present invention also provides a system for automatically adjusting a screen color temperature when a mobile terminal plays a video, which includes:
  • a video play detection module configured to detect whether the mobile terminal starts playing a video
  • the color temperature lowering control module is configured to control the mobile terminal to lower the screen color temperature to a predetermined screen color temperature when the mobile terminal starts playing the video.
  • the system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video further includes:
  • a video stop detection module configured to detect whether the mobile terminal stops playing video
  • the color temperature adjustment control module is configured to control the mobile terminal to adjust the screen color temperature to the original color temperature when the mobile terminal stops playing the video.
  • the video play detection module is configured with a first interval for detecting, and the video play detection module is configured to detect, at every other first interval time, whether the mobile terminal starts playing video.
  • the first interval time is set to 0.1S.
  • the video stop detection module is pre-set with a second interval for detecting, and the video stop detection module is configured to detect whether the mobile terminal stops playing video every other second interval time.
  • the second interval time is set to 0.1S.
  • the video play detection module specifically includes:
  • the video play detection unit is configured to query the status of the client by calling the MediaPlayerService of the Framework;
  • the video playing determining unit is configured to determine whether the mobile terminal starts playing the video.
  • the color temperature reduction control module specifically includes:
  • a current color temperature storage unit configured to store a current screen color temperature when the mobile terminal starts playing a video
  • the color temperature down control unit is used to control the color management of the mobile terminal to adjust the screen color temperature, and gradually lower the screen color temperature to the predetermined screen color temperature.
  • a video stop determining unit configured to determine whether the mobile terminal stops playing the video
  • the color temperature adjustment control unit is configured to control the color temperature of the screen to adjust the color temperature of the screen when the mobile terminal stops playing the video, and gradually adjust the color temperature of the screen to the color temperature before starting the video.
  • the present invention provides a method and system for automatically adjusting a screen color temperature when a mobile terminal plays a video.
  • the method includes: detecting whether the mobile terminal is playing a video; and when the mobile terminal plays the video, controlling the mobile terminal to lower the screen color temperature to Schedule the screen color temperature.
  • the invention can control the mobile terminal to automatically lower the screen color temperature when the mobile terminal plays the video, thereby achieving the purpose of reducing eye fatigue and protecting vision.
  • FIG. 1 is a flow chart of a preferred embodiment of a method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to the present invention
  • FIG. 2 is a functional block diagram of a preferred embodiment of a system for automatically adjusting a screen color temperature when a mobile terminal plays a video according to the present invention.
  • FIG. 1 is a flowchart of a first preferred embodiment of a method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to the present invention.
  • a mobile terminal provides a video when playing a video.
  • a method of automatically adjusting the color temperature of a screen including the following steps:
  • Step S100 detecting whether the mobile terminal starts playing a video
  • the invention can automatically lower the screen color temperature when the mobile terminal starts playing the video, even if the user forgets to manually adjust the screen color temperature when watching the video.
  • the invention can also reduce the damage of the watching video to the eyes.
  • the invention can detect whether the mobile terminal starts playing the video, and when the mobile terminal starts playing the video, automatically lowers the screen color temperature to reduce the damage to the human eye.
  • the first interval time of the detection is first set, and then the mobile terminal detects whether the mobile terminal starts playing video every other one of the first interval times. For example, if the first interval time is set to 0.1S, the mobile is detected.
  • the detection interval of whether the terminal starts playing the video is 0.1S, that is, the mobile terminal starts to play the video every 0.1S.
  • Step S200 when the mobile terminal starts playing a video, controlling the mobile terminal to lower the screen color temperature to a predetermined screen color temperature;
  • the present invention can automatically control the mobile terminal to lower the screen color temperature to a predetermined screen color temperature when the mobile terminal starts to play the video, where the predetermined screen color temperature is the screen color temperature of the predetermined playing video, and the predetermined video playing screen
  • the color temperature can be set in the mobile terminal in advance.
  • the color temperature of the screen of the mobile terminal ranges from 3000k to 10000k.
  • the screen color temperature of the predetermined broadcast video is 5000K
  • the screen temperature of the mobile terminal is When the setting is 8000K, the screen color temperature of the predetermined playing video is 6000K, and the user can also modify the screen color temperature of the predetermined playing video according to his own situation.
  • the mobile terminal automatically The screen color temperature is lowered to the screen color temperature of the predetermined play video.
  • the method further includes:
  • Step S400 detecting whether the mobile terminal stops playing the video
  • Step S500 When the mobile terminal stops playing the video, the mobile terminal is controlled to adjust the screen color temperature to the original color temperature.
  • the invention After detecting that the mobile terminal starts playing the video and lowers the screen color temperature, the invention further detects whether the mobile terminal stops playing the video, and controls the mobile terminal when the mobile terminal stops playing the video.
  • the end adjusts the screen color temperature to the original color temperature, and the screen of the mobile terminal can be restored to the screen color temperature before watching the video without the user manually adjusting.
  • the second interval time of the detection is first set, and then the mobile terminal stops detecting whether the video stops playing the video every other second interval time. For example, if the second interval time is set to 0.1 S, the mobile is detected.
  • the detection interval of whether the terminal stops playing video is 0.1S, that is, whether the mobile terminal stops playing video every 0.1S.
  • step S100 specifically includes:
  • playing video is generally implemented by calling the MediaPlayerService of the Framework, that is, the IMediaPlayer interface is created by the MediaPlayerService to implement video playback control, and the MediaPlayerService is internally created and maintained one after another.
  • the Client class object is used as the server side BnMediaPlayer of IMediaPlayer, and the internal MediaPlayerBase class member mPlayer implements the methods of the IMediaPlayer interface.
  • the MediaPlayerService calls the MediaPlayerService::Client::isPlaying member function to query each method by traversing the internal Client object array. Whether the client is in the playing state, so this logic can be used as a method for the MediaPlayerService to determine whether the mobile phone is playing a video, and the method name can be isPlayingVideo.
  • step S200 specifically includes:
  • S220 Control the color management of the mobile terminal to adjust the color temperature of the screen, and gradually decrease the color temperature of the screen to a predetermined screen color temperature.
  • the invention saves the color temperature of the current screen when detecting that the mobile terminal starts playing the video, and then adjusts the color temperature of the screen by controlling Color Management of the mobile terminal, and gradually lowers the color temperature of the screen.
  • the display system of the mobile phone hardware platform generally has a chip dedicated to display processing. It is called the MDP (Mobile Display Processor) on the Qualcomm platform.
  • the display frame needs to be sent from the specified memory location to the LCD through the MIPI DSI.
  • there is also a function of post-processing the display frame one of which is Color Management, which can enhance the color of the display frame, adjust the hue, saturation, brightness, etc., and color temperature combined with the display.
  • the Calibration is used for subsequent color temperature adjustment.
  • the corresponding SDK is ColorManager, and the java class name is com.qti.snapdragon.sdk.display.ColorManager.
  • This java class can be called to adjust the color temperature of the display.
  • the mobile terminal starts playing the video, save the current screen color temperature, and call the Color Management class named com.qti.snapdragon.sdk.display.ColorManager to gradually lower the screen color temperature to the predetermined time.
  • Screen color temperature The adjustment of the color temperature of the invention is a gradual adjustment, so that the human eye has a process of gradually adapting. If the color temperature of the screen is suddenly lowered or raised a lot, the human eye will have a strong stimulation, and the pupil of the human eye will zoom rapidly. Inflicts damage on the human eye.
  • step S400 specifically includes:
  • step S110 the principle of calling the mediaPlayerService of the framework to query the state of the client is as described in step S110.
  • the step S400 in the present invention after calling the MediaPlayerService of the framework to query the state of the client, determines whether the mobile terminal stops playing the video.
  • step S500 specifically includes:
  • the Color Management that controls the mobile terminal adjusts the color temperature of the screen, and gradually adjusts the color temperature of the screen to the color temperature before the video is started to be played.
  • step S220 the principle of adjusting the color temperature of the screen by the color management of the mobile terminal is as described in step S220, and is not described herein.
  • step 510 of the present invention after controlling the color management of the mobile terminal to adjust the color temperature of the screen, the color temperature of the screen is gradually changed. Adjusting to the color temperature before starting the video playback, the adjustment of the color temperature of the present invention is a gradual adjustment, giving the human eye an adaptive process, as described in step S220.
  • the present invention further provides a system for automatically adjusting a screen color temperature when a mobile terminal plays a video.
  • FIG. 2 is a function of a system for automatically adjusting a screen color temperature when a mobile terminal of the present invention plays a video. Block diagram.
  • the system includes:
  • the video play detection module 100 is configured to detect whether the mobile terminal starts playing a video; specifically as described above;
  • the color temperature down control module 200 is configured to control the mobile terminal to lower the screen color temperature to a predetermined screen color temperature when the mobile terminal starts playing the video; as described above.
  • the system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video wherein the method further includes:
  • a video stop detection module configured to detect whether the mobile terminal stops playing video; as described above;
  • the color temperature adjustment control module is configured to control the mobile terminal to adjust the screen color temperature to the original color temperature when the mobile terminal stops playing the video; as described above.
  • the video playback detection module specifically includes:
  • a video playback detecting unit configured to query a status of the video client by calling a MediaPlayerService of the framework; specifically as described above;
  • the video playing determining unit is configured to determine whether the mobile terminal starts playing a video; specifically as described above.
  • the color temperature lowering control module specifically includes:
  • a current color temperature storage unit configured to store a current screen color temperature when the mobile terminal starts playing a video; specifically as described above;
  • the color temperature lowering control unit is configured to control the color management of the mobile terminal to adjust the screen color temperature, and gradually lower the screen color temperature to the predetermined screen; as described above.
  • the system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video wherein the method further includes:
  • the video stop determination unit is configured to determine whether the mobile terminal stops playing the video; as described above.
  • the color temperature adjustment control unit is configured to control the color temperature of the screen to adjust the color temperature of the screen when the mobile terminal stops playing the video, and gradually adjust the color temperature of the screen to the color temperature before starting the video playback; as described above.
  • the present invention discloses a method and system for automatically adjusting a screen color temperature when a mobile terminal plays a video.
  • the method includes: Step A, detecting whether the mobile terminal starts playing a video; Step B, when the mobile terminal starts playing a video
  • Step A detecting whether the mobile terminal starts playing a video
  • Step B when the mobile terminal starts playing a video
  • the screen color temperature is lowered to a predetermined screen color temperature.
  • the invention can control the mobile terminal to automatically screen the screen when the mobile terminal plays the video
  • the color temperature is lowered to achieve the purpose of reducing eye fatigue and protecting vision.

Abstract

A method and system for automatically adjusting the colour temperature of a screen when a mobile terminal plays a video. The method comprises: step A, detecting whether a mobile terminal is playing a video; and step B, when the mobile terminal is playing a video, controlling the mobile terminal so same turns the colour temperature of a screen down to a pre-set colour temperature of the screen. By means of the present invention, a mobile terminal can be automatically controlled to turn down the colour temperature of a screen when the mobile terminal is playing a video, thereby achieving the objectives of reducing eye fatigue and protecting vision.

Description

移动终端播放视频时自动调整屏幕色温的方法及系统Method and system for automatically adjusting screen color temperature when mobile terminal plays video 技术领域Technical field
本发明涉及移动终端技术领域,尤其涉及一种移动终端播放视频时自动调整屏幕色温的方法及系统。The present invention relates to the field of mobile terminal technologies, and in particular, to a method and system for automatically adjusting a screen color temperature when a mobile terminal plays a video.
背景技术Background technique
随着社会的进步和经济的发展,移动终端,例如手机、电脑及智能手表等,已成为人们日常生活和学习工作中必不可少的工具,与人们的生活息息相关。With the advancement of society and the development of the economy, mobile terminals, such as mobile phones, computers and smart watches, have become an indispensable tool in people's daily life and learning, and are closely related to people's lives.
现在绝大多数用户都有用手机看视频的习惯,而且经常是一看就是好几个小时,就连小孩都整天抱着手机或平板电脑,长时间观看视频,对眼睛伤害极大,会导致用眼疲劳,甚至直接损伤人眼黄斑区,造成不可逆的伤害,尤其在夜间对着刺眼的屏幕,长时间下来必然会损坏眼睛健康,而且屏幕的蓝光更会对睡眠产生消极的影响,使人没有睡意,影响睡眠质量,损害身体健康。Nowadays, most users have the habit of watching videos on their mobile phones, and it is often a few hours. Even children are holding mobile phones or tablets all day long. Watching videos for a long time is extremely harmful to the eyes and can lead to use. Eye fatigue, even directly damage the macular area of the human eye, causing irreversible damage, especially at night against the glaring screen, long-term down will inevitably damage the eye health, and the blue light of the screen will have a negative impact on sleep, so that people do not have Drowsiness, affecting the quality of sleep and damaging your health.
虽然目前也有手机可以调节屏幕的色温,但一般都是手动调节,使用起来极不方便,如果忘记进行色温调剂,便会造成用眼疲劳。Although there are mobile phones that can adjust the color temperature of the screen, they are usually manually adjusted, which is extremely inconvenient to use. If you forget to adjust the color temperature, it will cause eye fatigue.
因此,针对上述缺陷,现有技术还有待于改进和发展。Therefore, in view of the above drawbacks, the prior art has yet to be improved and developed.
发明内容Summary of the invention
鉴于现有技术的不足,本发明的目的在于提供一种移动终端播放视频时自动调整屏幕色温的方法及系统,旨在解决现有技术中移动终端只能手动进行色温调节,不能在视频播放时自动调节屏幕色温的问题。In view of the deficiencies of the prior art, the present invention aims to provide a method and system for automatically adjusting the color temperature of a screen when a mobile terminal plays a video, which aims to solve the problem that the mobile terminal can only manually perform color temperature adjustment in the prior art, and cannot automatically play during video playback. Adjust the color temperature of the screen.
为解决上述技术问题,本发明采用的技术方案如下:In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:
一种移动终端播放视频时自动调整屏幕色温的方法,其中,包括:A method for automatically adjusting a screen color temperature when a mobile terminal plays a video, wherein:
步骤A,检测移动终端是否开始播放视频;其中,设定检测的第一间隔时间,每隔一个所述第一间隔时间检测一次移动终端是否开始播放视频; Step A: detecting whether the mobile terminal starts playing a video; wherein, setting a first interval time of detection, detecting, every other first interval time, whether the mobile terminal starts playing a video;
步骤B,当移动终端开始播放视频时,控制移动终端将屏幕色温逐渐调低至预定屏幕色温;Step B, when the mobile terminal starts playing the video, controlling the mobile terminal to gradually lower the screen color temperature to the predetermined screen color temperature;
步骤D,检测移动终端是否停止播放视频;其中,设定检测的第二间隔时间,每隔一个所述第二间隔时间检测一次移动终端是否停止播放视频;Step D: detecting whether the mobile terminal stops playing the video; wherein, setting the detected second interval time, detecting, every other second interval time, whether the mobile terminal stops playing the video;
步骤E,当移动终端停止播放视频时,控制移动终端将屏幕色温逐渐调整至原色温。Step E: When the mobile terminal stops playing the video, the mobile terminal is controlled to gradually adjust the screen color temperature to the original color temperature.
其中,所述第一间隔时间为0.1S。Wherein, the first interval time is 0.1S.
其中,所述第二间隔时间为0.1S。Wherein, the second interval time is 0.1S.
在另一个技术方案中,本发明提供了一种移动终端播放视频时自动调整屏幕色温的方法,其中,包括:In another technical solution, the present invention provides a method for automatically adjusting a screen color temperature when a mobile terminal plays a video, which includes:
步骤A,检测移动终端是否开始播放视频;Step A: detecting whether the mobile terminal starts playing a video;
步骤B,当移动终端开始播放视频时,控制移动终端将屏幕色温调低至预定屏幕色温。Step B: When the mobile terminal starts playing the video, the mobile terminal is controlled to lower the screen color temperature to a predetermined screen color temperature.
其中,所述步骤B之后还包括:The step B further includes:
步骤D,检测移动终端是否停止播放视频;Step D: detecting whether the mobile terminal stops playing the video;
步骤E,当移动终端停止播放视频时,控制移动终端调整屏幕色温至原色温。Step E: When the mobile terminal stops playing the video, the mobile terminal is controlled to adjust the screen color temperature to the original color temperature.
其中,所述步骤A具体包括:The step A specifically includes:
A1、通过调用Framework的MediaPlayerService查询客户端的状态;A1, query the state of the client by calling the MediaPlayerService of the Framework;
A2、判断移动终端是否开始播放视频。A2. Determine whether the mobile terminal starts playing the video.
其中,所述步骤B具体包括:The step B specifically includes:
B1、当移动终端开始播放视频时,储存当前屏幕色温;B1, when the mobile terminal starts playing the video, storing the current screen color temperature;
B2、控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温至预定屏幕色温。B2. Control the color management of the mobile terminal to adjust the color temperature of the screen, and gradually lower the screen color temperature to the predetermined screen color temperature.
其中,所述步骤D具体包括:The step D specifically includes:
D1、通过调用Framework的MediaPlayerService查询客户端的状态;D1, query the state of the client by calling the MediaPlayerService of the Framework;
D2、判断移动终端是否停止播放视频; D2: determining whether the mobile terminal stops playing the video;
所述步骤E具体包括:The step E specifically includes:
E1、当移动终端停止播放视频时,控制移动终端的Color Management对屏幕色温进行调整,逐渐将屏幕色温调至开始播放视频之前的色温。E1. When the mobile terminal stops playing the video, the Color Management that controls the mobile terminal adjusts the color temperature of the screen, and gradually adjusts the color temperature of the screen to the color temperature before starting the video playback.
本发明还提供了一种移动终端播放视频时自动调整屏幕色温的系统,其中,包括:The present invention also provides a system for automatically adjusting a screen color temperature when a mobile terminal plays a video, which includes:
视频播放检测模块,用于检测移动终端是否开始播放视频;a video play detection module, configured to detect whether the mobile terminal starts playing a video;
色温调低控制模块,用于当移动终端开始播放视频时,控制移动终端将屏幕色温调低至预定屏幕色温。The color temperature lowering control module is configured to control the mobile terminal to lower the screen color temperature to a predetermined screen color temperature when the mobile terminal starts playing the video.
其中,所述移动终端播放视频时自动调整屏幕色温的系统还包括:The system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video further includes:
视频停止检测模块,用于检测移动终端是否停止播放视频;a video stop detection module, configured to detect whether the mobile terminal stops playing video;
色温调高控制模块,用于当移动终端停止播放视频时,控制移动终端调整屏幕色温至原色温。The color temperature adjustment control module is configured to control the mobile terminal to adjust the screen color temperature to the original color temperature when the mobile terminal stops playing the video.
其中,所述视频播放检测模块中预设有进行检测的第一间隔时间,所述视频播放检测模块配置为每隔一个所述第一间隔时间检测一次移动终端是否开始播放视频。The video play detection module is configured with a first interval for detecting, and the video play detection module is configured to detect, at every other first interval time, whether the mobile terminal starts playing video.
其中,所述第一间隔时间设置为0.1S。The first interval time is set to 0.1S.
其中,所述视频停止检测模块中预设有进行检测的第二间隔时间,所述视频停止检测模块配置为每隔一个所述第二间隔时间检测一次移动终端是否停止播放视频。The video stop detection module is pre-set with a second interval for detecting, and the video stop detection module is configured to detect whether the mobile terminal stops playing video every other second interval time.
其中,所述第二间隔时间设置为0.1S。Wherein, the second interval time is set to 0.1S.
其中,所述视频播放检测模块具体包括:The video play detection module specifically includes:
视频播放检测单元,用于通过调用Framework的MediaPlayerService查询客户端的状态;The video play detection unit is configured to query the status of the client by calling the MediaPlayerService of the Framework;
视频播放判断单元,用于判断移动终端是否开始播放视频。The video playing determining unit is configured to determine whether the mobile terminal starts playing the video.
其中,所述色温调低控制模块具体包括:The color temperature reduction control module specifically includes:
当前色温储存单元,用于当移动终端开始播放视频时,储存当前屏幕色温; a current color temperature storage unit, configured to store a current screen color temperature when the mobile terminal starts playing a video;
色温调低控制单元,用于控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温至预定屏幕色温。The color temperature down control unit is used to control the color management of the mobile terminal to adjust the screen color temperature, and gradually lower the screen color temperature to the predetermined screen color temperature.
其中,还包括:Among them, it also includes:
视频停止判断单元,用于判断移动终端是否停止播放视频;a video stop determining unit, configured to determine whether the mobile terminal stops playing the video;
色温调高控制单元,用于当移动终端停止播放视频时,控制移动终端的Color Management对屏幕色温进行调整,逐渐将屏幕色温调至开始播放视频之前的色温。The color temperature adjustment control unit is configured to control the color temperature of the screen to adjust the color temperature of the screen when the mobile terminal stops playing the video, and gradually adjust the color temperature of the screen to the color temperature before starting the video.
本发明提供了一种移动终端播放视频时自动调整屏幕色温的方法及系统,所述方法包括:检测移动终端是否在播放视频;当移动终端在播放视频时,控制移动终端将屏幕色温调低至预定屏幕色温。本发明能在移动终端播放视频时,控制移动终端自动将屏幕色温调低,达到减小人眼疲劳,保护视力的目的。The present invention provides a method and system for automatically adjusting a screen color temperature when a mobile terminal plays a video. The method includes: detecting whether the mobile terminal is playing a video; and when the mobile terminal plays the video, controlling the mobile terminal to lower the screen color temperature to Schedule the screen color temperature. The invention can control the mobile terminal to automatically lower the screen color temperature when the mobile terminal plays the video, thereby achieving the purpose of reducing eye fatigue and protecting vision.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为本发明的移动终端播放视频时自动调整屏幕色温的方法较佳实施例的流程图;1 is a flow chart of a preferred embodiment of a method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to the present invention;
图2为本发明的移动终端播放视频时自动调整屏幕色温的系统较佳实施例的功能原理框图。2 is a functional block diagram of a preferred embodiment of a system for automatically adjusting a screen color temperature when a mobile terminal plays a video according to the present invention.
具体实施方式detailed description
以下将配合附图及实施例来详细说明本申请的实施方式,藉此对本申请如何应用技术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。The embodiments of the present application will be described in detail below with reference to the accompanying drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effect can be fully understood and implemented.
请参阅图1,图1是本发明移动终端播放视频时自动调整屏幕色温的方法第一较佳实施例的流程图,如图1所示,本发明实施例提供的一种移动终端播放视频时自动调整屏幕色温的方法,包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a first preferred embodiment of a method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to the present invention. As shown in FIG. 1 , a mobile terminal provides a video when playing a video. A method of automatically adjusting the color temperature of a screen, including the following steps:
步骤S100,检测移动终端是否开始播放视频; Step S100, detecting whether the mobile terminal starts playing a video;
现在绝大多数用户都有用使用移动终端观看视频的习惯,而且经常是一看就是好几个小时,对眼睛伤害极大,长时间下来必然会损坏眼睛健康,而且屏幕的蓝光更会对睡眠产生消极的影响,使人没有睡意,影响睡眠质量,虽然可以调节屏幕的色温,但一般都是手动调节,使用起来极不方便,而且观看视频一般都会看得比较入迷,尤其是观看自己喜欢的电视剧,从而没有意识到屏幕亮光太强对眼睛的伤害,等视屏观看完才发现眼睛胀痛,本发明可以在移动终端开始播放视频时自动调低屏幕色温,即使用户忘记在观看视频时手动调节屏幕色温,也可以减轻观看视频对眼睛的伤害,本发明可检测移动终端是否开始播放视频,当移动终端开始播放视频时,自动调低屏幕色温,减少对人眼的伤害。优选的,首先设定检测的第一间隔时间,然后每隔一个所述第一间隔时间检测一次移动终端是否开始播放视频,例如,将所述第一间隔时间设定为0.1S,则检测移动终端是否开始播放视频的检测时间间隔为0.1S,即每隔0.1S检测一次移动终端是否开始播放视频。Nowadays, most users have the habit of watching videos on mobile terminals, and it is often a few hours to see that it is extremely harmful to the eyes. It will inevitably damage the eyes health for a long time, and the blue light on the screen will be negative for sleep. The impact, so that people do not sleep, affect the quality of sleep, although you can adjust the color temperature of the screen, but generally it is manual adjustment, it is very inconvenient to use, and watching video is generally more fascinating, especially watching your favorite TV series, Therefore, it is not realized that the screen brightness is too strong to damage the eyes. When the video screen is finished, the eye pain is found. The invention can automatically lower the screen color temperature when the mobile terminal starts playing the video, even if the user forgets to manually adjust the screen color temperature when watching the video. The invention can also reduce the damage of the watching video to the eyes. The invention can detect whether the mobile terminal starts playing the video, and when the mobile terminal starts playing the video, automatically lowers the screen color temperature to reduce the damage to the human eye. Preferably, the first interval time of the detection is first set, and then the mobile terminal detects whether the mobile terminal starts playing video every other one of the first interval times. For example, if the first interval time is set to 0.1S, the mobile is detected. The detection interval of whether the terminal starts playing the video is 0.1S, that is, the mobile terminal starts to play the video every 0.1S.
步骤S200,当移动终端开始播放视频时,控制移动终端将屏幕色温调低至预定屏幕色温;Step S200, when the mobile terminal starts playing a video, controlling the mobile terminal to lower the screen color temperature to a predetermined screen color temperature;
具体的,本发明当检测到移动终端开始播放视频时,可自动控制移动终端将屏幕色温调低至预定屏幕色温,所述预定屏幕色温即预定播放视频的屏幕色温,所述预定播放视频的屏幕色温可预先在移动终端中设置,一般移动终端屏幕色温的范围为3000k~10000k,优选的,当移动终端屏幕色温设置为6500K时,所述预定播放视频的屏幕色温为5000K,当移动终端屏幕色温设置为8000K时,所述预定播放视频的屏幕色温为6000K,用户也可以根据自己的情况对所述预定播放视频的屏幕色温进行修改设置,当检测到移动终端开始播放视频时,移动终端自动将屏幕色温调低至所述预定播放视频的屏幕色温。Specifically, the present invention can automatically control the mobile terminal to lower the screen color temperature to a predetermined screen color temperature when the mobile terminal starts to play the video, where the predetermined screen color temperature is the screen color temperature of the predetermined playing video, and the predetermined video playing screen The color temperature can be set in the mobile terminal in advance. Generally, the color temperature of the screen of the mobile terminal ranges from 3000k to 10000k. Preferably, when the screen color temperature of the mobile terminal is set to 6500K, the screen color temperature of the predetermined broadcast video is 5000K, when the screen temperature of the mobile terminal is When the setting is 8000K, the screen color temperature of the predetermined playing video is 6000K, and the user can also modify the screen color temperature of the predetermined playing video according to his own situation. When detecting that the mobile terminal starts playing the video, the mobile terminal automatically The screen color temperature is lowered to the screen color temperature of the predetermined play video.
进一步地,所述步骤S200之后还包括:Further, after the step S200, the method further includes:
步骤S400、检测移动终端是否停止播放视频;Step S400: detecting whether the mobile terminal stops playing the video;
步骤S500、当移动终端停止播放视频时,控制移动终端调整屏幕色温至原色温。Step S500: When the mobile terminal stops playing the video, the mobile terminal is controlled to adjust the screen color temperature to the original color temperature.
本发明在检测到移动终端开始播放视频调低屏幕色温之后,进一步检测移动终端是否停止播放视频,当移动终端停止播放视频时,控制移动终 端调整屏幕色温至原色温,无需用户手动进行调节即可使移动终端的屏幕恢复至观看视频之前的屏幕色温。优选的,首先设定检测的第二间隔时间,然后每隔一个所述第二间隔时间检测一次移动终端是否停止播放视频,例如,将所述第二间隔时间设定为0.1S,则检测移动终端是否停止播放视频的检测时间间隔为0.1S,即每隔0.1S检测一次移动终端是否停止播放视频。After detecting that the mobile terminal starts playing the video and lowers the screen color temperature, the invention further detects whether the mobile terminal stops playing the video, and controls the mobile terminal when the mobile terminal stops playing the video. The end adjusts the screen color temperature to the original color temperature, and the screen of the mobile terminal can be restored to the screen color temperature before watching the video without the user manually adjusting. Preferably, the second interval time of the detection is first set, and then the mobile terminal stops detecting whether the video stops playing the video every other second interval time. For example, if the second interval time is set to 0.1 S, the mobile is detected. The detection interval of whether the terminal stops playing video is 0.1S, that is, whether the mobile terminal stops playing video every 0.1S.
进一步地,所述步骤S100具体包括:Further, the step S100 specifically includes:
S110,通过调用Framework的MediaPlayerService查询客户端的状态;S110, querying the status of the client by calling the MediaPlayerService of the Framework;
S120,判断移动终端是否开始播放视频。S120. Determine whether the mobile terminal starts playing a video.
具体在实施例中,以安卓手机为例,我们知道播放视频一般都通过调用Framework的MediaPlayerService来实现,即通过MediaPlayerService创建IMediaPlayer接口来实现视频播放的控制,而MediaPlayerService则在内部创建并维护一个又一个的Client类对象做为IMediaPlayer的服务端BnMediaPlayer,并由其内部的MediaPlayerBase类成员mPlayer来实现IMediaPlayer接口的各方法,MediaPlayerService通过遍历内部Client对象数组,调用MediaPlayerService::Client::isPlaying成员函数来查询每个客户端是否处于播放状态,如此可利用此逻辑作为MediaPlayerService判断手机是否在播放视频的一个方法,方法名称可为isPlayingVideo。Specifically, in the embodiment, taking the Android mobile phone as an example, we know that playing video is generally implemented by calling the MediaPlayerService of the Framework, that is, the IMediaPlayer interface is created by the MediaPlayerService to implement video playback control, and the MediaPlayerService is internally created and maintained one after another. The Client class object is used as the server side BnMediaPlayer of IMediaPlayer, and the internal MediaPlayerBase class member mPlayer implements the methods of the IMediaPlayer interface. The MediaPlayerService calls the MediaPlayerService::Client::isPlaying member function to query each method by traversing the internal Client object array. Whether the client is in the playing state, so this logic can be used as a method for the MediaPlayerService to determine whether the mobile phone is playing a video, and the method name can be isPlayingVideo.
进一步地,所述步骤S200具体包括:Further, the step S200 specifically includes:
S210,当移动终端开始播放视频时,储存当前屏幕色温;S210. Store the current screen color temperature when the mobile terminal starts playing the video.
S220,控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温至预定屏幕色温。S220: Control the color management of the mobile terminal to adjust the color temperature of the screen, and gradually decrease the color temperature of the screen to a predetermined screen color temperature.
本发明在检测到移动终端开始播放视频时,储存当前屏幕的色温,然后在控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温。目前手机硬件平台的显示系统一般都有一个专门负责显示处理的芯片,在Qualcomm平台称之为MDP(Mobile Display Processor),此芯片除了将屏幕需要显示帧从指定的内存位置通过MIPI DSI送给LCD显示外,还有对显示帧进行后处理的功能,其中一项便是Color Management,即可以对显示帧的颜色进行增强处理,对色调、饱和度、亮度等进行调整,以及结合显示屏做色温的Calibration以做后续的色温调整,对应的SDK为ColorManager,java类名为com.qti.snapdragon.sdk.display.ColorManager,即 可调用此java类来调整显示的色温,当移动终端开始播放视频时,储存当前屏幕色温,调用Color Management类名为com.qti.snapdragon.sdk.display.ColorManager的java逐渐调低屏幕色温至预定屏幕色温。本发明对色温的调整是逐渐的调整,这样可使人眼有个渐渐适应的过程,如果突然把屏幕色温调低或调高很多,会对人眼产生强烈的刺激,人眼瞳孔迅速缩放,对人眼造成伤害。The invention saves the color temperature of the current screen when detecting that the mobile terminal starts playing the video, and then adjusts the color temperature of the screen by controlling Color Management of the mobile terminal, and gradually lowers the color temperature of the screen. At present, the display system of the mobile phone hardware platform generally has a chip dedicated to display processing. It is called the MDP (Mobile Display Processor) on the Qualcomm platform. In addition to the screen, the display frame needs to be sent from the specified memory location to the LCD through the MIPI DSI. In addition to the display, there is also a function of post-processing the display frame, one of which is Color Management, which can enhance the color of the display frame, adjust the hue, saturation, brightness, etc., and color temperature combined with the display. The Calibration is used for subsequent color temperature adjustment. The corresponding SDK is ColorManager, and the java class name is com.qti.snapdragon.sdk.display.ColorManager. This java class can be called to adjust the color temperature of the display. When the mobile terminal starts playing the video, save the current screen color temperature, and call the Color Management class named com.qti.snapdragon.sdk.display.ColorManager to gradually lower the screen color temperature to the predetermined time. Screen color temperature. The adjustment of the color temperature of the invention is a gradual adjustment, so that the human eye has a process of gradually adapting. If the color temperature of the screen is suddenly lowered or raised a lot, the human eye will have a strong stimulation, and the pupil of the human eye will zoom rapidly. Inflicts damage on the human eye.
进一步地,所述步骤S400具体包括:Further, the step S400 specifically includes:
S410、通过调用Framework的MediaPlayerService查询客户端的状态;S410. Query the status of the client by calling the MediaPlayerService of the Framework.
S420、判断移动终端是否停止播放视频。S420. Determine whether the mobile terminal stops playing the video.
具体的,调用Framework的MediaPlayerService查询客户端的状态的原理如步骤S110,所述,在此不作赘述,本发明步骤S400中调用Framework的MediaPlayerService查询客户端的状态之后判断移动终端是否停止播放视频。Specifically, the principle of calling the mediaPlayerService of the framework to query the state of the client is as described in step S110. The step S400 in the present invention, after calling the MediaPlayerService of the framework to query the state of the client, determines whether the mobile terminal stops playing the video.
进一步的,所述步骤S500具体包括:Further, the step S500 specifically includes:
S510、当移动终端停止播放视频时,控制移动终端的Color Management对屏幕色温进行调整,逐渐将屏幕色温调至开始播放视频之前的色温。S510. When the mobile terminal stops playing the video, the Color Management that controls the mobile terminal adjusts the color temperature of the screen, and gradually adjusts the color temperature of the screen to the color temperature before the video is started to be played.
具体的,控制移动终端的Color Management对屏幕色温进行调整的原理如步骤S220所述,在此不作赘述,本发明步骤510中,控制移动终端的Color Management对屏幕色温进行调整之后,逐渐将屏幕色温调至开始播放视频之前的色温,本发明对色温的调整是逐渐的调整,给人眼一个适应的过程,具体如步骤S220所述。Specifically, the principle of adjusting the color temperature of the screen by the color management of the mobile terminal is as described in step S220, and is not described herein. In step 510 of the present invention, after controlling the color management of the mobile terminal to adjust the color temperature of the screen, the color temperature of the screen is gradually changed. Adjusting to the color temperature before starting the video playback, the adjustment of the color temperature of the present invention is a gradual adjustment, giving the human eye an adaptive process, as described in step S220.
基于上述实施例,本发明还提供一种移动终端播放视频时自动调整屏幕色温的系统,请参阅图2,图2是本发明移动终端播放视频时自动调整屏幕色温的系统较佳实施例的功能原理框图。Based on the foregoing embodiment, the present invention further provides a system for automatically adjusting a screen color temperature when a mobile terminal plays a video. Referring to FIG. 2, FIG. 2 is a function of a system for automatically adjusting a screen color temperature when a mobile terminal of the present invention plays a video. Block diagram.
如图2所示,所述系统包括:As shown in FIG. 2, the system includes:
视频播放检测模块100,用于检测移动终端是否开始播放视频;具体如上所述;The video play detection module 100 is configured to detect whether the mobile terminal starts playing a video; specifically as described above;
色温调低控制模块200,用于当移动终端开始播放视频时,控制移动终端将屏幕色温调低至预定屏幕色温;具体如上所述。 The color temperature down control module 200 is configured to control the mobile terminal to lower the screen color temperature to a predetermined screen color temperature when the mobile terminal starts playing the video; as described above.
进一步的,所述移动终端播放视频时自动调整屏幕色温的系统,其中,还包括:Further, the system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video, wherein the method further includes:
视频停止检测模块,用于检测移动终端是否停止播放视频;具体如上所述;a video stop detection module, configured to detect whether the mobile terminal stops playing video; as described above;
色温调高控制模块,用于当移动终端停止播放视频时,控制移动终端调整屏幕色温至原色温;具体如上所述。The color temperature adjustment control module is configured to control the mobile terminal to adjust the screen color temperature to the original color temperature when the mobile terminal stops playing the video; as described above.
进一步的,所述移动终端播放视频时自动调整屏幕色温的系统,其中,所述视频播放检测模块具体包括:Further, the system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video, wherein the video playback detection module specifically includes:
视频播放检测单元,用于通过调用Framework的MediaPlayerService查询视频客户端的状态;具体如上所述;a video playback detecting unit, configured to query a status of the video client by calling a MediaPlayerService of the framework; specifically as described above;
视频播放判断单元,用于判断移动终端是否开始播放视频;具体如上所述。The video playing determining unit is configured to determine whether the mobile terminal starts playing a video; specifically as described above.
进一步的,所述移动终端播放视频时自动调整屏幕色温的系统,其中,所述色温调低控制模块具体包括:Further, the system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video, wherein the color temperature lowering control module specifically includes:
当前色温储存单元,用于当移动终端开始播放视频时,储存当前屏幕色温;具体如上所述;a current color temperature storage unit, configured to store a current screen color temperature when the mobile terminal starts playing a video; specifically as described above;
色温调低控制单元,用于控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温至预定屏幕;具体如上所述。The color temperature lowering control unit is configured to control the color management of the mobile terminal to adjust the screen color temperature, and gradually lower the screen color temperature to the predetermined screen; as described above.
进一步的,所述移动终端播放视频时自动调整屏幕色温的系统,其中,还包括:Further, the system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video, wherein the method further includes:
视频停止判断单元,用于判断移动终端是否停止播放视频;具体如上所述。The video stop determination unit is configured to determine whether the mobile terminal stops playing the video; as described above.
色温调高控制单元,用于当移动终端停止播放视频时,控制移动终端的Color Management对屏幕色温进行调整,逐渐将屏幕色温调至开始播放视频之前的色温;具体如上所述。The color temperature adjustment control unit is configured to control the color temperature of the screen to adjust the color temperature of the screen when the mobile terminal stops playing the video, and gradually adjust the color temperature of the screen to the color temperature before starting the video playback; as described above.
综上所述,本发明公开了一种移动终端播放视频时自动调整屏幕色温的方法及系统,所述方法包括:步骤A,检测移动终端是否开始播放视频;步骤B,当移动终端开始播放视频时,控制移动终端将屏幕色温调低至预定屏幕色温。本发明能在移动终端播放视频时,控制移动终端自动将屏幕 色温调低,达到减小人眼疲劳,保护视力的目的。In summary, the present invention discloses a method and system for automatically adjusting a screen color temperature when a mobile terminal plays a video. The method includes: Step A, detecting whether the mobile terminal starts playing a video; Step B, when the mobile terminal starts playing a video When the mobile terminal is controlled, the screen color temperature is lowered to a predetermined screen color temperature. The invention can control the mobile terminal to automatically screen the screen when the mobile terminal plays the video The color temperature is lowered to achieve the purpose of reducing eye fatigue and protecting vision.
以上内容仅为本发明的较佳实施例,并非是对本发明做任何形式上的限制。虽然本发明已以较佳实施例揭露如上,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,当可利用上述揭示的技术内容做出些许更动或修饰,得到等同变化的等效实施例,但凡是未脱离本发明技术方案内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本发明技术方案的保护范围内。 The above is only a preferred embodiment of the invention and is not intended to limit the invention in any way. Although the present invention has been disclosed in the above preferred embodiments, those skilled in the art can make a few changes or modifications using the above-disclosed technical contents without departing from the scope of the present invention. The invention is not limited to the scope of the technical solutions of the present invention. Any simple modifications, equivalent changes and modifications made to the above embodiments in accordance with the technical scope of the present invention are still within the scope of the present invention.

Claims (20)

  1. 一种移动终端播放视频时自动调整屏幕色温的方法,其中,包括:A method for automatically adjusting a screen color temperature when a mobile terminal plays a video, wherein:
    步骤A,检测移动终端是否开始播放视频;其中,设定检测的第一间隔时间,每隔一个所述第一间隔时间检测一次移动终端是否开始播放视频;Step A: detecting whether the mobile terminal starts playing a video; wherein, setting a first interval time of detection, detecting, every other first interval time, whether the mobile terminal starts playing a video;
    步骤B,当移动终端开始播放视频时,控制移动终端将屏幕色温逐渐调低至预定屏幕色温;Step B, when the mobile terminal starts playing the video, controlling the mobile terminal to gradually lower the screen color temperature to the predetermined screen color temperature;
    步骤D,检测移动终端是否停止播放视频;其中,设定检测的第二间隔时间,每隔一个所述第二间隔时间检测一次移动终端是否停止播放视频;Step D: detecting whether the mobile terminal stops playing the video; wherein, setting the detected second interval time, detecting, every other second interval time, whether the mobile terminal stops playing the video;
    步骤E,当移动终端停止播放视频时,控制移动终端将屏幕色温逐渐调整至原色温。Step E: When the mobile terminal stops playing the video, the mobile terminal is controlled to gradually adjust the screen color temperature to the original color temperature.
  2. 根据权利要求1所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述第一间隔时间为0.1S。The method of claim 1, wherein the first interval time is 0.1S.
  3. 根据权利要求1所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述第二间隔时间为0.1S。The method of claim 1, wherein the second interval time is 0.1S.
  4. 根据权利要求1所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述步骤A具体包括:The method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 1, wherein the step A specifically includes:
    A1、通过调用Framework的MediaPlayerService查询客户端的状态;A1, query the state of the client by calling the MediaPlayerService of the Framework;
    A2、判断移动终端是否开始播放视频。A2. Determine whether the mobile terminal starts playing the video.
  5. 根据权利要求1所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述步骤B具体包括:The method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 1, wherein the step B specifically includes:
    B1、当移动终端开始播放视频时,储存当前屏幕色温;B1, when the mobile terminal starts playing the video, storing the current screen color temperature;
    B2、控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温至预定屏幕色温。B2. Control the color management of the mobile terminal to adjust the color temperature of the screen, and gradually lower the screen color temperature to the predetermined screen color temperature.
  6. 根据权利要求1所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述步骤D具体包括:The method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 1, wherein the step D specifically includes:
    D1、通过调用Framework的MediaPlayerService查询客户端的状态; D1, query the state of the client by calling the MediaPlayerService of the Framework;
    D2、判断移动终端是否停止播放视频;D2: determining whether the mobile terminal stops playing the video;
    所述步骤E具体包括:The step E specifically includes:
    E1、当移动终端停止播放视频时,控制移动终端的Color Management对屏幕色温进行调整,逐渐将屏幕色温调至开始播放视频之前的色温。E1. When the mobile terminal stops playing the video, the Color Management that controls the mobile terminal adjusts the color temperature of the screen, and gradually adjusts the color temperature of the screen to the color temperature before starting the video playback.
  7. 一种移动终端播放视频时自动调整屏幕色温的方法,其中,包括:A method for automatically adjusting a screen color temperature when a mobile terminal plays a video, wherein:
    步骤A,检测移动终端是否开始播放视频;Step A: detecting whether the mobile terminal starts playing a video;
    步骤B,当移动终端开始播放视频时,控制移动终端将屏幕色温调低至预定屏幕色温。Step B: When the mobile terminal starts playing the video, the mobile terminal is controlled to lower the screen color temperature to a predetermined screen color temperature.
  8. 根据权利要求7所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述步骤B之后还包括:The method for automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 7, wherein the step B further comprises:
    步骤D,检测移动终端是否停止播放视频;Step D: detecting whether the mobile terminal stops playing the video;
    步骤E,当移动终端停止播放视频时,控制移动终端调整屏幕色温至原色温。Step E: When the mobile terminal stops playing the video, the mobile terminal is controlled to adjust the screen color temperature to the original color temperature.
  9. 根据权利要求7所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述步骤A具体包括:The method of automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 7, wherein the step A specifically includes:
    A1、通过调用Framework的MediaPlayerService查询客户端的状态;A1, query the state of the client by calling the MediaPlayerService of the Framework;
    A2、判断移动终端是否开始播放视频。A2. Determine whether the mobile terminal starts playing the video.
  10. 根据权利要求7所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述步骤B具体包括:The method for automatically adjusting the color temperature of the screen when the mobile terminal plays the video according to claim 7, wherein the step B specifically includes:
    B1、当移动终端开始播放视频时,储存当前屏幕色温;B1, when the mobile terminal starts playing the video, storing the current screen color temperature;
    B2、控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温至预定屏幕色温。B2. Control the color management of the mobile terminal to adjust the color temperature of the screen, and gradually lower the screen color temperature to the predetermined screen color temperature.
  11. 根据权利要求8所述的移动终端播放视频时自动调整屏幕色温的方法,其中,所述步骤D具体包括:The method for automatically adjusting the color temperature of the screen when the mobile terminal plays the video according to claim 8, wherein the step D specifically includes:
    D1、通过调用Framework的MediaPlayerService查询客户端的状态;D1, query the state of the client by calling the MediaPlayerService of the Framework;
    D2、判断移动终端是否停止播放视频;D2: determining whether the mobile terminal stops playing the video;
    所述步骤E具体包括: The step E specifically includes:
    E1、当移动终端停止播放视频时,控制移动终端的Color Management对屏幕色温进行调整,逐渐将屏幕色温调至开始播放视频之前的色温。E1. When the mobile terminal stops playing the video, the Color Management that controls the mobile terminal adjusts the color temperature of the screen, and gradually adjusts the color temperature of the screen to the color temperature before starting the video playback.
  12. 一种移动终端播放视频时自动调整屏幕色温的系统,其中,包括:A system for automatically adjusting a screen color temperature when a mobile terminal plays a video, wherein:
    视频播放检测模块,用于检测移动终端是否开始播放视频;a video play detection module, configured to detect whether the mobile terminal starts playing a video;
    色温调低控制模块,用于当移动终端开始播放视频时,控制移动终端将屏幕色温调低到预定屏幕色温。The color temperature lowering control module is configured to control the mobile terminal to lower the screen color temperature to a predetermined screen color temperature when the mobile terminal starts playing the video.
  13. 根据权利要求12所述的移动终端播放视频时自动调整屏幕色温的系统,其中,还包括:The system for automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 12, further comprising:
    视频停止检测模块,用于检测移动终端是否停止播放视频;a video stop detection module, configured to detect whether the mobile terminal stops playing video;
    色温调高控制模块,用于当移动终端停止播放视频时,控制移动终端调整屏幕色温至原色温。The color temperature adjustment control module is configured to control the mobile terminal to adjust the screen color temperature to the original color temperature when the mobile terminal stops playing the video.
  14. 根据权利要求12所述的移动终端播放视频时自动调整屏幕色温的系统,其中,所述视频播放检测模块中预设有进行检测的第一间隔时间,所述视频播放检测模块配置为每隔一个所述第一间隔时间检测一次移动终端是否开始播放视频。The system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video according to claim 12, wherein the video playback detection module is pre-set with a first interval time for detecting, and the video playback detection module is configured to be every other one. The first interval time detects whether the mobile terminal starts playing a video.
  15. 根据权利要求14所述的移动终端播放视频时自动调整屏幕色温的系统,其中,所述第一间隔时间设置为0.1S。The system of claim 14, wherein the first interval time is set to 0.1S.
  16. 根据权利要求13所述的移动终端播放视频时自动调整屏幕色温的系统,其中,所述视频停止检测模块中预设有进行检测的第二间隔时间,所述视频停止检测模块配置为每隔一个所述第二间隔时间检测一次移动终端是否停止播放视频。The system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video according to claim 13, wherein the video stop detection module is pre-set with a second interval time for detecting, and the video stop detection module is configured to be every other one. The second interval time detects whether the mobile terminal stops playing the video once.
  17. 根据权利要求16所述的移动终端播放视频时自动调整屏幕色温的系统,其中,所述第二间隔时间设置为0.1S。The system of claim 16, wherein the second interval time is set to 0.1S.
  18. 根据权利要求12所述的移动终端播放视频时自动调整屏幕色温的系统,其中,所述视频播放检测模块具体包括:The system for automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 12, wherein the video play detection module specifically includes:
    视频播放检测单元,用于通过调用Framework的MediaPlayerService查询客户端的状态;The video play detection unit is configured to query the status of the client by calling the MediaPlayerService of the Framework;
    视频播放判断单元,用于判断移动终端是否开始播放视频。 The video playing determining unit is configured to determine whether the mobile terminal starts playing the video.
  19. 根据权利要求12所述的移动终端播放视频时自动调整屏幕色温的系统,其中,所述色温调低控制模块具体包括:The system for automatically adjusting the color temperature of the screen when the mobile terminal plays the video according to claim 12, wherein the color temperature down control module specifically includes:
    当前色温储存单元,用于当移动终端开始播放视频时,储存当前屏幕色温;a current color temperature storage unit, configured to store a current screen color temperature when the mobile terminal starts playing a video;
    色温调低控制单元,用于控制移动终端的Color Management对屏幕色温进行调整,逐渐调低屏幕色温至预定屏幕色温。The color temperature down control unit is used to control the color management of the mobile terminal to adjust the screen color temperature, and gradually lower the screen color temperature to the predetermined screen color temperature.
  20. 根据权利要求13所述的移动终端播放视频时自动调整屏幕色温的系统,其中,还包括:The system for automatically adjusting a screen color temperature when a mobile terminal plays a video according to claim 13, further comprising:
    视频停止判断单元,用于判断移动终端是否停止播放视频;a video stop determining unit, configured to determine whether the mobile terminal stops playing the video;
    色温调高控制单元,用于当移动终端停止播放视频时,控制移动终端的Color Management对屏幕色温进行调整,逐渐将屏幕色温调至开始播放视频之前的色温。 The color temperature adjustment control unit is configured to control the color temperature of the screen to adjust the color temperature of the screen when the mobile terminal stops playing the video, and gradually adjust the color temperature of the screen to the color temperature before starting the video.
PCT/CN2017/115034 2016-12-22 2017-12-07 Method and system for automatically adjusting colour temperature of screen when mobile terminal plays video WO2018113530A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611199718.3 2016-12-22
CN201611199718.3A CN106603853A (en) 2016-12-22 2016-12-22 Method and system for automatically adjusting screen color temperature in playing video of mobile terminal

Publications (1)

Publication Number Publication Date
WO2018113530A1 true WO2018113530A1 (en) 2018-06-28

Family

ID=58600774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/115034 WO2018113530A1 (en) 2016-12-22 2017-12-07 Method and system for automatically adjusting colour temperature of screen when mobile terminal plays video

Country Status (2)

Country Link
CN (1) CN106603853A (en)
WO (1) WO2018113530A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603853A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Method and system for automatically adjusting screen color temperature in playing video of mobile terminal
CN110572595B (en) * 2019-08-28 2022-08-30 深圳Tcl数字技术有限公司 Laser television adjusting method, laser television and readable storage medium
CN111294655B (en) * 2020-02-20 2021-10-22 深圳创维-Rgb电子有限公司 HDR (high-definition multimedia System) film source playing method and device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6172719B1 (en) * 1996-12-24 2001-01-09 Lg Electronics, Inc. Automatic color temperature control device for video appliance
CN102479032A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and system for regulating background during watching of ipad video, and ipad video player
CN105848003A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Eye protection method suitable for display screen and eye protection device suitable for display screen
CN105957498A (en) * 2016-06-28 2016-09-21 广东欧珀移动通信有限公司 Screen color temperature control method and device
CN106210892A (en) * 2016-07-29 2016-12-07 深圳前海茂佳软件科技有限公司 TV control method and device
CN106249880A (en) * 2016-07-21 2016-12-21 广东欧珀移动通信有限公司 control method and control device
CN106603853A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Method and system for automatically adjusting screen color temperature in playing video of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6172719B1 (en) * 1996-12-24 2001-01-09 Lg Electronics, Inc. Automatic color temperature control device for video appliance
CN102479032A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and system for regulating background during watching of ipad video, and ipad video player
CN105848003A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Eye protection method suitable for display screen and eye protection device suitable for display screen
CN105957498A (en) * 2016-06-28 2016-09-21 广东欧珀移动通信有限公司 Screen color temperature control method and device
CN106249880A (en) * 2016-07-21 2016-12-21 广东欧珀移动通信有限公司 control method and control device
CN106210892A (en) * 2016-07-29 2016-12-07 深圳前海茂佳软件科技有限公司 TV control method and device
CN106603853A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Method and system for automatically adjusting screen color temperature in playing video of mobile terminal

Also Published As

Publication number Publication date
CN106603853A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
RU2704719C1 (en) Display control method and device, electronic device and computer-readable data carrier
CN105788564A (en) Method and system for automatically regulating screen display
WO2018113530A1 (en) Method and system for automatically adjusting colour temperature of screen when mobile terminal plays video
WO2015096617A1 (en) Image quality adjustment method and system
WO2016037313A1 (en) Blue light adjustment method and device, and terminal
TW201517010A (en) Electronic device and screen control method thereof
WO2017166530A1 (en) Screen brightness adjustment method and device, and display device comprising device
CN105810152B (en) Method for controlling backlight thereof and device, the television set of display terminal
WO2017101395A1 (en) Screen brightness adjustment method and device
CN106339198B (en) Method and system for automatically adjusting volume of electronic equipment through environment volume
WO2017024949A1 (en) Air-conditioner-based intelligent terminal instrumented sleep system and control method
US11388363B2 (en) TV set and backlight control method, control device and readable storage medium of the TV set
WO2016070541A1 (en) Self-adaptive adjustment method and device of projector, and computer storage medium
WO2017121207A1 (en) Display device and display control method therefor
WO2016183887A1 (en) Backlight control method and device, and computer storage medium
US11842707B2 (en) Systems and methods for adjusting light emitted from a display
CN107018230A (en) A kind of back light brightness regulating method and terminal
WO2016045525A1 (en) Method and apparatus for processing state of terminal
CN108184020B (en) Display screen control method and display screen control system of intelligent terminal
WO2016078440A1 (en) Method and apparatus for controlling screen of mobile terminal
CN203675238U (en) Television capable of automatically adjusting color temperature
US10319342B2 (en) Method and device for adjusting display brightness
WO2016180194A1 (en) Eye protection method and apparatus for video conference
WO2020168488A1 (en) Terminal screen control method and terminal
WO2021120552A1 (en) Photographing method for terminal device, terminal device, and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17885408

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17885408

Country of ref document: EP

Kind code of ref document: A1