WO2020034876A1 - 背光调整的方法及装置 - Google Patents
背光调整的方法及装置 Download PDFInfo
- Publication number
- WO2020034876A1 WO2020034876A1 PCT/CN2019/099431 CN2019099431W WO2020034876A1 WO 2020034876 A1 WO2020034876 A1 WO 2020034876A1 CN 2019099431 W CN2019099431 W CN 2019099431W WO 2020034876 A1 WO2020034876 A1 WO 2020034876A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- backlight
- value
- backlight value
- adjustment
- light intensity
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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
- G09G3/34—Control 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 by control of light from an independent source
- G09G3/3406—Control of illumination source
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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
- G09G3/34—Control 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 by control of light from an independent source
Definitions
- the present application relates to the field of display technology, and in particular, to a method and a device for backlight adjustment.
- Backlight adjustment technology has been widely used in the display field.
- the automatic backlight adjustment technology when the ambient light intensity changes, according to the ambient light intensity and the backlight value.
- the mapping relationship between them determines the backlight value corresponding to the current ambient light intensity, and adjusts the backlight value of the display. Due to the difference in individual photosensitivity of the user, it is combined with manual adjustment after automatic adjustment, so that the backlight value of the display is adapted to the user Demand for light intensity and darkness.
- the corresponding backlight adjustment factor is determined by the user manually changing the position of the brightness bar, and then the backlight value of the display is adjusted based on the backlight adjustment factor.
- the size of the backlight adjustment factor determined by this method cannot reflect that the adjusted backlight value is less than the automatic backlight value, or the adjusted backlight.
- the value is greater than the automatic backlight value, that is, it cannot reflect the rule that the user increases or decreases the backlight value, and cannot truly adapt to the user's demand for backlight value suppression or compensation, resulting in poor user experience.
- This application provides a method and device for backlight adjustment, which are used to solve the technical problem of poor user experience.
- the present application provides a backlight adjustment method.
- the method includes: in a mode of automatically adjusting the backlight, collecting a first backlight value that is automatically adjusted and a second backlight value obtained based on a user adjustment rule; A backlight value and the second backlight value to determine a backlight adjustment factor; when it is detected that the ambient light intensity changes from the first light intensity to the second light intensity, a third backlight value corresponding to the second light intensity is determined, where The third backlight value is an automatically adjusted backlight value corresponding to the second light intensity; adjusting the third backlight value based on the backlight adjustment factor to obtain the second light intensity corresponding to satisfying the user Adjust the regular fourth backlight value.
- the electronic device determines the backlight adjustment factor based on the automatically adjusted first backlight value and the second backlight value obtained by the user's adjustment rule, and the backlight adjustment factor is to adapt to the user's demand for the brightness of the backlight value
- the obtained reflects the user's usage habits, and determines a reasonable backlight value based on the relationship between the backlight adjustment factor and the automatically adjusted backlight value, so that the adjustment of the backlight value can be based on the adjustment rule of the user, improving the user's Experience the effect.
- a backlight adjustment factor Adj (user-AutoBri) / (MaxBri-MinBri) is determined based on the first backlight value and the second backlight value; where Adj is the backlight adjustment factor and user is all The second backlight value, AutoBri is the first backlight value, MaxBri is the maximum backlight value, and MinBri is the minimum backlight value;
- Adjusting the third backlight value based on the backlight adjustment factor to obtain a fourth backlight value corresponding to the second light intensity that satisfies the user adjustment rule includes:
- AdjAutoBri Math.round ((Value ⁇ gamma) * 255)
- gamma is an intermediate coefficient of suppression compensation of backlight value
- Valu is a normalized value of the third backlight value
- AdjAutoBri is the fourth backlight value
- Math.round () represents a calculation function.
- the range of backlight value adjustment is divided into a first region and a second region based on the AutoBri, wherein the range of the first region is [MinBri, AutoBri] and the range of the second region is [AutoBri, MaxBri];
- a value range of the backlight adjustment factor is [-1, 1].
- an embodiment of the present application provides a backlight adjustment device.
- the device includes:
- An acquisition module configured to collect an automatically adjusted first backlight value and a second backlight value obtained based on a user adjustment rule in an automatic backlight adjustment mode
- a determining module configured to determine a backlight adjustment factor based on the first backlight value and the second backlight value; when detecting that the ambient light intensity changes from the first light intensity to the second light intensity, determine the second light A third backlight value corresponding to the intensity, wherein the third backlight value is an automatically adjusted backlight value corresponding to the second light intensity;
- An adjustment module is configured to adjust the third backlight value based on the backlight adjustment factor to obtain a fourth backlight value corresponding to the second light intensity that satisfies the user adjustment rule.
- the adjustment module is specifically configured to:
- AdjAutoBri Math.round ((Value ⁇ gamma) * 255)
- gamma is an intermediate coefficient of suppression compensation of backlight value
- Value is a normalized value of the third backlight value
- AdjAutoBri is the fourth backlight value
- Math.round () represents a calculation function.
- the determining module is specifically configured to:
- the range of backlight value adjustment is divided into a first region and a second region based on the AutoBri, wherein the range of the first region is [MinBri, AutoBri] and the range of the second region is [AutoBri, MaxBri];
- a value range of the backlight adjustment factor is [-1, 1].
- an electronic device including:
- Memory for storing instructions executed by the processor
- a processor configured to execute an instruction stored in the memory to perform the method described in the first aspect or any method that may be implemented in the first aspect.
- an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are run on a computer, the computer is caused to execute the method described in the first aspect Or any method that may be implemented in the first aspect.
- FIG. 1 is a flowchart of a backlight adjustment method according to an embodiment of the present application
- FIG. 2 is a schematic structural diagram of a backlight adjustment factor sub-region according to an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a backlight adjustment apparatus according to an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- Step 101 The electronic device is in a mode of automatically adjusting the backlight, and collects an automatically adjusted first backlight value and a second backlight value obtained based on a user adjustment rule;
- the electronic device includes a touch display or a brightness adjustment button.
- the electronic device is in the mode of automatically adjusting the backlight.
- the electronic device sets the backlight value. Adjust to the first backlight value. Due to the different sensitivity of different users, based on automatic backlight adjustment, users can adjust the backlight value by dragging the brightness bar on the touch display screen to obtain the second backlight value. It can also be adjusted by brightness. Press the button to adjust the backlight value to obtain the second backlight value.
- the electronic device collects the automatically adjusted first backlight value and the second backlight value obtained based on the user's adjustment rule.
- the user adjustment rule includes the user's habit of increasing the automatic backlight value or Decrease the automatic backlight value.
- the ambient light intensity is 500 lux (LX)
- the corresponding automatically adjusted backlight value is determined to be 20, and the user is in the process of using the electronic device
- the backlight value of the screen is 20, which is too bright for the user.
- the user needs to manually adjust the backlight value to 15 by dragging the brightness bar on the touch screen or the brightness adjustment button to meet the user's brightness requirements.
- Electronic equipment When the collection ambient light intensity is 500 lux (LX), the first backlight value automatically adjusted by the electronic device is 20 and the second backlight value obtained based on the user's adjustment rule is 15.
- Step 102 The electronic device determines a backlight adjustment factor based on the first backlight value and the second backlight value.
- the electronic device calculates a backlight adjustment factor based on a preset algorithm in the operating system according to the first backlight value and the second backlight value.
- the backlight adjustment factor reflects the relationship between the backlight value adjusted by the user and the automatic backlight value. Specifically, the electronic device calculates the backlight adjustment factor by the following formula:
- Adj (user-AutoBri) / (MaxBri-MinBri)
- Adj is the backlight adjustment factor
- user is the second backlight value
- AutoBri is the first backlight value
- MaxBri is the maximum backlight value
- MinBri is the minimum backlight value
- the electronic device sets the range of the backlight value in advance to [MinBri, MaxBri].
- the electronic device determines the corresponding automatically adjusted backlight value based on the ambient light intensity. The user will drag the brightness bar of the electronic device based on the automatically adjusted backlight value
- the backlight value adjusted by the user may be greater than the automatically adjusted backlight value, or it may be less than the automatically adjusted backlight value.
- the electronic device The backlight value is compensated.
- the electronic device suppresses the backlight value of the display screen. Therefore, in order to determine the area where the electronic device compensates or suppresses the backlight value of the display screen, Based on the automatically adjusted backlight value as a reference parameter, the value range of the backlight adjustment factor is determined.
- the electronic device divides a range of backlight value adjustment into a first region and a second region based on the AutoBri.
- the range of the first region is [MinBri, AutoBri], and The range is [AutoBri, MaxBri], and then the area where the second backlight value is located is detected. If the area where the second backlight value is detected is the first area, the backlight adjustment factor is determined to be a negative value If it is detected that the area where the second backlight value is located is the second area, it is determined that the backlight adjustment factor is a positive value. When the AutoBri maximum backlight value and the user is the minimum backlight value, the backlight adjustment factor is -1. When the minimum backlight value of AutoBri and the maximum backlight value of user are used, the backlight adjustment factor is 1, and then the value range of the backlight adjustment factor is determined to be [-1, 1].
- Step 103 When the electronic device detects that the ambient light intensity changes from the first light intensity to the second light intensity, determine a third backlight value corresponding to the second light intensity, wherein the third backlight value is the first Automatically adjusted backlight value corresponding to two light intensities;
- the electronic equipment includes a photoelectric sensor, a photosensitive device (such as a photoresistor, a photodiode), and a light intensity sensing switch.
- a photosensitive device such as a photoresistor, a photodiode
- a light intensity sensing switch When the electronic device detects that the ambient light intensity changes from the first light intensity to the second light intensity through a photoelectric sensor, a photosensitive device or a light intensity sensing switch, based on a preset mapping relationship between the ambient light intensity and the automatically adjusted backlight value, Determine an automatically adjusted third backlight value corresponding to the second light intensity. For example, when the ambient light intensity is determined to be 300LX based on a preset mapping relationship, the corresponding automatically adjusted backlight value is 30. When the electronic device detects that the ambient light intensity has changed from 500LX to 300LX, the third backlight value can be determined 30.
- Step 104 The electronic device adjusts the third backlight value based on the backlight adjustment factor to obtain a fourth backlight value corresponding to the second light intensity that satisfies the user adjustment rule.
- the electronic device After the electronic device calculates the backlight adjustment factor based on an algorithm preset by the operating system, the electronic device uses the backlight adjustment factor as an input parameter and adjusts the third backlight value using the following formula to obtain a value corresponding to the second light intensity.
- AdjAutoBri Math.round ((Value ⁇ gamma) * 255)
- gamma is an intermediate coefficient for suppression and compensation of backlight value
- Value is a normalized value of the third backlight value
- AdjAutoBri is the fourth backlight value, which is used to represent the backlight value that meets the user's adjustment rule and the automatically adjusted The relationship between the backlight value and the backlight adjustment factor
- Math.round () represents a calculation function that is used to round the calculation result.
- the minimum backlight value MinBri of the electronic device display is set to 0, and the maximum backlight value MaxBri is 255.
- the electronic device obtains a backlight adjustment factor based on the user ’s specific requirements for the brightness of the backlight value, and determines a reasonable backlight value based on the relationship between the backlight adjustment factor and the automatically adjusted backlight value, so that The adjustment of the backlight value can improve the user experience effect based on the adjustment rule of the user.
- the device includes:
- An acquisition module 301 configured to collect an automatically adjusted first backlight and a second backlight value obtained based on a user adjustment rule in a mode of automatically adjusting the backlight value
- a determining module 302 configured to determine a backlight adjustment factor based on the first backlight value and the second backlight value; and when it is detected that the ambient light intensity changes from the first light intensity to the second light intensity, determine the second light A third backlight value corresponding to the intensity, wherein the third backlight value is an automatically adjusted backlight value corresponding to the second light intensity;
- An adjustment module 303 is configured to adjust the third backlight value based on the backlight adjustment factor to obtain a fourth backlight value corresponding to the second light intensity that satisfies the user adjustment rule.
- the adjustment module is specifically configured to:
- AdjAutoBri Math.round ((Value ⁇ gamma) * 255)
- gamma is an intermediate coefficient of suppression compensation of backlight value
- Value is a normalized value of the third backlight value
- AdjAutoBri is the fourth backlight value
- Math.round () represents a calculation function.
- the determining module 302 is specifically configured to:
- the range of backlight value adjustment is divided into a first region and a second region based on the AutoBri, wherein the range of the first region is [MinBri, AutoBri] and the range of the second region is [AutoBri, MaxBri];
- a value range of the backlight adjustment factor is [-1, 1].
- An embodiment of the present application provides an electronic device. Referring to FIG. 4, the method includes:
- a memory 401 configured to store instructions executed by a processor
- the processor 402 is configured to execute an instruction stored in the memory 401 to perform the method described in the first embodiment.
- An embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are run on a computer, the computer is caused to execute the method according to the first embodiment.
- the embodiments of the present application may be provided as a method, a system, or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) containing computer-usable program code.
- a computer-usable storage media including, but not limited to, disk storage, optical storage, and the like
- These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
- the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
- These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Liquid Crystal Display Device Control (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
一种背光调整的方法及装置,方法包括:电子设备处于自动调节背光的模式下,采集自动调节的第一背光值和基于用户调整规律得到的第二背光值(S101),基于第一背光值和第二背光值,确定背光调节因子(S102),当检测到环境光照强度由第一光照强度变化到第二光照强度时,确定第二光照强度对应的第三背光值,其中,第三背光值为第二光照强度对应的自动调节的背光值(S103),基于背光调节因子对第三背光值进行调整得到第二光照强度对应的满足用户调整规律的第四背光值(S104),解决了用户的体验效果不佳的技术问题。
Description
相关申请
本申请要求2018年08月16日申请的,申请号为201810934146.1,名称为“一种背光调整的方法及装置”的中国专利申请的优先权,在此将其全文引入作为参考。
本申请涉及显示技术领域,尤其涉及一种背光调整的方法及装置。
背光调节技术已经广泛应用于显示领域,对显示器的背光调节通常有手动调节和自动调节两种调节技术,其中,自动背光调节技术,当环境光照强度发生变化时,根据环境光照强度与背光值之间的映射关系,确定出当前环境光照强度对应的背光值,并对显示器的背光值进行调整,由于用户个体感光的差异,在自动调节之后结合手动调节,以使得显示器的背光值适配用户对光强亮暗的需求。目前,在自动背光模式下,通过用户手动拖动亮度条的位置的变化来确定对应的背光调节因子,再基于所述背光调节因子对显示器的背光值进行调整。虽然相关技术背光调节技术能够基本满足用户对光照强度亮暗的需求,但是通过这种方法确定的背光调节因子的大小,而不能反映用户调整后的背光值小于自动背光值,还是调整后的背光值大于自动背光值,即不能反映用户调大或调小背光值的规律,不能真正适配用户对背光值抑制或补偿的需求,导致用户的体验效果不佳。
发明内容
本申请提供一种背光调整的方法及装置,用以解决用户体验效果不佳的技术问题。
第一方面,本申请提供一种背光调整的方法,该方法包括:处于自动调节背光的模式下,采集自动调节的第一背光值和基于用户调整规律得到的第二背光值;基于所述第一背光值和所述第二背光值,确定背光调节因子;当检测到环境光照强度由第一光照强度变化到第二光照强度时,确定所述第二光照强度对应的第三背光值,其中,所述第三背光值为所述第二光照强度对应的自动调节的背光值;基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值。
本申请提供的实施例中,电子设备基于自动调节的第一背光值和用户调整规律得到的 第二背光值,确定背光调节因子,而背光调节因子是为适配用户对背光值的亮度的需求得到的,体现了用户的使用习惯,并基于所述背光调节因子与自动调节的背光值之间的关系确定出合理的背光值,使得对背光值的调整能够基于用户的调整规律,提高用户的体验效果。
可选地,基于所述第一背光值和所述第二背光值,确定背光调节因子Adj=(user-AutoBri)/(MaxBri-MinBri);其中,Adj为所述背光调节因子,user为所述第二背光值,AutoBri为所述第一背光值,MaxBri为最大背光值,MinBri最小背光值;
基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值,包括:
将所述背光调节因子作为输入参数,利用以下公式对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值;
gamma=3.0^(-Adj)
Value=AutoBri/255
AdjAutoBri=Math.round((Value^gamma)*255)
其中,gamma为背光值的抑制补偿的中间系数,Valu为所述第三背光值的归一化值,AdjAutoBri为所述第四背光值,Math.round()表示一个计算函数。
可选地,确定背光调节因子Adj=(user-AutoBri)/(MaxBri-MinBri),包括:
基于所述AutoBri将背光值调整的范围分为第一区域和第二区域,其中,所述第一区域的范围为[MinBri,AutoBri],所述第二区域的范围为[AutoBri,MaxBri];
检测所述第二背光值所在的区域,若检测到所述第二背光值所在的区域为所述第一区域,则确定所述背光调节因子为负值;否则确定所述背光调节因子为正值。
可选地,所述背光调节因子的取值范围为[-1,1]。
第二方面,本申请实施例提供一种背光调整的装置,该装置,包括:
采集模块,用于处于自动调节背光的模式下,采集自动调节的第一背光值和基于用户调整规律得到的第二背光值;
确定模块,用于基于所述第一背光值和所述第二背光值,确定背光调节因子;当检测到环境光照强度由第一光照强度变化到第二光照强度时,确定所述第二光照强度对应的第三背光值,其中,所述第三背光值为所述第二光照强度对应的自动调节的背光值;
调整模块,用于基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值。
可选地,所述确定模块,具体用于基于所述第一背光值和所述第二背光值,确定背光调节因子Adj=(user-AutoBri)/(MaxBri-MinBri);其中,Adj为所述背光调节因子,user为所述第二背光值,AutoBri为所述第一背光值,MaxBri为最大背光值,MinBri最小背光值;
所述调整模块,具体用于:
将所述背光调节因子作为输入参数,利用以下公式对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值;
gamma=3.0^(-Adj)
Value=AutoBri/255
AdjAutoBri=Math.round((Value^gamma)*255)
其中,gamma为背光值的抑制补偿的中间系数,Value为所述第三背光值的归一化值,AdjAutoBri为所述第四背光值,Math.round()表示一个计算函数。
可选地,所述确定模块,具体用于:
基于所述AutoBri将背光值调整的范围分为第一区域和第二区域,其中,所述第一区域的范围为[MinBri,AutoBri],所述第二区域的范围为[AutoBri,MaxBri];
检测所述第二背光值所在的区域,若检测到所述第二背光值所在的区域为所述第一区域,则确定所述背光调节因子为负值;否则确定所述背光调节因子为正值。
可选地,所述背光调节因子的取值范围为[-1,1]。
第三方面,本申请实施例提供一种电子设备,包括:
存储器,用于存储处理器所执行的指令;
处理器,用于执行存储器中存储的指令执行第一方面所述的方法或第一方面任意一种可能实现的方法。
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行第一方面所述的方法或第一方面任意一种可能实现的方法。
图1为本申请实施例所提供的一种背光调节的方法的流程图;
图2为本申请实施例所提供一种背光调节因子分区域的结构示意图;
图3为本申请实施例所提供的一种背光调节的装置的结构示意图;
图4为本申请实施例所提供的一种电子设备的结构示意图。
本申请实施例提供的方案中,所描述的实施例仅是本申请一部份实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
为了更好的理解上述技术方案,下面通过附图以及具体实施例对本申请技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。
实施例一
以下结合说明书附图对本申请实施例所提供的一种背光调整的方法做进一步详细的说明,该方法具体实现方式可以包括以下步骤(方法流程如图1所示):
步骤101,电子设备处于自动调节背光的模式下,采集自动调节的第一背光值和基于用户调整规律得到的第二背光值;
电子设备包括触控显示屏或亮度调节按键。电子设备处于自动调节背光的模式下,环境光照强度与自动调节的背光值之间存在着预设的映射关系,基于环境光照强度确定出对应的自动调节的第一背光值,电子设备将背光值调整到第一背光值,由于不同用户的感光能力不同,在自动背光调节的基础上用户可以通过在触控显屏上拖动亮度条来调整背光值得到第二背光值,也可以通过亮度调节按键来调整背光值得到第二背光值,电子设备采集自动调节的第一背光值和基于用户调整规律得到的第二背光值,其中,所述用户调整规律包括用户习惯将自动背光值调大或将自动背光值调小的规律。
例如,在环境光照强度为500勒克斯(LX)时,基于环境光照强度与自动调节的背光值之间的映射关系,确定出对应的自动调节的背光值为20,而用户在使用电子设备的过程中,屏幕的背光值为20对于用户来说太亮了,用户需要通过手动拖动触控显示屏上的亮度条或通过亮度调节按键将背光值调整到15,以适应用户的亮度需求,电子设备采集环境光照强度为500勒克斯(LX)时,电子设备自动调节的第一背光值为20和基于用户调整规律得到的第二背光值为15。
步骤102,电子设备基于所述第一背光值和所述第二背光值,确定背光调节因子;
电子设备基于操作系统中预设的算法,根据第一背光值和第二背光值计算背光调节因子。
背光调整因子体现了用户调整后的背光值与自动背光值之间的关系,具体的,电子设备通过下式计算所述背光调节因子:
Adj=(user-AutoBri)/(MaxBri-MinBri)
其中,Adj为所述背光调节因子,user为所述第二背光值,AutoBri为所述第一背光值,MaxBri为最大背光值,MinBri最小背光值。
电子设备预先将背光值的范围设置为[MinBri,MaxBri],电子设备基于环境光照强度确定出对应的自动调节的背光值,用户会在自动调节的背光值的基础上拖动电子设备的亮度条来调整背光值,用户调整后的背光值可能大于自动调节的背光值,也可能小于自动调节的背光值,当用户调整后的背光值大于自动调节的背光值时,电子设备会对显示屏幕的背光值进行补偿,当用户调整后的背光值小于自动调节的背光值时,电子设备会对显示屏幕的背光值进行抑制,因此,为了确定电子设备对显示屏幕的背光值进行补偿或抑制区域,以自动调节的背光值为基准参数,确定背光调整因子的取值范围。
参见图2所示,电子设备基于所述AutoBri将背光值调整的范围分为第一区域和第二区域,其中,所述第一区域的范围为[MinBri,AutoBri],所述第二区域的范围为[AutoBri,MaxBri],然后,检测所述第二背光值所在的区域,若检测到所述第二背光值所在的区域为所述第一区域,则确定所述背光调节因子为负值,若检测到所述第二背光值所在的区域为所述第二区域,则确定所述背光调节因子为正值,当AutoBri最大背光值,user为最小背光值时,背光调整因子为-1,当AutoBri最小背光值,user为最大背光值时,背光调整因子为1,进而确定所述背光调节因子的取值范围为[-1,1]。
步骤103,当电子设备检测到环境光照强度由第一光照强度变化到第二光照强度时,确定所述第二光照强度对应的第三背光值,其中,所述第三背光值为所述第二光照强度对应的自动调节的背光值;
电子设备中包括光电传感器、光敏器件(如光敏电阻、光电二极管)和光照强度感应开关等。当电子设备通过光电传感器、光敏器件或光照强度感应开关检测到环境光照强度由第一光照强度变化到第二光照强度时,基于环境光照强度与自动调节的背光值之间的预设映射关系,确定第二光照强度对应的自动调节的第三背光值。例如,基于预设的映射关系确定出环境光照强度为300LX时,对应的自动调节的背光值为30,当电子设备检测到环境光照强度从500LX变化到300LX时,即可确定第三背光值为30。
步骤104,电子设备基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值。
当电子设备基于操作系统预设的算法计算得到背光调节因子之后,电子设备将所述背 光调节因子作为输入参数,利用以下公式对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值:
gamma=3.0^(-Adj)
Value=AutoBri/255
AdjAutoBri=Math.round((Value^gamma)*255)
其中,gamma为背光值的抑制补偿的中间系数,Value为所述第三背光值的归一化值,AdjAutoBri为所述第四背光值,用来表示满足用户调整规律的背光值与自动调节的背光值以及背光调整因子之间的关系;Math.round()表示一个计算函数,该函数用于表示对计算结果进行四舍五入。
例如,电子设备显示器最小的背光值MinBri设置为0,最大的背光值MaxBri为255。当电子设备检测到光照强度的第二光照强度为300LX时,首先,电子设备采集得到自动调节的第一背光值为30,采集基于用户调整规律得到的第二背光值为25,然后,基于电子设备基于预设的算法计算出背光调节因子Adj=-1/51,再基于所述背光调节因子的值,确定出背光的抑制补偿的中间系数gamma=3.0^(1/51)和自动调节的背光值对应的归一化值Value=2/17,最后,基于gamma和Value值确定出满足用户调整规律的第四背光值AdjAutoBri=29。
本申请提供的实施例中,电子设备基于用户对背光值的亮度具体的需求得到背光调整因子,并基于所述背光调节因子与自动调节的背光值之间的关系确定出合理的背光值,使得对背光值的调整能够基于用户的调整规律,提高用户的体验效果。
实施例二
本申请实施例提供一种背光调整的装置,参见图3,该装置,包括:
采集模301,用于处于自动调节背光值的模式下,采集自动调节的第一背光和基于用户调整规律得到的第二背光值;
确定模块302,用于基于所述第一背光值和所述第二背光值,确定背光调节因子;当检测到环境光照强度由第一光照强度变化到第二光照强度,确定所述第二光照强度对应的第三背光值,其中,所述第三背光值为所述第二光照强度对应的自动调节的背光值;
调整模块303,用于基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值。
可选地,所述确定模块302,具体用于基于所述第一背光值和所述第二背光值,确定背光调节因子Adj=(user-AutoBri)/(MaxBri-MinBri);其中,Adj为所述背光调节因 子,user为所述第二背光值,AutoBri为所述第一背光值,MaxBri为最大背光值,MinBri最小背光值;
所述调整模块,具体用于:
将所述背光调节因子作为输入参数,利用以下公式对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值;
gamma=3.0^(-Adj)
Value=AutoBri/255
AdjAutoBri=Math.round((Value^gamma)*255)
其中,gamma为背光值的抑制补偿的中间系数,Value为所述第三背光值的归一化值,AdjAutoBri为所述第四背光值,Math.round()表示一个计算函数。
可选地,所述确定模块302,具体用于:
基于所述AutoBri将背光值调整的范围分为第一区域和第二区域,其中,所述第一区域的范围为[MinBri,AutoBri],所述第二区域的范围为[AutoBri,MaxBri];
检测所述第二背光值所在的区域,若检测到所述第二背光值所在的区域为所述第一区域,则确定所述背光调节因子为负值;否则确定所述背光调节因子为正值。
可选地,所述背光调节因子的取值范围为[-1,1]。
实施例三
本申请实施例提供一种电子设备,参见图4,包括:
存储器401,用于存储处理器所执行的指令;
处理器402,用于执行存储器401中存储的指令执行实施例一所述的方法。
实施例四
本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行实施例一所述的方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机 程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。
Claims (10)
- 一种背光调整的方法,其特征在于,包括:处于自动调节背光的模式下,采集自动调节的第一背光值和基于用户调整规律得到的第二背光值;基于所述第一背光值和所述第二背光值,确定背光调节因子;当检测到环境光照强度由第一光照强度变化到第二光照强度时,确定所述第二光照强度对应的第三背光值,其中,所述第三背光值为所述第二光照强度对应的自动调节的背光值;基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值。
- 如权利要求1所述的方法,其特征在于,包括:基于所述第一背光值和所述第二背光值,确定背光调节因子Adj=(user-AutoBri)/(MaxBri-MinBri);其中,user为所述第二背光值,AutoBri为所述第一背光值,MaxBri为最大背光值,MinBri为最小背光值;基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值,包括:将所述背光调节因子作为输入参数,利用以下公式对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值;gamma=3.0 ∧(-Adj)Value=AutoBri/255AdjAutoBri=Math.round((Value ∧gamma)*255)其中,gamma为背光值的抑制补偿的中间系数,Value为所述第三背光值的归一化值,AdjAutoBri为所述第四背光值,Math.round()表示一个计算函数。
- 如权利要求2所述的方法,其特征在于,确定背光调节因子Adj=(user-AutoBri)/(MaxBri-MinBri),包括:基于所述AutoBri将背光值调整的范围分为第一区域和第二区域,其中,所述第一区域的范围为[MinBri,AutoBri],所述第二区域的范围为[AutoBri,MaxBri];检测所述第二背光值所在的区域,若检测到所述第二背光值所在的区域为所述第一区域,则确定所述背光调节因子为负值;否则确定所述背光调节因子为正值。
- 如权利要求3所述的方法,其特征在于,所述背光调节因子的取值范围为[-1,1]。
- 一种背光调整的装置,其特征在于,包括:采集模块,用于处于自动调节背光的模式下,采集自动调节的第一背光值和基于用户调整规律得到的第二背光值;确定模块,用于基于所述第一背光值和所述第二背光值,确定背光调节因子;当检测到环境光照强度由第一光照强度变化到第二光照强度时,确定所述第二光照强度对应的第三背光值,其中,所述第三背光值为所述第二光照强度对应的自动调节的背光值;调整模块,用于基于所述背光调节因子对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值。
- 如权利要求5所述的装置,其特征在于,所述确定模块,具体用于基于所述第一背光值和所述第二背光值,确定背光调节因子Adj=(user-AutoBri)/(MaxBri-MinBri);其中,user为所述第二背光值,AutoBri为所述第一背光值,MaxBri为最大背光值,MinBri为最小背光值;所述调整模块,具体用于:将所述背光调节因子作为输入参数,利用以下公式对所述第三背光值进行调整得到所述第二光照强度对应的满足所述用户调整规律的第四背光值;gamma=3.0 ∧(-Adj)Value=AutoBri/255AdjAutoBri=Math.round((Value ∧gamma)*255)其中,gamma为背光值的抑制补偿的中间系数,Value为所述第三背光值的归一化值,AdjAutoBri为所述第四背光值,Math.round()表示一个计算函数。
- 如权利要求6所述的装置,其特征在于,所述确定模块,具体用于:基于所述AutoBri将背光值调整的范围分为第一区域和第二区域,其中,所述第一区域的范围为[MinBri,AutoBri],所述第二区域的范围为[AutoBri,MaxBri];检测所述第二背光值所在的区域,若检测到所述第二背光值所在的区域为所述第一区域,则确定所述背光调节因子为负值;否则确定所述背光调节因子为正值。
- 如权利要求7所述的装置,其特征在于,所述背光调节因子的取值范围为[-1,1]。
- 一种电子设备,其特征在于,包括:存储器,用于存储处理器所执行的指令;处理器,用于执行存储器中存储的指令执行权利要求1-4中任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行权利要求1-4中任一项所述 的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810934146.1A CN110838279B (zh) | 2018-08-16 | 2018-08-16 | 一种背光调整的方法及装置 |
| CN201810934146.1 | 2018-08-16 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020034876A1 true WO2020034876A1 (zh) | 2020-02-20 |
Family
ID=69525217
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/099431 Ceased WO2020034876A1 (zh) | 2018-08-16 | 2019-08-06 | 背光调整的方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110838279B (zh) |
| WO (1) | WO2020034876A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113421532B (zh) * | 2021-07-09 | 2023-03-31 | 海信视像科技股份有限公司 | 背光调整方法及显示设备 |
| CN114399973B (zh) * | 2022-01-10 | 2023-05-26 | 上海新相微电子股份有限公司 | 基于环境感知的自适应显示屏 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101527119A (zh) * | 2007-12-03 | 2009-09-09 | 英特尔公司 | 智能型自动背光控制方案 |
| US20100177029A1 (en) * | 2009-01-14 | 2010-07-15 | Chris Yeh | Hysteresis-type controlling method for backlight of portable electronic device |
| CN102592547A (zh) * | 2012-02-28 | 2012-07-18 | 广东步步高电子工业有限公司 | 一种显示屏背光亮度的智能调节方法及其系统 |
| CN105118446A (zh) * | 2015-09-08 | 2015-12-02 | 创维液晶器件(深圳)有限公司 | 一种背光亮度控制的方法及其系统 |
| CN107835324A (zh) * | 2017-12-13 | 2018-03-23 | 维沃移动通信有限公司 | 一种背光亮度调节方法及移动终端 |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5554912A (en) * | 1995-05-15 | 1996-09-10 | Delco Electronics Corporation | Adaptive instrument display brightness control system |
| CN102946494A (zh) * | 2012-11-27 | 2013-02-27 | 广东欧珀移动通信有限公司 | 一种自动调整背光亮度的移动终端及其方法 |
| CN105632455B (zh) * | 2014-10-27 | 2018-06-19 | 深圳富泰宏精密工业有限公司 | 屏幕亮度自动调节系统及方法 |
| CN104992692B (zh) * | 2015-08-05 | 2017-11-14 | 广东欧珀移动通信有限公司 | 一种调节智能终端屏幕亮度的方法、装置和一种智能终端 |
| CN105405427A (zh) * | 2015-12-04 | 2016-03-16 | 小米科技有限责任公司 | 设备亮度调节方法及装置 |
| CN105513564A (zh) * | 2016-01-08 | 2016-04-20 | 北京乐驾科技有限公司 | 一种车内亮度自动调节方法及系统 |
| KR20180052246A (ko) * | 2016-11-10 | 2018-05-18 | (주) 지펙케이앤디 | 조도센서 센서값 설정을 통해 화면 밝기를 수동 및 자동으로 제어하는 디스플레이 장치 |
| US10283057B2 (en) * | 2017-01-26 | 2019-05-07 | Dell Products L.P. | Heuristic learning for setting automatic display brightness based on an ambient light sensor |
| CN107170401A (zh) * | 2017-07-05 | 2017-09-15 | 深圳传音控股有限公司 | 一种车内信息的显示方法及显示装置 |
| CN107507579A (zh) * | 2017-08-18 | 2017-12-22 | 上海中兴软件有限责任公司 | 一种屏幕背光控制与设置方法、装置、多屏终端及存储介质 |
| CN108053787B (zh) * | 2017-12-20 | 2020-11-24 | 中国航空工业集团公司洛阳电光设备研究所 | 一种平视显示器亮度自适应控制的方法 |
| CN108172175A (zh) * | 2018-01-04 | 2018-06-15 | 广东小天才科技有限公司 | 一种用于光传感器的校正方法、装置、设备及存储介质 |
-
2018
- 2018-08-16 CN CN201810934146.1A patent/CN110838279B/zh active Active
-
2019
- 2019-08-06 WO PCT/CN2019/099431 patent/WO2020034876A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101527119A (zh) * | 2007-12-03 | 2009-09-09 | 英特尔公司 | 智能型自动背光控制方案 |
| US20100177029A1 (en) * | 2009-01-14 | 2010-07-15 | Chris Yeh | Hysteresis-type controlling method for backlight of portable electronic device |
| CN102592547A (zh) * | 2012-02-28 | 2012-07-18 | 广东步步高电子工业有限公司 | 一种显示屏背光亮度的智能调节方法及其系统 |
| CN105118446A (zh) * | 2015-09-08 | 2015-12-02 | 创维液晶器件(深圳)有限公司 | 一种背光亮度控制的方法及其系统 |
| CN107835324A (zh) * | 2017-12-13 | 2018-03-23 | 维沃移动通信有限公司 | 一种背光亮度调节方法及移动终端 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110838279B (zh) | 2021-01-15 |
| CN110838279A (zh) | 2020-02-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106445151B (zh) | 一种终端屏幕亮度的控制方法及终端 | |
| TWI575407B (zh) | 電子顯示器照明技術 | |
| TWI428891B (zh) | 電子裝置及其控制背光亮度之方法 | |
| CN105023552B (zh) | 显示器及其亮度调整方法 | |
| CN103325355B (zh) | 一种基于图像内容动态调节背光亮度的方法 | |
| CN104575448B (zh) | 一种显示装置的背光调整方法及装置 | |
| CN104023145B (zh) | 一种自动打开移动终端的自动背光调整的方法及装置 | |
| KR102501676B1 (ko) | 눈부심 현상이 개선된 디스플레이장치 및 그 제어방법 | |
| US9384708B2 (en) | Display screen management method and device | |
| CN110146161A (zh) | 环境光照强度的检测方法、装置和终端 | |
| US10235970B2 (en) | Emission unit brightness adjustment | |
| CN104301624A (zh) | 一种图像拍摄亮度控制方法及装置 | |
| CN106128416A (zh) | 控制方法、控制装置及电子装置 | |
| CN108520241A (zh) | 基于光学指纹技术的指纹采集方法、装置和用户终端 | |
| CN107517368A (zh) | 终端色温调节方法及装置 | |
| CN104318912A (zh) | 一种检测环境光亮度的方法及装置 | |
| WO2018126929A1 (zh) | 校准环境光传感器的方法和装置 | |
| CN104182143A (zh) | 一种移动终端的背光亮度调节方法及系统 | |
| CN112333898A (zh) | 一种灯具亮度调节方法、装置、灯具和存储介质 | |
| CN105551453A (zh) | 一种屏幕亮度调节方法及装置 | |
| WO2020034876A1 (zh) | 背光调整的方法及装置 | |
| CN107872636B (zh) | 一种显示装置及其显示参数的调整方法 | |
| CN103017896B (zh) | 一种照度测量方法及装置 | |
| CN107093416B (zh) | 基于光线传感器的屏幕背光亮度调整方法、装置及终端 | |
| CN105895057A (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: 19850129 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: 19850129 Country of ref document: EP Kind code of ref document: A1 |