Movatterモバイル変換


[0]ホーム

URL:


CN114187874B - Brightness adjustment method, device and storage medium - Google Patents

Brightness adjustment method, device and storage medium
Download PDF

Info

Publication number
CN114187874B
CN114187874BCN202010968370.XACN202010968370ACN114187874BCN 114187874 BCN114187874 BCN 114187874BCN 202010968370 ACN202010968370 ACN 202010968370ACN 114187874 BCN114187874 BCN 114187874B
Authority
CN
China
Prior art keywords
acquired data
display screen
backlight
adjusting
data
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
CN202010968370.XA
Other languages
Chinese (zh)
Other versions
CN114187874A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN202010968370.XApriorityCriticalpatent/CN114187874B/en
Publication of CN114187874ApublicationCriticalpatent/CN114187874A/en
Application grantedgrantedCritical
Publication of CN114187874BpublicationCriticalpatent/CN114187874B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The disclosure relates to a brightness adjusting method, a brightness adjusting device and a storage medium. The method is applied to an electronic device comprising a display screen, the electronic device further comprising a first light sensor oriented in the same direction as the display screen and a second light sensor oriented in a different direction from the display screen, the method comprising: acquiring ambient light by using the first light sensor to obtain first acquired data, and acquiring ambient light by using the second light sensor to obtain second acquired data; and adjusting backlight parameters of the display screen according to the first acquired data and/or the second acquired data. Therefore, the backlight parameters of the display screen can be adjusted according to the first acquired data and/or the second acquired data, the backlight parameters of the display screen are adapted to the surrounding environment of the electronic equipment, the possibility of visual fatigue of a user caused by improper backlight parameters is reduced, good experience is brought to the user in appearance, and the user experience degree is improved.

Description

Translated fromChinese
亮度调节方法、装置及存储介质Brightness adjustment method, device and storage medium

技术领域technical field

本公开涉及计算机通信领域,尤其涉及一种亮度调节方法、装置及存储介质。The present disclosure relates to the field of computer communication, and in particular to a brightness adjustment method, device and storage medium.

背景技术Background technique

随着信息技术的迅速发展,各类电子设备为人们的生活提供了非常多的便利,为了便于进行人机交互,目前大部分电子设备均设置有显示屏,用于显示各种多媒体信息。例如,可以基于电子设备的显示屏显示图片、文字等信息。以电子设备是终端设备为例,在终端设备显示的过程中,背光参数是十分重要的一个因素,但是在自动调节终端设备的背光参数时,不能准确地适应当前环境的亮度变化,且在当前环境的亮度突然发生变化时,无法根据环境的变化进行适应性调整,导致用户体验不佳。With the rapid development of information technology, various electronic devices provide a lot of convenience for people's life. In order to facilitate human-computer interaction, most of the electronic devices are currently equipped with display screens for displaying various multimedia information. For example, information such as pictures and text may be displayed based on a display screen of the electronic device. Taking the electronic device as a terminal device as an example, the backlight parameter is a very important factor in the display process of the terminal device, but when automatically adjusting the backlight parameter of the terminal device, it cannot accurately adapt to the brightness change of the current environment, and in the current When the brightness of the environment changes suddenly, adaptive adjustments cannot be made according to the change of the environment, resulting in poor user experience.

发明内容Contents of the invention

本公开提供一种亮度调节方法、装置及存储介质。The disclosure provides a brightness adjustment method, device and storage medium.

根据本公开实施例的第一方面,提供一种亮度调节方法,应用于包括显示屏的电子设备,所述电子设备还包括与所述显示屏的朝向相同的第一光线传感器和与所述显示屏的朝向不同的第二光线传感器,所述方法包括:According to the first aspect of the embodiments of the present disclosure, there is provided a method for adjusting brightness, which is applied to an electronic device including a display screen, and the electronic device further includes a first light sensor with the same orientation as the display screen and a first light sensor with the display A second light sensor with different orientations of the screen, the method comprising:

利用所述第一光线传感器采集环境光,得到第一采集数据,以及利用所述第二光线传感器采集环境光,得到第二采集数据;Using the first light sensor to collect ambient light to obtain first collection data, and using the second light sensor to collect ambient light to obtain second collection data;

根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数。Adjust the backlight parameters of the display screen according to the first collected data and/or the second collected data.

可选的,所述根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数,包括:Optionally, the adjusting the backlight parameters of the display screen according to the first collected data and/or the second collected data includes:

如果所述第一采集数据大于或者等于设定阈值,则基于所述第一采集数据调节所述背光参数。If the first collected data is greater than or equal to a set threshold, the backlight parameter is adjusted based on the first collected data.

可选的,所述基于所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数,包括:Optionally, the adjusting the backlight parameters of the display screen based on the first collected data and/or the second collected data includes:

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据大于所述第二采集数据,则基于所述第一采集数据调节所述背光参数;If the first collected data is smaller than the set threshold and the first collected data is greater than the second collected data, then adjust the backlight parameter based on the first collected data;

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据小于所述第二采集数据,则基于所述第二采集数据调节所述背光参数。If the first collected data is smaller than the set threshold and the first collected data is smaller than the second collected data, adjusting the backlight parameter based on the second collected data.

可选的,所述方法还包括:Optionally, the method also includes:

在基于所述第二采集数据调节所述背光参数的情况下,检测所述第二采集数据的数据变化量;In the case of adjusting the backlight parameter based on the second collected data, detecting a data change amount of the second collected data;

在所述数据变化量大于设定变化阈值时,则切换至基于所述第一采集数据调节所述背光参数。When the amount of change in the data is greater than the set change threshold, switch to adjusting the backlight parameter based on the first collected data.

可选的,所述根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数,包括:Optionally, the adjusting the backlight parameters of the display screen according to the first collected data and/or the second collected data includes:

根据所述第一采集数据和/或所述第二采集数据,得到所述显示屏的目标背光参数;Obtaining target backlight parameters of the display screen according to the first collected data and/or the second collected data;

将所述显示屏的背光参数调节至所述目标背光参数。Adjusting the backlight parameters of the display screen to the target backlight parameters.

可选的,所述方法还包括:Optionally, the method also includes:

在根据所述第一采集数据和/或所述第二采集数据对所述背光参数进行调节的过程中,获取所述电子设备的姿态信息;During the process of adjusting the backlight parameters according to the first collected data and/or the second collected data, acquire attitude information of the electronic device;

根据所述姿态信息,调整调节所述背光参数的调节速度。Adjust the adjustment speed of the backlight parameter according to the posture information.

根据本公开实施例的第二方面,提供一种亮度调节装置,应用于包括显示屏的电子设备,所述电子设备还包括与所述显示屏的朝向相同的第一光线传感器和与所述显示屏的朝向不同的第二光线传感器,所述装置包括:According to the second aspect of the embodiments of the present disclosure, there is provided a brightness adjustment device, which is applied to an electronic device including a display screen, and the electronic device further includes a first light sensor with the same orientation as the display screen and a first light sensor with the display screen A second light sensor with different orientations of the screen, the device includes:

第一获取模块,配置为利用所述第一光线传感器采集环境光,得到第一采集数据,以及利用所述第二光线传感器采集环境光,得到第二采集数据;The first acquisition module is configured to use the first light sensor to collect ambient light to obtain first collection data, and use the second light sensor to collect ambient light to obtain second collection data;

调节模块,配置为根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数。An adjustment module configured to adjust the backlight parameters of the display screen according to the first collected data and/or the second collected data.

可选的,所述调节模块,还配置为:Optionally, the adjustment module is further configured as:

如果所述第一采集数据大于或者等于设定阈值,则基于所述第一采集数据调节所述背光参数。If the first collected data is greater than or equal to a set threshold, the backlight parameter is adjusted based on the first collected data.

可选的,所述调节模块,还配置为:Optionally, the adjustment module is further configured as:

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据大于所述第二采集数据,则基于所述第一采集数据调节所述背光参数;If the first collected data is smaller than the set threshold and the first collected data is greater than the second collected data, then adjust the backlight parameter based on the first collected data;

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据小于所述第二采集数据,则基于所述第二采集数据调节所述背光参数。If the first collected data is smaller than the set threshold and the first collected data is smaller than the second collected data, adjusting the backlight parameter based on the second collected data.

可选的,所述装置还包括:Optionally, the device also includes:

检测模块,配置为调节模块,配置为在基于所述第二采集数据调节所述背光参数的情况下,检测所述第二采集数据的数据变化量;The detection module is configured as an adjustment module, configured to detect the data variation of the second collected data when the backlight parameter is adjusted based on the second collected data;

切换模块,配置为在所述数据变化量大于设定变化阈值时,则切换至基于所述第一采集数据调节所述背光参数。The switching module is configured to switch to adjusting the backlight parameter based on the first collected data when the amount of change in the data is greater than a set change threshold.

可选的,所述调节模块,还配置为:Optionally, the adjustment module is further configured as:

根据所述第一采集数据和/或所述第二采集数据,得到所述显示屏的目标背光参数;Obtaining target backlight parameters of the display screen according to the first collected data and/or the second collected data;

将所述显示屏的背光参数调节至所述目标背光参数。Adjusting the backlight parameters of the display screen to the target backlight parameters.

可选的,所述装置还包括:Optionally, the device also includes:

第二获取模块,配置为在根据所述第一采集数据和/或所述第二采集数据对所述背光参数进行调节的过程中,获取所述电子设备的姿态信息;The second acquiring module is configured to acquire attitude information of the electronic device during the process of adjusting the backlight parameters according to the first collected data and/or the second collected data;

确定模块,配置为根据所述姿态信息,调整调节所述背光参数的调节速度。The determination module is configured to adjust the adjustment speed of the backlight parameter according to the attitude information.

根据本公开实施例的第三方面,提供一种亮度调节装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a brightness adjustment device, including:

处理器;processor;

配置为存储处理器可执行指令的存储器;memory configured to store processor-executable instructions;

其中,所述处理器配置为:执行时实现上述第一方面中任一种亮度调节方法中的步骤。Wherein, the processor is configured to: implement the steps in any brightness adjustment method in the first aspect when executed.

根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由亮度调节装置的处理器执行时,使得所述装置能够执行上述第一方面中任一种亮度调节方法中的步骤。According to the fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the brightness adjustment device, the device can execute the above-mentioned first aspect Steps in any of the brightness adjustment methods.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

由上述实施例可知,本公开可以利用与显示屏的朝向相同的第一光线传感器得到第一采集数据,利用与显示屏的朝向不同的第二光线传感器得到第二采集数据,并根据第一采集数据和/或第二采集数据,调节显示屏的背光参数。这样,可以根据第一采集数据和/或第二采集数据,对显示屏的背光参数进行调整,能够使得显示屏的背光参数与电子设备周围的环境相适应,减少因为背光参数不合适造成用户视觉疲劳的可能性,在观感上给用户带来较好的体验,提高了用户体验度。It can be seen from the above embodiments that the present disclosure can use the first light sensor with the same orientation as the display screen to obtain the first collected data, and use the second light sensor with a different orientation from the display screen to obtain the second collected data, and according to the first collected data data and/or the second collected data, and adjust the backlight parameters of the display screen. In this way, the backlight parameters of the display screen can be adjusted according to the first collected data and/or the second collected data, so that the backlight parameters of the display screen can be adapted to the surrounding environment of the electronic device, and the user’s visual disturbance caused by inappropriate backlight parameters can be reduced. The possibility of fatigue brings better experience to users in terms of perception and improves user experience.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的亮度调节方法的流程图一。Fig. 1 is a first flow chart of a method for adjusting brightness according to an exemplary embodiment.

图2是根据一示例性实施例示出的亮度调节方法的流程图二。Fig. 2 is a second flow chart of a method for adjusting brightness according to an exemplary embodiment.

图3是根据一示例性实施例示出的亮度调节方法的流程图三。Fig. 3 is a third flowchart of a method for adjusting brightness according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种亮度调节装置框图。Fig. 4 is a block diagram of a brightness adjustment device according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种亮度调节装置的硬件结构框图。Fig. 5 is a block diagram of a hardware structure of a brightness adjustment device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

图1是根据一示例性实施例示出的亮度调节方法的流程图一,如图1所示,该方法应用于包括显示屏的电子设备,所述电子设备还包括与所述显示屏的朝向相同的第一光线传感器和与所述显示屏的朝向不同的第二光线传感器,主要包括以下步骤:Fig. 1 is a flow chart 1 of a method for adjusting brightness according to an exemplary embodiment. As shown in Fig. 1, the method is applied to an electronic device including a display screen, and the electronic device further includes a The first light sensor and the second light sensor with a different orientation from the display screen mainly include the following steps:

在步骤101中,利用所述第一光线传感器采集环境光,得到第一采集数据,以及利用所述第二光线传感器采集环境光,得到第二采集数据;In step 101, use the first light sensor to collect ambient light to obtain first collection data, and use the second light sensor to collect ambient light to obtain second collection data;

在步骤102中,根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数。In step 102, adjust the backlight parameters of the display screen according to the first collected data and/or the second collected data.

本公开实施例中的亮度调节方法可以应用于包含有显示屏、第一光线传感器和第二光线传感器的电子设备,其中,电子设备包括移动终端和固定终端。这里,移动终端包括手机、笔记本电脑、平板电脑、可穿戴式电子设备、智能音箱等,固定终端包括个人计算机、电视等。这里,第一光线传感器和第二光线传感器可以感知电子设备所处环境的光线亮度等光线情况。在一些实施例中,可以在电子设备上设置一个或者多个第一光线传感器,设置一个或者多个第二光线传感器。例如,在设置有多个第一光线传感器时,则该多个第一光线传感器的朝向是相同的,且该多个第一光线传感器的朝向与显示屏的朝向相同。在设置有多个第二光线传感器时,则该多个第二光线传感器的朝向是相同的,且该多个第二光线传感器的朝向与显示屏的朝向不同。在一些实施例中,第二光线传感器的朝向可以与第二光线传感器的朝向相反,或者呈设定夹角,在此不作具体限定。The brightness adjustment method in the embodiments of the present disclosure may be applied to an electronic device including a display screen, a first light sensor, and a second light sensor, where the electronic device includes a mobile terminal and a fixed terminal. Here, mobile terminals include mobile phones, notebook computers, tablet computers, wearable electronic devices, smart speakers, etc., and fixed terminals include personal computers, televisions, etc. Here, the first light sensor and the second light sensor can sense light conditions such as light brightness of the environment where the electronic device is located. In some embodiments, one or more first light sensors and one or more second light sensors may be set on the electronic device. For example, when multiple first light sensors are provided, the orientations of the multiple first light sensors are the same, and the orientations of the multiple first light sensors are the same as the orientation of the display screen. When multiple second light sensors are provided, the orientations of the multiple second light sensors are the same, and the orientations of the multiple second light sensors are different from the orientation of the display screen. In some embodiments, the orientation of the second light sensor may be opposite to that of the second light sensor, or at a set angle, which is not specifically limited herein.

本公开实施例中,利用与显示屏的朝向相同的第一光线传感器采集环境光,得到第一采集数据,利用与显示屏的朝向不同的第二光线传感器采集环境光,得到第二采集数据,能够使得采集的数据更加全面和准。In the embodiment of the present disclosure, the first light sensor with the same orientation as the display screen is used to collect ambient light to obtain the first collection data, and the second light sensor with a different orientation to the display screen is used to collect ambient light to obtain the second collection data, It can make the collected data more comprehensive and accurate.

在得到第一采集数据和第二采集数据之后,可以基于第一采集数据和/或第二采集数据调节显示屏的背光参数。在一些实施例中,可以直接将第一采集数据和第二采集数据进行比较,得到比较结果,然后,根据比较结果确定对应的调整策略,并基于该调整策略对显示屏的背光参数进行调节。After the first collected data and the second collected data are obtained, the backlight parameters of the display screen may be adjusted based on the first collected data and/or the second collected data. In some embodiments, the first collected data can be directly compared with the second collected data to obtain a comparison result, and then a corresponding adjustment strategy is determined according to the comparison result, and the backlight parameters of the display screen are adjusted based on the adjustment strategy.

其中,调整策略可以是预先设定的,例如,第一调整策略可以是:基于第一采集数据对背光参数进行调整;第二调整策略可以是:基于第二采集数据对背光参数进行调整。在一些实施例中,所述根据比较结果确定对应的调整策略,并基于该调整策略对显示屏的背光参数进行调节,包括:如果比较结果表征第一采集数据大于第二采集数据,则基于第一调整策略对背光参数进行调整;如果比较结果表征第一采集数据小于第二采集数据,则基于第二调整策略对背光参数进行调整。这里,背光参数可以包括:显示屏的亮度数值和对比度。The adjustment strategies may be preset, for example, the first adjustment strategy may be: adjust the backlight parameters based on the first collected data; the second adjustment strategy may be: adjust the backlight parameters based on the second collected data. In some embodiments, the determining a corresponding adjustment strategy according to the comparison result, and adjusting the backlight parameters of the display screen based on the adjustment strategy includes: if the comparison result indicates that the first collected data is greater than the second collected data, then based on the first collected data An adjustment strategy adjusts the backlight parameters; if the comparison result indicates that the first collected data is smaller than the second collected data, the backlight parameters are adjusted based on the second adjustment strategy. Here, the backlight parameters may include: brightness value and contrast of the display screen.

在另一些实施例中,还可以将第一采集数据和第二采集数据进行加权之后求和,并基于求和结果对显示屏的背光参数进行调整。In some other embodiments, the first collected data and the second collected data may also be summed after being weighted, and the backlight parameter of the display screen may be adjusted based on the summed result.

本公开实施例中,可以利用与显示屏的朝向相同的第一光线传感器得到第一采集数据,利用与显示屏的朝向不同的第二光线传感器得到第二采集数据,并根据第一采集数据和/或第二采集数据,调节显示屏的背光参数。这样,可以根据第一采集数据和/或第二采集数据,对显示屏的背光参数进行调整,能够使得显示屏的背光参数与电子设备周围的环境相适应,减少因为背光参数不合适造成用户视觉疲劳的可能性,在观感上给用户带来较好的体验,提高了用户体验度。In the embodiment of the present disclosure, the first collected data can be obtained by using the first light sensor with the same orientation as the display screen, and the second collected data can be obtained by using the second light sensor with a different orientation from the display screen, and according to the first collected data and /or secondly collect data, and adjust the backlight parameters of the display screen. In this way, the backlight parameters of the display screen can be adjusted according to the first collected data and/or the second collected data, so that the backlight parameters of the display screen can be adapted to the surrounding environment of the electronic device, and the user’s visual disturbance caused by inappropriate backlight parameters can be reduced. The possibility of fatigue brings better experience to users in terms of perception and improves user experience.

