WO2017215142A1 - 终端显示内容的色温调节方法及装置 - Google Patents

终端显示内容的色温调节方法及装置 Download PDF

Info

Publication number
WO2017215142A1
WO2017215142A1 PCT/CN2016/099383 CN2016099383W WO2017215142A1 WO 2017215142 A1 WO2017215142 A1 WO 2017215142A1 CN 2016099383 W CN2016099383 W CN 2016099383W WO 2017215142 A1 WO2017215142 A1 WO 2017215142A1
Authority
WO
WIPO (PCT)
Prior art keywords
color temperature
temperature value
display content
terminal
ambient light
Prior art date
Application number
PCT/CN2016/099383
Other languages
English (en)
French (fr)
Inventor
杨延鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017215142A1 publication Critical patent/WO2017215142A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3182Colour adjustment, e.g. white balance, shading or gamut

Definitions

  • Embodiments of the present invention relate to the field of computer technologies, and in particular, to a color temperature adjustment method and apparatus for displaying content of a terminal.
  • the present invention has been proposed to provide an overcoming of the above problems or at least A color temperature adjustment method and apparatus for displaying content of a terminal partially solving the above problems.
  • An embodiment of the present invention provides a color temperature adjustment method for displaying content of a terminal, including:
  • the color temperature of the display content of the terminal is adjusted according to the color temperature value of the display content.
  • the embodiment of the present invention further provides a color temperature adjustment device for displaying content of a terminal, which is disposed on the terminal, and includes:
  • a camera sensor configured to detect an ambient light color temperature value of the environment in which the terminal is located, and send to processor
  • the memory is set to store a color temperature relationship table, wherein the color temperature relationship table stores a correspondence relationship between the ambient light color temperature value and the display content color temperature value;
  • the processor is configured to obtain a display content color temperature value corresponding to the ambient light color temperature value according to the color temperature relationship table, and adjust the color temperature of the display content of the terminal according to the display content color temperature value.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing a color temperature adjustment method for displaying content of the terminal in the above embodiment.
  • the camera sensor of the terminal detects the ambient light color temperature value of the environment in which the terminal is located and performs vertical and horizontal traversing, thereby solving the related art to integrate certain hardware for detecting ambient light and calculation, thereby increasing the load and display cost of the display itself, and
  • the post-programming control is more troublesome.
  • the user can dynamically set different display color temperatures according to his own preferences, so that the user is more comfortable to use, which is more conducive to protecting the eyes and improving the user experience.
  • FIG. 1 is a flowchart of a method for adjusting a color temperature of a display content of a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a color temperature adjustment method for displaying content of a terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of color temperature values of various ambient light sources according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a correspondence table between ambient light color temperature and display content color temperature according to an embodiment of the present invention
  • FIG. 5 is a flowchart of processing of a color temperature adjustment module according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of detailed processing of a color temperature adjustment method for displaying content of a terminal according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a color temperature adjusting apparatus for displaying content of a terminal according to an embodiment of the present invention.
  • the present invention provides a color temperature adjustment of the display content of the terminal.
  • the camera sensor is used to detect and analyze the ambient light source color temperature of the environment of the mobile phone device to automatically adjust the color temperature of the display content data of the mobile phone.
  • the technical solution of the embodiment of the present invention does not set certain registers of the display to adjust the display itself.
  • the color temperature value, but the color temperature of the image data content to be displayed on the display is thus lowly coupled to the specific display hardware, and does not depend on the hardware.
  • the display content data refers to image data content to be displayed on the display, that is, the mobile device device displays image data content.
  • FIG. 1 is a flowchart of a color temperature adjustment method for displaying content of a terminal according to an embodiment of the present invention. As shown in FIG. 1, according to an embodiment of the present invention, The color temperature adjustment method of the display content of the terminal includes the following processing:
  • Step 101 detecting, by using a camera sensor of the terminal, an ambient light color temperature value of an environment in which the terminal is located;
  • step 101 before performing step 101, it is also required to determine whether the display of the terminal is in a bright-screen display state, and whether the display content of the terminal supports color temperature adjustment. If both of the determinations are yes, the camera sensor of the terminal is activated.
  • step 101 after performing step 101, the following processing may also be performed:
  • the detected ambient light color temperature value is saved as a historical color temperature value
  • the newly detected ambient light color temperature value is compared with the historical color temperature value. If the difference between the two is less than or equal to the predetermined activation threshold, the color temperature adjustment is initiated, otherwise, the operation is ended.
  • Step 102 Acquire a display content color temperature value corresponding to an ambient light color temperature value according to a pre-stored color temperature relationship table
  • Step 103 Adjust the color temperature of the display content of the terminal according to the color temperature value of the display content.
  • Step 103 specifically includes the following steps: performing gradient adjustment on the color temperature of the display content of the terminal according to the ambient light color temperature value and the display content color temperature value. Specifically: 1. calculating an absolute value of the difference between the ambient light color temperature value and the display content color temperature value, and determining the absolute value of the difference and the preset adjustment step when determining that the absolute value of the difference is greater than or equal to a preset adjustment threshold. The quotient value is determined according to the quotient value; 2. The adjustment gradient is set to the number of adjustments, and the color temperature of the display content is adjusted according to the adjustment step size every predetermined adjustment interval until the adjustment number is completed and the color temperature value of the display content is reached.
  • the mobile phone device detects the color temperature of the ambient light through a Camera sensor (the above camera sensor) under certain ambient light, for example, a fluorescent lamp or an incandescent lamp, and directly controls the AP side to set the content data to be displayed through logic flow control.
  • a Camera sensor the above camera sensor
  • certain ambient light for example, a fluorescent lamp or an incandescent lamp
  • Color temperature the gradient adjustment mode is adopted, so that the display content can be softly changed to match the color temperature of the ambient light source, and the color temperature jump of the display content is prevented from being too large to cause eye discomfort.
  • FIG. 2 is a schematic structural diagram of a color temperature adjustment method for displaying content of a terminal according to an embodiment of the present invention.
  • a mobile phone device is taken as an example, including: a memory, a Camera sensor, a display screen (LCD/AMOLED), and a query module (setting In the processor), and a color temperature adjustment module (set in the processor).
  • the memory stores a color temperature value of various ambient light sources, and a correspondence table between the ambient light color temperature and the display content color temperature.
  • the correspondence table includes the values of the color temperature of the ambient light source, for example, the color temperature of the light in the cloudy sky is 6500K-7500K; the color temperature of the sunlight is 5500K-6500K; the color temperature of the fluorescent lamp is 4500K-5500K; the color temperature of the carbon bar lamp is 3500K-4500K, the incandescent lamp Color temperature 2500K-3500K, standard candle light color temperature 1500K-2500K.
  • the Camera sensor detects the color temperature of the ambient light source of the mobile phone device, and the query module queries the correspondence table between the ambient light color temperature and the display content color temperature to obtain a corresponding operation action.
  • the color temperature adjustment module performs the color gradient adjustment of the display data according to the color temperature value of the ambient light source and the color temperature value of the current display data.
  • FIG. 5 is a flowchart of processing of a color temperature adjustment module according to an embodiment of the present invention. As shown in FIG. 5, the following specifically includes the following processing:
  • Step 501 Calculate a difference between an ambient light color temperature and a current display content color temperature, and take an absolute value
  • Step 502 it is determined whether the absolute value of the difference is less than a preset threshold, preferably, the preset threshold is 500K; if the determination is yes, the operation is ended, otherwise, step 503 is performed;
  • Step 503 according to the color temperature value of the ambient light source and the color temperature value of the currently displayed data, step by step The logic is used to adjust the color temperature of the display data.
  • the adjustment step size is 500K
  • the gradient is calculated
  • the gradient is the absolute value of the difference value/step size
  • the adjustment interval time is set to 200MS. It should be noted that if the gradient cannot be divisible If the gradient number is increased by 1, the last adjustment is the absolute value of the difference divided by the remainder of the step.
  • the number of adjustment cycles is determined according to the gradient, and the adjustment is performed in 500K steps each time. After that, the interval is restarted after 200 MS, and the next adjustment is made, knowing that the gradient is completed.
  • FIG. 6 is a flowchart of detailed processing of a color temperature adjustment method for displaying content of a terminal according to an embodiment of the present invention. As shown in FIG. 6, the method specifically includes the following processing:
  • Step 601 Detect device status.
  • Step 602 Determine whether the device is in a bright screen display state. If the determination is yes, go to step 603; otherwise, end the operation;
  • Step 603 it is determined whether the display content of the device can support the color temperature adjustment. If the determination is yes, step 604 is performed; otherwise, the operation is ended;
  • Step 604 starting the Camera sensor in the background
  • Step 605 the Camera sensor detects an ambient light source
  • Step 606 Determine whether the current ambient light source changes according to the detected ambient light source. If the determination is yes, execute step 607; otherwise, end the operation;
  • Step 607 according to the color temperature value of the ambient light source and the color temperature value of the current display data, performing a gradient-based logic to perform color temperature adjustment of the display data, and the specific processing of the step may be as shown in FIG. 5.
  • the camera sensor of the terminal detects the ambient light color temperature value of the environment in which the terminal is located and performs vertical and horizontal alignment, thereby solving the related art to integrate certain hardware for detecting ambient light and calculation, thereby increasing the load of the display itself and The cost of the display, and the troublesome programming control in the later stage, the user can dynamically set different display color temperatures according to his own preferences, so that the user is more comfortable to use, is more conducive to protecting the eyes, and improves the user experience.
  • a color temperature adjustment device for displaying content of a terminal is provided, which is disposed at a terminal.
  • FIG. 7 is a schematic structural diagram of a color temperature adjustment device for displaying content of a terminal according to an embodiment of the present invention, as shown in FIG.
  • the color temperature adjusting device for displaying content of the terminal of the embodiment of the invention includes a camera sensor 70, a memory 72, and a processor 74.
  • the respective modules of the embodiments of the present invention will be described in detail below.
  • the camera sensor 70 is configured to detect an ambient light color temperature value of the environment in which the terminal is located, and send it to the processor 74;
  • the memory 72 is configured to store a color temperature relationship table, wherein the color temperature relationship table stores a correspondence relationship between the ambient light color temperature value and the display content color temperature value;
  • the memory 72 is further configured to: store the detected ambient light color temperature value as a historical color temperature value;
  • the processor 74 is configured to acquire a display content color temperature value corresponding to the ambient light color temperature value according to the color temperature relationship table, and adjust the display content color temperature of the terminal according to the display content color temperature value.
  • the processor 74 is specifically configured to: perform gradient adjustment on the display content color temperature of the terminal according to the ambient light color temperature value and the display content color temperature value. Specifically, the processor 74 calculates an absolute value of the difference between the ambient light color temperature value and the display content color temperature value, and calculates the absolute value of the difference and the preset adjustment step when determining that the absolute value of the difference is greater than or equal to the preset adjustment threshold. The quotient value determines the adjustment gradient according to the quotient value; the processor 74 sets the adjustment gradient to the number of adjustments, and adjusts the color temperature of the display content according to the adjustment step size every predetermined adjustment interval until the adjustment number is completed and the color temperature value of the display content is reached. .
  • Processor 74 is further configured to:
  • the ambient light color temperature value newly detected by the camera sensor 70 is compared with the historical color temperature value, and if the difference between the two is less than or equal to the predetermined activation threshold, the color temperature adjustment is started, otherwise, the end is ended. operating.
  • FIG. 2 The preferred structure of the color temperature adjustment device for displaying the content of the terminal in the embodiment of the present invention is as shown in FIG. 2, and FIG. 2 has been described in detail in the above method embodiment, and details are not described herein again.
  • the camera sensor of the terminal detects the ambient light color temperature value of the environment in which the terminal is located and performs vertical and horizontal alignment, thereby solving the related art to integrate certain hardware for detecting ambient light and calculation, thereby increasing the load of the display itself and The cost of the display, and the troublesome programming control in the later stage, the user can dynamically set different display color temperatures according to his own preferences, so that the user is more comfortable to use, is more conducive to protecting the eyes, and improves the user experience.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • modules in the client in the embodiment can be adaptively changed and placed in one or more clients different from the embodiment.
  • the modules in the embodiments can be combined into one module, and further they can be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the client are combined.
  • Each feature disclosed in this specification may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components loaded with the ordered web address in accordance with an embodiment of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • the camera light sensor of the terminal detects the ambient light color temperature value of the environment in which the terminal is located, and performs vertical and horizontal alignment, thereby solving the related art to integrate certain hardware for detecting ambient light and operation, thereby increasing the load of the display itself.
  • the cost of the display, and the troublesome programming control in the later stage the user can dynamically set different display color temperatures according to his own preferences, so that the user is more comfortable to use, is more conducive to protecting the eyes, and improves the user experience.

