WO2021258950A1 - 一种亮度调节方法及终端、存储介质 - Google Patents

一种亮度调节方法及终端、存储介质 Download PDF

Info

Publication number
WO2021258950A1
WO2021258950A1 PCT/CN2021/095301 CN2021095301W WO2021258950A1 WO 2021258950 A1 WO2021258950 A1 WO 2021258950A1 CN 2021095301 W CN2021095301 W CN 2021095301W WO 2021258950 A1 WO2021258950 A1 WO 2021258950A1
Authority
WO
WIPO (PCT)
Prior art keywords
light
light sensor
value
screen
sensor
Prior art date
Application number
PCT/CN2021/095301
Other languages
English (en)
French (fr)
Inventor
蔺百杨
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021258950A1 publication Critical patent/WO2021258950A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Definitions

  • the present invention relates to the technical field of terminal display, in particular to a brightness adjustment method, a terminal, and a storage medium.
  • terminals With the continuous development of electronic technology, terminals have more and more functions and richer experiences. People have also enjoyed various conveniences brought about by the development of science and technology. Of course, the requirements for terminals are getting higher and higher.
  • the terminal obtains screenshot information of the current display screen, and obtains the screen color information and screen brightness level of the current display screen from the screenshot information, and the terminal uses linear fitting to the screen color information and screen brightness level Fitting is performed to determine the display brightness information on the display screen, and then the terminal uses the total brightness information including the screen light and the ambient light obtained by the photosensitive device and the display brightness information to determine the current brightness information in the ambient light. And adjust the brightness of the display screen according to the brightness information in the ambient light.
  • the screen color information on the display screen obtained by the terminal is color information, not a single color information
  • the local data obtained when the terminal performs linear fitting is For non-linear data, the accuracy of the display brightness information calculated by the terminal according to the non-linear data is low, resulting in low accuracy of the brightness information in the ambient light determined by the terminal.
  • the embodiments of the present invention expect to provide a brightness adjustment method, a terminal, and a storage medium, which can improve the accuracy of the brightness information in the ambient light determined by the terminal.
  • An embodiment of the present application provides a terminal, and the terminal includes:
  • the first light sensor and the second light sensor are both arranged in the slit area on the first side of the display screen;
  • the first light sensor is configured to collect screen light on the display screen to obtain a first light sensor value
  • the second light sensor is configured to collect ambient light and the screen light to obtain a second light sensor value
  • the processor is configured to determine brightness information of the ambient light according to the first light perception value and the second light perception value, and adjust the brightness of the display screen according to the brightness information.
  • the first light sensor and the second light sensor start to collect the screen light and the ambient light at the same time.
  • the ink on the transparent surface of the first light sensor is black ink
  • the ink on the light-transmitting surface of the second light sensor is colorless diffusive oil.
  • the first light sensor is specifically configured to collect the screen light multiple times to obtain a plurality of third light sensor values
  • the processor is specifically configured to determine a first average value of the plurality of third light perception values; and use the first average value as the first light perception value.
  • the second light sensor is specifically configured to collect the ambient light and the screen light multiple times to obtain multiple fourth light sensitivity values
  • the processor is specifically configured to determine a second average value of the plurality of fourth light perception values; and use the second average value as the second light perception value.
  • the processor is specifically configured to obtain a light sensitivity difference value according to the first light sensitivity value and the second light sensitivity value; convert the light sensitivity difference value into light intensity information; The light intensity information determines the brightness information.
  • the parameter information of the first light sensor and the parameter information of the second light sensor are the same;
  • the parameter information includes at least one of the following:
  • the embodiment of the present application provides a brightness adjustment method, which is applied to a terminal, and the terminal includes a first light sensor, a second light sensor, a display screen, and is respectively connected to the first light sensor and the second light sensor.
  • a processor connected to the display screen, the first light sensor and the second light sensor are both arranged in the slit area on the first side of the display screen, the first light sensor and The second light sensor starts to collect screen light and ambient light on the display screen at the same time, and the method includes:
  • the collecting the screen light by the first light sensor to obtain the first light sensitivity value includes:
  • the first average value is used as the first light perception value.
  • the collecting the ambient light and the screen light by the second light sensor to obtain the second light sensitivity value includes:
  • the second average value is used as the second light perception value.
  • the determining the brightness information of the ambient light according to the first light perception value and the second light perception value includes:
  • the brightness information is determined according to the light intensity information.
  • the method before the use of the first light sensor to collect the screen light to obtain the first light sensitivity value, the method further includes:
  • the collecting the screen light by the first light sensor to obtain the first light sensitivity value includes:
  • the first light sensor is used to collect the screen light to obtain a first light sensitivity value.
  • the embodiment of the present application provides a storage medium on which a computer program is stored, which is applied to a terminal, and when the computer program is executed by a processor, the above-mentioned brightness adjustment method is implemented.
  • the embodiment of the present invention provides a brightness adjustment method, a terminal, and a storage medium.
  • the terminal includes: a first light sensor, a second light sensor, a display screen, and the first light sensor, the second light sensor, and the display respectively.
  • the processor connected to the screen; the first light sensor and the second light sensor are both arranged in the slit area on the first side of the display screen; the first light sensor is configured to collect the screen light on the display screen to obtain the first light.
  • the second light sensor is configured to collect ambient light and screen light to obtain a second light sensor value; the processor is configured to determine the brightness information of the ambient light according to the first light sensor value and the second light sensor value, And adjust the brightness of the display according to the brightness information.
  • the terminal when the terminal uses the first light sensor to obtain the first light sensitivity value, the terminal can directly determine the ambient light according to the second light sensitivity value including the ambient light and the screen light, and the first light sensitivity value.
  • the brightness information in the screen does not require the terminal to obtain the screenshot information of the current display screen, and perform linear fitting according to the color information in the screenshot information to obtain the linear data including the nonlinear data, and determine it based on the linear data including the nonlinear data
  • the brightness information in the ambient light improves the accuracy of the brightness information in the ambient light determined by the terminal.
  • Figure 1 is a schematic diagram of an exemplary terminal structure in the prior art provided by an embodiment of the application; Figure 1;
  • FIG. 2 is a schematic diagram of an exemplary position structure between a light sensing device and a display screen in the prior art provided by an embodiment of the application;
  • FIG. 3 is a schematic diagram of the composition structure of a terminal provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram 1 of the positions of an exemplary first light sensor and a second light sensor according to an embodiment of the application;
  • FIG. 5 is an exemplary schematic diagram of the connection between the first light sensor and the second light sensor and the terminal according to an embodiment of the application;
  • FIG. 6 is a second schematic diagram of the positions of an exemplary first light sensor and a second light sensor according to an embodiment of the application;
  • FIG. 7 is a flowchart of a brightness adjustment method provided by an embodiment of the application.
  • FIG. 8 is a flowchart of an exemplary brightness adjustment method provided by an embodiment of the application.
  • the patent application number 201810965920.5 discloses: for the full-screen structure of the OLED display, the infrared transmitter is arranged in the sound hole of the receiver to emit infrared light; the infrared receiver is arranged under the display area of the display, It is configured to receive the reflected infrared light, and realize the proximity function based on the emitted infrared light and the reflected infrared light.
  • the first is to use the light guide to transmit the ambient light to the surface of the photosensitive device.
  • This method needs to ensure that the screen light of the display cannot interfere with the photosensitive device. Therefore, a larger black border is required to avoid the interference of the screen light signal on the photosensitive device.
  • Figure 1 is a partial screenshot of the plane where the screen of the mobile phone is located.
  • the circular area on the left in Figure 1 is the camera of the mobile phone, and the small circle on the right in Figure 1
  • the area is the location area of the photosensitive device.
  • the annular area outside the small circular area is the black border area, and the area above the photosensitive device is the handset of the mobile phone. Since a larger black border area is set around the photosensitive device, it is reduced
  • the display area of the display screen reduces the screen-to-body ratio of the display screen.
  • the second is to place the light sensor directly below the display screen.
  • the terminal collects the total brightness information of the screen light and ambient light through the light sensor device, and the terminal obtains the screenshot information of the current display screen, and Obtain the screen color information and screen brightness level of the current display from the screenshot information, and the terminal uses linear fitting to fit the screen color information and screen brightness level to determine the display brightness information on the display. Then the terminal uses the total brightness information including the screen light and the ambient light and the display brightness information obtained by the photosensitive device on the printed circuit board (Printed Circuit Board, PCB) to determine the current brightness information in the ambient light, and Adjust the brightness of the display screen according to the brightness information in the ambient light.
  • PCB printed circuit Board
  • the screen color information on the display screen obtained by the terminal is color information, not a single color information, the local data obtained when the terminal performs linear fitting is non-uniform.
  • the accuracy of the display brightness information calculated by the terminal according to the non-linear data is low, resulting in low accuracy of the brightness information in the ambient light determined by the terminal.
  • the brightness of the display screen can also be adjusted through pulse width modulation (Pulse Width Modulation, PWM).
  • PWM pulse width modulation
  • the PWM adjustment is to adjust the screen brightness of the display screen by changing the time when the display screen is on and off.
  • the terminal can directly use the light signal obtained by the photosensitive device under the display as the brightness information of the ambient light when the display screen is not bright, and according to the environment The brightness information of the light is used to adjust the brightness of the terminal display screen, but this kind of display screen brightness adjustment method can only be applied to a terminal equipped with a PWM adjustment method, which is restrictive.
  • FIG. 3 is a schematic diagram 1 of the composition structure of a terminal provided in an embodiment of the application. As shown in FIG. 3, the terminal includes:
  • the first light sensor and the second light sensor are both arranged in the slit area on the first side of the display screen;
  • the first light sensor is configured to collect screen light on the display screen to obtain a first light sensor value
  • the second light sensor is configured to collect ambient light and the screen light to obtain a second light sensor value
  • the processor is configured to determine brightness information of the ambient light according to the first light perception value and the second light perception value, and adjust the brightness of the display screen according to the brightness information.
  • the terminal provided by the embodiment of the present application is suitable for a scene in which the first light sensor and the second light sensor are used to determine the brightness information of the ambient light, and the brightness is adjusted according to the brightness information.
  • the terminal may be implemented in various forms.
  • the terminal described in this application may include mobile phones, tablet computers, notebook computers, handheld computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Mobile terminals such as wearable devices, smart bracelets, and pedometers, as well as fixed terminals such as digital TVs and desktop computers.
  • PDA Personal Digital Assistant
  • PMP portable media players
  • Navigation devices Mobile terminals such as wearable devices, smart bracelets, and pedometers
  • Mobile terminals such as wearable devices, smart bracelets, and pedometers
  • fixed terminals such as digital TVs and desktop computers.
  • the terminal further includes a casing and a main board located in the casing, the casing also includes a black border area, and the first light sensor 11 and the second light sensor 12 are arranged between the main board and the black border area .
  • the first light sensor and the second light sensor are arranged adjacent to each other.
  • the first light sensor may be arranged on the left side of the second light sensor, and the first light sensor may be arranged on the left side of the second light sensor.
  • the right side of the second light sensor can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the first light sensor may be an integrated circuit (IC), a light sensitive diode, or other sensors that collect light signals.
  • IC integrated circuit
  • the specifics can be determined according to actual conditions. The embodiment of the application does not limit this.
  • the second light sensor may be a light-sensitive IC, a photodiode, or other sensors that collect light signals.
  • the specifics can be determined according to actual conditions. limited.
  • the first light sensor and the second light sensor are arranged adjacent to the area between the main board and the black border area, and the second light sensor can collect data through the gap between the display screen and the black border area.
  • Ambient light the light-transmitting surface of the first light sensor and the light-transmitting surface of the second light sensor receive light from the side of the display screen through internal diffraction, so the settings of the first light sensor and the second light sensor do not occupy the display
  • the display area of the screen increases the screen-to-body ratio of the terminal display.
  • the gap between the display screen 13 and the black border area can be 0.15mm, the gap between the display screen and the black border area can also be 5um, and the gap between the display screen and the black border area can be 20um, which can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the display screen and the processor 14 are connected through a motherboard, so that the processor can adjust the brightness of the display screen through the motherboard.
  • the earpiece, the first light sensor and the second light sensor are arranged at the position of the black border area of the mobile phone, wherein the earpiece is arranged on the black border area ,
  • the first light sensor and the second light sensor are adjacently arranged on the main board under the black border area, and the camera is arranged on the display screen of the mobile phone.
  • the display screen may be an organic light-emitting semiconductor (Organic Light-Emitting Diode, OLED) display screen
  • the display screen may also be a liquid crystal display (Liquid Crystal Display, LDC), or a thin film transistor (Thin Film Transistor).
  • the Transistor (TFT) display screen can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the first light sensor and the second light sensor start to collect the screen light and the ambient light at the same time.
  • the terminal uses the first light sensor and the second light sensor to start collecting screen light and ambient light at the same time, so that the terminal can obtain the first light sensor value and the first light sensor value of the first light sensor at the same time.
  • the second light sensitivity value of the light sensor the terminal can obtain the brightness information of the ambient light corresponding to the same time according to the first light sensitivity value and the second light sensitivity value at the same time, which improves the terminal's ability to obtain the brightness information of the ambient light accuracy.
  • the ink on the transparent surface of the first light sensor is black ink
  • the ink on the light-transmitting surface of the second light sensor is colorless diffusive oil.
  • the transparent surface of the first photosensor can be printed with black ink, so that the transparent surface of the first photosensor is black, so that the transmittance of visible light is 0%.
  • the light-transmitting surface of the first light sensor is black, so that the first light sensor cannot collect visible light, that is, the first light sensor cannot collect ambient light, but can only collect screen light.
  • the light-transmitting surface of the first photosensor can be one surface of the first photosensor, or it can be multiple surfaces of the first photosensor.
  • the specifics can be determined according to actual conditions. The application embodiment does not limit this.
  • the light-transmitting surface of the first light sensor when the light-transmitting surface of the first light sensor is one surface, the light-transmitting surface of the first light sensor may be the surface parallel to and closest to the display screen.
  • the light-transmitting surface of the second light sensor can be printed with diffused oil, so that the light-transmitting surface of the second light sensor is colorless, thereby increasing the transmittance of visible light.
  • the light-transmitting surface of the second light sensor is colorless, so that the second light sensor can collect visible light, that is, the second light sensor can collect ambient light and can also collect screen light.
  • the light-transmitting surface of the second photosensor can be one surface of the second photosensor, or it can be multiple surfaces of the second photosensor.
  • the specifics can be determined according to actual conditions. The application embodiment does not limit this.
  • the light-transmitting surface of the second light sensor when the light-transmitting surface of the second light sensor is one surface, the light-transmitting surface of the second light sensor may be the surface parallel to and closest to the display screen.
  • the first light sensor is specifically configured to collect the screen light multiple times to obtain a plurality of third light sensor values
  • the processor is specifically configured to determine a first average value of the plurality of third light perception values; and use the first average value as the first light perception value.
  • the terminal uses the first light sensor to collect the screen light once every integration time interval, and the terminal obtains multiple third light perception values by collecting multiple screen lights at multiple integration times. .
  • the number of the multiple third light sensitivity values may be 4 third light sensitivity values, 6 third light sensitivity values, or 10 third light sensitivity values. Specifically, It can be determined according to the actual situation, which is not limited in the embodiment of the present application.
  • the first light sensor may collect screen light within the integration time to obtain multiple third light sensitivity values.
  • the integration time may be the collection time interval configured in the first light sensor. It may also be the collection time interval of the second light sensor set by the terminal, which can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the integration time may be 12.5 ms, the integration time may also be 20 us, and the integration time may also be 50 ns, which can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the second light sensor is specifically configured to collect the ambient light and the screen light multiple times to obtain multiple fourth light sensor values
  • the processor is specifically configured to determine a second average value of the plurality of fourth light perception values; and use the second average value as the second light perception value.
  • the terminal uses the second light sensor to collect screen light and ambient light once at every interval of integration time.
  • the terminal collects multiple screen lights and ambient light at intervals of multiple integration times to obtain more information.
  • the fourth light perception value is the fourth light perception value.
  • the number of the multiple fourth light sensitivity values may be 4 fourth light sensitivity values, 6 fourth light sensitivity values, or 10 fourth light sensitivity values. It can be determined according to the actual situation, which is not limited in the embodiment of the present application.
  • the second light sensor when the terminal collects screen light through the first light sensor, the second light sensor is used to collect screen light and ambient light at the same time, and the time interval between the first light sensor and the second light sensor is both Is the integration time, so that the terminal can obtain a third light sensitivity value and a fourth light sensitivity value at the same time, so as to obtain multiple third light sensitivity values and multiple first light sensitivity values during multiple integration times.
  • Four light perception values when the terminal collects screen light through the first light sensor, the second light sensor is used to collect screen light and ambient light at the same time, and the time interval between the first light sensor and the second light sensor is both Is the integration time, so that the terminal can obtain a third light sensitivity value and a fourth light sensitivity value at the same time, so as to obtain multiple third light sensitivity values and multiple first light sensitivity values during multiple integration times.
  • the second light sensor may collect screen light within the integration time to obtain multiple fourth light sensitivity values.
  • the integration time may be the collection time interval configured in the second light sensor, or It may be the collection time interval of the second light sensor set by the terminal, which can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the processor is specifically configured to obtain a light perception difference value according to the first light perception value and the second light perception value; convert the light perception difference value into light intensity information; The light intensity information determines the brightness information.
  • the method for the terminal to adjust the brightness of the display screen according to the brightness information includes: the terminal increases the brightness of the display screen according to the brightness information, or the terminal reduces the brightness of the display screen according to the brightness information.
  • the actual situation is determined, which is not limited in the embodiment of the present application.
  • the parameter information of the first light sensor and the second light sensor are the same;
  • the parameter information includes at least one of the following:
  • the first light sensor and the second light sensor have different inks except for the light-transmitting surface, and other parameter information is the same.
  • the integration time may be the time interval during which the first light sensor and the second light sensor collect light signals.
  • the digital gain can adjust the pulse amplitude of the collected light signal of the digital-to-analog conversion for the first light sensor and the second light sensor.
  • analog gain can adjust the signal intensity of the linearly amplified collected light signal for the first light sensor and the second light sensor.
  • the time for reporting the light-sensing value may be the time for the first light-sensing sensor and the second light-sensing sensor to report the third light-sensing value and the fourth light-sensing value.
  • the terminal may also use a sensor that detects color temperature to obtain the color temperature of the display screen and the total color temperature of the ambient color temperature, and the color temperature value of the display screen, according to the total color temperature and the color temperature of the display screen. Value to determine the environmental color temperature value, and adjust the color temperature value of the display screen according to the environmental color temperature value.
  • the number of sensors for detecting color temperature may be at least two, and the at least two color temperature sensors are arranged in the area between the main board and the black border area, and the at least two color temperature sensors are connected to the main board respectively. Connection, so that the setting of at least two color temperature sensors does not occupy the display area of the terminal display screen, and the screen-to-body ratio of the terminal display screen is increased.
  • the terminal collects screen light through the photodiode CH0 inside the first light sensor to obtain the first light sensitivity value, and the terminal collects ambient light and screen light through the photodiode CH1 inside the second light sensor.
  • the second light sensitivity value is obtained, and the terminal determines the brightness information of the ambient light according to the first light sensitivity value and the second light sensitivity value, and performs electrical signal amplification and A/D converter conversion on the brightness information.
  • the power supply supplies power to the terminal display.
  • the address selection can set the internal registers of the sensor (instruction register and analog-to-digital converter (ADC) register), and control the receiving integration time, analog gain, and digital of the device through its corresponding instructions. Parameters such as gain.
  • the terminal can communicate with the light sensor through an integrated circuit bus (Inter-Integrated Circuit, IIC) interface, and adjust the brightness of the terminal display through interruption, notify the terminal's display brightness through the control line, and perform data transmission through the data line.
  • IIC Inter-Integrated Circuit
  • colorless diffusion oil is printed at local locations of the black border area around the terminal display screen, and the second light sensor (IC2) is set on the main board below the black border area where the colorless diffusion oil is printed Above, set the first light sensor (IC1) on the main board below the black border area where the black ink is printed.
  • the first light sensor and the second light sensor are arranged adjacently, and the first light sensor is used to collect the screen Light, use the second light sensor to collect ambient light and screen light to obtain the second light sensitivity value, determine the brightness information of the ambient light according to the first light sensitivity value and the second light sensitivity value, and adjust the display screen according to the brightness information brightness.
  • the terminal can directly determine the ambient light in the ambient light according to the second light sensitivity value including the ambient light and the screen light and the first light sensitivity value.
  • the brightness information does not require the terminal to obtain the screenshot information of the current display screen, and perform linear fitting according to the color information in the screenshot information to obtain the linear data including the nonlinear data, and determine the environment based on the linear data including the nonlinear data.
  • the brightness information in the light improves the accuracy of the brightness information in the ambient light determined by the terminal.
  • the embodiment of the present application provides a brightness adjustment method, which is applied to a terminal.
  • the terminal includes a first light sensor, a second light sensor, a display screen, and the first light sensor and the second light sensor respectively.
  • Two processors connected to the light sensor and the display, the first light sensor and the second light sensor are both arranged in the slit area on the first side of the display, the first light sensor and the second light sensor are at the same time Start to collect screen light and ambient light on the display screen.
  • FIG. 7 is a flowchart 1 of a brightness adjustment method provided by an embodiment of this application. As shown in FIG. 7, the brightness adjustment method may include:
  • the terminal provided by the embodiment of the present application is suitable for a scene in which the first light sensor and the second light sensor are used to determine the brightness information of the ambient light, and the brightness is adjusted according to the brightness information.
  • a first light sensor is provided in the terminal, and the light-transmitting surface of the first light sensor is black and is configured to collect ambient light.
  • the first light sensor may be a light-sensitive IC, a photodiode, or other sensors that collect light signals.
  • the specifics can be determined according to actual conditions. limited.
  • the first light sensor is disposed in the slit area on the first side of the terminal display screen, and the first light sensor can collect ambient light through the slit on the first side of the display screen.
  • the slit area on the first side of the display screen may be the slit between the upper part of the display screen and the black border area on the terminal, or the slit between the lower part of the display screen and the black border area under the terminal.
  • It can also be the slit between the left side of the display and the black area on the left side of the terminal, or the slit between the right side of the display and the black area on the right side of the terminal.
  • the specifics can be determined according to the actual situation. The embodiment of the application does not limit this.
  • the transparent surface of the first photosensor can be printed with black ink, so that the transparent surface of the first photosensor is black, so that the transmittance of visible light is 0%.
  • the light-transmitting surface of the first photosensor can be one surface of the first photosensor, or it can be multiple surfaces of the first photosensor.
  • the specifics can be determined according to actual conditions. The application embodiment does not limit this.
  • the light-transmitting surface of the first light sensor when the light-transmitting surface of the first light sensor is one surface, the light-transmitting surface of the first light sensor may be the surface parallel to and closest to the display screen.
  • the terminal uses the first light sensor to collect the screen light on the display screen to obtain the first light sensitivity value, which specifically includes: the terminal uses the first light sensor to collect the screen light multiple times to obtain multiple The third light sensitivity value; after the terminal obtains multiple third light sensitivity values, the terminal determines the first average value of the multiple third light sensitivity values; after the terminal determines the first average value of the multiple third light sensitivity values , The terminal uses the first average value as the first light perception value.
  • the terminal uses the first light sensor to collect the screen light once every integration time interval, and the terminal obtains multiple third light perception values by collecting multiple screen lights at multiple integration times. .
  • the number of the multiple third light sensitivity values may be 4 third light sensitivity values, 6 third light sensitivity values, or 10 third light sensitivity values. Specifically, It can be determined according to the actual situation, which is not limited in the embodiment of the present application.
  • the first light sensor may collect screen light within an integration time to obtain multiple third light sensor values.
  • the integration time may be a collection time interval configured in the first light sensor.
  • the integration time may be 12.5 ms, the integration time may also be 20 us, and the integration time may also be 50 ns, which can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the terminal uses the first light sensor to collect screen light, and before obtaining the first light sensor value, the terminal also detects the status information of the display screen.
  • the status information includes the on-screen state and the off-screen state.
  • the off-screen state may be a state where the terminal is in a shutdown state, or a state where the display screen is processing dormant, which can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the screen-on state may be a state in which the display screen is in operation.
  • the terminal can detect the status information of the display screen within a preset time period, and the terminal can also detect the status information of the display screen when receiving the instruction information.
  • the specific information can be determined according to the actual situation. The application embodiment does not limit this.
  • the preset time period may be a time period configured by the terminal.
  • the preset time period may be 0.5 ms, the preset time period may be 10 us, and the preset time period may be 1 s.
  • the situation is determined, which is not limited in the embodiment of the present application.
  • the terminal when the terminal determines that the status information of the display screen is in the bright screen state, the terminal uses the first light sensor to collect the screen light to obtain the first light sensitivity value.
  • the terminal may use the first light sensor to collect screen light to obtain the first light sensitivity value, and at the same time use the second light sensor to collect ambient light and screen light to obtain the second light sensitivity value; It is also possible to use the first light sensor to collect the screen light to obtain the first light sensitivity value, and then use the second light sensor to collect the ambient light and the screen light to obtain the second light sensitivity value.
  • the terminal can also use the second light sensitivity value first. The sensor collects ambient light and screen light to obtain the second light sensitivity value, and then uses the first light sensor to collect the screen light to obtain the first light sensitivity value, which can be specifically determined according to actual conditions. Not limited.
  • a second light sensor is provided in the terminal, and the light-transmitting surface of the second light sensor is printed with colorless diffusing oil and configured to collect ambient light and screen light.
  • the first light sensor may be a light-sensitive IC, a photodiode, or other sensors that collect light signals.
  • the specifics can be determined according to actual conditions. limited.
  • the second light sensor is arranged in the slit area on the first side of the terminal display screen, and the second light sensor can collect ambient light and screen light through the slit on the first side of the display screen.
  • the transmittance of visible light can be improved by printing colorless diffusion oil on the light-transmitting surface of the second light sensor.
  • the light-transmitting surface of the second photosensor can be one surface of the second photosensor, or it can be multiple surfaces of the second photosensor.
  • the specifics can be determined according to actual conditions. The application embodiment does not limit this.
  • the light-transmitting surface of the second light sensor when the light-transmitting surface of the second light sensor is one surface, the light-transmitting surface of the second light sensor may be the surface parallel to and closest to the display screen.
  • the first light sensor and the second light sensor are arranged adjacently.
  • the first light sensor may be arranged on the left side of the second light sensor; the first light sensor may be arranged on the second light sensor.
  • the right side of the sensor can be specifically determined according to actual conditions, which is not limited in the embodiment of the present application.
  • the distance between the first light sensor and the second light sensor may be a preset distance, and the preset distance may be 1 mm or 50 nm.
  • the specific distance can be determined according to actual conditions. The embodiment of the application does not limit this.
  • the terminal uses the second light sensor to collect ambient light and screen light to obtain the second light sensitivity value.
  • the process specifically includes: the terminal uses the second light sensor to collect ambient light and screen light multiple times to obtain Multiple fourth light sensitivity values; after the terminal obtains multiple fourth light sensitivity values, the terminal determines the second average value of the multiple fourth light sensitivity values; the terminal determines the second average value of the multiple fourth light sensitivity values After the average value, the terminal will use the second average value.
  • the terminal uses the second light sensor to collect screen light and ambient light once at every interval of integration time.
  • the terminal collects multiple screen lights and ambient light at intervals of multiple integration times to obtain more information.
  • the fourth light perception value is the fourth light perception value.
  • the number of the multiple fourth light sensitivity values may be 4 fourth light sensitivity values, 6 fourth light sensitivity values, or 10 fourth light sensitivity values. It can be determined according to the actual situation, which is not limited in the embodiment of the present application.
  • the second light sensor when the terminal collects screen light through the first light sensor, the second light sensor is used to collect screen light and ambient light at the same time, and the time interval between the first light sensor and the second light sensor is both Is the integration time, so that the terminal can obtain a third light sensitivity value and a fourth light sensitivity value at the same time, so as to obtain multiple third light sensitivity values and multiple first light sensitivity values during multiple integration times.
  • Four light perception values when the terminal collects screen light through the first light sensor, the second light sensor is used to collect screen light and ambient light at the same time, and the time interval between the first light sensor and the second light sensor is both Is the integration time, so that the terminal can obtain a third light sensitivity value and a fourth light sensitivity value at the same time, so as to obtain multiple third light sensitivity values and multiple first light sensitivity values during multiple integration times.
  • the second light sensor may collect screen light within the integration time to obtain multiple fourth light sensitivity values.
  • the integration time may be a collection time interval configured in the second light sensor.
  • S103 Determine brightness information of the ambient light according to the first light perception value and the second light perception value.
  • the terminal after the terminal obtains the first light sensitivity value and the second light sensitivity value, the terminal can determine the brightness information of the ambient light according to the first light sensitivity value and the second light sensitivity value.
  • the process for the terminal to determine the brightness information of the ambient light according to the first light sensitivity value and the second light sensitivity value specifically includes: the terminal obtains the light sensitivity value according to the first light sensitivity value and the second light sensitivity value. Difference: After the terminal obtains the light perception difference, the terminal converts the light perception difference into light intensity information; after the terminal converts the light perception difference into light intensity information, the terminal determines the brightness information according to the light intensity information.
  • S104 Adjust the brightness of the display screen according to the brightness information.
  • the terminal after the terminal determines the brightness information of the ambient light, the terminal can adjust the brightness of the display screen according to the brightness information.
  • the method for the terminal to adjust the brightness of the display screen according to the brightness information includes: the terminal increases the brightness of the display screen according to the brightness information, or the terminal reduces the brightness of the display screen according to the brightness information.
  • the actual situation is determined, which is not limited in the embodiment of the present application.
  • FIG. 8 is a flowchart of an exemplary brightness adjustment method provided by an application embodiment.
  • the terminal detects the status information of the display screen.
  • the terminal uses the first light sensor to obtain a plurality of third light sensitivity values, and uses the second light sensor to obtain a plurality of fourth light sensitivity values.
  • the terminal obtains the first light sensitivity value according to the plurality of third light sensitivity values.
  • the terminal obtains the second light sensitivity value according to the multiple fourth light sensitivity values.
  • the terminal obtains the light sensitivity difference value according to the first light sensitivity value and the second light sensitivity value.
  • the terminal converts the light perception difference into light intensity information.
  • the terminal determines the brightness information according to the light intensity information.
  • the terminal adjusts the brightness of the display screen according to the brightness information.
  • the embodiment of the present invention provides a computer-readable storage medium having a computer program thereon, and when the program is executed by the processor 14, the brightness adjustment method as described above is implemented.
  • the terminal can directly determine the ambient light in the ambient light according to the second light sensitivity value including the ambient light and the screen light and the first light sensitivity value.
  • the brightness information does not require the terminal to obtain the screenshot information of the current display screen, and perform linear fitting according to the color information in the screenshot information to obtain the linear data including the nonlinear data, and determine the environment based on the linear data including the nonlinear data.
  • the brightness information in the light improves the accuracy of the brightness information in the ambient light determined by the terminal.
  • the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention may adopt the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
  • These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
  • the embodiments of the present application provide a brightness adjustment method, a terminal, and a storage medium.
  • the terminal includes: a first light sensor, a second light sensor, a display screen, and the first light sensor, the second light sensor, and the display respectively.
  • the processor connected to the screen; the first light sensor and the second light sensor are both arranged in the slit area on the first side of the display screen; the first light sensor is configured to collect the screen light on the display screen to obtain the first light.
  • the second light sensor is configured to collect ambient light and screen light to obtain a second light sensor value; the processor is configured to determine the brightness information of the ambient light according to the first light sensor value and the second light sensor value, And adjust the brightness of the display according to the brightness information.
  • the terminal when the terminal uses the first light sensor to obtain the first light sensitivity value, the terminal can directly determine the ambient light according to the second light sensitivity value including the ambient light and the screen light, and the first light sensitivity value.
  • the brightness information in the screen does not require the terminal to obtain the screenshot information of the current display screen, and perform linear fitting according to the color information in the screenshot information to obtain the linear data including the nonlinear data, and determine it based on the linear data including the nonlinear data
  • the brightness information in the ambient light improves the accuracy of the brightness information in the ambient light determined by the terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of El Displays (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

本发明实施例公开了一种亮度调节方法及终端、存储介质,包括第一光感传感器、第二光感传感器、显示屏以及分别与第一光感传感器、第二光感传感器和显示屏连接的处理器;第一光感传感器和第二光感传感器均设置于显示屏第一侧的狭缝区域;第一光感传感器,配置于采集显示屏上的屏幕光,得到第一光感值;第二光感传感器,配置于采集环境光和屏幕光,得到第二光感值;处理器,配置于根据第一光感值和第二光感值,确定环境光的亮度信息,并根据亮度信息调节显示屏的亮度。

Description

一种亮度调节方法及终端、存储介质
相关申请的交叉引用
本申请要求在2020年06月22日提交中国专利局、申请号为202010576649.3、申请名称为“一种亮度调节方法及终端、存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端显示技术领域,尤其涉及一种亮度调节方法及终端、存储介质。
背景技术
随着电子技术的不断发展,终端的功能越来越多,体验越来越丰富,人们也享受到了科技发展带来的各种便利。当然,对于终端的要求也越来越高。
在相关技术中,终端获取当前显示屏的截图信息,并在该截图信息中获取当前显示屏上的屏幕颜色信息和屏幕亮度等级,终端利用线性拟合的方式对该屏幕颜色信息和屏幕亮度等级进行拟合,来确定出显示屏上的显示亮度信息,然后终端利用感光器件获取到的包括屏幕光和环境光的总亮度信息与该显示亮度信息,来确定当前的环境光中的亮度信息,并根据该环境光中的亮度信息来调节显示屏的亮度,由于终端获取到的显示屏上的屏幕颜色信息为彩色信息,并非是单一色信息,使得终端进行线性拟合时得到的局部数据为非线性数据,终端根据该非线性数据计算得到的显示亮度信息的准确度低,从而导致终端确定的环境光中的亮度信息的准确度低。
发明内容
为解决上述技术问题,本发明实施例期望提供一种亮度调节方法及终端、存储介质,能够提高终端确定的环境光中的亮度信息的准确度。
本发明的技术方案是这样实现的:
本申请实施例提供一种终端,所述终端包括:
第一光感传感器、第二光感传感器、显示屏以及分别与所述第一光感传感器、所述第二光感传感器和所述显示屏连接的处理器;
所述第一光感传感器和所述第二光感传感器均设置于所述显示屏第一侧的狭缝区域;
所述第一光感传感器,配置于采集所述显示屏上的屏幕光,得到第一 光感值;
所述第二光感传感器,配置于采集环境光和所述屏幕光,得到第二光感值;
所述处理器,配置于根据所述第一光感值和所述第二光感值,确定所述环境光的亮度信息,并根据所述亮度信息调节所述显示屏的亮度。
在上述方案中,所述第一光感传感器和所述第二光感传感器在同一时刻开始采集所述屏幕光和所述环境光。
在上述方案中,所述第一光感传感器的透光面的油墨为黑色油墨;
所述第二光感传感器的透光面的油墨为无色扩散油。
在上述方案中,所述第一光感传感器,具体配置于多次采集所述屏幕光,得到多个第三光感值;
所述处理器,具体配置于确定所述多个第三光感值的第一平均值;将所述第一平均值作为所述第一光感值。
在上述方案中,所述第二光感传感器,具体配置于多次采集所述环境光和所述屏幕光,得到多个第四光感值;
所述处理器,具体配置于确定所述多个第四光感值的第二平均值;将所述第二平均值作为所述第二光感值。
在上述方案中,所述处理器,具体配置于根据所述第一光感值和所述第二光感值,得到光感差值;将所述光感差值转换成光照强度信息;根据所述光照强度信息确定所述亮度信息。
在上述方案中,所述第一光感传感器的参数信息和所述第二光感传感器的参数信息相同;
所述参数信息包括以下至少一个:
积分时间、数字增益、模拟增益和上报光感数值的时间。
本申请实施例提供了一种亮度调节方法,应用于终端,所述终端包括第一光感传感器、第二光感传感器、显示屏以及分别与所述第一光感传感器、所述第二光感传感器和所述显示屏连接的处理器,所述第一光感传感器和所述第二光感传感器均设置于所述显示屏第一侧的狭缝区域,所述第一光感传感器和所述第二光感传感器在同一时刻开始采集所述显示屏上的屏幕光和环境光,所述方法包括:
利用所述第一光感传感器采集所述屏幕光,得到第一光感值;
利用所述第二光感传感器采集所述环境光和所述屏幕光,得到第二光感值;
根据所述第一光感值和所述第二光感值,确定所述环境光的亮度信息;
根据所述亮度信息调节所述显示屏的亮度。
在上述方案中,所述利用所述第一光感传感器采集所述屏幕光,得到第一光感值,包括:
利用第一光感传感器多次采集所述屏幕光,得到多个第三光感值;
确定所述多个第三光感值的第一平均值;
将所述第一平均值作为所述第一光感值。
在上述方案中,所述利用所述第二光感传感器采集所述环境光和所述屏幕光,得到第二光感值,包括:
利用所述第二光感传感器多次采集所述环境光和所述屏幕光,得到多个第四光感值;
确定所述多个第四光感值的第二平均值;
将所述第二平均值作为所述第二光感值。
在上述方案中,所述根据所述第一光感值和所述第二光感值,确定环境光的亮度信息,包括:
根据所述第一光感值和所述第二光感值,得到光感差值;
将所述光感差值转换成光照强度信息;
根据所述光照强度信息确定所述亮度信息。
在上述方案中,所述利用所述第一光感传感器采集所述屏幕光,得到第一光感值之前,所述方法还包括:
检测所述显示屏的状态信息;
相应的,所述利用所述第一光感传感器采集所述屏幕光,得到第一光感值,包括:
在所述状态信息为亮屏状态的情况下,利用所述第一光感传感器采集所述屏幕光,得到第一光感值。
本申请实施例提供了一种存储介质,其上存储有计算机程序,应用于终端,该计算机程序被处理器执行时实现上述所述的亮度调节方法。
本发明实施例提供了一种亮度调节方法及终端、存储介质,终端包括:第一光感传感器、第二光感传感器、显示屏以及分别与第一光感传感器、第二光感传感器和显示屏连接的处理器;第一光感传感器和第二光感传感器均设置于显示屏第一侧的狭缝区域;第一光感传感器,配置于采集显示屏上的屏幕光,得到第一光感值;第二光感传感器,配置于采集环境光和屏幕光,得到第二光感值;处理器,配置于根据第一光感值和第二光感值,确定环境光的亮度信息,并根据亮度信息调节显示屏的亮度。采用上述终端实现方案,终端在利用第一光感传感器得到第一光感值的情况下,终端可直接根据包括环境光和屏幕光的第二光感值以及第一光感值确定出环境光中的亮度信息,不需要终端获取当前显示屏的截图信息,根据该截图信息中的彩色信息进行线性拟合来得到包括非线性数据的线性数据,并根据包括非线性数据的线性数据来确定出环境光中的亮度信息,提高了终端确定的环境光中的亮度信息的准确度。
附图说明
图1为本申请实施例提供的现有技术中的一种示例性的终端结构示意 图一;
图2为本申请实施例提供的现有技术中的一种示例性的光感器件与显示屏之间的位置结构示意图;
图3为本申请实施例提供的一种终端的组成结构示意;
图4为本申请实施例提供的一种示例性的第一光感传感器和第二光感传感器的位置示意图一;
图5为本申请实施例提供的一种示例性的第一光感传感器和第二光感传感器与终端之间的连接示意图;
图6为本申请实施例提供的一种示例性的第一光感传感器和第二光感传感器的位置示意图二;
图7为本申请实施例提供的一种亮度调节方法流程图;
图8为本申请实施例提供的一种示例性的亮度调节方法流程图。
具体实施方式
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。
申请号为201810965920.5的专利公开了:针对OLED显示屏的全面屏结构,将红外线发射器设置在受话器的出声孔内,配置于发射红外光;红外线接收器设置在显示屏的显示区的下方,配置于接收反射回的红外光,根据发射红外光和反射回的红外光来实现接近功能。
现有技术中,有两种确定环境光的亮度信息的方式:
第一种是利用导光柱将外界环境光传递至感光器件表面,此种方式需要保证显示屏的屏幕光不能干扰感光器件,故需要采用较大的黑边以避免屏幕光信号对感光器件的干扰。在终端具体为手机的情况下,如图1所示,图1为手机的显示屏所在平面的部分截图,图1中左边的圆形区域为手机的摄像头,图1中右边的小的圆形区域为感光器件的位置区域,该小的圆形区域外侧的环形区域为黑边区域,感光器件上方的区域为手机的听筒,由于在感光器件的周围设置了较大的黑边区域,缩小了显示屏的显示面积,降低了显示屏的屏占比。
第二种是直接将光感器件放置在显示屏的下方,如图2所示,终端通过光感器件采集到的屏幕光和环境光的总亮度信息,终端获取当前显示屏的截图信息,并在该截图信息中获取当前显示屏上的屏幕颜色信息和屏幕亮度等级,终端利用线性拟合的方式对该屏幕颜色信息和屏幕亮度等级进行拟合,来确定出显示屏上的显示亮度信息,然后终端利用印制电路板(Printed Circuit Board,PCB)板上的感光器件获取到的包括屏幕光和环境光的总亮度信息与该显示亮度信息,来确定当前的环境光中的亮度信息,并根据该环境光中的亮度信息来调节显示屏的亮度,由于终端获取到的显 示屏上的屏幕颜色信息为彩色信息,并非是单一色信息,使得终端进行线性拟合时得到的局部数据为非线性数据,终端根据该非线性数据计算得到的显示亮度信息的准确度低,从而导致终端确定的环境光中的亮度信息的准确度低。
其中,通过脉冲宽度调制(Pulse width modulation,PWM)方式也可以进行显示屏屏幕亮度调节,PWM调节是通过改变显示屏屏幕亮、灭交替的时间来调节显示屏屏幕亮度。在终端中设置有PWM亮度调节方式的情况下,终端可以在显示屏屏幕不亮的情况下,终端将显示屏的下方的感光器件获取的光信号直接作为环境光的亮度信息,并根据该环境光的亮度信息来调节终端显示屏屏幕的亮度,但是此种显示屏屏幕亮度调节方式只能应用于设置有PWM调节方式的终端中,具有限制性。
对于现有技术中存在的问题,具体可通过实施例一和实施例二中的方法进行解决
实施例一
本申请实施例提供了一种终端,图3为本申请实施例提供的一种终端的组成结构示意图一,如图3所示,终端包括:
第一光感传感器、第二光感传感器、显示屏以及分别与所述第一光感传感器、所述第二光感传感器和所述显示屏连接的处理器;
所述第一光感传感器和所述第二光感传感器均设置于所述显示屏第一侧的狭缝区域;
所述第一光感传感器,配置于采集所述显示屏上的屏幕光,得到第一光感值;
所述第二光感传感器,配置于采集环境光和所述屏幕光,得到第二光感值;
所述处理器,配置于根据所述第一光感值和所述第二光感值,确定所述环境光的亮度信息,并根据所述亮度信息调节所述显示屏的亮度。
本申请实施例提供的一种终端适用于利用第一光感传感器和第二光感传感器确定出环境光的亮度信息,并根据亮度信息进行亮度调节的场景下。
在本申请实施例中,终端可以以各种形式来实施。例如,本申请中描述的终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。
在本申请实施例中,终端还包括壳体和位于壳体内的主板,该壳体还包括黑边区域,第一光感传感器11和第二光感传感器12设置于主板与黑边区域之间。
在本申请实施例中,第一光感传感器和第二光感传感器相邻设置,示例性的,第一光感传感器可以设置于第二光感传感器的左边,第一光感传 感器可以设置于第二光感传感器的右边,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第一光感传感器可以为光感集成电路(Integrated Circuit,IC),也可以为光敏二极管,还可以为其他采集光信号的传感器,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第二光感传感器可以为光感IC,也可以为光敏二极管,还可以为其他采集光信号的传感器,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
可以理解的是,将第一光感传感器和第二光感传感器相邻设置于主板与黑边区域之间的区域,第二光感传感器通过显示屏和黑边区域之间的缝隙可以采集到环境光,第一光感传感器透光面和第二光感传感器的透光面通过内部绕射接收显示屏侧边的发光,故第一光感传感器和第二光感传感器的设置不占用显示屏的显示面积,提高了终端显示屏的屏占比。
在本申请实施例中,显示屏13和黑边区域之间的缝隙可以为0.15mm,显示屏和黑边区域之间的缝隙也可以为5um,显示屏和黑边区域之间的缝隙可以为20um,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,显示屏与处理器14通过主板进行连接,使得处理器可以通过主板来调节显示屏的亮度。
示例性的,在终端为手机的情况下,如图4所示,听筒、第一光感传感器和第二光感传感器设置于手机的黑边区域位置处,其中,听筒设置于黑边区域上,第一光感传感器和第二光感传感器相邻设置于黑边区域下方的主板上,摄像头设置于手机显示屏上。
在本申请实施例中,显示屏可以为有机发光半导体(Organic Light-Emitting Diode,OLED)显示屏,显示屏也可以为液晶显示屏(Liquid Crystal Display,LDC),还可以为薄膜晶体管(Thin Film Transistor,TFT)显示屏,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
可选的,所述第一光感传感器和所述第二光感传感器在同一时刻开始采集所述屏幕光和所述环境光。
可以理解的是,终端利用第一光感传感器和第二光感传感器在同一时刻开始采集屏幕光和环境光,使得终端可以在同一时刻分别得到第一光感传感器的第一光感值和第二光感传感器的第二光感值,终端根据同一时刻的第一光感值和第二光感值可以得到同一时刻对应的环境光的亮度信息,提高了终端获取环境光的亮度信息时的准确性。
可选的,所述第一光感传感器的透光面的油墨为黑色油墨;
所述第二光感传感器的透光面的油墨为无色扩散油。
在本申请实施例中,可以通过给第一光感传感器的透光面印刷黑色油墨,使第一光感传感器的透光面为黑色,从而使可见光的透过率为0%。
在本申请实施例中,第一光感传感器的透光面为黑色,使得第一光感传感器不能采集可见光,即第一光感传感器不能采集环境光,只能采集屏幕光。
在本申请实施例中,第一光感传感器的透光面可以为第一光感传感器的一个面,也可以为第一光感传感器的多个面,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第一光感传感器的透光面为一个面时,第一光感传感器的透光面可以为与显示屏平行且距离显示屏最近的面。
在本申请实施例中,可以通过给第二光感传感器的透光面印刷扩散油,使第二光感传感器的透光面为无色,从而提高可见光的透过率。
在本申请实施例中,第二光感传感器的透光面为无色,使得第二光感传感器可以采集可见光,即第二光感传感器可以采集环境光,还可以采集屏幕光。
在本申请实施例中,第二光感传感器的透光面可以为第二光感传感器的一个面,也可以为第二光感传感器的多个面,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第二光感传感器的透光面为一个面时,第二光感传感器的透光面可以为与显示屏平行且距离显示屏最近的面。
可选的,所述第一光感传感器,具体配置于多次采集所述屏幕光,得到多个第三光感值;
所述处理器,具体配置于确定所述多个第三光感值的第一平均值;将所述第一平均值作为所述第一光感值。
在本申请实施例中,终端利用第一光感传感器每间隔积分时间,就采集一次屏幕光,终端通过间隔多个积分时间,采集到的多次屏幕光,从而得到多个第三光感值。
在本申请实施例中,多个第三光感值的数量可以为4个第三光感值,也可以为6个第三光感值,还可以为10个第三光感值,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第一光感传感器可以在积分时间内,采集屏幕光,得到多个第三光感值,具体的该积分时间可以是第一光感传感器中配置的采集时间间隔,也可以是终端设置的第二光感传感器的采集时间间隔,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
示例性的,积分时间可以为12.5ms,积分时间也可以为20us,积分时间还可以为50ns,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
可选的,所述第二光感传感器,具体配置于多次采集所述环境光和所述屏幕光,得到多个第四光感值;
所述处理器,具体配置于确定所述多个第四光感值的第二平均值;将 所述第二平均值作为所述第二光感值。
在本申请实施例中,终端利用第二光感传感器每间隔积分时间,就采集一次屏幕光和环境光,终端通过间隔多个积分时间,采集到的多次屏幕光和环境光,从而得到多个第四光感值。
在本申请实施例中,多个第四光感值的数量可以为4个第四光感值,也可以为6个第四光感值,还可以为10个第四光感值,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,终端通过第一光感传感器采集屏幕光时,同时利用第二光感传感器采集屏幕光和环境光,且第一光感传感器和第二光感传感器采集的时间间隔都为积分时间内,使得终端可以在同一时刻分别得到的一个第三光感值和一个第四光感值,从而在多个积分时间内,得到分别得到多个第三光感值和多个第四光感值。
在本申请实施例中,第二光感传感器可以在积分时间内采集屏幕光,得到多个第四光感值,具体的该积分时间可以是第二光感传感器中配置的采集时间间隔,也可以是终端设置的第二光感传感器的采集时间间隔,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
可选的,所述处理器,具体配置于根据所述第一光感值和所述第二光感值,得到光感差值;将所述光感差值转换成光照强度信息;根据所述光照强度信息确定所述亮度信息。
需要说明的是,终端根据亮度信息调节显示屏屏幕的亮度的方式,包括:终端根据该亮度信息,增加显示屏屏幕的亮度,或者终端根据该亮度信息减弱显示屏屏幕的亮度,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
可选的,所述第一光感传感器和所述第二光感传感器的参数信息相同;
所述参数信息包括以下至少一个:
积分时间、数字增益、模拟增益和上报光感数值的时间。
在本申请实施例中,第一光感传感器和第二光感传感器除透光面涂的油墨不同,其他参数信息均相同。
在本申请实施例中,积分时间可以为第一光感传感器和第二光感传感器采集光信号的时间间隔。
需要说明的是,数字增益可以为第一光感传感器和第二光感传感器调节数模转换的采集光信号的脉冲幅度。
需要说明的是,模拟增益可以为第一光感传感器和第二光感传感器调节线性放大采集光信号的信号强度。
需要说明的是,上报光感数值的时间可以为第一光感传感器和第二光感传感器上报第三光感值和第四光感值的时间。
在本申请实施例中,终端还可以利用检测色温的传感器,分别获取显示屏屏幕的色温和环境色温的色温总值,以及显示屏屏幕的色温值,根据 该色温总值和显示屏屏幕的色温值来确定出环境色温值,并根据该环境色温值来调整显示屏屏幕的色温值。
需要说明的是,检测色温的传感器的数量可以为至少两个,并将该至少两个色温的传感器设置于主板与黑边区域之间的区域,且至少两个色温的传感器分别与所述主板连接,使得至少两个色温的传感器的设置并不占用终端显示屏屏幕的显示面积,提高终端显示屏屏幕的屏占比。
示例性的,如图5所示,终端通过第一光感传感器内部光敏二极管CH0采集屏幕光,得到第一光感值,终端通过第二光感传感器内部光敏二极管CH1采集环境光和屏幕光,得到第二光感值,终端根据第一光感值和第二光感值,确定环境光的亮度信息,并对该亮度信息进行电信号放大和A/D转换器转换。电源为终端显示屏供电,地址选择可设置其传感器内部寄存器(指令寄存器和模数转换(Analog-to-Digital Converter,ADC)寄存器),通过其相应指令控制器件的接收积分时间、模拟增益、数字增益等参数。终端可通过集成电路总线(Inter-Integrated Circuit,IIC)接口与光感传感器通信,并且通过中断对终端显示屏的亮度进行调节,通过控制线通知终端的显示屏亮度,通过数据线进行数据传输。
示例性的,如图6所示,终端显示屏四周的黑边区域的局部位置印刷无色扩散油,将第二光感传感器(IC2)设置于印刷无色扩散油的黑边区域下方的主板上,将第一光感传感器(IC1)设置于印刷黑色油墨的黑边区域下方的主板上,第一光感传感器和第二光感传感器之间相邻设置,利用第一光感传感器采集屏幕光,利用第二光感传感器采集环境光和屏幕光,得到第二光感值,根据第一光感值和第二光感值,确定环境光的亮度信息,根据亮度信息调节显示屏屏幕的亮度。
可以理解的是,终端在利用第一光感传感器得到第一光感值的情况下,终端可直接根据包括环境光和屏幕光的第二光感值以及第一光感值确定出环境光中的亮度信息,不需要终端获取当前显示屏的截图信息,根据该截图信息中的彩色信息进行线性拟合来得到包括非线性数据的线性数据,并根据包括非线性数据的线性数据来确定出环境光中的亮度信息,提高了终端确定的环境光中的亮度信息的准确度。
实施例二
基于实施例一同一发明构思,本申请实施例提供了一种亮度调节方法,应用于终端,终端包括第一光感传感器、第二光感传感器、显示屏以及分别与第一光感传感器、第二光感传感器和显示屏连接的处理器,第一光感传感器和第二光感传感器均设置于显示屏第一侧的狭缝区域,第一光感传感器和第二光感传感器在同一时刻开始采集显示屏上的屏幕光和环境光,图7为本申请实施例提供的一种亮度调节方法的流程图一,如图7所示,该亮度调节方法可以包括:
S101、利用第一光感传感器采集显示屏上的屏幕光,得到第一光感值。
本申请实施例提供的一种终端适用于利用第一光感传感器和第二光感传感器确定出环境光的亮度信息,并根据亮度信息进行亮度调节的场景下。
在本申请实施例中,终端中设置有第一光感传感器,该第一光感传感器的透光面为黑色,配置于采集环境光。
在本申请实施例中,第一光感传感器可以为光感IC,也可以为光敏二极管,还可以为其他采集光信号的传感器,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
需要说明的是,第一光感传感器设置于终端显示屏第一侧的狭缝区域,该第一光感传感器可以通过显示屏第一侧的狭缝采集到环境光。
在本申请实施例中,显示屏第一侧的狭缝区域可以为显示屏上方与终端上黑边区域之间的狭缝,也可以为显示屏下方与终端下黑边区域之间的狭缝,还可以为显示屏左侧与终端左侧黑边区域之间的狭缝,也可以为显示屏右侧与终端右侧黑边区域之间的狭缝,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,可以通过给第一光感传感器的透光面印刷黑色油墨,使第一光感传感器的透光面为黑色,从而使可见光的透过率为0%。
在本申请实施例中,第一光感传感器的透光面可以为第一光感传感器的一个面,也可以为第一光感传感器的多个面,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第一光感传感器的透光面为一个面时,第一光感传感器的透光面可以为与显示屏平行且距离显示屏最近的面。
在本申请实施例中,终端利用第一光感传感器采集显示屏上的屏幕光,得到第一光感值的过程,具体包括:终端利用第一光感传感器多次采集屏幕光,得到多个第三光感值;终端得到多个第三光感值之后,终端就确定该多个第三光感值的第一平均值;终端确定出多个第三光感值的第一平均值之后,终端就将第一平均值作为第一光感值。
在本申请实施例中,终端利用第一光感传感器每间隔积分时间,就采集一次屏幕光,终端通过间隔多个积分时间,采集到的多次屏幕光,从而得到多个第三光感值。
在本申请实施例中,多个第三光感值的数量可以为4个第三光感值,也可以为6个第三光感值,还可以为10个第三光感值,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第一光感传感器可以在积分时间内采集屏幕光,得到多个第三光感值,具体的该积分时间可以是第一光感传感器中配置的采集时间间隔。
示例性的,积分时间可以为12.5ms,积分时间也可以为20us,积分时间还可以为50ns,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,终端利用第一光感传感器采集屏幕光,得到第一光感值之前,终端还会检测显示屏的状态信息。
需要说明的是,状态信息包括亮屏状态和灭屏状态。
在本申请实施例中,灭屏状态可以为终端处于关机状态,或者显示屏处理休眠的状态,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,亮屏状态可以为显示屏处于工作的状态。
在本申请实施例中,终端可以在预设时间段内检测显示屏的状态信息,终端还可以在接收到指令信息时,检测检测显示屏的状态信息,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,预设时间段可以为终端配置的时间段,该预设时间段可以为0.5ms,预设时间段可以为10us,预设时间段可以为1s,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,在终端确定出显示屏的状态信息为亮屏状态的情况下,终端就利用第一光感传感器采集屏幕光,得到第一光感值。
S102、利用第二光感传感器采集环境光和屏幕光,得到第二光感值。
在本申请实施例中,终端可以在利用第一光感传感器采集屏幕光,得到第一光感值的同时,利用第二光感传感器采集环境光和屏幕光,得到第二光感值;终端也可以先利用第一光感传感器采集屏幕光,得到第一光感值,然后再利用第二光感传感器采集环境光和屏幕光,得到第二光感值,终端还可以先利用第二光感传感器采集环境光和屏幕光,得到第二光感值,然后再利用第一光感传感器采集屏幕光,得到第一光感值,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,终端中设置有第二光感传感器,该第二光感传感器的透光面印刷无色扩散油,配置于采集环境光和屏幕光。
在本申请实施例中,第一光感传感器可以为光感IC,也可以为光敏二极管,还可以为其他采集光信号的传感器,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
需要说明的是,第二光感传感器设置于终端显示屏第一侧的狭缝区域,该第二光感传感器可以通过显示屏第一侧的狭缝采集到环境光和屏幕光。
在本申请实施例中,可以通过给第二光感传感器的透光面印刷无色扩散油,从而提高可见光的透过率。
在本申请实施例中,第二光感传感器的透光面可以为第二光感传感器的一个面,也可以为第二光感传感器的多个面,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第二光感传感器的透光面为一个面时,第二光感传感器的透光面可以为与显示屏平行且距离显示屏最近的面。
在本申请实施例中,第一光感传感器和第二光感传感器相邻设置,第 一光感传感器可以设置于第二光感传感器的左侧;第一光感传感器可以设置于第二光感传感器的右侧,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,第一光感传感器和第二光感传感器之间的距离可以为预设距离,该预设距离可以为1mm,也可以为50nm,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,终端利用第二光感传感器采集环境光和屏幕光,得到第二光感值的过程,具体包括:终端利用第二光感传感器多次采集环境光和屏幕光,得到多个第四光感值;终端得到多个第四光感值之后,终端就确定该多个第四光感值的第二平均值;终端在确定出多个第四光感值的第二平均值之后,终端就将该第二平均值。
在本申请实施例中,终端利用第二光感传感器每间隔积分时间,就采集一次屏幕光和环境光,终端通过间隔多个积分时间,采集到的多次屏幕光和环境光,从而得到多个第四光感值。
在本申请实施例中,多个第四光感值的数量可以为4个第四光感值,也可以为6个第四光感值,还可以为10个第四光感值,具体的可根据实际情况进行确定,本申请实施例对此不作限定。
在本申请实施例中,终端通过第一光感传感器采集屏幕光时,同时利用第二光感传感器采集屏幕光和环境光,且第一光感传感器和第二光感传感器采集的时间间隔都为积分时间内,使得终端可以在同一时刻分别得到的一个第三光感值和一个第四光感值,从而在多个积分时间内,得到分别得到多个第三光感值和多个第四光感值。
在本申请实施例中,第二光感传感器可以在积分时间内,采集屏幕光,得到多个第四光感值,具体的该积分时间可以是第二光感传感器中配置的采集时间间隔。
S103、根据第一光感值和第二光感值,确定环境光的亮度信息。
在本申请实施例中,终端在得到第一光感值和第二光感值之后,终端就可以根据第一光感值和第二光感值,来确定环境光的亮度信息了。
在本申请实施例中,终端根据第一光感值和第二光感值,确定环境光的亮度信息的过程,具体包括:终端根据第一光感值和第二光感值,得到光感差值;终端得到光感差值之后,终端就将该光感差值转换成光照强度信息;终端将光感差值转换成光照强度信息之后,终端就根据光照强度信息确定亮度信息。
S104、根据亮度信息调节显示屏的亮度。
在本申请实施例中,终端在确定出环境光的亮度信息之后,终端就可以根据该亮度信息调节显示屏屏幕的亮度。
需要说明的是,终端根据亮度信息调节显示屏屏幕的亮度的方式,包括:终端根据该亮度信息,增加显示屏屏幕的亮度,或者终端根据该亮度 信息减弱显示屏屏幕的亮度,根据的可根据实际情况进行确定,本申请实施例对此不作限定。
示例性的,如图8所示,图8为申请实施例提供的一种示例性的亮度调节方法的流程图。
1、终端检测显示屏的状态信息。
2、在状态信息为亮屏状态下,终端利用第一光感传感器获取多个第三光感值,并利用第二光感传感器获取多个第四光感值。
3、终端根据多个第三光感值得到第一光感值。
4、终端根据多个第四光感值得到第二光感值。
5、终端根据第一光感值和第二光感值,得到光感差值。
6、终端将光感差值转换成光照强度信息。
7、终端根据光照强度信息确定亮度信息。
8、终端根据亮度信息调节显示屏屏幕的亮度。
本发明实施例提供了一种计算机可读存储介质,其上有计算机程序,所述程序被处理器14执行时实现如上述所述的亮度调节方法。
可以理解的是,终端在利用第一光感传感器得到第一光感值的情况下,终端可直接根据包括环境光和屏幕光的第二光感值以及第一光感值确定出环境光中的亮度信息,不需要终端获取当前显示屏的截图信息,根据该截图信息中的彩色信息进行线性拟合来得到包括非线性数据的线性数据,并根据包括非线性数据的线性数据来确定出环境光中的亮度信息,提高了终端确定的环境光中的亮度信息的准确度。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本申请实施例提供了一种亮度调节方法及终端、存储介质,终端包括:第一光感传感器、第二光感传感器、显示屏以及分别与第一光感传感器、第二光感传感器和显示屏连接的处理器;第一光感传感器和第二光感传感器均设置于显示屏第一侧的狭缝区域;第一光感传感器,配置于采集显示屏上的屏幕光,得到第一光感值;第二光感传感器,配置于采集环境光和屏幕光,得到第二光感值;处理器,配置于根据第一光感值和第二光感值,确定环境光的亮度信息,并根据亮度信息调节显示屏的亮度。采用上述终端实现方案,终端在利用第一光感传感器得到第一光感值的情况下,终端可直接根据包括环境光和屏幕光的第二光感值以及第一光感值确定出环境光中的亮度信息,不需要终端获取当前显示屏的截图信息,根据该截图信息中的彩色信息进行线性拟合来得到包括非线性数据的线性数据,并根据包括非线性数据的线性数据来确定出环境光中的亮度信息,提高了终端确定的环境光中的亮度信息的准确度。

Claims (20)

  1. 一种终端,所述终端包括:
    第一光感传感器、第二光感传感器、显示屏以及分别与所述第一光感传感器、所述第二光感传感器和所述显示屏连接的处理器;
    所述第一光感传感器和所述第二光感传感器均设置于所述显示屏第一侧的狭缝区域;
    所述第一光感传感器,配置于采集所述显示屏上的屏幕光,得到第一光感值;
    所述第二光感传感器,配置于采集环境光和所述屏幕光,得到第二光感值;
    所述处理器,配置于根据所述第一光感值和所述第二光感值,确定所述环境光的亮度信息,并根据所述亮度信息调节所述显示屏的亮度。
  2. 根据权利要求1所述的终端,其中,
    所述第一光感传感器和所述第二光感传感器在同一时刻开始采集所述屏幕光和所述环境光。
  3. 根据权利要求1所述的终端,其中,
    所述第一光感传感器的透光面的油墨为黑色油墨;
    所述第二光感传感器的透光面的油墨为无色扩散油。
  4. 根据权利要求1或2所述的终端,其中,
    所述第一光感传感器,具体配置于多次采集所述屏幕光,得到多个第三光感值;
    所述处理器,具体配置于确定所述多个第三光感值的第一平均值;将所述第一平均值作为所述第一光感值。
  5. 根据权利要求1或2所述的终端,其中,
    所述第二光感传感器,具体配置于多次采集所述环境光和所述屏幕光,得到多个第四光感值;
    所述处理器,具体配置于确定所述多个第四光感值的第二平均值;将所述第二平均值作为所述第二光感值。
  6. 根据权利要求1所述的终端,其中,
    所述处理器,具体配置于根据所述第一光感值和所述第二光感值,得到光感差值;将所述光感差值转换成光照强度信息;根据所述光照强度信息确定所述亮度信息。
  7. 根据权利要求1所述的终端,其中,
    所述第一光感传感器的参数信息和所述第二光感传感器的参数信息相同;
    所述参数信息包括以下至少一个:
    积分时间、数字增益、模拟增益和上报光感数值的时间。
  8. 根据权利要求1所述的终端,其中,所述第一光感传感器为光感集成电路;
    所述第二光感传感器为光感集成电路。
  9. 根据权利要求1所述的终端,其中,所述第一光感传感器和所述第二光感传感器相邻设置。
  10. 根据权利要求1所述的终端,其中,所述显示屏为有机发光半导体显示屏;
    或者,所述显示屏为液晶显示屏;
    或者,所述显示屏为薄膜晶体管显示屏。
  11. 一种亮度调节方法,亮度调节方法应用于终端,所述终端包括第一光感传感器、第二光感传感器、显示屏以及分别与所述第一光感传感器、所述第二光感传感器和所述显示屏连接的处理器,所述第一光感传感器和所述第二光感传感器均设置于所述显示屏第一侧的狭缝区域,所述第一光感传感器和所述第二光感传感器在同一时刻开始采集所述显示屏上的屏幕光和环境光,所述方法包括:
    利用所述第一光感传感器采集所述屏幕光,得到第一光感值;
    利用所述第二光感传感器采集所述环境光和所述屏幕光,得到第二光感值;
    根据所述第一光感值和所述第二光感值,确定所述环境光的亮度信息;
    根据所述亮度信息调节所述显示屏的亮度。
  12. 根据权利要求11所述的方法,其中,所述利用所述第一光感传感器采集所述屏幕光,得到第一光感值,包括:
    利用第一光感传感器多次采集所述屏幕光,得到多个第三光感值;
    确定所述多个第三光感值的第一平均值;
    将所述第一平均值作为所述第一光感值。
  13. 根据权利要求11所述的方法,其中,所述利用所述第二光感传感器采集所述环境光和所述屏幕光,得到第二光感值,包括:
    利用所述第二光感传感器多次采集所述环境光和所述屏幕光,得到多个第四光感值;
    确定所述多个第四光感值的第二平均值;
    将所述第二平均值作为所述第二光感值。
  14. 根据权利要求11所述的方法,其中,所述根据所述第一光感值和所述第二光感值,确定所述环境光的亮度信息,包括:
    根据所述第一光感值和所述第二光感值,得到光感差值;
    将所述光感差值转换成光照强度信息;
    根据所述光照强度信息确定所述亮度信息。
  15. 根据权利要求11所述的方法,其中,所述利用所述第一光感传感器采集所述屏幕光,得到第一光感值之前,所述方法还包括:
    检测所述显示屏的状态信息;
    相应的,所述利用所述第一光感传感器采集所述屏幕光,得到第一光感值,包括:
    在所述状态信息为亮屏状态的情况下,利用所述第一光感传感器采集所述屏幕光,得到第一光感值。
  16. 根据权利要求11所述的方法,其中,所述第一光感传感器的透光面的油墨为黑色油墨;所述第二光感传感器的透光面的油墨为无色扩散油。
  17. 根据权利要求11所述的方法,其中,所述第一光感传感器的参数信息和所述第二光感传感器的参数信息相同;
    所述参数信息包括以下至少一个:
    积分时间、数字增益、模拟增益和上报光感数值的时间。
  18. 根据权利要求11所述的方法,其中,所述第一光感传感器为光感集成电路;所述第二光感传感器为光感集成电路。
  19. 根据权利要求11所述的方法,其中,所述第一光感传感器和所述第二光感传感器相邻设置。
  20. 一种存储介质,其上存储有计算机程序,应用于终端,该计算机程序被处理器执行时实现权利要求11至19任一项所述的方法。
PCT/CN2021/095301 2020-06-22 2021-05-21 一种亮度调节方法及终端、存储介质 WO2021258950A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010576649.3A CN111785230B (zh) 2020-06-22 2020-06-22 一种亮度调节方法及终端、存储介质
CN202010576649.3 2020-06-22

Publications (1)

Publication Number Publication Date
WO2021258950A1 true WO2021258950A1 (zh) 2021-12-30

Family

ID=72756963

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095301 WO2021258950A1 (zh) 2020-06-22 2021-05-21 一种亮度调节方法及终端、存储介质

Country Status (2)

Country Link
CN (1) CN111785230B (zh)
WO (1) WO2021258950A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114863884A (zh) * 2022-04-27 2022-08-05 青岛海信网络科技股份有限公司 一种显示屏屏幕背光亮度调节方法及装置
CN117079596A (zh) * 2023-10-13 2023-11-17 荣耀终端有限公司 屏幕亮度调节方法、终端设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111785230B (zh) * 2020-06-22 2022-07-26 Oppo广东移动通信有限公司 一种亮度调节方法及终端、存储介质
CN115567625A (zh) * 2021-01-29 2023-01-03 华为技术有限公司 终端
CN112905135A (zh) * 2021-03-08 2021-06-04 北京小米移动软件有限公司 屏幕亮度处理方法、电子设备及存储介质
CN115705788A (zh) * 2021-08-10 2023-02-17 荣耀终端有限公司 具有环境光检测功能的终端设备和环境光检测方法
CN115019726B (zh) * 2021-12-24 2023-05-16 荣耀终端有限公司 画面显示方法、电子设备和可读存储介质
CN114283751B (zh) * 2021-12-29 2023-04-07 西安闻泰信息技术有限公司 光感检测方法、终端设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070146302A1 (en) * 2005-12-23 2007-06-28 Innolux Display Corp. Display device and brightness self-adjusting method therefor
CN107770315A (zh) * 2017-11-29 2018-03-06 北京小米移动软件有限公司 移动终端
CN108173990A (zh) * 2017-12-26 2018-06-15 广东欧珀移动通信有限公司 电子装置
CN108716950A (zh) * 2018-05-16 2018-10-30 北京小米移动软件有限公司 环境光亮度获取方法及装置
US20180373395A1 (en) * 2017-06-23 2018-12-27 Samsung Electronics Co., Ltd. Display apparatus and displaying method thereof
CN111785230A (zh) * 2020-06-22 2020-10-16 Oppo广东移动通信有限公司 一种亮度调节方法及终端、存储介质

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8040341B2 (en) * 2004-01-09 2011-10-18 O2Micro Inc Brightness control system
CN104811544B (zh) * 2015-04-01 2019-03-19 深圳市致璞科技有限公司 一种屏幕亮度调节方法
CN107369404A (zh) * 2017-07-18 2017-11-21 成都安程通科技有限公司 一种汽车显示屏显示效果调节系统
CN107911506A (zh) * 2017-11-22 2018-04-13 维沃移动通信有限公司 移动终端及其屏幕显示亮度的调节方法
CN107966209B (zh) * 2017-11-22 2020-07-07 Oppo广东移动通信有限公司 环境光检测方法、装置、存储介质和电子设备
CN207460262U (zh) * 2017-11-29 2018-06-05 北京小米移动软件有限公司 移动终端
CN108600546B (zh) * 2018-04-28 2020-04-24 维沃移动通信有限公司 一种环境光检测方法及移动终端
CN209805867U (zh) * 2018-07-16 2019-12-17 华为技术有限公司 一种终端
CN109032433B (zh) * 2018-08-21 2020-09-25 Oppo广东移动通信有限公司 接近传感器及电子装置
CN209964108U (zh) * 2019-06-24 2020-01-17 Oppo广东移动通信有限公司 电子装置
CN110675839A (zh) * 2019-10-11 2020-01-10 Oppo广东移动通信有限公司 一种屏幕调节方法、电子设备及相关装置
CN111179861B (zh) * 2019-12-11 2021-06-15 Tcl移动通信科技(宁波)有限公司 一种亮度校准方法、装置、存储介质以及终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070146302A1 (en) * 2005-12-23 2007-06-28 Innolux Display Corp. Display device and brightness self-adjusting method therefor
US20180373395A1 (en) * 2017-06-23 2018-12-27 Samsung Electronics Co., Ltd. Display apparatus and displaying method thereof
CN107770315A (zh) * 2017-11-29 2018-03-06 北京小米移动软件有限公司 移动终端
CN108173990A (zh) * 2017-12-26 2018-06-15 广东欧珀移动通信有限公司 电子装置
CN108716950A (zh) * 2018-05-16 2018-10-30 北京小米移动软件有限公司 环境光亮度获取方法及装置
CN111785230A (zh) * 2020-06-22 2020-10-16 Oppo广东移动通信有限公司 一种亮度调节方法及终端、存储介质

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114863884A (zh) * 2022-04-27 2022-08-05 青岛海信网络科技股份有限公司 一种显示屏屏幕背光亮度调节方法及装置
CN114863884B (zh) * 2022-04-27 2024-04-02 青岛海信网络科技股份有限公司 一种显示屏屏幕背光亮度调节方法及装置
CN117079596A (zh) * 2023-10-13 2023-11-17 荣耀终端有限公司 屏幕亮度调节方法、终端设备及存储介质
CN117079596B (zh) * 2023-10-13 2023-12-19 荣耀终端有限公司 屏幕亮度调节方法、终端设备及存储介质

Also Published As

Publication number Publication date
CN111785230A (zh) 2020-10-16
CN111785230B (zh) 2022-07-26

Similar Documents

Publication Publication Date Title
WO2021258950A1 (zh) 一种亮度调节方法及终端、存储介质
US9129548B2 (en) Ambient light sensors with infrared compensation
US8253712B2 (en) Methods of operating electronic devices including touch sensitive interfaces using force/deflection sensing and related devices and computer program products
CN108257553B (zh) Amoled光感测
JP5140651B2 (ja) 液晶表示パネル、液晶表示装置、光検出装置及び光強度の調節方法
US8519992B2 (en) Display apparatus and electronic apparatus
CN111754954B (zh) 屏幕亮度调节方法、装置、存储介质及电子设备
US9116043B2 (en) Ambient light sensors with photodiode leakage current compensation
US8659539B2 (en) Multi-mode display device having an ambient light sensor and power-saving method of the same
Den Boer et al. 56.3: Active matrix LCD with integrated optical touch screen
CN107818753A (zh) 屏幕亮度调整方法、装置、存储介质和电子设备
JP4667079B2 (ja) 表示装置
US20200320919A1 (en) Display Method, Display Device, and Electronic Device
JP2007248815A (ja) 電気光学装置および電子機器
US11703382B2 (en) Display assembly and manufacturing method thereof, electronic device
CN102314265A (zh) 光学式检测装置、显示装置以及电子设备
WO2019140942A1 (zh) 显示装置
US11809661B2 (en) Display device and method of driving the same
CN111312179A (zh) 背光亮度调节方法及相关产品
JP2003337319A (ja) 光センサを利用した表示部の照明光制御装置
CN109379456B (zh) 一种终端及其控制方法
CN112947792A (zh) 显示模组、电子设备及其控制方法和控制装置
KR101818474B1 (ko) 광학 센싱 가능한 휴대용 영상 표시장치 및 그 구동방법
JP2006091051A (ja) 表示装置及びこれを備えた電子機器
TWI425490B (zh) A display device and an electronic device of the display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21828795

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21828795

Country of ref document: EP

Kind code of ref document: A1