CN114187874A - Brightness adjusting method and device and storage medium - Google Patents

Brightness adjusting method and device and storage medium Download PDF

Info

Publication number
CN114187874A
CN114187874A CN202010968370.XA CN202010968370A CN114187874A CN 114187874 A CN114187874 A CN 114187874A CN 202010968370 A CN202010968370 A CN 202010968370A CN 114187874 A CN114187874 A CN 114187874A
Authority
CN
China
Prior art keywords
collected data
data
display screen
adjusting
backlight parameter
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.)
Granted
Application number
CN202010968370.XA
Other languages
Chinese (zh)
Other versions
CN114187874B (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 Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010968370.XA priority Critical patent/CN114187874B/en
Publication of CN114187874A publication Critical patent/CN114187874A/en
Application granted granted Critical
Publication of CN114187874B publication Critical patent/CN114187874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

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 comprises a first light sensor with the same orientation as the display screen and a second light sensor with the orientation different from the orientation of the display screen, and the method comprises the following steps: 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 the backlight parameter of the display screen according to the first collected data and/or the second collected data. Therefore, the backlight parameter of the display screen can be adjusted according to the first collected data and/or the second collected data, so that the backlight parameter of the display screen can be adapted to the environment around the electronic equipment, the possibility of visual fatigue of a user due to the fact that the backlight parameter is not appropriate is reduced, better experience is brought to the user in the aspect of impression, and the user experience degree is improved.

Description

Brightness adjusting method and device and storage medium
Technical Field
The present disclosure relates to the field of computer communications, and in particular, to a brightness adjustment method, device and storage medium.
Background
With the rapid development of information technology, various electronic devices provide great convenience for people's life, and most of the electronic devices are provided with a display screen for displaying various multimedia information in order to facilitate human-computer interaction. For example, information such as pictures, text, etc. may be displayed based on a display screen of the electronic device. Taking an electronic device as an example of a terminal device, in a display process of the terminal device, a backlight parameter is an important factor, but when the backlight parameter of the terminal device is automatically adjusted, the backlight parameter cannot accurately adapt to the brightness change of the current environment, and when the brightness of the current environment changes suddenly, the brightness cannot be adaptively adjusted according to the change of the environment, so that the user experience is poor.
Disclosure of Invention
The disclosure provides a brightness adjusting method, a brightness adjusting device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a brightness adjustment method applied to an electronic device including a display screen, the electronic device further including 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 including:
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 the backlight parameter of the display screen according to the first collected data and/or the second collected data.
Optionally, the adjusting the backlight parameter of the display screen according to the first collected data and/or the second collected data includes:
adjusting the backlight parameter based on the first collected data if the first collected data is greater than or equal to a set threshold.
Optionally, the adjusting the backlight parameter 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 value and the first collected data is larger than the second collected data, adjusting the backlight parameter based on the first collected data;
and if the first collected data is smaller than the set threshold value 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 further includes:
detecting a data variation of the second collected data in a case where the backlight parameter is adjusted based on the second collected data;
and when the data variation is larger than a set variation threshold, switching to the adjustment of the backlight parameter based on the first acquisition data.
Optionally, the adjusting the backlight parameter 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;
and adjusting the backlight parameter of the display screen to the target backlight parameter.
Optionally, the method further includes:
acquiring attitude information of the electronic equipment in the process of adjusting the backlight parameter according to the first acquisition data and/or the second acquisition data;
and adjusting the adjusting speed of the backlight parameter according to the attitude information.
According to a second aspect of the embodiments of the present disclosure, there is provided a brightness adjustment device applied to an electronic device including a display screen, the electronic device further including 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 device including:
the first acquisition module is configured to acquire ambient light by using the first light sensor to obtain first acquired data and acquire ambient light by using the second light sensor to obtain second acquired data;
and the adjusting module is configured to adjust the backlight parameter of the display screen according to the first collected data and/or the second collected data.
Optionally, the adjusting module is further configured to:
adjusting the backlight parameter based on the first collected data if the first collected data is greater than or equal to a set threshold.
Optionally, the adjusting module is further configured to:
if the first collected data is smaller than the set threshold value and the first collected data is larger than the second collected data, adjusting the backlight parameter based on the first collected data;
and if the first collected data is smaller than the set threshold value and the first collected data is smaller than the second collected data, adjusting the backlight parameter based on the second collected data.
Optionally, the apparatus further comprises:
the detection module is configured to be an adjusting module and is configured to detect the data variation of the second acquisition data under the condition that the backlight parameter is adjusted based on the second acquisition data;
and the switching module is configured to switch to adjusting the backlight parameter based on the first acquisition data when the data variation is larger than a set variation threshold.
Optionally, the adjusting 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;
and adjusting the backlight parameter of the display screen to the target backlight parameter.
Optionally, the apparatus further comprises:
the second acquisition module is configured to acquire the posture information of the electronic equipment in the process of adjusting the backlight parameter according to the first acquisition data and/or the second acquisition data;
and the determining module is configured to adjust the adjusting 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 luminance adjustment device including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps of any of the brightness adjustment methods of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a brightness adjustment apparatus, enable the apparatus to perform the steps of any one of the brightness adjustment methods of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the first light sensor with the same orientation as the display screen can be used for obtaining the first collected data, the second light sensor with the different orientation from the display screen can be used for obtaining the second collected data, and the backlight parameter of the display screen can be adjusted according to the first collected data and/or the second collected data. Therefore, the backlight parameter of the display screen can be adjusted according to the first collected data and/or the second collected data, so that the backlight parameter of the display screen can be adapted to the environment around the electronic equipment, the possibility of visual fatigue of a user due to the fact that the backlight parameter is not appropriate is reduced, better experience is brought to the user in the aspect of impression, and the user experience degree is improved.
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 disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a first flowchart illustrating a brightness adjustment method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a brightness adjustment method according to an exemplary embodiment.
Fig. 3 is a flowchart three illustrating a brightness adjustment method according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a brightness adjustment apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a hardware configuration of a luminance adjusting apparatus according to an exemplary embodiment.
Detailed Description
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, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a brightness adjustment method according to an exemplary embodiment, which is applied to an electronic device including a display screen, the electronic device further including 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, as shown in fig. 1, and mainly includes the following steps:
in step 101, 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;
in step 102, a backlight parameter of the display screen is adjusted according to the first collected data and/or the second collected data.
The brightness adjusting method in the embodiment of the disclosure can be applied to an electronic device including a display screen, a first light sensor and a second light sensor, wherein the electronic device includes a mobile terminal and a fixed terminal. Here, the mobile terminal includes a mobile phone, a notebook computer, a tablet computer, a wearable electronic device, a smart speaker, and the like, and the fixed terminal includes a personal computer, a television, and the like. Here, the first light sensor and the second light sensor may sense light conditions such as light brightness of an environment in which the electronic device is located. In some embodiments, one or more first light sensors and one or more second light sensors may be provided on the electronic device. For example, when a plurality of first light sensors are provided, the orientations of the plurality of first light sensors are the same, and the orientations of the plurality of first light sensors are the same as the orientation of the display screen. When a plurality of second light sensors are arranged, the orientations of the plurality of second light sensors are the same, and the orientations of the plurality of 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 the orientation of the second light sensor, or may be at a set angle, and is not particularly limited herein.
In the embodiment of the disclosure, the first light sensor with the same orientation as the display screen is used for collecting the ambient light to obtain the first collected data, the second light sensor with the different orientation as the display screen is used for collecting the ambient light to obtain the second collected data, and the collected data can be more comprehensive and accurate.
After the first and second collected data are obtained, backlight parameters of the display screen may be adjusted based on the first and/or second collected data. In some embodiments, the first collected data and the second collected data may be directly compared to obtain a comparison result, and then a corresponding adjustment policy is determined according to the comparison result, and the backlight parameter of the display screen is adjusted based on the adjustment policy.
The adjustment policy may be preset, for example, the first adjustment policy may be: adjusting backlight parameters based on the first collected data; the second adjustment strategy may be: adjusting the backlight parameter based on the second collected data. In some embodiments, the determining a corresponding adjustment policy according to the comparison result and adjusting the backlight parameter of the display screen based on the adjustment policy includes: if the comparison result represents that the first collected data is larger than the second collected data, adjusting the backlight parameter based on a first adjusting strategy; and if the comparison result indicates that the first acquisition data is smaller than the second acquisition data, adjusting the backlight parameter based on a second adjustment strategy. Here, the backlight parameter may include: brightness value and contrast of the display screen.
In other embodiments, the first collected data and the second collected data may be weighted and then summed, and the backlight parameter of the display screen may be adjusted based on the summation result.
In the embodiment of the disclosure, a first light sensor with the same orientation as the display screen may be used to obtain first collected data, a second light sensor with the different orientation from the display screen may be used to obtain second collected data, and the backlight parameter of the display screen may be adjusted according to the first collected data and/or the second collected data. Therefore, the backlight parameter of the display screen can be adjusted according to the first collected data and/or the second collected data, so that the backlight parameter of the display screen can be adapted to the environment around the electronic equipment, the possibility of visual fatigue of a user due to the fact that the backlight parameter is not appropriate is reduced, better experience is brought to the user in the aspect of impression, and the user experience degree is improved.
In some embodiments, said adjusting a backlight parameter of said display screen according to said first collected data and/or said second collected data comprises:
adjusting the backlight parameter based on the first collected data if the first collected data is greater than or equal to a set threshold.
Here, the first collected data may be a first illuminance value obtained from the collected ambient light by the first light sensor, the second collected data may be a second illuminance value obtained from the collected ambient light by the second light sensor, the set threshold may be a preset illuminance threshold, for example, an illuminance threshold obtained from an experiment, or an illuminance threshold set empirically, and further, for example, the set threshold may be 200lux (lux).
In the embodiment of the disclosure, it may be determined whether the first collected data is greater than or equal to the set threshold, and in a case that the first collected data is greater than or equal to the set threshold, the backlight parameter of the display screen may be directly adjusted based on the first collected data.
In an application scenario, most of the light sources are illuminated from above the electronic device, for example, an indoor artificial light source and an outdoor ambient light, and most of the light sources are located above the electronic device. When the first collected data collected by the first light sensor with the same orientation as the display screen of the electronic equipment is larger than the set threshold value, the current light source is brighter, and the display screen faces the light source at the set angle.
In the embodiment of the disclosure, a set threshold may be preset, the first collected data may be compared with the set threshold, and when the first collected data is greater than or equal to the set threshold, the backlight parameter may be adjusted directly based on that the first collected data is equal to the set threshold, so as to simplify the adjustment process of the backlight parameter on the basis of ensuring the accuracy of the collected data.
In some embodiments, said adjusting backlight parameters of said display screen based on said first collected data and/or said second collected data comprises:
if the first collected data is smaller than the set threshold value and the first collected data is larger than the second collected data, adjusting the backlight parameter based on the first collected data;
and if the first collected data is smaller than the set threshold value 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, the light source indicating the current display screen is facing the direction is dark, or the back of the electronic device is facing the light source, for example, if the user uses the electronic device on a window in the morning or uses the electronic device under a street lamp at night, the back of the electronic device may be facing the light source, and this is less effective if the backlight parameters are adjusted based on the first collected data only.
In the embodiment of the disclosure, when the first collected data is smaller than the set threshold, the first collected data and the second collected data may be compared to obtain a comparison result, and the backlight parameter of the display screen may be adjusted according to the comparison result. If the first collected data is larger than the second collected data, adjusting the backlight parameters based on the first collected data; and when the second collected data is larger than the first collected data, adjusting the backlight parameters based on the second collected data.
In the embodiment of the disclosure, under the condition that the first collected data is smaller 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 parameter, so that different adjustment strategies can be selected for different application scenes to adjust the backlight parameter, and the backlight parameter of the display screen can be more adaptive to the environment around the electronic device.
In some embodiments, the display screen according to the embodiments of the present disclosure is a display screen having a backlight, for example, a Light Emitting Diode (LED) may be used as a backlight of the display screen of the electronic device.
In some embodiments, the method further comprises:
detecting a data variation of the second collected data in a case where the backlight parameter is adjusted based on the second collected data;
and when the data variation is larger than a set variation threshold, switching to the adjustment of the backlight parameter based on the first acquisition data.
Here, in the case of adjusting the backlight parameter based on the second collected data, it is possible to detect a change of the second collected data and determine a data change amount of the second collected data, where the data change amount may be a change width of the second collected data. For example, if a change in the second acquisition data from 150lux to 5lux is detected, the data change amount is 145 lux.
In the embodiment of the disclosure, after the data variation of the second collected data is detected, the data variation may be compared with a set variation threshold, and when the data variation is greater than the set variation threshold, the backlight parameter is adjusted based on the first collected data. Here, the set change threshold may be a preset illuminance change threshold, and may be, for example, an illuminance change threshold obtained by an experiment or an illuminance change threshold set empirically.
For another example, the set change threshold may be 50lux, or the second collected data is changed from 150lux to 5lux, for example, since the data change amount is 145lux and is greater than 50lux, at this time, it may be determined that the second light sensor may not detect the light source, if the adjustment of the backlight parameter is continued based on the second collected data obtained by the second light sensor, the adjustment parameter of the display screen may not be suitable for the current environment, at this time, it is necessary to switch to adjusting the backlight parameter based on the first collected data, so as to improve the accuracy of adjusting the backlight parameter.
In some embodiments, when the data variation is greater than a set variation threshold, switching to adjusting the backlight parameter based on the first collected data includes: when the data variation is larger than a set variation threshold, determining target data to which the second acquired data is changed; determining whether the target data is less than or equal to a set data threshold; and if the target data is less than or equal to a set data threshold value, switching to adjusting the backlight parameter based on the first acquisition data.
Here, the set data threshold may be a preset data threshold, for example, a data threshold obtained by experiment or a data threshold set empirically. As another example, the set data threshold may be 5 lux. For example, if a change in the second acquisition data from 150lux to 5lux is detected, the data change is 145lux and the target data is 5lux, and since 5lux is equal to the set data threshold, then a switch may be made to adjust the backlight parameter based on the first acquisition data. Since it may be determined that the second light sensor may not detect the light source in the case that the target data is smaller than the set data threshold, it is necessary to switch to adjusting the backlight parameter based on the first collected data to improve the accuracy of adjusting the backlight parameter.
Fig. 2 is a flowchart illustrating a brightness adjustment method according to an exemplary embodiment, where as shown in fig. 2, the method mainly includes the following steps:
in step 201, 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;
in step 202, obtaining a target backlight parameter of the display screen according to the first collected data and/or the second collected data;
in step 203, the backlight parameter of the display screen is adjusted to the target backlight parameter.
In the implementation process, a set function can be used to obtain the target backlight parameter of the display screen according to the first collected data and/or the second collected data. Here, the backlight parameter may include a luminance value of the display screen, and taking the backlight parameter as the luminance value of the display screen as an example, a conversion formula between the collected data and the backlight parameter is as follows:
y=lnx (1);
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 may be used to obtain the target backlight parameter based on the first collected data. In the case where the backlight parameter is adjusted based on the second collected data, the target backlight parameter may be obtained based on the second collected data using the setting function. In the embodiment of the disclosure, the electronic device can automatically adjust the brightness and the contrast of the display screen based on the first collected data and/or the second collected data so as to be suitable for the function of being watched by human eyes. That is to say, can turn down luminance and contrast at the darker environment of light, can turn up luminance and contrast at the stronger environment of light, not only can improve the comfort level that the people's eye watched, can also play the effect of protection eyesight.
Fig. 3 is a flowchart illustrating a brightness adjustment method according to an exemplary embodiment, as shown in fig. 3, the method mainly includes the following steps:
in step 301, 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;
in step 302, adjusting a backlight parameter of the display screen according to the first collected data and/or the second collected data;
in step 303, acquiring posture information of the electronic device during the process of adjusting the backlight parameter according to the first collected data and/or the second collected data;
in step 304, adjusting the adjusting speed of the backlight parameter according to the posture information.
Here, the posture information of the electronic device may be obtained based on acceleration information collected by an acceleration sensor included in the electronic device and angle information collected by a gyro sensor, and the adjustment speed of the backlight parameter may be adjusted according to the posture information. For example, the current attitude information of the electronic device is determined according to the components of the gravity acceleration acquired by the acceleration sensor on three axes of an x axis, a y axis and a z axis in a cartesian coordinate system, and whether the display screen of the electronic device faces the light source is judged according to the attitude information. In some embodiments, since the first light sensor is oriented in the same direction as the display screen of the electronic device, the first light sensor is also oriented toward the light source when the display screen of the electronic device is oriented toward the light source. Because when the contained angle of electronic equipment's display screen and horizontal plane is great, it is great to show the contained angle of first light sensor's light collection face and horizontal plane, and at this moment, most light of light source may shine on first light sensor's visual angle edge, and the first data of gathering produce great number value change easily, and the change of this number value can lead to the change of the great range of parameter and great speed in a poor light, so need reduce the governing speed of parameter in a poor light.
That is to say, under the condition that it is determined that the display screen of the electronic device faces the light source, it may be determined whether an included angle between the display screen of the electronic device and the horizontal plane is greater than or equal to a set angle threshold, and when the included angle between the display screen of the electronic device and the horizontal plane is greater than or equal to the set angle threshold, the adjustment speed of the backlight parameter is reduced. In some embodiments, when the included angle between the display screen of the electronic device and the horizontal plane is smaller than the set angle threshold, the adjusting speed of the backlight parameter is maintained or increased.
In the embodiment of the disclosure, the use scene can be judged according to the posture information of the electronic device, and the adjustment speed of the backlight parameter is adaptively adjusted according to the use scene, so that the final display brightness and contrast of the display screen can be more matched with the current use scene.
In the embodiment of the present disclosure, data of a first Light Sensor (front Ambient Light Sensor (ALS)) is used as a main component, when first collected data of the first Light Sensor changes, second collected data obtained by referring to a current second Light Sensor (back ALS) is started, a larger value of the first collected data and the second collected data is selected, and a backlight parameter of a display screen is adjusted based on the larger value.
In some embodiments, the adjustment strategy is suitable for the case that the first collected data is less than 200lux, and in the case that the first collected data is greater than or equal to 200lux, the backlight parameter may be adjusted directly based on the first collected data.
In one application scenario, most of the light sources are illuminated from above the electronic device, for example, an indoor artificial light source and an outdoor ambient light, and most of the light sources are located above the electronic device, and the first collected data (front light sensation value) is larger than the second collected data (back light sensation value). If the user uses the electronic device on a window in the morning or uses the electronic device under a street lamp at night, the second collected data is larger than the first collected data, and at the moment, the second collected data is smaller than 200 lux.
In some embodiments, in the case of adjusting the backlight parameter based on the second collected data, if the data change amount (change width) of the second collected data exceeds the set change threshold (brightness change threshold) and the target data (target value) is lower than 5lux, it indicates that there is no light source on the back surface of the electronic device, and at this time, it may be switched to adjusting the backlight parameter based on the first collected data. In the embodiment of the disclosure, data input can be provided for adjusting the backlight parameter by the first collected data obtained according to the first light sensor and the second collected data obtained according to the second light sensor, and the electronic device can adjust the brightness of the display screen according to the first collected data and the second collected data.
Fig. 4 is a block diagram illustrating a brightness adjustment apparatus according to an exemplary embodiment. As shown in fig. 4, the apparatus is applied to an electronic device including a display screen, the electronic device further includes 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, and the brightness adjustment apparatus 400 mainly includes:
a first obtaining module 401 configured to obtain first collected data by collecting ambient light with the first light sensor, and obtain second collected data by collecting ambient light with the second light sensor;
an adjusting module 402 configured to adjust a 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:
adjusting the backlight parameter based on the first collected data if the first collected data is greater than or equal to a set threshold.
In some embodiments, the adjustment module is further configured to:
if the first collected data is smaller than the set threshold value and the first collected data is larger than the second collected data, adjusting the backlight parameter based on the first collected data;
and if the first collected data is smaller than the set threshold value 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 apparatus further comprises:
the detection module is configured to be an adjusting module and is configured to detect the data variation of the second acquisition data under the condition that the backlight parameter is adjusted based on the second acquisition data;
and the switching module is configured to switch to adjusting the backlight parameter based on the first acquisition data when the data variation is larger than a set variation 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;
and adjusting the backlight parameter of the display screen to the target backlight parameter.
In some embodiments, the apparatus further comprises:
the second acquisition module is configured to acquire the posture information of the electronic equipment in the process of adjusting the backlight parameter according to the first acquisition data and/or the second acquisition data;
and the determining module is configured to adjust the adjusting speed of the backlight parameter according to the attitude information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a hardware configuration of a luminance adjusting apparatus 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, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 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 a communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices 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 disks.
Power component 506 provides power to the various components of device 500. The power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WI-FI, 2G, or 6G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. 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.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a brightness adjustment apparatus, enable the brightness adjustment apparatus to perform a brightness adjustment method applied to an electronic device including a display screen, the electronic device further including 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, 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 the backlight parameter of the display screen according to the first collected data and/or the second collected data.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that 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 (14)

1. A brightness adjustment method applied to an electronic device including a display screen, the electronic device further including 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 the backlight parameter of the display screen according to the first collected data and/or the second collected data.
2. The method of claim 1, wherein adjusting the backlight parameter of the display screen according to the first and/or second collected data comprises:
adjusting the backlight parameter based on the first collected data if the first collected data is greater than or equal to a set threshold.
3. The method of claim 2, wherein adjusting the backlight parameter of the display screen based on the first collected data and/or the second collected data comprises:
if the first collected data is smaller than the set threshold value and the first collected data is larger than the second collected data, adjusting the backlight parameter based on the first collected data;
and if the first collected data is smaller than the set threshold value and the first collected data is smaller than the second collected data, adjusting the backlight parameter based on the second collected data.
4. The method of claim 1, further comprising:
detecting a data variation of the second collected data in a case where the backlight parameter is adjusted based on the second collected data;
and when the data variation is larger than a set variation threshold, switching to the adjustment of the backlight parameter based on the first acquisition data.
5. The method of claim 1, wherein adjusting the backlight parameter of the display screen according to the first and/or second collected data comprises:
obtaining target backlight parameters of the display screen according to the first collected data and/or the second collected data;
and adjusting the backlight parameter of the display screen to the target backlight parameter.
6. The method according to any one of claims 1 to 5, further comprising:
acquiring attitude information of the electronic equipment in the process of adjusting the backlight parameter according to the first acquisition data and/or the second acquisition data;
and adjusting the adjusting speed of the backlight parameter according to the attitude information.
7. A luminance adjustment apparatus applied to an electronic device including a display screen, the electronic device further including 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 apparatus comprising:
the first acquisition module is configured to acquire ambient light by using the first light sensor to obtain first acquired data and acquire ambient light by using the second light sensor to obtain second acquired data;
and the adjusting module is configured to adjust the backlight parameter of the display screen according to the first collected data and/or the second collected data.
8. The apparatus of claim 7, wherein the adjustment module is further configured to:
adjusting the backlight parameter based on the first collected data if the first collected data is greater than or equal to a set threshold.
9. The apparatus of claim 8, wherein the adjustment module is further configured to:
if the first collected data is smaller than the set threshold value and the first collected data is larger than the second collected data, adjusting the backlight parameter based on the first collected data;
and if the first collected data is smaller than the set threshold value and the first collected data is smaller than the second collected data, adjusting the backlight parameter based on the second collected data.
10. The apparatus of claim 7, further comprising:
the detection module is configured to be an adjusting module and is configured to detect the data variation of the second acquisition data under the condition that the backlight parameter is adjusted based on the second acquisition data;
and the switching module is configured to switch to adjusting the backlight parameter based on the first acquisition data when the data variation is larger than a set variation threshold.
11. The apparatus of claim 7, wherein 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;
and adjusting the backlight parameter of the display screen to the target backlight parameter.
12. The apparatus of any one of claims 7 to 11, further comprising:
the second acquisition module is configured to acquire the posture information of the electronic equipment in the process of adjusting the backlight parameter according to the first acquisition data and/or the second acquisition data;
and the determining module is configured to adjust the adjusting speed of the backlight parameter according to the attitude information.
13. A luminance adjustment device, characterized by comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps of any of the brightness adjustment methods of claims 1-6 above.
14. A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of a brightness adjustment apparatus, enable the apparatus to perform the steps of any of the brightness adjustment methods of claims 1-6 above.
CN202010968370.XA 2020-09-15 2020-09-15 Brightness adjusting method, device and storage medium Active CN114187874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010968370.XA CN114187874B (en) 2020-09-15 2020-09-15 Brightness adjusting method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010968370.XA CN114187874B (en) 2020-09-15 2020-09-15 Brightness adjusting method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114187874A true CN114187874A (en) 2022-03-15
CN114187874B CN114187874B (en) 2023-07-18

Family

ID=80539749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010968370.XA Active CN114187874B (en) 2020-09-15 2020-09-15 Brightness adjusting method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114187874B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116682383A (en) * 2023-05-30 2023-09-01 惠科股份有限公司 Display panel, backlight compensation method thereof and display device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120019152A1 (en) * 2010-07-26 2012-01-26 Apple Inc. Display brightness control based on ambient light angles
EP2413310A1 (en) * 2010-07-26 2012-02-01 Apple Inc. Display Brightness Control Temporal Response
CN103903539A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Screen brightness adjusting method and system
CN105654923A (en) * 2016-03-30 2016-06-08 广东欧珀移动通信有限公司 Method for adjusting backlight brightness and user terminal
CN106558295A (en) * 2015-09-25 2017-04-05 小米科技有限责任公司 Screen brightness regulation method and device
CN109243383A (en) * 2018-11-09 2019-01-18 珠海格力电器股份有限公司 A kind of back light brightness regulating method and display device of display screen
CN110602423A (en) * 2019-10-28 2019-12-20 维吉尔泰光电科技(徐州)有限公司 Intelligent-adjustment LED television
CN111128092A (en) * 2020-02-11 2020-05-08 北京小米移动软件有限公司 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
CN111314550A (en) * 2020-02-11 2020-06-19 北京小米移动软件有限公司 Display control method and device, mobile terminal and storage medium
CN111355843A (en) * 2020-02-26 2020-06-30 北京小米移动软件有限公司 Brightness adjusting method and device, mobile terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120019152A1 (en) * 2010-07-26 2012-01-26 Apple Inc. Display brightness control based on ambient light angles
EP2413310A1 (en) * 2010-07-26 2012-02-01 Apple Inc. Display Brightness Control Temporal Response
CN103903539A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Screen brightness adjusting method and system
CN106558295A (en) * 2015-09-25 2017-04-05 小米科技有限责任公司 Screen brightness regulation method and device
CN105654923A (en) * 2016-03-30 2016-06-08 广东欧珀移动通信有限公司 Method for adjusting backlight brightness and user terminal
CN109243383A (en) * 2018-11-09 2019-01-18 珠海格力电器股份有限公司 A kind of back light brightness regulating method and display device of display screen
CN110602423A (en) * 2019-10-28 2019-12-20 维吉尔泰光电科技(徐州)有限公司 Intelligent-adjustment LED television
CN111128092A (en) * 2020-02-11 2020-05-08 北京小米移动软件有限公司 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
CN111314550A (en) * 2020-02-11 2020-06-19 北京小米移动软件有限公司 Display control method and device, mobile terminal and storage medium
CN111355843A (en) * 2020-02-26 2020-06-30 北京小米移动软件有限公司 Brightness adjusting method and device, mobile terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116682383A (en) * 2023-05-30 2023-09-01 惠科股份有限公司 Display panel, backlight compensation method thereof and display device
CN116682383B (en) * 2023-05-30 2024-05-03 惠科股份有限公司 Display panel, backlight compensation method thereof and display device

Also Published As

Publication number Publication date
CN114187874B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN110796988B (en) Backlight adjusting method and device
EP3096209B1 (en) Method and device for recognizing object
CN107463052B (en) Shooting exposure method and device
CN106527682B (en) Method and device for switching environment pictures
CN111128091B (en) Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
CN112714205B (en) Ambient light intensity determination method, device and storage medium
CN111988493B (en) Interaction processing method, device, equipment and storage medium
CN111611034A (en) Screen display adjusting method and device and storage medium
CN111984347A (en) Interaction processing method, device, equipment and storage medium
CN111243554A (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN109151217B (en) Backlight mode adjusting method and device
CN106128415B (en) Screen luminance adjustment method and device
CN114187874B (en) Brightness adjusting method, device and storage medium
CN112000305A (en) Screen color temperature adjusting method and device
CN106775246B (en) Screen brightness adjusting method and device
CN108597456B (en) Backlight brightness adjusting method and device
CN111355843A (en) Brightness adjusting method and device, mobile terminal and storage medium
CN112017598A (en) Backlight brightness adjusting method and device
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN112951162B (en) Display screen and control method and device thereof
CN112037719B (en) Screen brightness adjusting method and device
CN112086075B (en) Screen display parameter adjusting method and device and storage medium
CN112148149A (en) Touch screen control method, touch screen control device and storage medium
CN111385400A (en) Backlight brightness adjusting method and device
CN111314550A (en) Display control method and device, mobile terminal and storage 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
GR01 Patent grant
GR01 Patent grant