Landscapes

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

Abstract

一种终端显示内容的色温调节方法及装置。该方法包括:通过终端的照相机传感器检测终端所处环境的环境光色温值(101);根据预先存储的色温关系表获取与环境光色温值对应的显示内容色温值(102);根据显示内容色温值对终端的显示内容色温进行调整(103)。借助于该技术方案,用户能够根据自己的喜好来动态设置不同的显示色温,以便使用户使用起来更舒服,更有利于保护眼睛,提高了用户的使用体验。

Description

终端显示内容的色温调节方法及装置 技术领域
本发明实施例涉及计算机技术领域,特别是涉及一种终端显示内容的色温调节方法及装置。
背景技术
随着手机设备更新换代越来越快,人们对手机得要求也越来越高。尤其是对手机得显示效果要求更加苛刻。目前,大多数电子设备都是通过显示器自身单独设置的硬件装置来检测环境光,通过讯号转换装置和中央处理器进行相关计算,然后使显示器自动适配环境光源的色温。但是,上述技术方案因为要集成一定的检测环境光和运算的硬件,从而增加了显示器自身的负载,增加了显示器成本,并且在后期编程控制也比较麻烦。
发明内容
鉴于相关技术中要集成一定的检测环境光和运算的硬件,从而增加了显示器自身的负载和显示器成本,且在后期编程控制比较麻烦的问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的终端显示内容的色温调节方法及装置。
本发明实施例提供一种终端显示内容的色温调节方法,包括:
通过终端的照相机传感器检测终端所处环境的环境光色温值;
根据预先存储的色温关系表获取与环境光色温值对应的显示内容色温值;
根据显示内容色温值对终端的显示内容色温进行调整。
本发明实施例还提供了一种终端显示内容的色温调节装置,设置于终端,包括:
照相机传感器,设置为检测终端所处环境的环境光色温值,并发送到 处理器;
存储器,设置为存储色温关系表,其中,色温关系表中保存有环境光色温值与显示内容色温值的对应关系;
处理器,设置为根据色温关系表获取与环境光色温值对应的显示内容色温值,并根据显示内容色温值对终端的显示内容色温进行调整。
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的终端显示内容的色温调节方法。
本发明实施例有益效果如下:
通过终端的照相机传感器检测终端所处环境的环境光色温值并进行提纵横,解决了相关技术中要集成一定的检测环境光和运算的硬件,从而增加了显示器自身的负载和显示器成本,且在后期编程控制比较麻烦的问题,用户能够根据自己的喜好来动态设置不同的显示色温,以便使用户使用起来更舒服,更有利于保护眼睛,提高了用户的使用体验。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1是本发明实施例的终端显示内容的色温调节方法的流程图;
图2是本发明实施例的终端显示内容的色温调节方法的结构示意图;
图3是本发明实施例的各种环境光源的色温数值的示意图;
图4是本发明实施例的环境光色温与显示内容色温的对应关系表的示意图;
图5是本发明实施例的色温调节模块的处理流程图;
图6是本发明实施例的终端显示内容的色温调节方法的详细处理的流程图;
图7是本发明实施例的终端显示内容的色温调节装置的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
为了解决相关技术中要集成一定的检测环境光和运算的硬件,从而增加了显示器自身的负载和显示器成本,且在后期编程控制比较麻烦的问题,本发明提供了一种终端显示内容的色温调节方法及装置,通过Camera传感器来检测和分析手机设备所在环境得环境光源色温来自动调节手机显示内容数据得色温,本发明实施例的技术方案不会去设置显示器得某些寄存器来调节显示器自身的色温值,而是调节要在显示器上显示的图像数据内容得色温,这样就和具体显示器硬件低耦合,不依赖于硬件不同而改变。需要说明的是,在本发明下面的实施例中,所述的显示内容数据(或者称为显示内容)是指:要在显示器上显示的图像数据内容,也即手机设备要显示图像数据内容。
以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解, 此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。
方法实施例
根据本发明的实施例,提供了一种终端显示内容的色温调节方法,图1是本发明实施例的终端显示内容的色温调节方法的流程图,如图1所示,根据本发明实施例的终端显示内容的色温调节方法包括如下处理:
步骤101,通过终端的照相机传感器检测终端所处环境的环境光色温值;
在本发明实施例中,在执行步骤101之前,还需要判断终端的显示器是否处于亮屏显示状态,以及判断终端的显示内容是否支持色温调节,如果均判断为是,则启动终端的照相机传感器。
在本发明实施例中,执行了步骤101之后,还可以进行以下处理:
将检测到的环境光色温值当做历史色温值保存;
将新检测到的环境光色温值与历史色温值进行比较,如果两者差值小于或者等于预定启动阈值,则启动色温调节,否则,结束操作。
步骤102,根据预先存储的色温关系表获取与环境光色温值对应的显示内容色温值;
步骤103,根据显示内容色温值对终端的显示内容色温进行调整。
步骤103具体包括如下处理:根据环境光色温值和显示内容色温值对终端的显示内容色温进行梯度式调整。具体地:1、计算环境光色温值和显示内容色温值的差值绝对值,在确定差值绝对值大于或等于预先设置的调整阈值时,计算差值绝对值与预先设置的调整步长的商值,根据商值确定调整梯度;2、将调整梯度设置为调整次数,每隔预定的调整间隔,根据调整步长对显示内容色温进行调整,直到完成调整次数并达到显示内容色温值。
以下结合附图,对本发明实施例的上述技术方案进行详细说明。
手机设备在某种环境光下,例如,日光灯,或白炽灯下,通过Camera传感器(上述照相机传感器)来检测环境光的色温,并通过逻辑流程控制,直接操作控制AP侧去设置要显示内容数据的色温。在调节色温时,采用梯度调节方式,以便显示内容能够柔和的变化来达到和环境光源色温相匹配,避免显示内容色温跳转幅度过大从而引起人眼不适。
图2是本发明实施例的终端显示内容的色温调节方法的结构示意图,如图2所示,以手机设备为例,包括:存储器,Camera传感器、显示屏(LCD/AMOLED)、查询模块(设置于处理器中)、以及色温调节模块(设置于处理器中)。其中,如图3和图4所示,存储器存储各种环境光源的色温数值、以及环境光色温与显示内容色温的对应关系表。其中,对应关系表包括环境光源色温的数值,例如,在阴天光线色温在6500K-7500K;太阳光色温在5500K-6500K;荧光灯下其色温4500K-5500K;碳棒灯色温3500K-4500K,白炽灯色温2500K-3500K,标准烛光灯色温1500K-2500K。Camera传感器检测手机设备所在环境光源的色温,查询模块查询环境光色温和显示内容色温的对应关系表,以获得对应的操作动作。色温调节模块根据环境光源色温值和当前显示数据的色温值,进行分梯度式得逻辑进行显示数据得色温调节。
图5是本发明实施例的色温调节模块的处理流程图,如图5所述,具体包括如下处理:
步骤501,计算环境光色温和当前显示内容色温的差值,并取绝对值;
步骤502,判断所述差值的绝对值是否小于预设阈值,优选地,该预设阈值为500K;如果判断为是,则结束操作,否则,执行步骤503;
步骤503,根据环境光源色温值和当前显示数据的色温值,进行分梯 度式得逻辑进行显示数据得色温调节,具体地,调整步长=500K,计算梯度,梯度=差值绝对值/步长,设置调整间隔时间为200MS,需要说明的是,如果梯度不能被整除的话,梯度数加1,最后一次调节的是差值绝对值除以步长的余数,在设置好上述参数后,根据梯度确定调节循环次数,每次以500K步长进行调节,每次调节完成后,间隔200MS后重新开始,进行下一次调节,知道完成梯度。
图6是本发明实施例的终端显示内容的色温调节方法的详细处理的流程图,如图6所示,具体包括如下处理:
步骤601,侦测设备状态;
步骤602,判断设备是否处于亮屏显示状态,如果判断为是,执行步骤603,否则,结束操作;
步骤603,判断设备显示内容是否可支持色温调节,如果判断为是,执行步骤604,否则,结束操作;
步骤604,后台启动Camera传感器;
步骤605,Camera传感器检测环境光源;
步骤606,根据检测的环境光源判断当前的环境光源是否发生变化,如果判断为是,则执行步骤607,否则,结束操作;
步骤607,根据环境光源色温值和当前显示数据的色温值,进行分梯度式得逻辑进行显示数据得色温调节,该步骤的具体处理可以如图5所示。
综上所述,通过终端的照相机传感器检测终端所处环境的环境光色温值并进行提纵横,解决了相关技术中要集成一定的检测环境光和运算的硬件,从而增加了显示器自身的负载和显示器成本,且在后期编程控制比较麻烦的问题,用户能够根据自己的喜好来动态设置不同的显示色温,以便使用户使用起来更舒服,更有利于保护眼睛,提高了用户的使用体验。
装置实施例
根据本发明的实施例,提供了一种终端显示内容的色温调节装置,设置于终端,图7是本发明实施例的终端显示内容的色温调节装置的结构示意图,如图7所示,根据本发明实施例的终端显示内容的色温调节装置包括:照相机传感器70、存储器72、以及处理器74,以下对本发明实施例的各个模块进行详细的说明。
照相机传感器70,设置为检测终端所处环境的环境光色温值,并发送到处理器74;
存储器72,设置为存储色温关系表,其中,色温关系表中保存有环境光色温值与显示内容色温值的对应关系;
存储器72进一步设置为:将检测到的环境光色温值作为历史色温值保存;
处理器74,设置为根据色温关系表获取与环境光色温值对应的显示内容色温值,并根据显示内容色温值对终端的显示内容色温进行调整。
处理器74具体设置为:根据环境光色温值和显示内容色温值对终端的显示内容色温进行梯度式调整。具体地:处理器74计算环境光色温值和显示内容色温值的差值绝对值,在确定差值绝对值大于或等于预先设置的调整阈值时,计算差值绝对值与预先设置的调整步长的商值,根据商值确定调整梯度;处理器74将调整梯度设置为调整次数,每隔预定的调整间隔,根据调整步长对显示内容色温进行调整,直到完成调整次数并达到显示内容色温值。
处理器74进一步设置为:
将照相机传感器70新检测到的环境光色温值与历史色温值进行比较,如果两者差值小于或者等于预定启动阈值,则启动色温调节,否则,结束 操作。
判断终端的显示器是否处于亮屏显示状态,以及判断终端的显示内容是否支持色温调节,如果均判断为是,则启动终端的照相机传感器70。
本发明实施例的终端显示内容的色温调节装置的优选结构如图2所示,在上述方法实施例中已经对图2进行了详细说明,在此不再赘述。
综上所述,通过终端的照相机传感器检测终端所处环境的环境光色温值并进行提纵横,解决了相关技术中要集成一定的检测环境光和运算的硬件,从而增加了显示器自身的负载和显示器成本,且在后期编程控制比较麻烦的问题,用户能够根据自己的喜好来动态设置不同的显示色温,以便使用户使用起来更舒服,更有利于保护眼睛,提高了用户的使用体验。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,通过终端的照相机传感器检测终端所处环境的环境光色温值;
S2,根据预先存储的色温关系表获取与环境光色温值对应的显示内容色温值;
S3,根据显示内容色温值对终端的显示内容色温进行调整。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,根据显示内容色温值对终端的显示内容色温进行调整,将检测到的环境光色温值当做历史色温值保存;
S2,将新检测到的环境光色温值与历史色温值进行比较,如果两者差值小于或者等于预定启动阈值,则启动色温调节,否则,结束操作。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的客户端中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个客户端中。可以把实施例中的模块组合成一个模块,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者客户端的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的加载有排序网址的客户端中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限 制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
工业实用性
在本实施例中,通过终端的照相机传感器检测终端所处环境的环境光色温值并进行提纵横,解决了相关技术中要集成一定的检测环境光和运算的硬件,从而增加了显示器自身的负载和显示器成本,且在后期编程控制比较麻烦的问题,用户能够根据自己的喜好来动态设置不同的显示色温,以便使用户使用起来更舒服,更有利于保护眼睛,提高了用户的使用体验。

Claims (10)

  1. 一种终端显示内容的色温调节方法,包括:
    通过终端的照相机传感器检测终端所处环境的环境光色温值;
    根据预先存储的色温关系表获取与所述环境光色温值对应的显示内容色温值;
    根据所述显示内容色温值对所述终端的显示内容色温进行调整。
  2. 如权利要求1所述的方法,其中,通过终端的照相机传感器检测终端所处环境的环境光色温值之后,所述方法进一步包括:
    将检测到的所述环境光色温值当做历史色温值保存;
    将新检测到的环境光色温值与所述历史色温值进行比较,如果两者差值小于或者等于预定启动阈值,则启动色温调节,否则,结束操作。
  3. 如权利要求1所述的方法,其中,根据所述显示内容色温值对所述终端的显示内容色温进行调整具体包括:
    根据所述环境光色温值和所述显示内容色温值对所述终端的显示内容色温进行梯度式调整。
  4. 如权利要求3所述的方法,其中,根据所述环境光色温值和所述显示内容色温值对所述终端的显示内容色温进行梯度式调整具体包括:
    计算所述环境光色温值和所述显示内容色温值的差值绝对值,在确定所述差值绝对值大于或等于预先设置的调整阈值时,计算所述差值绝对值与预先设置的调整步长的商值,根据所述商值确定调整梯度;
    将所述调整梯度设置为调整次数,每隔预定的调整间隔,根据所 述调整步长对所述显示内容色温进行调整,直到完成所述调整次数并达到所述显示内容色温值。
  5. 如权利要求1所述的方法,其中,通过终端的照相机传感器检测终端所处环境的环境光色温值之前,所述方法进一步包括:
    判断所述终端的显示器是否处于亮屏显示状态,以及判断所述终端的显示内容是否支持色温调节,如果均判断为是,则启动所述终端的照相机传感器。
  6. 一种终端显示内容的色温调节装置,设置于终端,包括:
    照相机传感器,设置为检测终端所处环境的环境光色温值,并发送到处理器;
    存储器,设置为存储色温关系表,其中,所述色温关系表中保存有环境光色温值与显示内容色温值的对应关系;
    所述处理器,设置为根据所述色温关系表获取与所述环境光色温值对应的显示内容色温值,并根据所述显示内容色温值对所述终端的显示内容色温进行调整。
  7. 如权利要求6所述的装置,其中,所述存储器进一步设置为:将检测到的所述环境光色温值作为历史色温值保存;
    所述处理器进一步设置为:将所述照相机传感器新检测到的环境光色温值与所述历史色温值进行比较,如果两者差值小于或者等于预定启动阈值,则启动色温调节,否则,结束操作。
  8. 如权利要求6所述的装置,其中,所述处理器具体设置为:
    根据所述环境光色温值和所述显示内容色温值对所述终端的显示内容色温进行梯度式调整。
  9. 如权利要求8所述的装置,其中,所述处理器具体设置为:
    计算所述环境光色温值和所述显示内容色温值的差值绝对值,在确定所述差值绝对值大于或等于预先设置的调整阈值时,计算所述差值绝对值与预先设置的调整步长的商值,根据所述商值确定调整梯度;
    将所述调整梯度设置为调整次数,每隔预定的调整间隔,根据所述调整步长对所述显示内容色温进行调整,直到完成所述调整次数并达到所述显示内容色温值。
  10. 如权利要求6所述的装置,其中,所述处理器进一步设置为:
    判断所述终端的显示器是否处于亮屏显示状态,以及判断所述终端的显示内容是否支持色温调节,如果均判断为是,则启动所述终端的照相机传感器。
PCT/CN2016/099383 2016-06-17 2016-09-19 终端显示内容的色温调节方法及装置 WO2017215142A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610437328 2016-06-17
CN201610437328.9 2016-06-17

Publications (1)

Publication Number Publication Date
WO2017215142A1 true WO2017215142A1 (zh) 2017-12-21

Family

ID=60663694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099383 WO2017215142A1 (zh) 2016-06-17 2016-09-19 终端显示内容的色温调节方法及装置

Country Status (2)

Country Link
CN (1) CN107517368A (zh)
WO (1) WO2017215142A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107978296A (zh) * 2017-12-22 2018-05-01 深圳市彤兴电子有限公司 一种具有护眼功能的显示器及电子设备
CN108538263A (zh) * 2018-03-30 2018-09-14 合肥京东方显示光源有限公司 一种色温调节方法和装置
CN115225759A (zh) * 2021-04-15 2022-10-21 北京小米移动软件有限公司 色温检测装置、方法、设备、终端及存储介质
US12073800B2 (en) 2020-12-25 2024-08-27 Fuzhou Boe Optoelectronics Technology Co., Ltd. Stacked-screen display device and method for controlling display device

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108172197A (zh) 2017-12-29 2018-06-15 深圳市华星光电半导体显示技术有限公司 显示器色温调整方法、电子设备及计算机可读存储介质
CN109064970A (zh) * 2018-09-30 2018-12-21 江苏汉德森智能科技有限责任公司 显示设备控制装置、显示系统及显示设备控制方法
CN109408018A (zh) * 2018-10-26 2019-03-01 深圳大学 一种屏幕色温调节方法、装置及终端设备
CN109548241A (zh) * 2018-12-18 2019-03-29 深圳市全智芯科技有限公司 灯光调节控制方法、存储介质、控制装置及智能感应灯
CN109872705A (zh) * 2019-04-22 2019-06-11 深圳创维-Rgb电子有限公司 显示器色温调节方法、装置、终端及存储介质
CN110784696B (zh) * 2019-09-30 2021-04-30 深圳市火乐科技发展有限公司 一种白平衡校正方法和相关装置
CN111405261A (zh) * 2020-04-22 2020-07-10 深圳市洲明科技股份有限公司 一种显示屏的调试方法及装置
CN112306405B (zh) * 2020-10-14 2021-09-17 宋协栋 应用大数据存储的电机驱动系统
CN113597066A (zh) * 2021-07-23 2021-11-02 北京字节跳动网络技术有限公司 色温调节方法、装置和电子设备
CN114647474A (zh) * 2022-03-28 2022-06-21 展讯半导体(南京)有限公司 护眼模式的调节方法、系统、显示设备及介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090040170A1 (en) * 2007-08-10 2009-02-12 Sony Ericsson Mobile Communications Ab Electronic device comprising a display with adjustable brightness, chromaticity or both
CN101789230A (zh) * 2009-01-24 2010-07-28 联想(北京)有限公司 一种电子设备及该设备显示器件的屏幕亮度的调整方法
CN103391363A (zh) * 2013-07-11 2013-11-13 广东欧珀移动通信有限公司 一种拍照预览显示方法、装置及移动终端
CN104423913A (zh) * 2013-08-30 2015-03-18 联想(北京)有限公司 光线参数测量方法、装置及屏幕调节方法、电子设备
CN104428829A (zh) * 2012-06-21 2015-03-18 华为终端有限公司 色彩控制方法和通信装置
CN104580701A (zh) * 2014-12-16 2015-04-29 深圳市金立通信设备有限公司 一种终端
CN105185301A (zh) * 2015-08-12 2015-12-23 西安诺瓦电子科技有限公司 显示屏亮度调节方法
CN105357013A (zh) * 2015-11-25 2016-02-24 广东欧珀移动通信有限公司 一种用户界面的调整方法及用户终端
CN105791708A (zh) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 一种拍摄控制方法、装置及智能终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240629B (zh) * 2013-06-19 2017-11-28 联想(北京)有限公司 一种信息处理的方法及电子设备
CN105304061B (zh) * 2015-02-10 2017-11-28 维沃移动通信有限公司 终端的显示画面的调节方法及终端

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090040170A1 (en) * 2007-08-10 2009-02-12 Sony Ericsson Mobile Communications Ab Electronic device comprising a display with adjustable brightness, chromaticity or both
CN101789230A (zh) * 2009-01-24 2010-07-28 联想(北京)有限公司 一种电子设备及该设备显示器件的屏幕亮度的调整方法
CN104428829A (zh) * 2012-06-21 2015-03-18 华为终端有限公司 色彩控制方法和通信装置
CN103391363A (zh) * 2013-07-11 2013-11-13 广东欧珀移动通信有限公司 一种拍照预览显示方法、装置及移动终端
CN104423913A (zh) * 2013-08-30 2015-03-18 联想(北京)有限公司 光线参数测量方法、装置及屏幕调节方法、电子设备
CN104580701A (zh) * 2014-12-16 2015-04-29 深圳市金立通信设备有限公司 一种终端
CN105185301A (zh) * 2015-08-12 2015-12-23 西安诺瓦电子科技有限公司 显示屏亮度调节方法
CN105357013A (zh) * 2015-11-25 2016-02-24 广东欧珀移动通信有限公司 一种用户界面的调整方法及用户终端
CN105791708A (zh) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 一种拍摄控制方法、装置及智能终端

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107978296A (zh) * 2017-12-22 2018-05-01 深圳市彤兴电子有限公司 一种具有护眼功能的显示器及电子设备
CN108538263A (zh) * 2018-03-30 2018-09-14 合肥京东方显示光源有限公司 一种色温调节方法和装置
US10699670B2 (en) 2018-03-30 2020-06-30 Boe Technology Group Co., Ltd. Method and apparatus for adjusting color temperature of display device
CN108538263B (zh) * 2018-03-30 2020-07-03 合肥京东方显示光源有限公司 一种色温调节方法和装置
US12073800B2 (en) 2020-12-25 2024-08-27 Fuzhou Boe Optoelectronics Technology Co., Ltd. Stacked-screen display device and method for controlling display device
CN115225759A (zh) * 2021-04-15 2022-10-21 北京小米移动软件有限公司 色温检测装置、方法、设备、终端及存储介质

Also Published As

Publication number Publication date
CN107517368A (zh) 2017-12-26

Similar Documents

Publication Publication Date Title
WO2017215142A1 (zh) 终端显示内容的色温调节方法及装置
WO2018006794A1 (zh) 亮度调节方法、装置、移动终端和计算机存储介质
US9521308B2 (en) Electronic device and method for controlling flash
US9262984B2 (en) Device and method for controlling rotation of displayed image
WO2018000503A1 (zh) 调节终端lcd背光亮度的方法、装置以及终端
US20170054899A1 (en) System and method for controlling capture of images
EP2990937A1 (en) Wearable electronic device
CN106210330B (zh) 一种图像处理方法及终端
WO2015074201A1 (zh) 一种调节背光亮度的方法、装置及电子设备
WO2014201958A1 (zh) 调整屏幕背光亮度的方法和装置以及终端
EP3352162A2 (en) Display system with automatic brightness adjustment
US9882404B2 (en) Method and apparatus for power management
US10037745B2 (en) Applying an application-specific ambient light setting configuration
WO2016070541A1 (zh) 投影仪自适应调整方法、装置及计算机存储介质
US20150062185A1 (en) Electronic apparatus and method for controlling brightness for a display
US20150234461A1 (en) Display control device, display control method and recording medium
WO2015192489A1 (zh) 一种移动终端拍照方法、装置及移动拍照终端
WO2017092309A1 (zh) 屏幕调节显示亮度的方法、装置及电子设备
US20140306943A1 (en) Electronic device and method for adjusting backlight of electronic device
TW201439890A (zh) 字體調整方法及系統
US20170084307A1 (en) Method and apparatus for editing video scenes based on learned user preferences
WO2017076054A1 (zh) 一种亮度变更的控制方法和装置
US10276126B2 (en) Information processing method and electronic device
TWI633536B (zh) 電子設備、顯示螢幕調節方法
WO2017076047A1 (zh) 用于相机开机时控制图像曝光收敛的方法和装置

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: 16905254

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: 16905254

Country of ref document: EP

Kind code of ref document: A1