在一些实施例中,所述根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数,包括:In some embodiments, the adjusting the backlight parameters of the display screen according to the first collected data and/or the second collected data includes:

如果所述第一采集数据大于或者等于设定阈值,则基于所述第一采集数据调节所述背光参数。If the first collected data is greater than or equal to a set threshold, the backlight parameter is adjusted based on the first collected data.

这里,第一采集数据可以是基于第一光线传感器根据采集到的环境光得到的第一照度值,第二采集数据可以是基于第二光线传感器根据采集到的环境光得到的第二照度值,设定阈值可以是预先设定好的照度阈值,例如,可以是根据实验得到的照度阈值,或者根据经验设定的照度阈值,再例如,设定阈值可以是200勒克斯(lux)。Here, the first collected data may be based on the first illuminance value obtained by the first light sensor according to the collected ambient light, and the second collected data may be based on the second illuminance value obtained by the second light sensor according to the collected ambient light, The set threshold may be a preset illuminance threshold, for example, may be an illuminance threshold obtained from experiments, or an illuminance threshold set according to experience, and for another example, the set threshold may be 200 lux.

本公开实施例中,可先确定第一采集数据是否大于或者等于设定阈值,在第一采集数据大于或者等于设定阈值的情况下,则可以直接基于第一采集数据调节显示屏的背光参数。In the embodiment of the present disclosure, it may first be determined whether the first collected data is greater than or equal to the set threshold, and if the first collected data is greater than or equal to the set threshold, then the backlight parameters of the display screen may be adjusted directly based on the first collected data .

在一个应用场景中,大部分光源都是从电子设备的上方照射下来的,例如,室内的人造光源和室外的环境光,大多数光源均位于电子设备的上方,在用户使用电子设备的过程中,为了能够看清显示屏上的显示内容,用户会使电子设备的显示屏会呈设定角度朝向光源。在与电子设备的显示屏朝向相同的第一光线传感器所采集的第一采集数据大于设定阈值时,则表示当前光源较亮,且显示屏当前是呈设定角度朝向光源的,这时,仅基于第一采集数据就已经能够准确表征电子设备当前所处环境的光线情况了。In an application scenario, most of the light sources are irradiated from above the electronic equipment, for example, indoor artificial light sources and outdoor ambient light, most of the light sources are located above the electronic equipment, when the user uses the electronic equipment In order to be able to see the displayed content on the display screen clearly, the user makes the display screen of the electronic device face the light source at a set angle. When the first collected data collected by the first light sensor with the same orientation as the display screen of the electronic device is greater than the set threshold, it indicates that the current light source is brighter, and the display screen is currently facing the light source at a set angle. At this time, Only based on the first collected data, the light condition of the environment where the electronic device is currently located can be accurately represented.

本公开实施例中,可以预先设置设定阈值,并将第一采集数据与设定阈值进行比较,在第一采集数据大于或值的情况下,可以直接基于第一采集数据等于设定阈值对背光参数进行调整,能够在保证采集数据精确性的基础上,简化背光参数的调节过程。In the embodiment of the present disclosure, the set threshold can be set in advance, and the first collected data can be compared with the set threshold. Adjusting the backlight parameters can simplify the adjustment process of the backlight parameters on the basis of ensuring the accuracy of the collected data.

在一些实施例中,所述基于所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数,包括:In some embodiments, the adjusting the backlight parameters of the display screen based on the first collected data and/or the second collected data includes:

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据大于所述第二采集数据,则基于所述第一采集数据调节所述背光参数;If the first collected data is smaller than the set threshold and the first collected data is greater than the second collected data, then adjust the backlight parameter based on the first collected data;

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据小于所述第二采集数据,则基于所述第二采集数据调节所述背光参数。If the first collected data is smaller than the set threshold and the first collected data is smaller than the second collected data, adjusting the backlight parameter based on the second collected data.

在一些实施例中,如果第一采集数据小于设定阈值,则表示当前显示屏朝向的方位的光源较暗,或者电子设备的背面朝向光源,例如,如果用户早上在窗户上使用电子设备或者晚上走夜路在路灯下使用电子设备的场景下,都可能使电子设备的背面朝向光源,这时,如果仅基于第一采集数据对背光参数进行调节,效果较差。In some embodiments, if the first collected data is less than the set threshold, it means that the light source in the orientation of the current display screen is relatively dark, or the back of the electronic device is facing the light source, for example, if the user uses the electronic device on the window in the morning or at night When walking at night and using electronic devices under street lights, the back of the electronic device may face the light source. At this time, if the backlight parameters are adjusted only based on the first collected data, the effect will be poor.

本公开实施例中,在第一采集数据小于设定阈值时,可以对第一采集数据和第二采集数据进行比较,得到比较结果,并根据比较结果对显示屏的背光参数进行调节。如,当第一采集数据大于第二采集数据时,则基于第一采集数据对背光参数进行调节;当第二采集数据大于第一采集数据时,则基于第二采集数据对背光参数进行调节。In the embodiment of the present disclosure, when the first collected data is less than the set threshold, the first collected data and the second collected data may be compared to obtain a comparison result, and the backlight parameters of the display screen may be adjusted according to the comparison result. For example, when the first collected data is greater than the second collected data, the backlight parameters are adjusted based on the first collected data; when the second collected data is greater than the first collected data, the backlight parameters are adjusted based on the second collected data.

本公开实施例中,能够在第一采集数据小于设定阈值的情况下,能够从第一采集数据和第二采集数据中选取较大的采集数据作为调节背光参数的依据,这样,能够针对不同的应用场景选取不同的调整策略对背光参数进行调整,能够使得显示屏的背光参数与电子设备周围的环境更加适应。In the embodiment of the present disclosure, when the first collected data is less than the set threshold, the larger collected data can be selected from the first collected data and the second collected data as the basis for adjusting the backlight parameters. Selecting different adjustment strategies to adjust the backlight parameters in different application scenarios can make the backlight parameters of the display screen more adaptable to the surrounding environment of the electronic device.

在一些实施例中,本公开实施例所涉及的显示屏为具有背光源的显示屏,例如,可以将发光二极管(Light Emitting Diode,LED)作为电子设备的显示屏的背光源。In some embodiments, the display screen involved in the embodiments of the present disclosure is a display screen with a backlight source, for example, a light emitting diode (Light Emitting Diode, LED) may be used as a backlight source of a display screen of an electronic device.

在一些实施例中,所述方法还包括:In some embodiments, the method also includes:

在基于所述第二采集数据调节所述背光参数的情况下,检测所述第二采集数据的数据变化量;In the case of adjusting the backlight parameter based on the second collected data, detecting a data change amount of the second collected data;

在所述数据变化量大于设定变化阈值时,则切换至基于所述第一采集数据调节所述背光参数。When the amount of change in the data is greater than the set change threshold, switch to adjusting the backlight parameter based on the first collected data.

这里,在基于第二采集数据调节背光参数的情况下,能够检测第二采集数据的变化情况,并确定出第二采集数据的数据变化量,这里,数据变化量可以是第二采集数据的变化幅度。例如,如果检测到第二采集数据从150lux变化至5lux,则数据变化量是145lux。Here, in the case of adjusting the backlight parameter based on the second collected data, the change of the second collected data can be detected, and the data change amount of the second collected data can be determined. Here, the data change amount can be the change of the second collected data magnitude. For example, if it is detected that the second collected data changes from 150 lux to 5 lux, the amount of data change is 145 lux.

本公开实施例中,在检测到第二采集数据的数据变化量之后,可以将数据变化量与设定变化阈值进行比较,在数据变化量大于设定变化阈值时,则切换至基于第一采集数据调节背光参数。这里,设定变化阈值可以是预先设定好的照度变化阈值,例如,可以是根据实验得到的照度变化阈值,或者根据经验设定的照度变化阈值。In the embodiment of the present disclosure, after the data change amount of the second collected data is detected, the data change amount can be compared with the set change threshold, and when the data change amount is greater than the set change threshold value, then switch to the data based on the first collection. The data adjusts the backlight parameters. Here, the set change threshold may be a preset illuminance change threshold, for example, may be an illuminance change threshold obtained from experiments, or an illuminance change threshold set according to experience.

再例如,设定变化阈值可以是50lux,还是以第二采集数据从150lux变化至5lux为例,由于数据变化量是145lux,大于50lux,这时,就可以确定第二光线传感器可能无法检测到光源,如果继续基于第二光线传感器得到的第二采集数据对背光参数进行调节,可能使显示屏的调节参数与当前环境不适应,这时,就需要切换至基于第一采集数据调节背光参数,以提高调节背光参数的精确度。For another example, the set change threshold can be 50 lux, or take the second collected data from 150 lux to 5 lux as an example, since the data change is 145 lux, which is greater than 50 lux, at this time, it can be determined that the second light sensor may not be able to detect the light source , if you continue to adjust the backlight parameters based on the second collection data obtained by the second light sensor, the adjustment parameters of the display screen may not adapt to the current environment. At this time, you need to switch to adjust the backlight parameters based on the first collection data to Improve the accuracy of adjusting backlight parameters.

在一些实施例中,在所述数据变化量大于设定变化阈值时,则切换至基于所述第一采集数据调节所述背光参数,包括:在所述数据变化量大于设定变化阈值时,确定第二采集数据变化至的目标数据;确定所述目标数据是否小于或者等于设定数据阈值;如果所述目标数据小于或者等于设定数据阈值,则切换至基于所述第一采集数据调节所述背光参数。In some embodiments, when the amount of change in the data is greater than a set change threshold, switching to adjusting the backlight parameter based on the first collected data includes: when the amount of change in the data is greater than a set change threshold, Determine the target data to which the second collected data changes; determine whether the target data is less than or equal to the set data threshold; if the target data is less than or equal to the set data threshold, switch to adjusting the set data based on the first collected data The backlight parameters described above.

这里,设定数据阈值可以是预先设定好的数据阈值,例如,可以是根据实验得到的数据阈值,或者根据经验设定的数据阈值。再例如,设定数据阈值可以是5lux。例如,如果检测到第二采集数据从150lux变化至5lux,则数据变化量是145lux,目标数据是5lux,由于5lux是等于设定数据阈值的,这时,可以切换至基于所述第一采集数据调节所述背光参数。由于在目标数据小于设定数据阈值的情况下,可以确定第二光线传感器可能无法检测到光源,这时,就需要切换至基于第一采集数据调节背光参数,以提高调节背光参数的精确度。Here, the set data threshold may be a preset data threshold, for example, may be a data threshold obtained according to experiments, or a data threshold set according to experience. For another example, the set data threshold may be 5lux. For example, if it is detected that the second collected data changes from 150lux to 5lux, then the amount of data change is 145lux, and the target data is 5lux. Since 5lux is equal to the set data threshold, at this time, it can be switched to based on the first collected data. Adjust the backlight parameters. When the target data is less than the set data threshold, it can be determined that the second light sensor may not be able to detect the light source. At this time, it is necessary to switch to adjust the backlight parameters based on the first collected data to improve the accuracy of adjusting the backlight parameters.

图2是根据一示例性实施例示出的亮度调节方法的流程图二,如图2所示,该方法主要包括以下步骤:Fig. 2 is a flowchart 2 of a method for adjusting brightness according to an exemplary embodiment. As shown in Fig. 2 , the method mainly includes the following steps:

在步骤201中,利用所述第一光线传感器采集环境光,得到第一采集数据,以及利用所述第二光线传感器采集环境光,得到第二采集数据;In step 201, use the first light sensor to collect ambient light to obtain first collection data, and use the second light sensor to collect ambient light to obtain second collection data;

在步骤202中,根据所述第一采集数据和/或所述第二采集数据,得到所述显示屏的目标背光参数;In step 202, the target backlight parameters of the display screen are obtained according to the first collected data and/or the second collected data;

在步骤203中,将所述显示屏的背光参数调节至所述目标背光参数。In step 203, the backlight parameters of the display screen are adjusted to the target backlight parameters.

在实现的过程中,可以利用设定函数,根据第一采集数据和/或第二采集数据,得到显示屏的目标背光参数。这里,背光参数可以包括显示屏的亮度数值,以背光参数是显示屏的亮度数值为例,采集数据与背光参数之间的转换公式如下:In the process of implementation, the target backlight parameters of the display screen can be obtained according to the first collected data and/or the second collected data by using a set function. Here, the backlight parameter may include the brightness value of the display screen. Taking the backlight parameter as the brightness value of the display screen as an example, the conversion formula between the collected data and the backlight parameter is as follows:

y=lnx (1);y=lnx(1);

公式(1)中,x表示检测到的采集数据,y显示屏的亮度数值。In formula (1), x represents the detected collected data, and y represents the brightness value of the display screen.

例如,在基于第一采集数据调节背光参数的情况下,可以利用该设定函数,基于第一采集数据得到目标背光参数。在基于第二采集数据调节背光参数的情况下,可以利用该设定函数,基于第二采集数据得到目标背光参数。本公开实施例中,电子设备能够基于第一采集数据和/或第二采集数据自动调节显示屏的亮度和对比度,以适合人眼观看的功能。也就是说,在光线较暗的环境会调低亮度和对比度,在光线较强的环境会调高亮度和对比度,不仅可以提高人眼观看的舒适度,还能起到保护视力的作用。For example, in the case of adjusting the backlight parameter based on the first collected data, the setting function can be used to obtain the target backlight parameter based on the first collected data. In the case of adjusting the backlight parameter based on the second collected data, the setting function can be used to obtain the target backlight parameter based on the second collected data. In the embodiment of the present disclosure, the electronic device can automatically adjust the brightness and contrast of the display screen based on the first collected data and/or the second collected data, so as to be suitable for viewing by human eyes. That is to say, the brightness and contrast will be lowered in a dark environment, and the brightness and contrast will be increased in a strong light environment, which can not only improve the viewing comfort of the human eye, but also protect eyesight.

图3是根据一示例性实施例示出的亮度调节方法的流程图三,如图3所示,该方法主要包括以下步骤:Fig. 3 is a third flowchart of a method for adjusting brightness according to an exemplary embodiment. As shown in Fig. 3 , the method mainly includes the following steps:

在步骤301中,利用所述第一光线传感器采集环境光,得到第一采集数据,以及利用所述第二光线传感器采集环境光,得到第二采集数据;In step 301, use the first light sensor to collect ambient light to obtain first collection data, and use the second light sensor to collect ambient light to obtain second collection data;

在步骤302中,根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数;In step 302, adjust the backlight parameters of the display screen according to the first collected data and/or the second collected data;

在步骤303中,在根据所述第一采集数据和/或所述第二采集数据对所述背光参数进行调节的过程中,获取所述电子设备的姿态信息;In step 303, during the process of adjusting the backlight parameters according to the first collected data and/or the second collected data, attitude information of the electronic device is acquired;

在步骤304中,根据所述姿态信息,调整调节所述背光参数的调节速度。In step 304, the adjustment speed of adjusting the backlight parameter is adjusted according to the posture information.

这里,可以基于电子设备所包括的加速度传感器采集的加速度信息和陀螺仪传感器采集的角度信息,得到电子设备的姿态信息,并根据姿态信息调整背光参数的调节速度。例如,根据加速度传感器采集的重力加速度在笛卡尔坐标系中的x轴、y轴和z轴三轴上的分量,确定出电子设备当前的姿态信息,并根据姿态信息判断电子设备的显示屏是否朝向光源。在一些实施例中,由于第一光线传感器的朝向与电子设备的显示屏的朝向相同,在电子设备的显示屏朝向光源时,第一光线传感器也朝向光源。由于当电子设备的显示屏与水平面的夹角较大时,表示第一光线传感器的光线采集面与水平面的夹角较大,这时,光源的大部分光线可能会照射在第一光线传感器的可视角度边缘上,采集的第一采集数据容易产生较大数值变化,此种数值的变化会导致背光参数较大幅度和较大速度的变化,所以需要降低背光参数的调节速度。Here, the posture information of the electronic device can be obtained based on the acceleration information collected by the acceleration sensor included in the electronic device and the angle information collected by the gyroscope sensor, and the adjustment speed of the backlight parameter can be adjusted according to the posture information. For example, according to the components of the acceleration of gravity collected by the acceleration sensor on the x-axis, y-axis and z-axis in the Cartesian coordinate system, determine the current attitude information of the electronic device, and judge whether the display screen of the electronic device is towards the light source. In some embodiments, since the orientation of the first light sensor is the same as that of the display screen of the electronic device, when the display screen of the electronic device faces the light source, the first light sensor also faces the light source. When the angle between the display screen of the electronic device and the horizontal plane is relatively large, it means that the angle between the light collecting surface of the first light sensor and the horizontal plane is relatively large. On the edge of the viewing angle, the first collected data is likely to have a large value change, which will lead to a large change in the backlight parameter and a large speed change, so the adjustment speed of the backlight parameter needs to be reduced.

也就是说,在确定出电子设备的显示屏朝向光源的情况下,可以确定电子设备的显示屏与水平面的之间的夹角是否大于或者等于设定角度阈值,当电子设备的显示屏与水平面之间的夹角大于或者等于设定角度阈值时,则降低背光参数的调节速度。在一些实施例中,当电子设备的显示屏与水平面之间的夹角小于设定角度阈值时,则维持背光参数的调节速度不变或者提高背光参数的调节速度。That is to say, if it is determined that the display screen of the electronic device is facing the light source, it can be determined whether the angle between the display screen of the electronic device and the horizontal plane is greater than or equal to the set angle threshold. When the included angle between is greater than or equal to the set angle threshold, the adjustment speed of the backlight parameter is reduced. In some embodiments, when the angle between the display screen of the electronic device and the horizontal plane is smaller than the set angle threshold, the adjustment speed of the backlight parameter is kept unchanged or the adjustment speed of the backlight parameter is increased.

本公开实施例中,能够根据电子设备的姿态信息判断使用场景,并根据使用场景对背光参数的调节速度进行适应性调整,能够使得显示屏最终的显示亮度和对比度与当前的使用场景更加匹配。In the embodiment of the present disclosure, the use scene can be judged according to the attitude information of the electronic device, and the adjustment speed of the backlight parameters can be adaptively adjusted according to the use scene, so that the final display brightness and contrast of the display screen can better match the current use scene.

本公开实施例中,以第一光线传感器(前置环境光传感器(Ambient LightSensor,ALS))数据为主,在第一光线传感器的第一采集数据发生变化时,开始参考当前第二光线传感器(后置ALS)得到的第二采集数据,选取第一采集数据和第二采集数据两者中的较大值,并基于该较大值调节显示屏的背光参数。In the embodiment of the present disclosure, the data of the first light sensor (front ambient light sensor (Ambient LightSensor, ALS)) is the main data, and when the first collected data of the first light sensor changes, the current second light sensor ( The second collected data obtained by the rear ALS), select the larger value of the first collected data and the second collected data, and adjust the backlight parameter of the display screen based on the larger value.

在一些实施例中,上述调整策略适用于第一采集数据小于200lux的情况,在第一采集数据大于或者等于200lux的情况下,可以直接基于第一采集数据对背光参数进行调整。In some embodiments, the above adjustment strategy is applicable when the first collected data is less than 200 lux, and when the first collected data is greater than or equal to 200 lux, the backlight parameters can be adjusted directly based on the first collected data.

在一个应用场景中,大部分光源都是从电子设备的上方照射下来的,例如,室内的人造光源和室外的环境光,大多数光源均位于电子设备的上方,这时,第一采集数据(正面光感数值)大于第二采集数据(背面光感数值)。如果用户早上在窗户上使用电子设备或者晚上走夜路在路灯下使用电子设备的场景下,第二采集数据大于第一采集数据,此时,第二采集数据是小于200lux的。In an application scenario, most of the light sources are irradiated from above the electronic equipment. For example, indoor artificial light sources and outdoor ambient light, most of the light sources are located above the electronic equipment. At this time, the first collected data ( The front light sensitivity value) is greater than the second collected data (the back light sensitivity value). If the user uses the electronic device on the window in the morning or uses the electronic device under the street lamp at night, the second collected data is greater than the first collected data, and at this time, the second collected data is less than 200 lux.

在一些实施例中,在基于第二采集数据调节背光参数的情况下,如果第二采集数据的数据变化量(变化幅度)超过设定变化阈值(亮度变化阈值),且目标数据(目标值)低于5lux的情况下,则表示电子设备的背面没有光源,这时,可以切换至基于第一采集数据调节背光参数。本公开实施例中,可以通过根据第一光线传感器得到的第一采集数据和根据第二光线传感器得到的第二采集数据为背光参数的调节提供数据输入,电子设备能够根据第一采集数据和第二采集数据调节显示屏的亮度。In some embodiments, in the case of adjusting the backlight parameters based on the second collected data, if the data change amount (change range) of the second collected data exceeds the set change threshold (brightness change threshold), and the target data (target value) If it is lower than 5 lux, it means that there is no light source on the back of the electronic device. At this time, it can be switched to adjust the backlight parameters based on the first collected data. In the embodiment of the present disclosure, the first collected data obtained by the first light sensor and the second collected data obtained by the second light sensor can be used to provide data input for the adjustment of the backlight parameters, and the electronic device can use the first collected data and the second collected data 2. Acquire data and adjust the brightness of the display screen.

图4是根据一示例性实施例示出的一种亮度调节装置框图。如图4所示,该装置应用于包括显示屏的电子设备,所述电子设备还包括与所述显示屏的朝向相同的第一光线传感器和与所述显示屏的朝向不同的第二光线传感器,该亮度调节装置400主要包括:Fig. 4 is a block diagram of a brightness adjustment device according to an exemplary embodiment. As shown in Figure 4, the device is applied to an electronic device including a display screen, and the electronic device further includes a first light sensor with the same orientation as the display screen and a second light sensor with a different orientation from the display screen , the brightness adjustment device 400 mainly includes:

第一获取模块401,配置为利用所述第一光线传感器采集环境光,得到第一采集数据,以及利用所述第二光线传感器采集环境光,得到第二采集数据;The first acquisition module 401 is configured to use the first light sensor to collect ambient light to obtain first collection data, and use the second light sensor to collect ambient light to obtain second collection data;

调节模块402,配置为根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数。The adjusting module 402 is configured to adjust the backlight parameter of the display screen according to the first collected data and/or the second collected data.

在一些实施例中,所述调节模块,还配置为:In some embodiments, the adjustment module is further configured to:

如果所述第一采集数据大于或者等于设定阈值,则基于所述第一采集数据调节所述背光参数。If the first collected data is greater than or equal to a set threshold, the backlight parameter is adjusted based on the first collected data.

在一些实施例中,所述调节模块,还配置为:In some embodiments, the adjustment module is further configured to:

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据大于所述第二采集数据,则基于所述第一采集数据调节所述背光参数;If the first collected data is smaller than the set threshold and the first collected data is greater than the second collected data, then adjust the backlight parameter based on the first collected data;

如果所述第一采集数据小于所述设定阈值,且所述第一采集数据小于所述第二采集数据,则基于所述第二采集数据调节所述背光参数。If the first collected data is smaller than the set threshold and the first collected data is smaller than the second collected data, adjusting the backlight parameter based on the second collected data.

在一些实施例中,所述装置还包括:In some embodiments, the device also includes:

检测模块,配置为调节模块,配置为在基于所述第二采集数据调节所述背光参数的情况下,检测所述第二采集数据的数据变化量;The detection module is configured as an adjustment module, configured to detect the data variation of the second collected data when the backlight parameter is adjusted based on the second collected data;

切换模块,配置为在所述数据变化量大于设定变化阈值时,则切换至基于所述第一采集数据调节所述背光参数。The switching module is configured to switch to adjusting the backlight parameter based on the first collected data when the amount of change in the data is greater than a set change threshold.

在一些实施例中,所述调节模块,还配置为:In some embodiments, the adjustment module is further configured to:

根据所述第一采集数据和/或所述第二采集数据,得到所述显示屏的目标背光参数;Obtaining target backlight parameters of the display screen according to the first collected data and/or the second collected data;

将所述显示屏的背光参数调节至所述目标背光参数。Adjusting the backlight parameters of the display screen to the target backlight parameters.

在一些实施例中,所述装置还包括:In some embodiments, the device also includes:

第二获取模块,配置为在根据所述第一采集数据和/或所述第二采集数据对所述背光参数进行调节的过程中,获取所述电子设备的姿态信息;The second acquiring module is configured to acquire attitude information of the electronic device during the process of adjusting the backlight parameters according to the first collected data and/or the second collected data;

确定模块,配置为根据所述姿态信息,调整调节所述背光参数的调节速度。The determination module is configured to adjust the adjustment speed of the backlight parameter according to the attitude information.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图5是根据一示例性实施例示出的一种亮度调节装置的硬件结构框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 5 is a block diagram of a hardware structure of a brightness adjustment device according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电力组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。Referring to FIG. 5, the device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and communication component 516 .

处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。The processing component 502 generally controls the overall operations of the device 500, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 502 may include one or more modules that facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502 .

存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 504 is configured to store various types of data to support operations at the device 500 . Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and the like. The memory 504 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件506为装置500的各种组件提供电力。电力组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。Power component 506 provides power to various components of device 500 . Power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 500 .

多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a microphone (MIC), which is configured to receive external audio signals when the device 500 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 504 or sent via communication component 516 . In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 512 provides an interface between the processing component 502 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of device 500 . For example, the sensor component 514 can detect the open/closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, and the sensor component 514 can also detect a change in the position of the device 500 or a component of the device 500 , the presence or absence of user contact with the device 500 , the device 500 orientation or acceleration/deceleration and the temperature change of the device 500 . Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WI-FI,2G或6G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 516 is configured to facilitate wired or wireless communication between the apparatus 500 and other devices. The device 500 can access wireless networks based on communication standards, such as WI-FI, 2G or 6G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 500 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器520执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 504 including instructions, which can be executed by the processor 520 of the device 500 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由亮度调节装置的处理器执行时,使得亮度调节装置能够执行一种亮度调节方法,所述方法应用于包括显示屏的电子设备,所述电子设备还包括与所述显示屏的朝向相同的第一光线传感器和与所述显示屏的朝向不同的第二光线传感器,包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the brightness adjustment device, the brightness adjustment device can execute a brightness adjustment method, and the method is applied to a display screen The electronic device further includes a first light sensor with the same orientation as the display screen and a second light sensor with a different orientation from the display screen, including:

利用所述第一光线传感器采集环境光,得到第一采集数据,以及利用所述第二光线传感器采集环境光,得到第二采集数据;Using the first light sensor to collect ambient light to obtain first collection data, and using the second light sensor to collect ambient light to obtain second collection data;

根据所述第一采集数据和/或所述第二采集数据,调节所述显示屏的背光参数。Adjust the backlight parameters of the display screen according to the first collected data and/or the second collected data.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

CN202010968370.XA2020-09-152020-09-15 Brightness adjustment method, device and storage mediumActiveCN114187874B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010968370.XACN114187874B (en)2020-09-152020-09-15 Brightness adjustment method, device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010968370.XACN114187874B (en)2020-09-152020-09-15 Brightness adjustment method, device and storage medium

Publications (2)

Publication NumberPublication Date
CN114187874A CN114187874A (en)2022-03-15
CN114187874Btrue CN114187874B (en)2023-07-18

Family

ID=80539749

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010968370.XAActiveCN114187874B (en)2020-09-152020-09-15 Brightness adjustment method, device and storage medium

Country Status (1)

CountryLink
CN (1)CN114187874B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116682383B (en)*2023-05-302024-05-03惠科股份有限公司Display panel, backlight compensation method thereof and display device

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2413310A1 (en)*2010-07-262012-02-01Apple Inc.Display Brightness Control Temporal Response
CN103903539A (en)*2012-12-242014-07-02联想(北京)有限公司Screen brightness adjusting method and system
CN109243383A (en)*2018-11-092019-01-18珠海格力电器股份有限公司Backlight brightness adjusting method of display screen and display screen device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9119261B2 (en)*2010-07-262015-08-25Apple Inc.Display brightness control temporal response
CN106558295A (en)*2015-09-252017-04-05小米科技有限责任公司Screen brightness regulation method and device
CN105654923B (en)*2016-03-302018-09-04广东欧珀移动通信有限公司A kind of back light brightness regulating method and user terminal
CN110602423A (en)*2019-10-282019-12-20维吉尔泰光电科技(徐州)有限公司Intelligent-adjustment LED television
CN111128092B (en)*2020-02-112021-07-23北京小米移动软件有限公司 Screen brightness adjustment method, screen brightness adjustment device and computer storage medium
CN111314550A (en)*2020-02-112020-06-19北京小米移动软件有限公司Display control method and device, mobile terminal and storage medium
CN111355843A (en)*2020-02-262020-06-30北京小米移动软件有限公司Brightness adjusting method and device, mobile terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2413310A1 (en)*2010-07-262012-02-01Apple Inc.Display Brightness Control Temporal Response
CN103903539A (en)*2012-12-242014-07-02联想(北京)有限公司Screen brightness adjusting method and system
CN109243383A (en)*2018-11-092019-01-18珠海格力电器股份有限公司Backlight brightness adjusting method of display screen and display screen device

Also Published As

Publication numberPublication date
CN114187874A (en)2022-03-15

Similar Documents

PublicationPublication DateTitle
CN105261346B (en)Method of adjustment, device and the terminal device of backlight illumination
CN110796988A (en)Backlight adjusting method and device
CN112714205B (en) Method, device and storage medium for determining ambient light intensity
CN112086075B (en)Screen display parameter adjusting method and device and storage medium
EP3872804A1 (en)Brightness adjustment method and device, mobile terminal and storage medium
CN112202962B (en)Screen brightness adjusting method and device and storage medium
CN105812574A (en)Volume adjusting method and device
CN106550522A (en)Illumination control method and device
CN106128385A (en)Liquid crystal display control method and device
CN105653041A (en)Display state adjusting method and device
CN107529699A (en)Control method of electronic device and device
CN111901459A (en)Color temperature adjusting method, device, terminal and storage medium
CN107193439A (en)Illumination control method and device
CN106484356A (en)Adjust the method and device of brightness of image
CN112148149A (en)Touch screen control method, touch screen control device and storage medium
CN111405109A (en)Brightness control method, brightness control device and electronic equipment
CN106775246B (en)Screen brightness adjusting method and device
CN112000305A (en) Screen color temperature adjustment method and device
CN111385400A (en) Backlight brightness adjustment method and device
CN114187874B (en) Brightness adjustment method, device and storage medium
CN106128415B (en)Screen luminance adjustment method and device
CN112037719B (en)Screen brightness adjusting method and device
CN115809105A (en)Display picture adjusting method, display picture adjusting device and storage medium
CN108597456B (en) Backlight brightness adjustment method and device
CN113241044B (en) Screen brightness adjustment method, device, device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp