CN115831076A - Screen brightness adjusting method and device, terminal and storage medium - Google Patents
Screen brightness adjusting method and device, terminal and storage medium Download PDFInfo
- Publication number
- CN115831076A CN115831076A CN202111094989.3A CN202111094989A CN115831076A CN 115831076 A CN115831076 A CN 115831076A CN 202111094989 A CN202111094989 A CN 202111094989A CN 115831076 A CN115831076 A CN 115831076A
- Authority
- CN
- China
- Prior art keywords
- light source
- brightness
- terminal
- optical sensor
- light
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000003287 optical effect Effects 0.000 claims abstract description 175
- 238000013507 mapping Methods 0.000 claims description 6
- 230000035807 sensation Effects 0.000 claims 4
- 230000006870 function Effects 0.000 claims 1
- 230000008447 perception Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 206010034960 Photophobia Diseases 0.000 description 3
- 208000013469 light sensitivity Diseases 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
本公开是关于一种屏幕亮度调节方法及装置、终端及存储介质。该方法应用于包括显示屏和多个光学传感器的终端中,所述方法包括:根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度;根据所述实际发光亮度,对所述显示屏的显示亮度进行调节。通过该方法,能提升调节的准确性,提升用户使用体验。
The present disclosure relates to a screen brightness adjustment method and device, a terminal and a storage medium. The method is applied to a terminal including a display screen and multiple optical sensors, and the method includes: determining the actual luminous brightness of the light source according to the luminance value of the light source detected by each of the optical sensors; according to the actual luminous brightness, The display brightness of the display screen is adjusted. Through this method, the adjustment accuracy can be improved, and the user experience can be improved.
Description
技术领域technical field
本公开涉及显示技术领域,尤其涉及一种屏幕亮度调节方法及装置、终端及存储介质。The present disclosure relates to the field of display technology, and in particular, to a method and device for adjusting screen brightness, a terminal, and a storage medium.
背景技术Background technique
通常,终端设备中安装有光学传感器,以通过传感器感测的光强值调整终端屏幕的亮度。然而,光学传感器受限于感受野(Field of view,FOV),感测到的光强度值可能会比真实值小。Usually, an optical sensor is installed in the terminal device, so as to adjust the brightness of the terminal screen according to the light intensity value sensed by the sensor. However, the optical sensor is limited by the field of view (Field of view, FOV), and the sensed light intensity value may be smaller than the real value.
在此基础上,如何提升光学传感器检测的光强度的准确性以对屏幕亮度进行调节,一直以来备受关注。On this basis, how to improve the accuracy of the light intensity detected by the optical sensor to adjust the brightness of the screen has always attracted attention.
发明内容Contents of the invention
本公开提供一种屏幕亮度调节方法及装置、终端及存储介质。The present disclosure provides a screen brightness adjustment method and device, a terminal and a storage medium.
根据本公开实施例的第一方面,提供一种屏幕亮度调节方法,应用于包括显示屏的终端中,所述终端中包括多个光学传感器,所述方法包括:According to the first aspect of an embodiment of the present disclosure, there is provided a method for adjusting screen brightness, which is applied to a terminal including a display screen, where the terminal includes a plurality of optical sensors, and the method includes:
根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度;determining the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors;
根据所述实际发光亮度,对所述显示屏的显示亮度进行调节。The display brightness of the display screen is adjusted according to the actual luminous brightness.
在一些实施例中,所述根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度,包括:In some embodiments, the determining the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors includes:
根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源的实际发光亮度;其中,所述预设函数关系表征光源与终端之间的夹角以及光源的实际发光亮度,与光学传感器采集的亮度值之间的映射关系。According to the brightness value detected by each of the optical sensors, the predetermined positional relationship between the optical sensors, and the preset functional relationship, determine the actual luminous brightness of the light source; wherein, the preset functional relationship represents the light source and the terminal The mapping relationship between the included angle between the light source and the actual luminance of the light source, and the luminance value collected by the optical sensor.
在一些实施例中,所述终端中包括第一光学传感器和第二光学传感器,所述第一光学传感器位于所述显示屏的下方,所述第一光学传感器的视场角朝向所述显示屏;所述第二光学传感器靠近所述终端的边框,所述第二光学传感器的视场角朝向所述边框。In some embodiments, the terminal includes a first optical sensor and a second optical sensor, the first optical sensor is located below the display screen, and the field of view of the first optical sensor faces the display screen ; The second optical sensor is close to the frame of the terminal, and the field of view of the second optical sensor faces the frame.
在一些实施例中,所述终端中还包括角度传感器,所述方法还包括:In some embodiments, the terminal further includes an angle sensor, and the method further includes:
通过所述角度传感器,确定所述终端的显示屏所在的平面与大地水平面的第一夹角;Using the angle sensor, determine a first included angle between the plane where the display screen of the terminal is located and the ground level;
根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源与所述终端之间的第二夹角;determining a second angle between the light source and the terminal according to the brightness value detected by each of the optical sensors, a predetermined positional relationship between each of the optical sensors, and a preset functional relationship;
根据所述第一夹角、所述第二夹角,以及所述光源的实际发光亮度,建立光感模型;其中,所述光感模型用于根据光源的位置确定光源的实际发光亮度。A light perception model is established according to the first included angle, the second included angle, and the actual luminance of the light source; wherein the light perception model is used to determine the actual luminance of the light source according to the position of the light source.
在一些实施例中,所述终端中包括第三光学传感器,所述第三光学传感器靠近所述终端的背壳,所述第三光学传感器的视场角朝向所述终端的背壳;In some embodiments, the terminal includes a third optical sensor, the third optical sensor is close to the back shell of the terminal, and the field angle of the third optical sensor is toward the back shell of the terminal;
所述方法还包括:The method also includes:
获取所述第三光学传感器检测的所述光源之外的环境光的环境光亮度;acquiring ambient light brightness of ambient light other than the light source detected by the third optical sensor;
所述根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度,包括:The determining the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors includes:
若所述环境光亮度小于预设亮度阈值,根据各所述光学传感器检测的光源的亮度值确定所述光源的实际发光亮度。If the brightness of the ambient light is less than the preset brightness threshold, the actual luminous brightness of the light source is determined according to the brightness values of the light sources detected by the optical sensors.
在一些实施例中,所述光源包括:点光源或线光源。In some embodiments, the light source includes: a point light source or a line light source.
根据本公开实施例的第二方面,提供一种屏幕亮度调节装置,应用于包括显示屏的终端中,所述终端中包括多个光学传感器,所述装置包括:According to the second aspect of the embodiments of the present disclosure, there is provided a device for adjusting screen brightness, which is applied to a terminal including a display screen, where the terminal includes a plurality of optical sensors, and the device includes:
第一确定模块,配置为根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度;The first determination module is configured to determine the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors;
调节模块,配置为根据所述实际发光亮度,对所述显示屏的显示亮度进行调节。The adjustment module is configured to adjust the display brightness of the display screen according to the actual luminous brightness.
在一些实施例中,所述第一确定模块,还配置为根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源的实际发光亮度;其中,所述预设函数关系表征光源与终端之间的夹角以及光源的实际发光亮度,与光学传感器采集的亮度值之间的映射关系。In some embodiments, the first determination module is further configured to determine the brightness of the light source according to the brightness value detected by each of the optical sensors, the predetermined positional relationship between each of the optical sensors, and the preset functional relationship. Actual luminous brightness; wherein, the preset functional relationship represents the mapping relationship between the angle between the light source and the terminal, the actual luminous brightness of the light source, and the brightness value collected by the optical sensor.
在一些实施例中,所述终端中还包括角度传感器,所述装置还包括:In some embodiments, the terminal further includes an angle sensor, and the device further includes:
第二确定模块,配置为通过所述角度传感器,确定所述终端的显示屏所在的平面与大地水平面的第一夹角;The second determination module is configured to determine a first included angle between the plane where the display screen of the terminal is located and the ground level through the angle sensor;
第三确定模块,配置为根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源与所述终端之间的第二夹角;The third determination module is configured to determine the second distance between the light source and the terminal according to the brightness value detected by each of the optical sensors, the predetermined positional relationship between each of the optical sensors, and the preset functional relationship. horn;
建模模块,配置为根据所述第一夹角、所述第二夹角,以及所述光源的实际发光亮度,建立光感模型;其中,所述光感模型用于根据光源的位置确定光源的实际发光亮度。The modeling module is configured to establish a light perception model according to the first included angle, the second included angle, and the actual luminance of the light source; wherein, the light perception model is used to determine the light source according to the position of the light source the actual luminance of the light.
在一些实施例中,所述终端中包括第三光学传感器,所述第三光学传感器靠近所述终端的背壳,所述第三光学传感器的视场角朝向所述终端的背壳;In some embodiments, the terminal includes a third optical sensor, the third optical sensor is close to the back shell of the terminal, and the field angle of the third optical sensor is toward the back shell of the terminal;
所述装置还包括:The device also includes:
获取模块,配置为获取所述第三光学传感器检测的所述光源之外的环境光的环境光亮度;An acquisition module configured to acquire ambient light brightness of ambient light other than the light source detected by the third optical sensor;
所述第一确定模块,还配置为若所述环境光亮度小于预设亮度阈值,根据各所述光学传感器检测的光源的亮度值确定所述光源的实际发光亮度。The first determining module is further configured to determine the actual luminance of the light source according to the luminance values of the light sources detected by each of the optical sensors if the ambient light luminance is less than a preset luminance threshold.
根据本公开实施例的第三方面,提供一种终端,包括:According to a third aspect of the embodiments of the present disclosure, a terminal is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行如上述第一方面中所述的屏幕亮度调节方法。Wherein, the processor is configured to execute the method for adjusting screen brightness as described in the first aspect above.
根据本公开实施例的第四方面,提供一种存储介质,包括:According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, including:
当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行如上述第一方面中所述的屏幕亮度调节方法。When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to execute the method for adjusting screen brightness as described in the first aspect above.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
在本公开的实施例中,利用终端中多个光学传感器检测的光源的亮度值,来确定光源的实际发光亮度后再对显示屏的显示亮度进行调节,能提升调节的准确性,提升用户使用体验。In the embodiment of the present disclosure, the brightness value of the light source detected by multiple optical sensors in the terminal is used to determine the actual brightness of the light source and then adjust the display brightness of the display screen, which can improve the accuracy of the adjustment and improve user experience. 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 flowchart of a method for adjusting screen brightness according to an embodiment of the present disclosure.
图2为本公开实施例中一种屏下光学传感器的视场角的示例图。FIG. 2 is an example diagram of a field angle of an under-display optical sensor in an embodiment of the disclosure.
图3为本公开实施例中光源与光学传感器的位置示例图一。FIG. 3 is a diagram 1 illustrating positions of a light source and an optical sensor in an embodiment of the present disclosure.
图4为本公开实施例中光源与光学传感器的位置示例图二。FIG. 4 is a second example of the positions of the light source and the optical sensor in the embodiment of the present disclosure.
图5为本公开实施例中一种光学传感器感测的光强度的示例图。FIG. 5 is an example diagram of light intensity sensed by an optical sensor in an embodiment of the present disclosure.
图6为本公开实施例中光源相对于各光学传感器的视场角的位置示例图。FIG. 6 is an example diagram of the position of the light source relative to the field of view angle of each optical sensor in an embodiment of the present disclosure.
图7为本公开实施例中光源相对大地水平面之间的夹角的示例图。Fig. 7 is an example diagram of the included angle between the light source and the ground level in an embodiment of the present disclosure.
图8是根据一示例性实施例示出的一种屏幕亮度调节装置图。Fig. 8 is a diagram showing a device for adjusting screen brightness according to an exemplary embodiment.
图9是本公开实施例示出的一种终端的框图。Fig. 9 is a block diagram of a terminal shown in an embodiment of the present disclosure.
具体实施方式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 of a screen brightness adjustment method shown in an embodiment of the present disclosure, which is applied to a terminal including a display screen, and the terminal includes a plurality of optical sensors. As shown in Fig. 1 , the screen brightness adjustment method includes the following steps:
S11、根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度;S11. Determine the actual luminous brightness of the light source according to the brightness values of the light sources detected by the optical sensors;
S12、根据所述实际发光亮度,对所述显示屏的显示亮度进行调节。S12. Adjust the display brightness of the display screen according to the actual luminous brightness.
在本公开的实施例中,终端设备包括:移动设备和固定设备;所述移动设备包括:手机、平板电脑或带显示屏的智能音箱等。所述固定设备包括但不限于个人电脑(PersonalComputer,PC)。In an embodiment of the present disclosure, the terminal device includes: a mobile device and a fixed device; the mobile device includes: a mobile phone, a tablet computer, or a smart speaker with a display screen, and the like. The fixed device includes but not limited to a personal computer (Personal Computer, PC).
终端设备中包括显示屏,能显示图像帧。终端中还设置有光线传感器,光线传感器可设置在显示屏的下方,能将透过显示屏的环境光转化为电信号,从而使得终端能根据电信号确定环境光亮度。对于全面屏的终端,设置于显示屏下方的光线传感器通过检测经由显示单元之间的空间间隙透过的光来实现对环境光的检测。The terminal device includes a display screen capable of displaying image frames. The terminal is also equipped with a light sensor, which can be set under the display screen, and can convert the ambient light passing through the display screen into an electrical signal, so that the terminal can determine the brightness of the ambient light according to the electrical signal. For a terminal with a full screen, the light sensor disposed under the display screen realizes the detection of ambient light by detecting the light transmitted through the space gap between the display units.
如前所述的,光学传感器受限于感受野(视场角),感测到的光强度值会比真实值小。对于全面屏的终端,加重了这个问题的严重性。其原因在于,放在屏下的光学传感器的视场角更小了,实际应用中大约也只有45度的感受野,因而可能存在感受不到手机顶部与背部的实际光强度,导致光学传感器检测的光强度不够准确的问题。As mentioned above, the optical sensor is limited by the receptive field (field of view), and the sensed light intensity value will be smaller than the real value. For a terminal with a full screen, the severity of this problem is aggravated. The reason is that the field of view of the optical sensor placed under the screen is even smaller, and in practical applications, it only has a receptive field of 45 degrees, so it may not be able to feel the actual light intensity on the top and back of the mobile phone, causing the optical sensor to detect The light intensity is not accurate enough.
图2为本公开实施例中一种屏下光学传感器的视场角的示例图,如图2所示,以手机为例,位于手机的显示屏下的光学传感器的视野范围约为0~45度。Figure 2 is an example diagram of the field of view of an optical sensor under the screen in an embodiment of the present disclosure. Spend.
通常,如果终端正好在光源的下方,光学传感器可感受到准确的光强度。反之如果距离光源有一夹角,而夹角过大甚至超过光学传感器的视野范围,则光学传感器的感知能力会衰退50%以上,出现量测偏小的问题。需要说明的是,在公开的实施例中,光源相对终端的位置,是指光源相对终端中光学传感器的视场角的位置。Typically, the optical sensor senses the exact light intensity if the terminal is directly below the light source. On the contrary, if there is an included angle from the light source, and the included angle is too large or even exceeds the field of view of the optical sensor, the perception ability of the optical sensor will be reduced by more than 50%, and the measurement will be too small. It should be noted that, in the disclosed embodiments, the position of the light source relative to the terminal refers to the position of the light source relative to the field of view angle of the optical sensor in the terminal.
图3为本公开实施例中光源与光学传感器的位置示例图一,如图3所示,光源在光学传感器的视场角的正中心位置,此时光学传感器量测的数据接近真实值。图4为本公开实施例中光源与光学传感器的位置示例图二,如图4所示,光源在光学传感器的视场角范围外,此时光学传感器数据量测的数据小于真实值。FIG. 3 is an example diagram 1 of the positions of the light source and the optical sensor in an embodiment of the present disclosure. As shown in FIG. 3 , the light source is at the center of the field of view of the optical sensor, and the data measured by the optical sensor is close to the real value. FIG. 4 is an example diagram 2 of the positions of the light source and the optical sensor in the embodiment of the present disclosure. As shown in FIG. 4 , the light source is outside the field of view range of the optical sensor, and the data measured by the optical sensor is smaller than the real value.
图5为本公开实施例中一种光学传感器感测的光强度的示例图,如图5所示,横坐标表示终端相对于光源的位置,纵坐标表示光学传感器感测到的光强度值。图5中包括2个光学传感器感测光强度的曲线,从2个曲线的走势可以看出,在正负30度范围内,光学传感器感测的光强度值较大,而角度偏差超过这个范围,且偏差越大时,光学传感器感测的光强度值越小。需要说明的是,终端中2个光学传感器感测的光强度的曲线不一致可能是因为2个光学传感器的位置差异造成。5 is an example diagram of light intensity sensed by an optical sensor in an embodiment of the present disclosure. As shown in FIG. 5 , the abscissa indicates the position of the terminal relative to the light source, and the ordinate indicates the light intensity value sensed by the optical sensor. Figure 5 includes the curves of light intensity sensed by two optical sensors. From the trend of the two curves, it can be seen that within the range of plus or minus 30 degrees, the light intensity value sensed by the optical sensor is relatively large, and the angle deviation exceeds this range , and the larger the deviation, the smaller the light intensity value sensed by the optical sensor. It should be noted that the inconsistency of the curves of the light intensities sensed by the two optical sensors in the terminal may be caused by the difference in positions of the two optical sensors.
由上述可知,光学传感器检测的光强度可能不能准确反映实际情况,因而基于光学传感器检测的环境光对显示屏的亮度进行调节,可能存在调节偏差的情况。例如,对屏幕亮度的调节偏暗,影响用户阅读的体验。From the above, it can be seen that the light intensity detected by the optical sensor may not accurately reflect the actual situation, and thus the brightness of the display screen may be adjusted based on the ambient light detected by the optical sensor, and there may be adjustment deviations. For example, the adjustment of screen brightness is too dark, which affects the user's reading experience.
对此,本公开提出一种屏幕亮度调节方法,在步骤S11中,根据多个光学传感器检测的光源的亮度值,确定光源的实际发光亮度,然后在步骤S12中,基于光源的实际发光亮度来对显示屏的显示亮度进行调节。In this regard, the present disclosure proposes a screen brightness adjustment method. In step S11, the actual luminance of the light source is determined according to the luminance values of the light source detected by multiple optical sensors, and then in step S12, based on the actual luminance of the light source. Adjust the display brightness of the display.
在一种实施例中,所述光源包括:点光源或线光源。In an embodiment, the light source includes: a point light source or a line light source.
在本公开的实施例中,点光源或线光源是指由可发出光的电子设备发出的光,而不包括太阳光发出的光。其原因在于,太阳光的辐射范围广,且光强度在任意方向均较一致,因而不会出现因光学传感器的视场角限制而导致检测偏差的问题。而点光源或线光源的辐射范围(照射区)有限,因为存在使光学传感器出现检测偏差的问题。In the embodiments of the present disclosure, a point light source or a line light source refers to light emitted by an electronic device capable of emitting light, excluding light emitted by sunlight. The reason is that the radiation range of sunlight is wide, and the light intensity is relatively consistent in any direction, so there will be no problem of detection deviation caused by the limitation of the field of view of the optical sensor. On the other hand, the radiation range (irradiation area) of a point light source or a line light source is limited because there is a problem of causing detection deviation of the optical sensor.
在本公开的实施例中,根据多个光学传感器检测光源的亮度值来确定光源的实际发光亮度时,例如,考虑到光学传感器因视场角限制使得感测的光强度值偏小,因而在一种实施例中,可将多个传感器检测的光源的亮度值中的最大值作为实际发光亮度,以减小偏差。在另一种实施例中,也可将多个光学传感器检测光源的亮度值的平均值乘以预定系数后作为实际发光亮度。该预定系数可以是根据如图3所示的曲线,设定的一个适用于大多数情况的值,例如预定系数值为1.3。In the embodiments of the present disclosure, when determining the actual luminance of the light source according to the brightness values of the light source detected by multiple optical sensors, for example, considering that the light intensity value sensed by the optical sensor is relatively small due to the limitation of the viewing angle, the In one embodiment, the maximum value among the luminance values of the light sources detected by multiple sensors may be used as the actual luminous luminance, so as to reduce the deviation. In another embodiment, the average value of the luminance values of the light sources detected by a plurality of optical sensors may be multiplied by a predetermined coefficient as the actual luminous luminance. The predetermined coefficient may be a value suitable for most situations set according to the curve shown in FIG. 3 , for example, the predetermined coefficient value is 1.3.
在本公开的实施例中,终端在获得光源的实际发光亮度后,即可根据实际发光亮度调整显示屏的显示亮度。例如,当环境光亮度信息很高时,可调高显示屏的显示亮度;当环境光亮度信息很低时,可调低显示屏的显示亮度,以适应用户的人眼。In the embodiments of the present disclosure, after obtaining the actual luminous brightness of the light source, the terminal can adjust the display brightness of the display screen according to the actual luminous brightness. For example, when the ambient light brightness information is high, the display brightness of the display screen can be increased; when the ambient light brightness information is low, the display brightness of the display screen can be reduced to suit the user's eyes.
可以理解的是,本公开利用终端中多个光学传感器检测的光源的亮度值,来确定光源的实际发光亮度后再对显示屏的显示亮度进行调节,能提升调节的准确性,提升用户使用体验。It can be understood that the disclosure utilizes the brightness values of the light sources detected by multiple optical sensors in the terminal to determine the actual luminous brightness of the light source and then adjust the display brightness of the display screen, which can improve the accuracy of the adjustment and improve the user experience .
在一种实施例中,所述根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度,包括:In one embodiment, the determining the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors includes:
根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源的实际发光亮度;其中,所述预设函数关系表征光源与终端之间的夹角以及光源的实际发光强度,与光学传感器采集的亮度值之间的映射关系。According to the brightness value detected by each of the optical sensors, the predetermined positional relationship between the optical sensors, and the preset functional relationship, determine the actual luminous brightness of the light source; wherein, the preset functional relationship represents the light source and the terminal The mapping relationship between the included angle between the light source and the actual luminous intensity of the light source, and the brightness value collected by the optical sensor.
在本公开的实施例中,根据各光学传感器检测的光源的亮度值确定光源的实际发光亮度时,还可结合各光学传感器之间的预定位置关系以及预设函数关系。In the embodiments of the present disclosure, when determining the actual luminous brightness of the light source according to the brightness values of the light sources detected by the optical sensors, the predetermined positional relationship and the preset functional relationship between the optical sensors can also be combined.
其中,光学传感器之间的预定位置关系表征的是光学传感器的视场角朝向之间的相互关系。以两个光学传感器为例,若两光学传感器之间的位置垂直,则一个光学传感器的视场角可朝向显示屏,而另一个光学传感器的视场角朝向终端的边框,例如手机的顶部;若两个光学传感器之间的位置平行,则两光学传感器的视场角可都朝向显示屏。当然,本公开也可以有三个或三个以上的光学传感器,各个光学传感器之间的位置是提前预定好的。Wherein, the predetermined positional relationship between the optical sensors represents the relationship between the orientations of the viewing angles of the optical sensors. Taking two optical sensors as an example, if the positions between the two optical sensors are vertical, the field of view of one optical sensor can face the display screen, while the field of view of the other optical sensor can face the frame of the terminal, such as the top of the mobile phone; If the positions between the two optical sensors are parallel, the viewing angles of the two optical sensors can both face the display screen. Of course, the present disclosure may also have three or more optical sensors, and the positions between the optical sensors are predetermined in advance.
在该实施例中,预设函数关系可通过如下公式(1)来表征:In this embodiment, the preset functional relationship can be characterized by the following formula (1):
L*=f(L,θ) (1)L*=f(L,θ) (1)
其中,L表示光源的实际发光亮度,θ表示光源和终端之间的夹角,L*表示光学传感器采集的亮度值。Among them, L represents the actual luminance of the light source, θ represents the angle between the light source and the terminal, and L* represents the brightness value collected by the optical sensor.
需要说明的是,本公开的预设函数关系可通过如下实验数据拟合获得:光源在光学传感器±90°位置时,光学传感器感光能力为0;而光源在光学传感器的正上方(0°)时,感光能力为100%,即能正确检测光源的实际发光亮度;当在光源在光学传感器的45°位置时,感光能力折半。基于上述数据得到的函数关系对应的曲线,也即为标准FOV曲线。It should be noted that the preset functional relationship of the present disclosure can be obtained by fitting the following experimental data: when the light source is at the position of ±90° of the optical sensor, the light sensitivity of the optical sensor is 0; while the light source is directly above the optical sensor (0°) When the light sensitivity is 100%, the actual luminous brightness of the light source can be detected correctly; when the light source is at the 45° position of the optical sensor, the light sensitivity is halved. The curve corresponding to the functional relationship obtained based on the above data is the standard FOV curve.
在该实施例中,由于已知各个光学传感器检测的亮度值,已知各光学传感器之间的预定位置关系,那么基于上述公式(1)建立方程组,即可获得光源的实际发光亮度。In this embodiment, since the luminance values detected by each optical sensor are known and the predetermined positional relationship between each optical sensor is known, then the actual luminous brightness of the light source can be obtained by establishing a set of equations based on the above formula (1).
可以理解的是,本公开基于上述方式构建方程组从而获得光源的实际发光亮度的方式,计算量小,且简单方便。It can be understood that, the present disclosure constructs a system of equations based on the above method to obtain the actual luminous brightness of the light source, which has a small amount of calculation and is simple and convenient.
在一种实施例中,终端中包括第一光学传感器和第二光学传感器,所述第一光学传感器位于所述显示屏的下方,所述第一光学传感器的视场角朝向所述显示屏;所述第二光学传感器靠近所述终端的边框,所述第二光学传感器的视场角朝向所述边框。In one embodiment, the terminal includes a first optical sensor and a second optical sensor, the first optical sensor is located below the display screen, and the field angle of the first optical sensor faces the display screen; The second optical sensor is close to the frame of the terminal, and the field angle of the second optical sensor faces the frame.
在该实施例中,终端中包括两个光学传感器,基于前述描述可知,若第一光学传感器的视场角朝向显示屏,另一个光学传感器的视场角朝向表框,则两个光学传感器之间的位置垂直。图6为本公开实施例中光源相对于各光学传感器的视场角的位置示例图,如图6所示,光源相对于显示屏下方的第一光学传感器的角度为θ1,光源相对于终端顶部的第二光学传感器的角度为θ2。从图中可以看出,θ1和θ2的角度和近似于90度。需要说明的是,图6中的θ3表示的是终端和大地水平面之间的夹角。In this embodiment, the terminal includes two optical sensors. Based on the foregoing description, it can be seen that if the field of view of the first optical sensor faces the display screen and the field of view of the other optical sensor faces the bezel, the distance between the two optical sensors The position between is vertical. 6 is an example diagram of the position of the light source relative to the field of view angle of each optical sensor in an embodiment of the present disclosure. As shown in FIG. 6 , the angle of the light source relative to the first optical sensor below the display screen is θ 1 The angle of the second optical sensor on top is θ 2 . It can be seen from the figure that the angle sum of θ 1 and θ 2 is approximately 90 degrees. It should be noted that θ 3 in Fig. 6 represents the angle between the terminal and the ground level.
基于上述图6和公式(1),若第一光学传感器检测光强度为L1,第二光学传感器检测的光强度为L2,则可建立方程组:L1=f(L,θ1),L2=f(L,θ2),其中θ1+θ2=90°。由于L1和L2已知,θ1和θ2的角度关系已知,则可求出L,即光源的实际发光亮度。Based on the above-mentioned Figure 6 and formula (1), if the light intensity detected by the first optical sensor is L1, and the light intensity detected by the second optical sensor is L2, then a system of equations can be established: L1=f(L,θ 1 ), L2= f(L,θ 2 ), where θ 1 +θ 2 =90°. Since L1 and L2 are known, and the angular relationship between θ 1 and θ 2 is known, then L, the actual luminance of the light source, can be obtained.
在一种实施例中,所述终端中还包括角度传感器,所述方法还包括:In one embodiment, the terminal further includes an angle sensor, and the method further includes:
通过所述角度传感器,确定所述终端的显示屏所在的平面与大地水平面的第一夹角;Using the angle sensor, determine a first included angle between the plane where the display screen of the terminal is located and the ground level;
根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源与所述终端之间的第二夹角;determining a second angle between the light source and the terminal according to the brightness value detected by each of the optical sensors, a predetermined positional relationship between each of the optical sensors, and a preset functional relationship;
根据所述第一夹角、所述第二夹角,以及所述光源的实际发光亮度,建立光感模型;其中,所述光感模型用于根据光源的位置确定光源的实际发光亮度。A light perception model is established according to the first included angle, the second included angle, and the actual luminance of the light source; wherein the light perception model is used to determine the actual luminance of the light source according to the position of the light source.
在该实施例中,终端中还可包括角度传感器,例如陀螺仪,可检测终端的显示屏所在的平面与大地水平面之间的第一夹角,即上述图6中的θ3,也就是终端的倾斜角度。In this embodiment, the terminal may also include an angle sensor, such as a gyroscope, which can detect the first angle between the plane where the display screen of the terminal is located and the ground level, that is, θ 3 in the above-mentioned Figure 6, that is, the terminal the angle of inclination.
此外,本公开基于上述公式(1)建立的方程组,还可确定光源与终端之间的第二夹角。需要说明的是,在本公开的实施例中,光源与终端之间的第二夹角,可以指光源与终端暖的显示屏所在的平面之间的夹角,也即图6中的θ1。In addition, the present disclosure may also determine the second included angle between the light source and the terminal based on the equation set established by the above formula (1). It should be noted that, in the embodiments of the present disclosure, the second included angle between the light source and the terminal may refer to the included angle between the light source and the plane where the warm display screen of the terminal is located, that is, θ 1 in FIG. 6 .
在确定第一夹角和第二夹角之后,再结合光源的实际发光亮度建立光感模型时,在一种实施例中,可先根据第一夹角和第二夹角之和,确定光源相对于大地水平面的夹角,再基于光源的实际发光亮度,建立第一光感模型。需要说明的是,该第一光感模型可以是基于多组光源相对于大地水平面的夹角以及光源的实际发光亮度而训练获得的模型,其中,光源相对于大地水平面的夹角,对应一个光源的实际发光亮度,在本公开实施例中称之为一组。After determining the first included angle and the second included angle, when combining the actual luminous brightness of the light source to establish the light perception model, in one embodiment, the light source can be determined first according to the sum of the first included angle and the second included angle The first light perception model is established based on the included angle with respect to the ground level and based on the actual luminous brightness of the light source. It should be noted that the first light perception model can be a model obtained by training based on the angles of multiple groups of light sources relative to the ground level and the actual luminance of the light sources, wherein the angles of the light sources relative to the ground level correspond to a light source The actual luminance of luminance is referred to as a group in the embodiments of the present disclosure.
在实际应用中,若提供光源的电子设备中设置有角度传感器,则可基于角度传感器确定自身与大地水平面之间的夹角,并将该夹角发送给本公开的终端,终端根据该第一光感模型即可直接确定出光源的实际发光亮度,从而对显示屏的显示亮度进行调节。In practical applications, if an angle sensor is installed in the electronic device that provides the light source, the angle between itself and the ground level can be determined based on the angle sensor, and the angle can be sent to the terminal of the present disclosure. The light perception model can directly determine the actual luminous brightness of the light source, so as to adjust the display brightness of the display screen.
图7为本公开实施例中光源相对大地水平面之间的夹角的示例图,如图7所示,光源相对大地水平面之间的夹角为θ1+θ3。Fig. 7 is an example diagram of the included angle between the light source and the ground level in an embodiment of the present disclosure. As shown in Fig. 7 , the included angle between the light source and the ground level is θ 1 + θ 3 .
在另一种实施例中,可根据第二夹角,即光源相对终端的夹角,再基于光源的实际发光亮度,建立第二光感模型。需要说明的是,该第二光感模型可以是基于多组光源相对终端的夹角以及光源的实际发光亮度而训练获得的模型,其中,光源相对终端的夹角,对应一个光源的实际发光亮度,在本公开实施例中也称之为一组。In another embodiment, the second light perception model may be established according to the second included angle, that is, the included angle between the light source and the terminal, and based on the actual luminance of the light source. It should be noted that the second light perception model can be a model obtained by training based on the included angles of multiple groups of light sources relative to the terminal and the actual luminous brightness of the light source, wherein the included angle of the light source relative to the terminal corresponds to the actual luminous brightness of a light source , which is also referred to as a group in the embodiments of the present disclosure.
在实际应用中,若提供光源的电子设备或终端中设置有定位传感器,则可基于定位传感器确定光源(提供光源的电子设备)和终端之间的夹角,并将该夹角发送给本公开的终端,终端根据第二光感模型即可直接确定出光源的实际发光亮度,从而对显示屏的显示亮度进行调节。In practical applications, if the electronic device or terminal that provides the light source is provided with a positioning sensor, the angle between the light source (electronic device that provides the light source) and the terminal can be determined based on the positioning sensor, and the angle is sent to the disclosure The terminal can directly determine the actual luminous brightness of the light source according to the second light perception model, so as to adjust the display brightness of the display screen.
可以理解的是,本公开基于内置的角度传感器,结合前述包括上述公式(1)的方案确定第一夹角和第二夹角,以确定光源的位置(包括光源相对终端的位置,或光源相对大地水平面的位置),从而建立光感模型用于确定光源的实际发光亮度,可增强终端在自动调光等方面的能力。It can be understood that the present disclosure determines the first included angle and the second included angle based on the built-in angle sensor in combination with the above-mentioned scheme including the above formula (1), so as to determine the position of the light source (including the position of the light source relative to the terminal, or the position of the light source relative to The position of the earth level), so as to establish a light perception model to determine the actual luminous brightness of the light source, which can enhance the ability of the terminal in aspects such as automatic dimming.
在一种实施例中,所述终端中包括第三光学传感器,所述第三光学传感器靠近所述终端的背壳,所述第三光学传感器的视场角朝向所述终端的背壳;In one embodiment, the terminal includes a third optical sensor, the third optical sensor is close to the back shell of the terminal, and the field angle of the third optical sensor is toward the back shell of the terminal;
所述方法还包括:The method also includes:
获取所述第三光学传感器检测的所述光源之外的环境光的环境光亮度;acquiring ambient light brightness of ambient light other than the light source detected by the third optical sensor;
所述根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度,包括:The determining the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors includes:
若所述环境光亮度小于预设亮度阈值,根据各所述光学传感器检测的光源的亮度值确定所述光源的实际发光亮度。If the brightness of the ambient light is less than the preset brightness threshold, the actual luminous brightness of the light source is determined according to the brightness values of the light sources detected by the optical sensors.
由于光学传感器感测的光源的光强度在较暗的环境中更容易出现前述的检测偏差的问题,因而本公开利用视场角朝向终端背壳的第三光学传感器来检测光源之外的环境光的环境光亮度,并在环境光亮度小于预设亮度阈值时,确定光源的实际发光亮度,以提升采用本公开方案确定光源的实际发光亮度的必要性。Since the light intensity of the light source sensed by the optical sensor is more prone to the aforementioned problem of detection deviation in a darker environment, the present disclosure utilizes a third optical sensor whose field of view faces the back shell of the terminal to detect ambient light other than the light source The ambient light brightness, and when the ambient light brightness is less than the preset brightness threshold, determine the actual luminous brightness of the light source, so as to increase the necessity of determining the actual luminous brightness of the light source by using the disclosed solution.
需要说明的是,由于本公开的光源包括点光源或线光源,点光源或线光源的光被遮挡后,无法透过遮挡物,因而本公开中的第三光学传感器检测的环境光可理解为不包括光源的光。It should be noted that since the light source in the present disclosure includes a point light source or a line light source, the light of a point light source or a line light source cannot pass through an obstruction after being blocked, so the ambient light detected by the third optical sensor in the present disclosure can be understood as Does not include light from light sources.
图8是根据一示例性实施例示出的一种屏幕亮度调节装置图。该装置应用于包括显示屏的终端中,所述终端中包括多个光学传感器,参照图8,所述装置包括:Fig. 8 is a diagram showing a device for adjusting screen brightness according to an exemplary embodiment. The device is applied to a terminal including a display screen, and the terminal includes multiple optical sensors. Referring to FIG. 8, the device includes:
第一确定模块101,配置为根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度;The first determining module 101 is configured to determine the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors;
调节模块102,配置为根据所述实际发光亮度,对所述显示屏的显示亮度进行调节。The adjusting module 102 is configured to adjust the display brightness of the display screen according to the actual luminous brightness.
在一些实施例中,其特征在于,In some embodiments, it is characterized in that,
所述第一确定模块101,还配置为根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源的实际发光亮度;其中,所述预设函数关系表征光源与终端之间的夹角以及光源的实际发光亮度,与光学传感器采集的亮度值之间的映射关系。The first determining module 101 is further configured to determine the actual luminous brightness of the light source according to the brightness values detected by the optical sensors, the predetermined positional relationship between the optical sensors, and the preset functional relationship; wherein , the preset functional relationship characterizes the mapping relationship between the angle between the light source and the terminal, the actual luminous brightness of the light source, and the brightness value collected by the optical sensor.
在一些实施例中,所述终端中还包括角度传感器,所述装置还包括:In some embodiments, the terminal further includes an angle sensor, and the device further includes:
第二确定模块103,配置为通过所述角度传感器,确定所述终端的显示屏所在的平面与大地水平面的第一夹角;The second determination module 103 is configured to determine a first angle between the plane where the display screen of the terminal is located and the ground level through the angle sensor;
第三确定模块104,配置为根据各所述光学传感器检测的亮度值、各所述光学传感器之间的预定位置关系,以及预设函数关系,确定所述光源与所述终端之间的第二夹角;The third determination module 104 is configured to determine the second distance between the light source and the terminal according to the brightness value detected by each of the optical sensors, the predetermined positional relationship between each of the optical sensors, and the preset functional relationship. Angle;
建模模块105,配置为根据所述第一夹角、所述第二夹角,以及所述光源的实际发光亮度,建立光感模型;其中,所述光感模型用于根据光源的位置确定光源的实际发光亮度。The modeling module 105 is configured to establish a light perception model according to the first included angle, the second included angle, and the actual luminance of the light source; wherein, the light perception model is used to determine The actual luminance of the light source.
在一些实施例中,所述终端中包括第三光学传感器,所述第三光学传感器靠近所述终端的背壳,所述第三光学传感器的视场角朝向所述终端的背壳;In some embodiments, the terminal includes a third optical sensor, the third optical sensor is close to the back shell of the terminal, and the field angle of the third optical sensor is toward the back shell of the terminal;
所述装置还包括:The device also includes:
获取模块106,配置为获取所述第三光学传感器检测的所述光源之外的环境光的环境光亮度;An acquisition module 106, configured to acquire ambient light brightness of ambient light other than the light source detected by the third optical sensor;
所述第一确定模块101,还配置为若所述环境光亮度小于预设亮度阈值,根据各所述光学传感器检测的光源的亮度值确定所述光源的实际发光亮度。The first determining module 101 is further configured to determine the actual luminous brightness of the light source according to the brightness values of the light sources detected by each of the optical sensors if the brightness of the ambient light is less than a preset brightness threshold.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。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.
图9是根据一示例性实施例示出的一种终端装置800的框图。例如,装置800可以是手机,平板电脑等。Fig. 9 is a block diagram of a
参照图9,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 9, the
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The
电源组件806为装置800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the
一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得包括显示屏和多个光学传感器的终端能够执行屏幕亮度调节方法,所述方法包括:A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of the terminal, a terminal including a display screen and a plurality of optical sensors can execute a method for adjusting screen brightness, the method comprising:
根据各所述光学传感器检测的光源的亮度值,确定所述光源的实际发光亮度;determining the actual luminous brightness of the light source according to the brightness value of the light source detected by each of the optical sensors;
根据所述实际发光亮度,对所述显示屏的显示亮度进行调节。The display brightness of the display screen is adjusted according to the actual luminous brightness.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。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)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094989.3A CN115831076A (en) | 2021-09-17 | 2021-09-17 | Screen brightness adjusting method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094989.3A CN115831076A (en) | 2021-09-17 | 2021-09-17 | Screen brightness adjusting method and device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115831076A true CN115831076A (en) | 2023-03-21 |
Family
ID=85515321
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111094989.3A Pending CN115831076A (en) | 2021-09-17 | 2021-09-17 | Screen brightness adjusting method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115831076A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327148A (en) * | 2013-06-28 | 2013-09-25 | 惠州Tcl移动通信有限公司 | Screen backlight brightness adjusting implementation method based on mobile terminal and mobile terminal |
CN106506831A (en) * | 2016-10-26 | 2017-03-15 | 广东欧珀移动通信有限公司 | Control method and control device |
CN109257508A (en) * | 2018-11-21 | 2019-01-22 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and mobile terminal that automatic backlight is adjusted |
CN109523977A (en) * | 2018-12-10 | 2019-03-26 | 惠州Tcl移动通信有限公司 | Backlight adjusting method, device, mobile terminal and storage medium |
CN110534073A (en) * | 2019-07-30 | 2019-12-03 | 华为技术有限公司 | A kind of screen luminance adjustment method and device |
CN110970003A (en) * | 2019-12-24 | 2020-04-07 | 维沃移动通信有限公司 | Screen brightness adjusting method and device, electronic equipment and storage medium |
CN111128092A (en) * | 2020-02-11 | 2020-05-08 | 北京小米移动软件有限公司 | Screen brightness adjusting method, screen brightness adjusting device and computer storage medium |
CN111385400A (en) * | 2020-03-12 | 2020-07-07 | 北京小米移动软件有限公司 | Backlight brightness adjusting method and device |
CN111829651A (en) * | 2019-04-18 | 2020-10-27 | 北京小米移动软件有限公司 | Method, device and equipment for calibrating light intensity value and storage medium |
CN112212973A (en) * | 2020-10-20 | 2021-01-12 | Oppo广东移动通信有限公司 | Light sensation compensation method and device, storage medium and electronic equipment |
-
2021
- 2021-09-17 CN CN202111094989.3A patent/CN115831076A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327148A (en) * | 2013-06-28 | 2013-09-25 | 惠州Tcl移动通信有限公司 | Screen backlight brightness adjusting implementation method based on mobile terminal and mobile terminal |
CN106506831A (en) * | 2016-10-26 | 2017-03-15 | 广东欧珀移动通信有限公司 | Control method and control device |
CN109257508A (en) * | 2018-11-21 | 2019-01-22 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and mobile terminal that automatic backlight is adjusted |
CN109523977A (en) * | 2018-12-10 | 2019-03-26 | 惠州Tcl移动通信有限公司 | Backlight adjusting method, device, mobile terminal and storage medium |
CN111829651A (en) * | 2019-04-18 | 2020-10-27 | 北京小米移动软件有限公司 | Method, device and equipment for calibrating light intensity value and storage medium |
CN110534073A (en) * | 2019-07-30 | 2019-12-03 | 华为技术有限公司 | A kind of screen luminance adjustment method and device |
CN110970003A (en) * | 2019-12-24 | 2020-04-07 | 维沃移动通信有限公司 | Screen brightness adjusting method and device, electronic equipment and storage medium |
CN111128092A (en) * | 2020-02-11 | 2020-05-08 | 北京小米移动软件有限公司 | Screen brightness adjusting method, screen brightness adjusting device and computer storage medium |
CN111385400A (en) * | 2020-03-12 | 2020-07-07 | 北京小米移动软件有限公司 | Backlight brightness adjusting method and device |
CN112212973A (en) * | 2020-10-20 | 2021-01-12 | Oppo广东移动通信有限公司 | Light sensation compensation method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101861093B1 (en) | Method and apparatus for setting brightness of screen | |
US9413939B2 (en) | Apparatus and method for controlling a camera and infrared illuminator in an electronic device | |
US11698297B2 (en) | Methods and devices for detecting ambient light based on different states of flexible screen, and storage medium | |
KR101712301B1 (en) | Method and device for shooting a picture | |
WO2017096782A1 (en) | Method of preventing from blocking camera view and device | |
CN109656317B (en) | Apparatus having distance sensing function and distance sensing method | |
CN108833716A (en) | Intensity of illumination determines method and device | |
EP3872804A1 (en) | Brightness adjustment method and device, mobile terminal and storage medium | |
US11596041B2 (en) | Brightness adjustment method and device, and storage medium | |
US10191708B2 (en) | Method, apparatrus and computer-readable medium for displaying image data | |
CN111405109A (en) | Brightness control method, brightness control device and electronic equipment | |
EP3629318B1 (en) | Method and apparatus for compensating operating parameter of display circuit | |
WO2020233201A1 (en) | Icon position determination method and device | |
WO2019019347A1 (en) | Optical fingerprint recognition method and apparatus, and computer readable storage medium | |
US11617023B2 (en) | Method for brightness enhancement of preview image, apparatus, and medium | |
CN115831076A (en) | Screen brightness adjusting method and device, terminal and storage medium | |
CN112689047B (en) | Display control method and device and electronic equipment | |
CA2794067C (en) | Apparatus and method for controlling a camera and infrared illuminator in an electronic device | |
CN111314550A (en) | Display control method and device, mobile terminal and storage medium | |
CN112087539A (en) | Screen light adjusting method for terminal equipment and terminal equipment | |
CN111681593A (en) | Method, device, terminal device and medium for adjusting display effect of display screen | |
CN111988595A (en) | Color temperature adjusting method and device and storage medium | |
CN112511693B (en) | Screen turning method and device | |
WO2023225967A1 (en) | Anti-snooping prompt method and apparatus, and electronic device and storage medium | |
CN111883040A (en) | Display effect adjusting method and device of display screen, terminal equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |