[go: up one dir, main page]

CN106453965B - Self-adaptive adjusting method and device for terminal backlight - Google Patents

Self-adaptive adjusting method and device for terminal backlight Download PDF

Info

Publication number
CN106453965B
CN106453965B CN201611101989.0A CN201611101989A CN106453965B CN 106453965 B CN106453965 B CN 106453965B CN 201611101989 A CN201611101989 A CN 201611101989A CN 106453965 B CN106453965 B CN 106453965B
Authority
CN
China
Prior art keywords
backlight
value
light sensation
environment light
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611101989.0A
Other languages
Chinese (zh)
Other versions
CN106453965A (en
Inventor
郭凌
冷文华
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611101989.0A priority Critical patent/CN106453965B/en
Publication of CN106453965A publication Critical patent/CN106453965A/en
Application granted granted Critical
Publication of CN106453965B publication Critical patent/CN106453965B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to a method and a device for self-adaptive adjustment of terminal backlight. The method comprises the following steps: detecting operation of adjusting backlight brightness, recording an ambient light sensing value when the operation occurs, and acquiring backlight values of terminals before and after the operation; when the ambient light sensitivity value of the terminal is determined to be changed, calculating a backlight value corresponding to the current ambient light sensitivity value according to the ambient light sensitivity value when the operation occurs and the backlight values before and after the operation; and adjusting the backlight of the terminal according to the corresponding backlight value. The invention can self-adaptively and dynamically adjust the backlight of the terminal according to the use habit of the user, and improves the precision of backlight adjustment.

Description

终端背光的自适应调节方法和装置Adaptive adjustment method and device for terminal backlight

技术领域technical field

本发明涉及智能终端技术领域,特别是涉及终端背光的自适应调节方法和终端背光的自适应调节装置。The present invention relates to the technical field of intelligent terminals, in particular to an adaptive adjustment method of terminal backlight and an adaptive adjustment device of terminal backlight.

背景技术Background technique

随着智能手机技术的日益更新,一些智能手机已自带有自动背光功能,能够自动调节手机的背光亮度,便于用户查看手机信息,同时也更省电。通常自动背光功能的实现方法为:预先设置好不同环境光线下的背光亮度,然后感应当前环境光线的强弱,根据预先设置的环境光线-背光亮度的对应关系,找到对应的背光亮度,从而调节手机屏幕的背光亮度。With the increasing updating of smart phone technology, some smart phones have their own automatic backlight function, which can automatically adjust the backlight brightness of the mobile phone, which is convenient for users to view mobile phone information, and also saves power. Usually, the automatic backlight function is realized by: presetting the backlight brightness under different ambient light, then sensing the current ambient light intensity, and finding the corresponding backlight brightness according to the preset ambient light-backlight brightness correspondence, so as to adjust The brightness of the backlight of the phone screen.

然而这种自动背光功能通常是在出厂时设置好的,因此调节模式较为固定,难以兼顾不同用户的使用习惯,例如有的用户习惯于偏亮的背光亮度,有的用户习惯于偏暗的背光亮度。虽然也有智能手机将自动背光功能的编辑功能开放给用户,但用户操作复杂,并且实现方式仍然是基于预先设置的环境光线-背光亮度的对应关系进行,调节精度存在局限。However, this automatic backlight function is usually set at the factory, so the adjustment mode is relatively fixed, and it is difficult to take into account the usage habits of different users. For example, some users are used to brighter backlight brightness, and some users are used to darker backlights. brightness. Although some smart phones open the editing function of the automatic backlight function to the user, the user operation is complicated, and the implementation method is still based on the preset corresponding relationship between ambient light and backlight brightness, and the adjustment accuracy is limited.

发明内容SUMMARY OF THE INVENTION

基于此,本发明实施例提供了终端背光的自适应调节方法和装置,能够根据用户的使用习惯自适应动态调整终端背光,提高了背光调节的精度。Based on this, the embodiments of the present invention provide an adaptive adjustment method and device for the terminal backlight, which can adaptively and dynamically adjust the terminal backlight according to the user's usage habits, thereby improving the accuracy of backlight adjustment.

本发明一方面提供终端背光的自适应调节方法,包括:One aspect of the present invention provides an adaptive adjustment method for a terminal backlight, including:

检测调节背光亮度的操作,记录所述操作发生时环境光感值,并获取所述操作前后终端的背光值;Detecting the operation of adjusting the brightness of the backlight, recording the ambient light sensitivity value when the operation occurs, and acquiring the backlight value of the terminal before and after the operation;

当确定终端的环境光感值发生变化时,根据所述操作发生时的环境光感值以及所述操作前后的背光值,计算与当前环境光感值对应的背光值;When it is determined that the ambient light sensitivity value of the terminal changes, calculate the backlight value corresponding to the current ambient light sensitivity value according to the ambient light sensitivity value when the operation occurs and the backlight value before and after the operation;

根据所述对应的背光值调节终端的背光。The backlight of the terminal is adjusted according to the corresponding backlight value.

本发明另一方面提供一种终端背光的自适应调节装置,包括:Another aspect of the present invention provides an adaptive adjustment device for terminal backlight, including:

操作检测模块,用于检测调节背光亮度的操作,记录所述操作发生时环境光感值,并获取所述操作前后终端的背光值;an operation detection module, configured to detect an operation of adjusting the brightness of the backlight, record the ambient light sensitivity value when the operation occurs, and obtain the backlight value of the terminal before and after the operation;

背光计算模块,用于当确定终端的环境光感值发生变化时,根据所述操作发生时的环境光感值以及所述操作前后的背光值,计算与当前环境光感值对应的背光值;A backlight calculation module, configured to calculate a backlight value corresponding to the current ambient light sensitivity value according to the ambient light sensitivity value when the operation occurs and the backlight value before and after the operation when it is determined that the ambient light sensitivity value of the terminal changes;

背光调节模块,用于根据所述对应的背光值调节终端的背光。The backlight adjustment module is used to adjust the backlight of the terminal according to the corresponding backlight value.

上述技术方案,当检测调节背光亮度的操作时,记录所述操作发生时环境光感值,并获取所述操作前后终端的背光值;此后,若确定终端的环境光感值发生变化,可根据所述操作发生时的环境光感值以及所述操作前后的背光值,自适应的计算与当前环境光感值对应的背光值;进而根据所述对应的背光值调节终端的背光。一方面无需用户多次进行背光调节操作,简化了用户操作;另一方面实现了根据不同用户的使用习惯自适应动态调整终端的背光,提高了终端背光调节的精度。In the above technical solution, when an operation of adjusting the brightness of the backlight is detected, the ambient light sensitivity value when the operation occurs is recorded, and the backlight value of the terminal before and after the operation is obtained; The ambient light sensitivity value when the operation occurs and the backlight value before and after the operation are adaptively calculated to calculate the backlight value corresponding to the current ambient light sensitivity value; and then the backlight of the terminal is adjusted according to the corresponding backlight value. On the one hand, the user does not need to perform multiple backlight adjustment operations, which simplifies the user operation;

附图说明Description of drawings

图1为一实施例的本发明方案的硬件环境示意图;1 is a schematic diagram of a hardware environment of the solution of the present invention according to an embodiment;

图2为一实施例的终端背光的自适应调节方法的示意性流程图;FIG. 2 is a schematic flowchart of an adaptive adjustment method for a terminal backlight according to an embodiment;

图3为另一实施例的终端背光的自适应调节方法的示意性流程图;3 is a schematic flowchart of a method for adaptively adjusting a backlight of a terminal according to another embodiment;

图4为一实施例的终端背光的自适应调节装置的示意性结构图;4 is a schematic structural diagram of an apparatus for self-adapting backlight of a terminal according to an embodiment;

图5为另一实施例的终端背光的自适应调节装置的示意性结构图。FIG. 5 is a schematic structural diagram of an apparatus for self-adapting backlight of a terminal according to another embodiment.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

图1为实现本发明实施例终端背光的自适应调节方法的硬件环境示意图;实现本发明实施例的终端背光的自适应调节方法的硬件环境为设置有自动背光功能的智能终端,并且所述智能终端至少还包括通过系统总线连接的处理器、光传感器、显示模组、电源接口和存储介质。其中,处理器可获取光传感器采集到的环境光感值,根据环境光感值控制显示模组对终端的背光亮度进行调节;电源接口用于与外部电源连接,外部电源通过该电源接口向智能终端电池供电;所述存储介质中至少存储有操作系统、数据库以及一种终端背光的自适应调节装置,该装置可用于实现本发明实施例的终端背光的自适应调节方法。所述智能终端可以为手机、平板电脑等,也可以是其他具有上述结构的设备。1 is a schematic diagram of a hardware environment for implementing an adaptive adjustment method for a terminal backlight according to an embodiment of the present invention; the hardware environment for implementing the adaptive adjustment method for a terminal backlight according to an embodiment of the present invention is an intelligent terminal provided with an automatic backlight function, and the intelligent The terminal further includes at least a processor, a light sensor, a display module, a power interface and a storage medium connected through the system bus. Among them, the processor can obtain the ambient light sensitivity value collected by the light sensor, and control the display module to adjust the backlight brightness of the terminal according to the ambient light sensitivity value; The terminal is powered by a battery; the storage medium stores at least an operating system, a database, and an adaptive adjustment device for the terminal backlight, which can be used to implement the adaptive adjustment method for the terminal backlight of the embodiment of the present invention. The intelligent terminal may be a mobile phone, a tablet computer, etc., or other devices having the above-mentioned structure.

结合图1及上述对硬件环境的说明,以下对终端背光的自适应调节方法的实施例进行说明。With reference to FIG. 1 and the above description of the hardware environment, an embodiment of an adaptive adjustment method for a backlight of a terminal will be described below.

图2为一实施例的终端背光的自适应调节方法的示意性流程图;如图2所示,本实施例中的终端背光的自适应调节方法包括步骤:FIG. 2 is a schematic flowchart of an adaptive adjustment method for a terminal backlight according to an embodiment; as shown in FIG. 2 , the adaptive adjustment method for a terminal backlight in this embodiment includes steps:

S11,检测调节背光亮度的操作,记录所述操作发生时环境光感值,并获取所述操作前后终端的背光值。S11. Detect an operation of adjusting the brightness of the backlight, record the ambient light sensitivity value when the operation occurs, and acquire the backlight value of the terminal before and after the operation.

对于智能终端来说,可通过预设的背光调节控件进行背光调整操作,所述背光调节控件可以为相应控制界面中的软件控件,例如背光进度条、背光增减按钮、背光值输入框等),也可以为对应的硬件控件。For a smart terminal, the backlight adjustment operation can be performed through a preset backlight adjustment control, and the backlight adjustment control can be a software control in a corresponding control interface, such as a backlight progress bar, a backlight increase or decrease button, a backlight value input box, etc.) , or it can be the corresponding hardware control.

所述操作发生时环境光感值指的是检测到所述操作发生时刻对应的环境光感值;所述获取所述操作前终端的背光值,即是操作发生时环境光感值对应的预设背光值;所述获取所述操作后终端的背光值指的是,所述操作所设置的背光值。以背光进度条为例,所述获取所述操作前终端的背光值,即是用户打开背光进度条之后操作所述背光进度条之前,背光进度条对应的背光值,所述获取所述操作后的背光值即是用户停止操作所述背光进度条时背光进度条对应的背光值。所述背光值指的是背光亮度值。The ambient light sensitivity value when the operation occurs refers to the ambient light sensitivity value corresponding to the moment when the operation occurs; the acquisition of the backlight value of the terminal before the operation is the prediction corresponding to the ambient light sensitivity value when the operation occurs. Setting the backlight value; the obtaining the backlight value of the terminal after the operation refers to the backlight value set by the operation. Taking the backlight progress bar as an example, the obtaining of the backlight value of the terminal before the operation is the backlight value corresponding to the backlight progress bar after the user opens the backlight progress bar and before operating the backlight progress bar. The backlight value of is the backlight value corresponding to the backlight progress bar when the user stops operating the backlight progress bar. The backlight value refers to the backlight brightness value.

S12,当确定终端的环境光感值发生变化时,根据所述操作发生时的环境光感值以及所述操作前后的背光值,计算与当前环境光感值对应的背光值。S12, when it is determined that the ambient light sensitivity value of the terminal changes, calculate the backlight value corresponding to the current ambient light sensitivity value according to the ambient light sensitivity value when the operation occurs and the backlight value before and after the operation.

本实施例中,可按照设定时间周期或者实时获取环境光感采集到的光感值,检测本次获取到的环境光感值相对于上一次获取到的环境光感值的变化量是否达到设定的阈值,若是,则确定为环境光感值发生变化。In this embodiment, the light sensitivity value collected by the ambient light sensitivity can be obtained according to a set time period or in real time, and it is detected whether the change amount of the ambient light sensitivity value obtained this time relative to the ambient light sensitivity value obtained last time reaches If the threshold is set, it is determined that the ambient light sensitivity value has changed.

本实施例中,即是从用户调节背光亮度的操作中确定出所述用户对背光的使用习惯,根据所述使用习惯对自适应动态计算不同环境光感值情况下的背光值,无需用户分别针对不同环境光感值设置背光值。In this embodiment, the user's use habit of the backlight is determined from the user's operation of adjusting the backlight brightness, and the backlight value under different ambient light sensitivity values is adaptively and dynamically calculated according to the use habit, without the need for the user to separately Set the backlight value for different ambient light sensitivity values.

S13,根据所述对应的背光值调节终端的背光。S13: Adjust the backlight of the terminal according to the corresponding backlight value.

本实施例中,用于判断终端的环境光感值是否发生变化的阈值可根据实际情况进行调整,为了防止终端背光的切换太频繁,所述阈值不应当设置得过小;为了保证背光调节的灵敏度,所述阈值也不应当设置得过大。In this embodiment, the threshold for judging whether the ambient light sensitivity value of the terminal has changed can be adjusted according to the actual situation. In order to prevent the terminal backlight from switching too frequently, the threshold should not be set too small; sensitivity, the threshold should not be set too high.

基于本实施例的背光调节方法,无需用户多次进行背光调节操作,简化了用户操作;并且还能够从用户调节背光亮度的操作中确定出所述用户对背光的使用习惯,进而根据不同用户的使用习惯自适应动态调整终端的背光,使得终端背光调节的精度达到很高的精度。Based on the backlight adjustment method of this embodiment, the user does not need to perform multiple backlight adjustment operations, which simplifies the user operation; and the user's use habit of the backlight can also be determined from the user's operation of adjusting the backlight brightness, and then according to different users. Using habit to adjust the backlight of the terminal adaptively and dynamically, so that the precision of the backlight adjustment of the terminal reaches a high precision.

图3为另一实施例的终端背光的自适应调节方法的示意性流程图;如图3所示,本实施例中的终端背光的自适应调节方法包括步骤:FIG. 3 is a schematic flowchart of a method for self-adaptive adjustment of a terminal backlight according to another embodiment; as shown in FIG. 3 , the method for self-adaptive adjustment of a terminal backlight in this embodiment includes steps:

S21,开启终端的自动背光模式,并在终端自动背光模式开启的状态下,检测对预设的背光调节控件的操作。S21: Turn on the automatic backlight mode of the terminal, and detect the operation of the preset backlight adjustment control when the automatic backlight mode of the terminal is turned on.

在一优选实施例中,所述检测对预设的背光调节控件的操作包括:检测对预设的背光进度条的滑动操作;所述获取所述操作前后终端的背光值包括:分别获取所述滑动操作前背光进度条对应的背光值,以及所述滑动操作后背光进度条对应的背光值。In a preferred embodiment, the detecting an operation on a preset backlight adjustment control includes: detecting a sliding operation on a preset backlight progress bar; the acquiring the backlight value of the terminal before and after the operation includes: acquiring the The backlight value corresponding to the backlight progress bar before the sliding operation, and the backlight value corresponding to the backlight progress bar after the sliding operation.

S22,按照设定周期获取环境光感值,根据本次获取的环境光感值与上一次获取的环境光感值判断终端的环境光感值是否发生变化,若是,执行步骤S23,若否,继续执行当前步骤。S22: Acquire the ambient light sensitivity value according to the set period, and determine whether the ambient light sensitivity value of the terminal has changed according to the ambient light sensitivity value obtained this time and the ambient light sensitivity value obtained last time, if yes, go to step S23, if not, go to step S23. Continue with the current step.

S23,根据所述操作发生时的环境光感值以及所述操作前后的背光值,计算与当前环境光感值对应的背光值。S23: Calculate a backlight value corresponding to the current ambient light sensitivity value according to the ambient light sensitivity value when the operation occurs and the backlight value before and after the operation.

在一优选实施例中,计算与当前环境光感值对应的背光值的方法可采用:获取当前环境光感值对应的预设背光值;根据当前环境光感值与所述操作发生时的环境光感值的差量,以及所述操作前后背光值的差量,对所述预设背光值进行调节,得到当前环境光感值对应的背光值。具体例如:根据如下公式计算与当前环境光感值对应的背光值:In a preferred embodiment, the method for calculating the backlight value corresponding to the current ambient light sensitivity value may be: obtaining a preset backlight value corresponding to the current ambient light sensitivity value; according to the current ambient light sensitivity value and the environment when the operation occurs The difference between the light sensitivity values and the difference between the backlight values before and after the operation is used to adjust the preset backlight value to obtain a backlight value corresponding to the current ambient light sensitivity value. For example, calculate the backlight value corresponding to the current ambient light sensitivity value according to the following formula:

D=C±m*(|bLux-aLux|)*(|B-A|);D=C±m*(|bLux-aLux|)*(|B-A|);

其中,D为调节后的当前环境光感值对应的背光值,C为当前环境光感值对应的预设背光值,bLux为当前环境光感值,aLux为所述操作发生时的环境光感值,B为所述操作后的背光值,A为所述操作前的背光值,m为预先确定的归一化后的背光调节系数。由上述可知,D是基于参数C以及(|bLux-aLux|)*(|B-A|))两项加权后的背光值。Among them, D is the backlight value corresponding to the adjusted current ambient light sensitivity value, C is the preset backlight value corresponding to the current ambient light sensitivity value, bLux is the current ambient light sensitivity value, and aLux is the ambient light sensitivity when the operation occurs. value, B is the backlight value after the operation, A is the backlight value before the operation, and m is a predetermined normalized backlight adjustment coefficient. It can be seen from the above that D is the backlight value weighted based on the parameter C and (|bLux-aLux|)*(|B-A|)).

由于一天中不同时间的环境光强不同,不同地理区域的光强存在差异,以及不同的天气状况下对环境光强也有影响,因此在一优选实施例中,在计算与当前环境光感值对应的背光值之前,可获取当前时间、天气和/或地理位置信息,并根据当前时间、天气和/或地理位置信息确定所述背光调节系数。由此可更准确的调节终端的背光。Since the ambient light intensity is different at different times of the day, the light intensity in different geographical areas is different, and the ambient light intensity is also affected by different weather conditions, in a preferred embodiment, the calculation corresponds to the current ambient light sensitivity value. Before the backlight value of , the current time, weather and/or geographic location information may be acquired, and the backlight adjustment coefficient may be determined according to the current time, weather and/or geographic location information. Thereby, the backlight of the terminal can be adjusted more accurately.

S24,根据计算得到的对应的背光值调节终端的背光。S24: Adjust the backlight of the terminal according to the corresponding calculated backlight value.

S25,用步骤S23中计算得到的背光值对当前环境光感值对应的预设背光值进行更新。S25, using the backlight value calculated in step S23 to update the preset backlight value corresponding to the current ambient light sensitivity value.

需要说明的是,步骤S24和步骤S25的执行顺序也可以互换,还可以同时执行。It should be noted that, the execution order of step S24 and step S25 may also be interchanged, and may also be executed simultaneously.

通过本实施例中的终端背光的自适应调节方法,在自动背光模式下,用户察觉当前的背光亮度不符合使用感受,可手动拖动进度条改变了背光亮度,终端将记忆用户的使用习惯,并根据用户的使用习惯对自动背光算法进行自适应动态调整,使自动背光调整更加符合用户使用习惯。由于更新后的当前环境光感值对应的预设背光值D是基于各项参数加权后的值,下次基于自动背光模式进行自动背光调节时,将更加符合用户的感受。Through the self-adaptive adjustment method of the terminal backlight in this embodiment, in the automatic backlight mode, if the user perceives that the current backlight brightness does not meet the usage experience, he can manually drag the progress bar to change the backlight brightness, and the terminal will remember the user's usage habits. And according to the user's usage habits, the automatic backlight algorithm is adaptively and dynamically adjusted, so that the automatic backlight adjustment is more in line with the user's usage habits. Since the preset backlight value D corresponding to the updated current ambient light sensitivity value is based on the weighted value of various parameters, the next time the automatic backlight adjustment is performed based on the automatic backlight mode, it will be more in line with the user's feeling.

需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。此外,还可对上述实施例进行任意组合,得到其他的实施例。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because Certain steps may be performed in other orders or simultaneously in accordance with the present invention. In addition, any combination of the above-mentioned embodiments can also be performed to obtain other embodiments.

基于与上述实施例中的终端背光的自适应调节方法相同的思想,本发明还提供实现终端背光的自适应调节装置,该装置可用于执行上述终端背光的自适应调节方法。为了便于说明,终端背光的自适应调节装置实施例的结构示意图中,仅仅示出了与本发明实施例相关的部分,本领域技术人员可以理解,图示结构并不构成对装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Based on the same idea as the self-adaptive adjustment method of the terminal backlight in the above-mentioned embodiment, the present invention also provides a device for realizing the self-adaptive adjustment of the terminal backlight, and the device can be used to execute the above-mentioned self-adaptive adjustment method of the terminal backlight. For the convenience of description, in the schematic structural diagram of the embodiment of the device for self-adaptive adjustment of the terminal backlight, only the part related to the embodiment of the present invention is shown. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the device. Include more or fewer components than shown, or combine certain components, or arrange different components.

图4为本发明一实施例的终端背光的自适应调节装置的示意性结构图;如图4所示,本实施例的终端背光的自适应调节装置包括:操作检测模块410、背光计算模块420以及背光调节模块430,各模块详述如下:FIG. 4 is a schematic structural diagram of an apparatus for self-adapting backlight of a terminal according to an embodiment of the present invention; as shown in FIG. 4 , the apparatus for self-adaptive adjusting of terminal backlight in this embodiment includes: an operation detection module 410 and a backlight calculation module 420 And the backlight adjustment module 430, each module is described in detail as follows:

所述操作检测模块410,用于检测调节背光亮度的操作,记录所述操作发生时环境光感值,并获取所述操作前后终端的背光值。The operation detection module 410 is configured to detect the operation of adjusting the brightness of the backlight, record the ambient light sensitivity value when the operation occurs, and obtain the backlight value of the terminal before and after the operation.

所述背光计算模块420,用于当确定终端的环境光感值发生变化时,根据所述操作发生时的环境光感值以及所述操作前后的背光值,计算与当前环境光感值对应的背光值;The backlight calculation module 420 is configured to, when it is determined that the ambient light sensitivity value of the terminal changes, according to the ambient light sensitivity value when the operation occurs and the backlight value before and after the operation, calculate the value corresponding to the current ambient light sensitivity value. backlight value;

所述背光调节模块430,用于根据所述对应的背光值调节终端的背光。The backlight adjustment module 430 is configured to adjust the backlight of the terminal according to the corresponding backlight value.

在一优选实施例中,所述操作检测模块410,具体用于在终端自动背光模式开启的状态下,检测对预设的背光调节控件的操作,并记录所述操作发生时环境光感值,并获取所述操作前后终端的背光值。In a preferred embodiment, the operation detection module 410 is specifically configured to detect the operation of the preset backlight adjustment control when the terminal automatic backlight mode is turned on, and record the ambient light sensitivity value when the operation occurs, And obtain the backlight value of the terminal before and after the operation.

在一优选实施例中,所述背光计算模块420可包括:In a preferred embodiment, the backlight calculation module 420 may include:

预设值获取单元,用于获取当前环境光感值对应的预设背光值;以及,预设值调节单元,用于根据当前环境光感值与所述操作发生时的环境光感值的差量,以及所述操作前后背光值的差量,对所述预设背光值进行调节,得到当前环境光感值对应的背光值。具体实施方式可参考上述实施例所述。a preset value obtaining unit, used for obtaining a preset backlight value corresponding to the current ambient light sensitivity value; and a preset value adjusting unit, used for obtaining a preset value according to the difference between the current ambient light sensitivity value and the ambient light sensitivity value when the operation occurs The preset backlight value is adjusted to obtain the backlight value corresponding to the current ambient light sensitivity value. For specific implementations, reference may be made to the above-mentioned embodiments.

进一步的,如图5所示,在一优选实施例中,所述的终端背光的自适应调节装置还包括有:更新模块440,用于根据所述背光计算模块计算得到的背光值,对当前环境光感值对应的预设背光值进行更新。由于更新后的当前环境光感值对应的预设背光值是自适应动态计算出的值,下次基于自动背光模式进行自动背光调节时,将更加符合用户的感受。Further, as shown in FIG. 5 , in a preferred embodiment, the device for self-adapting the backlight of the terminal further includes: an update module 440 for updating the current backlight value according to the backlight value calculated by the backlight calculation module. The preset backlight value corresponding to the ambient light sensitivity value is updated. Since the preset backlight value corresponding to the updated current ambient light sensitivity value is a value that is adaptively and dynamically calculated, the next time the automatic backlight adjustment is performed based on the automatic backlight mode, it will be more in line with the user's feeling.

需要说明的是,上述示例的终端背光的自适应调节装置的实施方式中,各模块之间的信息交互、执行过程等内容,由于与本发明前述方法实施例基于同一构思,其带来的技术效果与本发明前述方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that, in the implementation of the device for self-adaptive adjustment of the terminal backlight in the above example, the information exchange and execution process between the modules are based on the same concept as the foregoing method embodiments of the present invention, and the technology brought by it is based on the same concept. The effect is the same as that of the foregoing method embodiments of the present invention. For specific content, reference may be made to the descriptions in the method embodiments of the present invention, which will not be repeated here.

此外,上述示例的终端背光的自适应调节装置的实施方式中,各功能模块的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的功能模块完成,即将所述终端背光的自适应调节装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。其中各功能模既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, in the embodiment of the device for self-adaptive adjustment of the terminal backlight in the above example, the logical division of each functional module is only an example, and in practical applications, it can be used as needed, for example, due to the configuration requirements of the corresponding hardware or the convenience of software implementation. , the above-mentioned function distribution is completed by different function modules, that is, the internal structure of the self-adaptive adjustment device of the terminal backlight is divided into different function modules, so as to complete all or part of the functions described above. Each function module can be realized in the form of hardware or in the form of software function modules.

本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,作为独立的产品销售或使用。所述程序在执行时,可执行如上述各方法的实施例的全部或部分步骤。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium as a Standalone product for sale or use. When the program is executed, all or part of the steps in the foregoing method embodiments can be performed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

以上所述实施例仅表达了本发明的几种实施方式,不能理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and should not be construed as limiting the patent scope of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the appended claims.

Claims (11)

1. a kind of adaptive regulation method of terminal backlight characterized by comprising
The operation for detecting adjusting backlight luminance records environment light sensation value when the operation occurs, and obtains the operation front and back eventually The backlight value at end;
Environment light sensation value and the behaviour when the environment light sensation value for determining terminal changes, when being occurred according to the operation Make the backlight value of front and back, calculates backlight value corresponding with current environment light sensation value;
The backlight of terminal is adjusted according to the corresponding backlight value;
Wherein, described the step of adjusting the backlight of terminal according to the corresponding backlight value, includes:
Obtain the corresponding default backlight value of current environment light sensation value;
Backlight before and after the residual quantity and the operation of environment light sensation value when being occurred according to current environment light sensation value and the operation The default backlight value is adjusted in the residual quantity of value, obtains the corresponding backlight value of current environment light sensation value;Wherein, pass through meter Calculate the difference of backlight value before and after obtaining current environment light sensation value and the residual quantity for operating environment light sensation value when occurring, the operation Amount and the product of predetermined backlight adjustment factor three, it is corresponding to current environment light sensation value default according to the product Backlight value is adjusted, the corresponding backlight value of current environment light sensation value after being adjusted.
2. the adaptive regulation method of terminal backlight according to claim 1, which is characterized in that further include:
The environment light sensation value that terminal is obtained according to the setting period, compares environment light sensation value that this gets and the last time gets Environment light sensation value, if the difference of the two is more than or equal to given threshold, the environment light sensation value for being determined as terminal changes.
3. the adaptive regulation method of terminal backlight according to claim 1, which is characterized in that calculate according to the following formula Backlight value corresponding with current environment light sensation value:
D=C ± m* (| bLux-aLux |) * (| B-A |);
Wherein, D is the corresponding backlight value of current environment light sensation value after adjusting, and C is the corresponding default back of current environment light sensation value Light value, bLux are current environment light sensation value, and aLux is the environment light sensation value when operation occurs, and B is the back after the operation Light value, A are the preoperative backlight value, and m is predetermined backlight adjustment factor, and m is the coefficient after normalization.
4. the adaptive regulation method of terminal backlight according to claim 3, which is characterized in that occurred according to the operation When environment light sensation value and the operation before and after backlight value, before calculating corresponding with current environment light sensation value backlight value, Further include:
Current time, weather and/or geographical location information are obtained, and true according to current time, weather and/or geographical location information The fixed backlight adjustment factor.
5. the adaptive regulation method of terminal backlight according to any one of claims 1 to 4, which is characterized in that the detection The operation of adjusting backlight luminance includes:
In the state that terminal automatic backlight mode is opened, the operation that control is adjusted to preset backlight is detected.
6. the adaptive regulation method of terminal backlight according to claim 5, which is characterized in that the detection is to preset The operation that backlight adjusts control includes: slide of the detection to preset backlight progress bar;
The backlight value for obtaining operation front and back terminal includes: backlight progress bar correspondence before obtaining the slide respectively Backlight value and the slide after the corresponding backlight value of backlight progress bar.
7. the adaptive regulation method of terminal backlight according to any one of claims 1 to 4, which is characterized in that calculate and work as After the corresponding backlight value of preceding environment light sensation value, further includes:
The corresponding default backlight value of current environment light sensation value is updated with the backlight value being calculated.
8. a kind of self-adaptive regulating of terminal backlight characterized by comprising
Detection module is operated, for detecting the operation of adjusting backlight luminance, records environment light sensation value when the operation occurs, and obtain Take the backlight value of operation front and back terminal;
Backlight computing module, for the ring when the environment light sensation value for determining terminal changes, when being occurred according to the operation Backlight value before and after border light sensation value and the operation calculates backlight value corresponding with current environment light sensation value;
Backlight adjustment module, for adjusting the backlight of terminal according to the corresponding backlight value;
Wherein, the backlight computing module includes:
Preset value acquiring unit, for obtaining the corresponding default backlight value of current environment light sensation value;
Preset value adjusts unit, the residual quantity of environment light sensation value when for being occurred according to current environment light sensation value and the operation, And the residual quantity of operation front and back backlight value, the default backlight value is adjusted, it is corresponding to obtain current environment light sensation value Backlight value;Wherein, the residual quantity of environment light sensation value when obtaining current environment light sensation value and the operation generation by calculating, institute The operation front and back residual quantity of backlight value and the product of predetermined backlight adjustment factor three are stated, according to the product to current The corresponding default backlight value of environment light sensation value is adjusted, the corresponding backlight value of current environment light sensation value after being adjusted.
9. the self-adaptive regulating of terminal backlight according to claim 8, which is characterized in that further include:
Update module, the backlight value for being calculated according to the backlight computing module are corresponding to current environment light sensation value Default backlight value is updated.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that can when described program is executed by processor Realize the adaptive regulation method of the terminal backlight as described in any one of claims 1 to 7.
11. a kind of intelligent terminal, including storage medium, processor and storage can be run on a storage medium and on a processor Computer program, the processor realizes the terminal backlight as described in any one of claims 1 to 7 when executing described program Adaptive regulation method.
CN201611101989.0A 2016-12-05 2016-12-05 Self-adaptive adjusting method and device for terminal backlight Active CN106453965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611101989.0A CN106453965B (en) 2016-12-05 2016-12-05 Self-adaptive adjusting method and device for terminal backlight

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611101989.0A CN106453965B (en) 2016-12-05 2016-12-05 Self-adaptive adjusting method and device for terminal backlight

Publications (2)

Publication Number Publication Date
CN106453965A CN106453965A (en) 2017-02-22
CN106453965B true CN106453965B (en) 2019-07-09

Family

ID=58224160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611101989.0A Active CN106453965B (en) 2016-12-05 2016-12-05 Self-adaptive adjusting method and device for terminal backlight

Country Status (1)

Country Link
CN (1) CN106453965B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503925A (en) * 2019-09-02 2019-11-26 深圳利亚德光电有限公司 Adjusting method, device, storage medium and the processor of the backlight illumination of display screen
CN110556080B (en) * 2019-10-14 2021-03-16 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for adjusting backlight
CN113639861A (en) * 2021-07-30 2021-11-12 上海探寻信息技术有限公司 Light sensation detection method and wearable device
CN113851092B (en) * 2021-11-16 2023-10-17 展讯通信(天津)有限公司 Dynamic backlight adjusting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1780991A1 (en) * 2005-10-31 2007-05-02 Research In Motion Limited Automatic screen and keypad brightness adjustment on a mobile handheld electronic device
CN104424914A (en) * 2013-08-27 2015-03-18 联想(北京)有限公司 Method and device for backlight adjustment
CN105869603A (en) * 2015-09-22 2016-08-17 乐视致新电子科技(天津)有限公司 Screen brightness regulation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1780991A1 (en) * 2005-10-31 2007-05-02 Research In Motion Limited Automatic screen and keypad brightness adjustment on a mobile handheld electronic device
CN104424914A (en) * 2013-08-27 2015-03-18 联想(北京)有限公司 Method and device for backlight adjustment
CN105869603A (en) * 2015-09-22 2016-08-17 乐视致新电子科技(天津)有限公司 Screen brightness regulation method and device

Also Published As

Publication number Publication date
CN106453965A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106453965B (en) Self-adaptive adjusting method and device for terminal backlight
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
CN104811544B (en) A kind of screen luminance adjustment method
CN106445151B (en) Terminal screen brightness control method and terminal
JP6091981B2 (en) Menstruation scheduled date calculation device and program
CN106558295A (en) Screen brightness regulation method and device
CN108401078B (en) Backlight brightness adjusting method and device, mobile terminal and readable storage medium
CN110971761B (en) Method, device, mobile terminal and storage medium for generating display parameter curve
CN106250430A (en) The sort method of smart machine list and device
CN109272917B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN110146161A (en) Method and device for detecting ambient illumination intensity and terminal
WO2016183887A1 (en) Backlight control method and device, and computer storage medium
CN105551453A (en) Screen brightness adjusting method and apparatus
WO2018233417A1 (en) Method and device for adjusting color temperature of screen, and electronic device
CN107256122B (en) screen brightness adjusting method, device, terminal and computer readable storage medium
CN106710570A (en) Interface brightness adjusting method, interface brightness adjusting device, and equipment
JP2011508247A (en) Method and apparatus for optimizing display color fidelity using performance prediction
CN110221897A (en) Character size adjusting method and device, terminal equipment and medium
CN111524492A (en) Method and device for automatically adjusting screen brightness in preset mode
CN110556080A (en) Method, device, terminal and storage medium for adjusting backlight
CN113707102A (en) Backlight brightness adjusting method and device, terminal equipment and storage medium
CN112233631A (en) Device and method for automatically adjusting screen brightness of all-solid-state tablet personal computer
CN117472315A (en) A tablet computer eye protection system and method
CN103577181A (en) Method for regulating skin brightness of input method and terminal
CN114298403B (en) Method and device for predicting the attention of works

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant