Method, apparatus, and storage medium for determining screen light intensity value

By using the correspondence between temperature and light intensity calibration coefficients in the terminal to calibrate the detection value of the light sensor, the problem of inaccurate light intensity detection under the influence of ambient temperature is solved, and more accurate screen brightness adjustment and better user experience is achieved.

CN115112228BActive Publication Date: 2025-06-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110291726.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-18
Publication Date
2025-06-10
Estimated Expiration
2041-03-18

AI Technical Summary

Technical Problem

The screen light intensity value detected by the light sensor at different ambient temperatures is inaccurate, resulting in failure of the terminal screen brightness adjustment.

Method used

By obtaining the screen light intensity detection value detected by the light sensor and the current ambient temperature, the calibration coefficient is determined based on the correspondence between the temperature and the light intensity calibration coefficient, and multiply it with the detection value to obtain an accurate screen light intensity value.

Benefits of technology

Eliminates the impact of ambient temperature on light intensity detection values, improves the accuracy and consistency of terminal screen brightness adjustment, and provides a better user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115112228B_ABST
    Figure CN115112228B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and apparatus for determining a screen light intensity value, and a storage medium. The method for determining a screen light intensity value is applied to a terminal, and the terminal is provided with a light sensor. The method includes: obtaining a screen light intensity detection value detected by the light sensor, and obtaining a current ambient temperature at which the light sensor detects the screen light intensity detection value; determining a light intensity calibration coefficient corresponding to the current ambient temperature value based on a correspondence between temperature and a light intensity calibration coefficient; and determining a screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value. Through the embodiments of the present disclosure, the influence of ambient temperature on the light intensity detection value can be eliminated, and an accurate screen light intensity value of the terminal can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of terminals, and in particular, to a method for determining a screen light intensity value, a determining device, and a storage medium. Background Art

[0002] With the rapid development of science and technology, terminal technology has made great progress. Terminal products have various forms, rich functions, and higher configurations. Generally, terminal products are provided with display screens to achieve interaction with users during use, and people's demand for the use of display screens is also increasing.

[0003] A terminal is provided with a light sensor, whose function is to sense the intensity of ambient light and feedback the detection result of the ambient light intensity to the terminal. The terminal adjusts the brightness of the screen display according to the feedback result, so that the screen display brightness adapts to the external environment, bringing a better display effect to the user. For example, in a dark environment, the terminal screen is adjusted to a lower brightness for display, while in a bright environment, the terminal screen is adjusted to a higher brightness for display. The light sensor is composed of semiconductor materials, and the semiconductor materials and the optical path medium are affected by the ambient temperature, and the detection data changes accordingly, resulting in inaccurate detection data of the light sensor. Summary of the Invention

[0004] To overcome the problems existing in the related art, the present disclosure provides a method for determining a screen light intensity value, a determining device, and a storage medium.

[0005] According to one aspect of the embodiments of the present disclosure, a method for determining a screen light intensity value is provided, which is applied to a terminal. The terminal is provided with a light sensor, and the method includes: obtaining a screen light intensity detection value detected by the light sensor, and obtaining a current ambient temperature at which the light sensor detects the screen light intensity detection value; determining a light intensity calibration coefficient corresponding to the current ambient temperature value based on the correspondence between the temperature and the light intensity calibration coefficient; and determining the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value.

[0006] In one embodiment, the light sensor includes a plurality of sensing channels. For each of the plurality of sensing channels, the corresponding relationship between the temperature and the light intensity calibration coefficient is determined respectively in the following manner: Determine a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at the reference ambient temperature; Based on the reference ambient temperature, adjust the ambient temperature of the light sensor at a preset temperature adjustment step, and simultaneously obtain a second screen light intensity detection value collected by the light sensor at the adjusted temperature; If the absolute value of the difference between the second screen light intensity detection value and the first screen light intensity detection value is greater than an error threshold, determine a first temperature corresponding to the second screen light intensity detection value; Determine the ratio between the first screen light intensity detection value and the second screen light intensity detection value as the light intensity calibration coefficient corresponding to the first temperature.

[0007] In one embodiment, the corresponding relationship between the temperature and the light intensity calibration coefficient is determined in the following manner: Determine the temperature range in which the terminal uses the light sensor; Based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, determine a first number of first temperature ranges; For the first number of first temperature ranges, determine the light intensity calibration coefficient corresponding to each first temperature range respectively.

[0008] In one embodiment, determining a first number of first temperature ranges based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range includes: Determine the ratio between the difference between the highest temperature and the lowest temperature in the temperature range and the preset temperature adjustment step as the first number.

[0009] In one embodiment, the corresponding relationship between the temperature and the light intensity calibration coefficient is determined in the following manner: Determine a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at the reference ambient temperature; Based on the reference ambient temperature, adjust the ambient temperature of the light sensor at a preset temperature adjustment step, and simultaneously obtain a plurality of second screen light intensity detection values collected by the light sensor at the adjusted temperature; Determine the ratio between the first screen light intensity detection value and the average value of the plurality of second screen light intensity detection values as the light intensity calibration coefficient corresponding to the adjusted temperature.

[0010] In one embodiment, based on the determined light intensity calibration coefficient and the screen light intensity detection value, determining the screen light intensity value of the terminal includes: taking the product between the light intensity calibration coefficient and the screen light intensity detection value as the calibrated screen light intensity detection value; and determining the product of the calibrated screen light intensity detection value and the spectral attenuation gain coefficient as the screen light intensity value of the terminal.

[0011] According to another aspect of the embodiments of the present disclosure, there is provided a device for determining a screen light intensity value, which is applied to a terminal, and the terminal is provided with a light sensor. The device includes: an acquisition module, configured to acquire the screen light intensity detection value detected by the light sensor, and acquire the current ambient temperature at which the light sensor detects the screen light intensity detection value; and a determination module, configured to determine the light intensity calibration coefficient corresponding to the current ambient temperature value based on the correspondence between the temperature and the light intensity calibration coefficient, and determine the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value.

[0012] In one embodiment, the light sensor includes a plurality of sensing channels. For each sensing channel among the plurality of sensing channels, the determination module determines the correspondence between the temperature and the light intensity calibration coefficient in the following manner: determining a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at a reference ambient temperature; based on the reference ambient temperature, adjusting the ambient temperature of the light sensor at a preset temperature adjustment step, and synchronously acquiring a second screen light intensity detection value collected by the light sensor at the adjusted temperature; if the absolute value of the difference between the second screen light intensity detection value and the first screen light intensity detection value is greater than an error threshold, determining a first temperature corresponding to the second screen light intensity detection value; and taking the ratio between the first screen light intensity detection value and the second screen light intensity detection value as the light intensity calibration coefficient corresponding to the first temperature.

[0013] In one embodiment, the determination module determines the correspondence between the temperature and the light intensity calibration coefficient in the following manner: determining the temperature range in which the terminal uses the light sensor; based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, determining a first number of first temperature ranges; and respectively determining the light intensity calibration coefficient corresponding to each first temperature range for the first number of first temperature ranges.

[0014] In one embodiment, the determining module determines the first number of first temperature ranges based on a preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range in the following manner: determining the ratio of the difference between the highest temperature and the lowest temperature in the temperature range to the preset temperature adjustment step as the first number.

[0015] In one embodiment, the determining module determines the correspondence between the temperature and the light intensity calibration coefficient in the following manner: determining a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at the reference ambient temperature; adjusting the ambient temperature of the light sensor at a preset temperature adjustment step based on the reference ambient temperature, and synchronously obtaining a plurality of second screen light intensity detection values collected by the light sensor at the adjusted temperature; determining the ratio of the first screen light intensity detection value to the average value of the plurality of second screen light intensity detection values as the light intensity calibration coefficient corresponding to the adjusted temperature.

[0016] In one embodiment, the determining module determines the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value in the following manner: taking the product of the light intensity calibration coefficient and the screen light intensity detection value as the calibrated screen light intensity detection value; determining the product of the calibrated screen light intensity detection value and the spectral attenuation gain coefficient as the screen light intensity value of the terminal.

[0017] According to another aspect of the embodiments of the present disclosure, there is provided a device for determining a screen light intensity value, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the method for determining a screen light intensity value described in any one of the foregoing.

[0018] According to another aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to execute the method for determining a screen light intensity value described in any one of the foregoing.

[0019] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: By obtaining the detected value of the screen light intensity detected by the light sensor, obtaining the current ambient temperature at which the light sensor detects the detected value of the screen light intensity, and determining the light intensity calibration coefficient corresponding to the current ambient temperature value based on the corresponding relationship between the temperature and the light intensity calibration coefficient, and determining the screen light intensity value of the terminal based on the determined light intensity calibration coefficient corresponding to the current ambient temperature value and the detected value of the screen light intensity, the influence of the ambient temperature on the detected value of the light intensity can be eliminated, and an accurate screen light intensity value of the terminal can be obtained.

[0020] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.

[0022] Figure 1 It is a schematic diagram of an equivalent signal model of a sensor simulation chip circuit of a light sensor shown according to an exemplary embodiment of the present disclosure.

[0023] Figure 2 It is a circuit diagram of a photodiode of a light sensor provided inside a terminal screen shown according to an exemplary embodiment of the present disclosure.

[0024] Figure 3 It is a flowchart of a method for determining a screen light intensity value shown according to an exemplary embodiment of the present disclosure.

[0025] Figure 4 It is a flowchart of a method for determining the corresponding relationship between temperature and light intensity calibration coefficient shown according to an exemplary embodiment of the present disclosure.

[0026] Figure 5 It is a flowchart of a method for determining the corresponding relationship between temperature and light intensity calibration coefficient shown according to an exemplary embodiment of the present disclosure.

[0027] Figure 6 It is a flowchart of a method for determining the corresponding relationship between temperature and light intensity calibration coefficient shown according to an exemplary embodiment of the present disclosure.

[0028] Figure 7 It is a flowchart of a method for determining the corresponding relationship between temperature and light intensity calibration coefficient shown according to an exemplary embodiment of the present disclosure.

[0029] Figure 8It is a flowchart of a method for determining the screen light intensity value shown according to an exemplary embodiment of the present disclosure.

[0030] Figure 9 It is a block diagram of a device for determining the screen light intensity value shown according to an exemplary embodiment of the present disclosure.

[0031] Figure 10 A block diagram of a device for determining the screen light intensity value shown according to an exemplary embodiment of the present disclosure. Detailed implementation manners

[0032] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0033] In a terminal product provided with a display screen, a light sensor can be arranged below the screen of the terminal. Its function is to sense the intensity of ambient light and feedback the detection result of the ambient light intensity to the terminal. The terminal adjusts the brightness of the screen display according to the feedback result, so that the screen display brightness adapts to the external environment and brings a better display effect to the user. For example, in a dark environment, the terminal screen is adjusted to a lower brightness for display, while in a bright environment, the terminal screen is adjusted to a higher brightness for display. The light sensor can be an under-screen light sensor or a conventional light sensor under the screen glass cover. The light sensor is composed of semiconductor materials, and the semiconductor materials and the optical path medium will be affected by the ambient temperature, and the detection data will change accordingly, resulting in different detection data of the light sensor under different ambient temperatures.

[0034] Therefore, the present disclosure provides a method for determining the screen light intensity value. Considering the influence of the ambient temperature, the obtained current ambient temperature is used to calibrate the screen light intensity detection value detected by the light sensor, so as to obtain a calibrated screen light intensity detection side that is not affected by the temperature.

[0035] Figure 1 It is a schematic diagram of the equivalent signal model of the sensor analog chip circuit of the light sensor shown according to an exemplary of the present disclosure, as Figure 1 shown, the sensor analog chip circuit includes a photoelectric conversion circuit, a first-stage operational amplifier circuit, a low-pass filter circuit, a second-stage operational amplifier circuit, a sample-and-hold circuit, an ADC converter circuit, and a register, etc.

[0036] Figure 2It is a circuit diagram of a photodiode of a light sensor disposed inside a terminal screen shown according to an exemplary embodiment of the present disclosure. As Figure 2 shown, the photodiode is disposed on the upper part of the light sensor chip, and the light sensor chip is disposed under the terminal screen. The optical medium through which light passes, such as a glass cover plate, a screen, etc., will be affected by the ambient temperature. During the transmission process of the photodiode of the light sensor, the sensor analog chip circuit, etc., will also be affected by the ambient temperature.

[0037] Figure 3 It is a flowchart of a method for determining a screen light intensity value shown according to an exemplary embodiment of the present disclosure, which is applied to a terminal. The terminal can be a mobile phone, a tablet computer, a wearable device, etc., and the terminal is provided with a light sensor. The light sensor can be an under-screen light sensor or a conventional light sensor under the screen glass cover plate. Among them, the under-screen light sensor adopts the under-screen photosensitive technology, utilizes the light transmissibility of the terminal screen, and the light sensor disposed under the screen can receive the light penetrating through the screen and sense the change of the ambient light. As Figure 2 shown, the method for determining the screen light intensity value includes the following steps.

[0038] In step S101, obtain the screen light intensity detection value detected by the light sensor, and obtain the current ambient temperature at which the light sensor detects the screen light intensity detection value.

[0039] In step S102, based on the correspondence between the temperature and the light intensity calibration coefficient, determine the light intensity calibration coefficient corresponding to the current ambient temperature value.

[0040] In step S103, based on the determined light intensity calibration coefficient and the screen light intensity detection value, determine the screen light intensity value of the terminal.

[0041] In the embodiment of the present disclosure, the terminal is provided with a light sensor for obtaining the ambient light information of the environment where the terminal is located. The ambient light information can be used as an adjustment basis for the terminal to adjust the screen display brightness. The terminal adjusts the screen display brightness according to the ambient light information so that the screen display brightness adapts to the external environment. The terminal obtains the screen light intensity detection value detected by the light sensor, and obtains the current ambient temperature at which the light sensor detects the screen light intensity detection value.

[0042] Understandably, in the embodiments of the present disclosure, the current ambient temperature at which the light sensor detects the detected value of the screen light intensity can be obtained by a temperature sensor integrated near the light sensor or inside the light sensor, or by using the temperature data of the terminal. The light intensity calibration coefficient is used to calibrate the detected value of the light intensity detected by the light sensor, so as to eliminate the detection result error caused by the change of the ambient temperature. There is a corresponding relationship between the temperature and the light intensity calibration coefficient, and different temperatures correspond to different light intensity calibration coefficients. The detected value of the light intensity detected by the light sensor is affected by the ambient temperature and will change with the change of the ambient temperature. Based on the obtained current ambient temperature at which the light sensor detects the detected value of the screen light intensity, the corresponding relationship between the temperature and the light intensity calibration coefficient can be used to determine the light intensity calibration coefficient corresponding to the current ambient temperature. Using the obtained light intensity calibration coefficient and the detected value of the screen light intensity, the screen light intensity value of the terminal is determined, and the obtained screen light intensity value is an accurate value that is not affected by the temperature.

[0043] According to the embodiments of the present disclosure, by obtaining the detected value of the screen light intensity detected by the light sensor, and obtaining the current ambient temperature at which the light sensor detects the detected value of the screen light intensity, and based on the corresponding relationship between the temperature and the light intensity calibration coefficient, the light intensity calibration coefficient corresponding to the current ambient temperature value is determined. Based on the determined light intensity calibration coefficient corresponding to the current ambient temperature value and the detected value of the screen light intensity, the screen light intensity value of the terminal is determined, the influence of the detected value of the light intensity introduced by the change of the ambient temperature is eliminated, and the accurate screen light intensity value of the terminal is obtained, which provides support for optimizing the use experience of the terminal device.

[0044] Figure 4 It is a flowchart of a method for determining the corresponding relationship between the temperature and the light intensity calibration coefficient shown in an exemplary embodiment of the present disclosure. As Figure 4 shown, the method for determining the corresponding relationship between the temperature and the light intensity calibration coefficient includes the following steps.

[0045] In step S201, a first detected value of the screen light intensity is determined. The first detected value of the screen light intensity includes the detected value of the screen light intensity collected by the light sensor at the reference ambient temperature.

[0046] In step S202, based on the reference ambient temperature, the ambient temperature at which the light sensor is located is adjusted with a preset temperature adjustment step size, and the second detected value of the screen light intensity collected by the light sensor at the adjusted temperature is synchronously obtained.

[0047] In step S203, if the absolute value of the difference between the second detected value of the screen light intensity and the first detected value of the screen light intensity is greater than the error threshold, the first temperature corresponding to the second detected value of the screen light intensity is determined.

[0048] In step S204, the ratio between the first screen light intensity detection value and the second screen light intensity detection value is determined as the light intensity calibration coefficient corresponding to the first temperature.

[0049] In the embodiments of the present disclosure, the light sensor includes multiple sensing channels, and the screen light intensity detection value detected by the light sensor includes the converter count values of the light intensity detection values of multiple sensing channels. The screen light intensity detection value Lux' detected by the light sensor can be expressed by the light intensity detection values of multiple sensing channels as

[0050]

[0051] where m represents m sensing channels of the sensor, n represents different light source spectral types, and channel nm is the converter count value corresponding to the nth light source spectrum collected by the mth sensing channel in the sensor, that is, the register value of the sensor. K nm is the fitting coefficient, and different K nm fitting coefficients correspond to n different light source spectra.

[0052] In the embodiments of the present disclosure, when determining the corresponding relationship between the temperature and the light intensity calibration coefficient, the light-emitting light source and its corresponding illuminance remain the same under different temperature conditions, and the illuminance of the light-emitting light source does not exceed a preset light intensity threshold. For each sensing channel in the multiple sensing channels, the corresponding relationship between the temperature and the light intensity calibration coefficient is determined respectively to calibrate the light intensity detection values of the multiple sensing channels. Determine the terminal screen light intensity detection value collected by the light sensor at the reference ambient temperature. The terminal screen light intensity detection value collected by the light sensor at the reference ambient temperature is the first screen light intensity detection value. The reference ambient temperature and / or the preset temperature adjustment step size can be set according to the usage conditions of the terminal or determined according to experimental data. For example, the reference ambient temperature can be set to a fixed temperature value. For example, the fixed temperature value can be taken as 25°C, and the preset temperature adjustment step size can be 5°C or 10°C. Based on a certain temperature range, the smaller the preset temperature adjustment step size, the finer the division in the temperature range, and the more accurate the determined light intensity calibration coefficient for the screen light intensity detection value. Adjust the ambient temperature of the light sensor with the preset temperature adjustment step size, and obtain the terminal screen light intensity detection value collected by the light sensor after the temperature adjustment, that is, the second screen light intensity detection value.

[0053] Understandably, the temperature adjustment can be an adjustment to increase the temperature or an adjustment to decrease the temperature. The temperature adjustment can be multiple adjustments based on a preset temperature adjustment step. When the absolute value of the difference between the second screen light intensity detection value after temperature adjustment and the first screen light intensity detection value of the reference ambient temperature is greater than the error threshold, the change in the light intensity detection value caused by the temperature change is relatively large, and the adjusted first temperature corresponding to the second screen light intensity detection value is determined. And the light intensity calibration coefficient corresponding to the first temperature is determined. The light intensity calibration coefficient corresponding to the first temperature is the ratio between the first screen light intensity detection value and the second screen light intensity detection value.

[0054] According to an embodiment of the present disclosure, for each sensing channel of a light sensor including multiple sensing channels, the screen light intensity detection value collected by the light sensor at the reference ambient temperature is determined as the first screen light intensity detection value. The temperature is adjusted based on a preset temperature adjustment step, and the second screen light intensity detection value corresponding to the adjusted temperature is determined. When it is determined that the absolute value of the difference between the second screen light intensity detection value and the first screen light intensity detection value is greater than the error threshold, the first temperature corresponding to the second screen light intensity detection value is determined, and the ratio between the first screen light intensity detection value and the second screen light intensity detection value is determined as the light intensity calibration coefficient corresponding to the first temperature, so as to determine the corresponding relationship between the temperature and the light intensity calibration coefficient. Based on the corresponding relationship, the screen light intensity detection values of multiple sensing channels of the light sensor at the current ambient temperature are calibrated, providing a basis for obtaining an accurate screen light intensity value of the terminal.

[0055] Figure 5 It is a flowchart of a method for determining the corresponding relationship between temperature and light intensity calibration coefficient shown according to an exemplary embodiment of the present disclosure, as Figure 5 shown, the method for determining the corresponding relationship between temperature and light intensity calibration coefficient includes the following steps.

[0056] In step S301, the temperature range in which the terminal uses the light sensor is determined.

[0057] In step S302, based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, the first number of first temperature ranges are determined.

[0058] In step S303, for the first number of first temperature ranges, the light intensity calibration coefficient corresponding to each first temperature range is determined respectively.

[0059] In the disclosed embodiment, the screen light intensity detection value detected by the light sensor is affected by temperature, and the screen light intensity detection value is calibrated using a light intensity calibration coefficient to eliminate the temperature influence. When determining the correspondence between the temperature and the light intensity calibration coefficient, the use temperature range when the terminal uses the light sensor to detect the screen light intensity is determined, and the temperature range includes the highest temperature when the terminal uses the light sensor to detect the screen light intensity and the lowest temperature for performing the screen light intensity detection. It can be understood that the temperature range in which the terminal uses the light sensor can be determined based on the temperature conditions in the daily use scenario of the terminal. Based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, a first number of first temperature ranges are determined, and the temperature range in which the terminal uses the light sensor includes multiple first temperature ranges. The light intensity calibration coefficient corresponding to the first temperature range can be the light intensity calibration coefficient corresponding to the adjusted ambient temperature after adjusting the ambient temperature where the light sensor is located based on the preset temperature adjustment step in the first temperature range. For the first number of first temperature ranges, the light intensity calibration coefficient corresponding to each first temperature range is determined respectively. For example, the light sensor includes m sensing channels, and the reference ambient temperature is t 0 , under the condition of constant optical environment, the preset temperature adjustment step is δt, and the adjusted temperature is (t 0 +δt), the screen light intensity detection value collected by the i-th sensing channel of the light sensor at the reference ambient temperature, that is, the first screen light intensity detection value is The light intensity detection value collected at the adjusted temperature, that is, the light intensity detection value of the second screen is The light intensity calibration coefficient K corresponding to the adjusted temperature of the i-th sensing channel t-channel-i , the adjusted temperature is (t 0 +δt) It can be expressed as:

[0060] That is, for the first temperature range t 0 to(t 0 +δt), the corresponding light intensity calibration coefficient is

[0061] According to an embodiment of the present disclosure, a temperature range in which a terminal uses a light sensor is determined. Based on a preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, a first number of first temperature ranges are determined. For the first number of first temperature ranges, the light intensity calibration coefficients corresponding to each first temperature range are respectively determined, and the light intensity calibration coefficients corresponding to different first temperature ranges can be respectively determined. Thereby, the corresponding relationship between the temperature and the light intensity calibration coefficient is determined, and based on the corresponding relationship, the detected value of the screen light intensity at the current ambient temperature is calibrated, providing a basis for obtaining an accurate screen light intensity value of the terminal.

[0062] Figure 6 FIG. is a flowchart of a method for determining the corresponding relationship between the temperature and the light intensity calibration coefficient according to an exemplary embodiment of the present disclosure, as Figure 6 shown, the method for determining the corresponding relationship between the temperature and the light intensity calibration coefficient includes the following steps.

[0063] In step S401, a temperature range in which a terminal uses a light sensor is determined.

[0064] In step S402, the ratio of the difference between the highest temperature and the lowest temperature in the temperature range to the preset temperature adjustment step is determined as the first number.

[0065] In step S403, for the first number of first temperature ranges, the light intensity calibration coefficients corresponding to each first temperature range are respectively determined.

[0066] According to an embodiment of the present disclosure, in an embodiment of the present disclosure, the detected value of the screen light intensity detected by the light sensor is affected by temperature. The detected value of the screen light intensity is calibrated using a light intensity calibration coefficient to eliminate the influence of temperature. For the corresponding relationship between temperature and the light intensity calibration coefficient, when determining the corresponding relationship between temperature and the light intensity calibration coefficient, determine the temperature range during which the terminal uses the light sensor to detect the screen light intensity. The temperature range includes the highest temperature and the lowest temperature at which the terminal uses the light sensor to detect the screen light intensity. It can be understood that the temperature range in which the terminal uses the light sensor can be determined based on the temperature conditions in the daily use scenario of the terminal. Based on a preset temperature adjustment step size and the difference between the highest temperature and the lowest temperature of the temperature range, determine the first number of first temperature ranges. Determine the ratio of the difference between the highest temperature and the lowest temperature of the temperature range to the preset temperature adjustment step size as the first number. The light intensity calibration coefficient corresponding to the first temperature range can be the light intensity calibration coefficient corresponding to the adjusted ambient temperature within the first temperature range based on the preset temperature adjustment step size. For each of the first number of first temperature ranges, determine the light intensity calibration coefficient corresponding to each first temperature range. For example, the light sensor includes m sensing channels, the highest temperature of the temperature range in which the light sensor detects the detected value of the screen light intensity is t max , the lowest temperature of the temperature range is t min , and the difference between the two is (t max - t min ). The reference ambient temperature is t 0 . Under the condition of a certain optical environment, the preset temperature adjustment step size is δt. The highest temperature and the lowest temperature of the temperature range include the first number of first temperature ranges, and the first number is j, j = (t max - t min ) / δt. The temperature after temperature adjustment based on the reference ambient temperature t 0 is (t 0 + δt). The detected value of the screen light intensity collected by the i-th sensing channel of the light sensor at the reference ambient temperature, that is, the first detected value of the screen light intensity, is The detected value of the light intensity collected at the adjusted temperature, that is, the second detected value of the screen light intensity, is The light intensity calibration coefficient K t-channel-i corresponding to the adjusted temperature of the i-th sensing channel, and the adjusted temperature is (t 0 + δt) corresponding to can be expressed as:

[0067] That is, for the first temperature range t 0 to (t 0+δt), and the corresponding light intensity calibration coefficient is

[0068] According to an embodiment of the present disclosure, the temperature range in which the terminal uses the light sensor is determined. Based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, a first number of first temperature ranges are determined. The first number is the ratio of the difference between the highest temperature and the lowest temperature in the temperature range to the preset temperature adjustment step. The light intensity calibration coefficients corresponding to each first temperature range are respectively determined, and the light intensity calibration coefficients corresponding to different first temperature ranges can be respectively determined. Thus, the correspondence between the temperature and the light intensity calibration coefficient is determined, and based on the correspondence, the screen light intensity detection value at the current ambient temperature is calibrated, providing a basis for obtaining an accurate screen light intensity value of the terminal.

[0069] Figure 7 is a flowchart of a method for determining the correspondence between the temperature and the light intensity calibration coefficient shown according to an exemplary embodiment of the present disclosure. As Figure 7 shown, the method for determining the correspondence between the temperature and the light intensity calibration coefficient includes the following steps.

[0070] In step S501, a first screen light intensity detection value is determined. The first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at the reference ambient temperature.

[0071] In step S502, based on the reference ambient temperature, the ambient temperature of the light sensor is adjusted at the preset temperature adjustment step, and a plurality of second screen light intensity detection values collected by the light sensor at the adjusted temperature are synchronously obtained.

[0072] In step S503, the ratio between the first screen light intensity detection value and the average value of the plurality of second screen light intensity detection values is determined as the light intensity calibration coefficient corresponding to the adjusted temperature.

[0073] In the embodiments of the present disclosure, when determining the correspondence relationship between the temperature and the light intensity calibration coefficient, the illuminance of the light-emitting light source and its corresponding one remains the same under different temperature conditions, and the illuminance of the light-emitting light source does not exceed a preset light intensity threshold. At the reference ambient temperature, the first screen light intensity detection value of the terminal screen collected by the light sensor is determined. The reference ambient temperature can be set to a fixed temperature value. For example, the fixed temperature value can be taken as 25 °C, and the preset temperature adjustment step can be 5 °C or 10 °C. It can be understood that within a certain temperature range, the smaller the value of the preset temperature adjustment step and the finer the division within the temperature range, the more accurate the determined light intensity calibration coefficient for the screen light intensity detection value. With the preset temperature adjustment step, the temperature of the environment where the light sensor is located is adjusted, and after the temperature adjustment, the light intensity detection value of the terminal screen collected by the light sensor is obtained, that is, the second screen light intensity detection value. After the temperature adjustment, the light sensor collects the light intensity detection values of the terminal screen for a preset number of times, that is, multiple second screen light intensity detection values corresponding to the adjusted temperature are obtained, and the average value of the multiple second screen light intensity detection values is determined. The ratio between the first screen light intensity detection value and the average value of the multiple second screen light intensity detection values is determined as the light intensity calibration coefficient corresponding to the adjusted temperature.

[0074] Understandably, based on the reference ambient temperature, the ambient temperature where the light sensor is located is adjusted in a preset temperature adjustment step. During this process, the light intensity calibration coefficient corresponding to the temperature after each adjustment can be determined respectively. For example, when the reference ambient temperature value is 25 °C and the preset temperature adjustment step is 5 °C. At 25 °C, the screen light intensity detection value collected by the light sensor, that is, the first screen light intensity detection value, is determined. Based on the reference ambient temperature of 25 °C, the ambient temperature where the light sensor is located is adjusted in a step of 5 °C. The adjusted ambient temperature is 30 °C, and multiple second screen light intensity detection values collected by the light sensor at 30 °C are obtained. The multiple second screen light intensity detection values can be a preset number, and the preset number can be determined as 5, 10 or other values according to needs. When the preset number is 10, 10 second screen light intensity detection values collected by the light sensor at 30 °C are obtained, and the average value of the 10 second screen light intensity detection values is determined. The ratio between the first screen light intensity detection value and the average value of the 10 second screen light intensity detection values is determined as the light intensity calibration coefficient corresponding to 30 °C. Continue to adjust the ambient temperature where the light sensor is located in a step of 5 °C. The adjusted ambient temperature is 35 °C, 10 second screen light intensity detection values collected by the light sensor at 35 °C are obtained, and the light intensity calibration coefficient corresponding to 35 °C is determined. The determination method is the same as the above and will not be elaborated here. By analogy, within the temperature range where the light sensor is used in the terminal, the temperature is adjusted respectively, and the corresponding relationship between the adjusted temperature and the light intensity calibration coefficient is determined.

[0075] According to an embodiment of the present disclosure, at the reference ambient temperature, the first screen light intensity detection value of the screen collected by the light sensor at the reference ambient temperature is determined. The temperature is adjusted based on a preset temperature adjustment step, and the average value of multiple second screen light intensity detection values corresponding to the adjusted temperature is determined. The ratio between the first screen light intensity detection value and the average value of the multiple second screen light intensity detection values is determined as the light intensity calibration coefficient corresponding to the adjusted temperature, so as to determine the corresponding relationship between the temperature and the light intensity calibration coefficient. Based on the corresponding relationship, the screen light intensity detection value at the current ambient temperature is calibrated, providing a basis for obtaining an accurate screen light intensity value of the terminal.

[0076] Figure 8 is a flowchart of a method for determining a screen light intensity value shown in an exemplary embodiment of the present disclosure, as Figure 8 shown, the method for determining the screen light intensity value includes the following steps.

[0077] In step S601, the screen light intensity detection value detected by the light sensor is obtained, and the current ambient temperature at which the light sensor detects the screen light intensity detection value is obtained.

[0078] In step S602, based on the correspondence between the temperature and the light intensity calibration coefficient, determine the light intensity calibration coefficient corresponding to the current ambient temperature value.

[0079] In step S603, take the product of the light intensity calibration coefficient and the detected screen light intensity value as the calibrated detected screen light intensity value.

[0080] In step S604, determine the screen light intensity value of the terminal by taking the product of the calibrated detected screen light intensity value and the spectral attenuation gain coefficient.

[0081] In the embodiments of the present disclosure, the light sensor includes multiple sensing channels, and the detected screen light intensity value detected by the light sensor includes the converter count values of the light intensity detection values of multiple sensing channels. The detected screen light intensity value Lux' detected by the light sensor can be expressed by the light intensity detection values of multiple sensing channels as

[0082]

[0083] where m represents m sensing channels of the sensor, n represents different light source spectral types, and channel nm is the converter count value corresponding to the nth light source spectrum collected by the mth sensing channel in the sensor, that is, the register value of the sensor. K nm is the fitting coefficient, and different K nm fitting coefficients correspond to n different light source spectra. The spectral attenuation gain coefficient of the light sensor can be represented by a vector, K = |K 1 ……K n |. The screen light intensity value Lux of the terminal can be expressed as:

[0084]

[0085] When obtaining the current ambient temperature at which the light sensor detects the screen light intensity detection value and determining the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value, for each sensing channel among the multiple sensing channels, respectively determine the correspondence between the temperature and the light intensity calibration coefficient to calibrate the light intensity detection values of the multiple sensing channels.

[0086] Take the product of the light intensity calibration coefficient and the screen light intensity detection value as the calibrated screen light intensity detection value, that is, calibrate the screen light intensity detection values of the m sensing channels in the corresponding matrix for Lux' in the above formula, and determine the screen light intensity value of the terminal by taking the product of the calibrated screen light intensity detection value and the spectral attenuation gain coefficient.

[0087] According to an embodiment of the present disclosure, by obtaining the detected value of the screen light intensity detected by a light sensor, obtaining the current ambient temperature at which the light sensor detects the detected value of the screen light intensity, and determining the light intensity calibration coefficient corresponding to the current ambient temperature value based on the correspondence between the temperature and the light intensity calibration coefficient, taking the product of the light intensity calibration coefficient and the detected value of the screen light intensity as the calibrated detected value of the screen light intensity; and determining the product of the calibrated detected value of the screen light intensity and the spectral attenuation gain coefficient as the screen light intensity value of the terminal, it is possible to eliminate the influence of the ambient temperature on the detected value of the light intensity and obtain an accurate screen light intensity value of the terminal.

[0088] Based on the same concept, an embodiment of the present disclosure further provides a device for determining a screen light intensity value.

[0089] It can be understood that, in order to implement the above functions, the device for determining a screen light intensity value provided by the embodiment of the present disclosure includes the corresponding hardware structure and / or software module for executing each function. Combining the units and algorithm steps of the various examples disclosed in the embodiments of the present disclosure, the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiments of the present disclosure.

[0090] Figure 9 FIG. is a block diagram of a device for determining a screen light intensity value shown according to an exemplary embodiment of the present disclosure. The device for determining a screen light intensity value is applied to a terminal, and the terminal is provided with a light sensor, such as Figure 9 As shown, the device 100 for determining a screen light intensity value includes: an acquisition module 101 and a determination module 102.

[0091] The acquisition module 101 is configured to obtain the detected value of the screen light intensity detected by the light sensor, and obtain the current ambient temperature at which the light sensor detects the detected value of the screen light intensity;

[0092] The determination module 102 is configured to determine the light intensity calibration coefficient corresponding to the current ambient temperature value based on the correspondence between the temperature and the light intensity calibration coefficient, and determine the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the detected value of the screen light intensity.

[0093] In one embodiment, the light sensor includes a plurality of sensing channels. For each sensing channel among the plurality of sensing channels, the determining module 102 determines the corresponding relationship between the temperature and the light intensity calibration coefficient in the following manner: Determine a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at the reference ambient temperature; Based on the reference ambient temperature, adjust the ambient temperature of the light sensor with a preset temperature adjustment step, and simultaneously obtain a second screen light intensity detection value collected by the light sensor at the adjusted temperature; If the absolute value of the difference between the second screen light intensity detection value and the first screen light intensity detection value is greater than the error threshold, determine the first temperature corresponding to the second screen light intensity detection value; Determine the ratio between the first screen light intensity detection value and the second screen light intensity detection value as the light intensity calibration coefficient corresponding to the first temperature.

[0094] In one embodiment, the determining module 102 determines the corresponding relationship between the temperature and the light intensity calibration coefficient in the following manner: Determine the temperature range in which the terminal uses the light sensor; Based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature of the temperature range, determine a first number of first temperature ranges; For the first number of first temperature ranges, respectively determine the light intensity calibration coefficient corresponding to each first temperature range.

[0095] In one embodiment, the determining module 102 determines a first number of first temperature ranges based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature of the temperature range in the following manner: Determine the ratio between the difference between the highest temperature and the lowest temperature of the temperature range and the preset temperature adjustment step as the first number.

[0096] In one embodiment, the determining module 102 determines the corresponding relationship between the temperature and the light intensity calibration coefficient in the following manner: Determine a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at the reference ambient temperature; Based on the reference ambient temperature, adjust the ambient temperature of the light sensor with a preset temperature adjustment step, and simultaneously obtain a plurality of second screen light intensity detection values collected by the light sensor at the adjusted temperature; Determine the ratio between the first screen light intensity detection value and the average value of the plurality of second screen light intensity detection values as the light intensity calibration coefficient corresponding to the adjusted temperature.

[0097] In one embodiment, the determination module 102 determines the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value in the following manner: taking the product between the light intensity calibration coefficient and the screen light intensity detection value as the calibrated screen light intensity detection value; and determining the product of the calibrated screen light intensity detection value and the spectral attenuation gain coefficient as the screen light intensity value of the terminal.

[0098] Regarding the device in the above embodiment, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.

[0099] Figure 10 FIG. 200 is a block diagram of a device 200 for determining a screen light intensity value according to an exemplary embodiment of the present disclosure. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0100] Referring to Figure 10 , the device 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input / output (I / O) interface 212, a sensor component 214, and a communication component 216.

[0101] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 202 may include one or more modules to facilitate the interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate the interaction between the multimedia component 208 and the processing component 202.

[0102] The memory 204 is configured to store various types of data to support the operation of the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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, a magnetic disk, or an optical disk.

[0103] The power component 206 provides power for various components of the device 200. The power component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 200.

[0104] The multimedia component 208 includes a screen that provides an output interface between the device 200 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 can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0105] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC) that is configured to receive external audio signals when the device 200 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, the audio component 210 further includes a speaker for outputting audio signals.

[0106] The I / O interface 212 provides an interface between the processing component 202 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.

[0107] The sensor assembly 214 includes one or more sensors for providing an assessment of various aspects of the status of the device 200. For example, the sensor assembly 214 can detect the on / off state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect a change in the position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200, and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 214 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0108] The communication component 216 is configured to facilitate communication between the device 200 and other devices in a wired or wireless manner. The device 200 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 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 216 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0109] In an exemplary embodiment, the device 200 can 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, microcontrollers, microprocessors, or other electronic components for performing the above-described methods.

[0110] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as the memory 204 including instructions, and the above instructions can be executed by the processor 220 of the device 200 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0111] It can be understood that in the present disclosure, "a plurality of" means two or more, and other quantifiers are similar thereto. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms of "a", "the", and "said" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0112] It can be further understood that the terms "first", "second", etc. are used to describe various information, but this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not represent a specific order or degree of importance. In fact, the expressions such as "first" and "second" can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0113] It can be further understood that unless otherwise specified, "connection" includes direct connection without other components between the two, and also includes indirect connection with other elements between the two.

[0114] It can be further understood that although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring these operations to be performed in the specific order shown or in a serial order, or requiring all the operations shown to obtain the desired result. In a specific environment, multitasking and parallel processing may be beneficial.

[0115] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include the common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0116] It should be understood that the present disclosure is not limited to the exact structure already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A method for determining the screen light intensity value, characterized in that, applied to a terminal, the terminal is provided with a light sensor, and the method includes: obtaining a screen light intensity detection value detected by the light sensor, and obtaining the current ambient temperature at which the light sensor detects the screen light intensity detection value; determining a light intensity calibration coefficient corresponding to the current ambient temperature value based on the correspondence between the temperature and the light intensity calibration coefficient; determining the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value; the light sensor includes a plurality of sensing channels, and for each sensing channel in the plurality of sensing channels, the correspondence between the temperature and the light intensity calibration coefficient is determined respectively by the following method: determining a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at a reference ambient temperature; based on the reference ambient temperature, adjusting the ambient temperature of the light sensor at a preset temperature adjustment step, and synchronously obtaining a second screen light intensity detection value collected by the light sensor at the adjusted temperature; if the absolute value of the difference between the second screen light intensity detection value and the first screen light intensity detection value is greater than an error threshold, determining a first temperature corresponding to the second screen light intensity detection value; determining the ratio between the first screen light intensity detection value and the second screen light intensity detection value as the light intensity calibration coefficient corresponding to the first temperature.

2. The method for determining the screen light intensity value according to claim 1, characterized in that, the correspondence between the temperature and the light intensity calibration coefficient is determined by the following method: determining the temperature range in which the terminal uses the light sensor; determining a first number of first temperature ranges based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range; respectively determining a light intensity calibration coefficient corresponding to each first temperature range for the first number of first temperature ranges.

3. The method for determining the screen light intensity value according to claim 2, characterized in that, determining a first number of first temperature ranges based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, including: determining the ratio between the difference between the highest temperature and the lowest temperature in the temperature range and the preset temperature adjustment step as the first number.

4. The method for determining the screen light intensity value according to claim 1, characterized in that, the correspondence between the temperature and the light intensity calibration coefficient is determined by the following method: determining a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at a reference ambient temperature; Based on the reference ambient temperature, adjust the ambient temperature of the light sensor with a preset temperature adjustment step, and synchronously obtain a plurality of second screen light intensity detection values collected by the light sensor at the adjusted temperature; Determine the ratio between the first screen light intensity detection value and the average value of the plurality of second screen light intensity detection values as the light intensity calibration coefficient corresponding to the adjusted temperature.

5. The method for determining the screen light intensity value according to claim 4, wherein, Based on the determined light intensity calibration coefficient and the screen light intensity detection value, determining the screen light intensity value of the terminal includes: Taking the product of the light intensity calibration coefficient and the screen light intensity detection value as the calibrated screen light intensity detection value; Determine the product of the calibrated screen light intensity detection value and the spectral attenuation gain coefficient as the screen light intensity value of the terminal.

6. A device for determining the screen light intensity value, wherein, Applied to a terminal, the terminal is provided with a light sensor, and the device includes: An acquisition module, configured to acquire the screen light intensity detection value detected by the light sensor, and acquire the current ambient temperature at which the light sensor detects the screen light intensity detection value; A determination module, configured to determine the light intensity calibration coefficient corresponding to the current ambient temperature value based on the correspondence between the temperature and the light intensity calibration coefficient, and determine the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value; The light sensor includes a plurality of sensing channels. For each sensing channel in the plurality of sensing channels, the determination module determines the correspondence between the temperature and the light intensity calibration coefficient in the following manner: Determine a first screen light intensity detection value, where the first screen light intensity detection value includes the screen light intensity detection value collected by the light sensor at the reference ambient temperature; Based on the reference ambient temperature, adjust the ambient temperature of the light sensor with a preset temperature adjustment step, and synchronously obtain the second screen light intensity detection value collected by the light sensor at the adjusted temperature; If the absolute value of the difference between the second screen light intensity detection value and the first screen light intensity detection value is greater than the error threshold, determine the first temperature corresponding to the second screen light intensity detection value; Determine the ratio between the first screen light intensity detection value and the second screen light intensity detection value as the light intensity calibration coefficient corresponding to the first temperature.

7. The device for determining the screen light intensity value according to claim 6, wherein, The determination module determines the correspondence between the temperature and the light intensity calibration coefficient in the following manner: Determine the temperature range in which the terminal uses the light sensor; Based on the preset temperature adjustment step and the difference between the highest temperature and the lowest temperature in the temperature range, determine the first number of first temperature ranges; For each of the first quantity of first temperature ranges, determine a light intensity calibration coefficient corresponding to each first temperature range.

8. The apparatus for determining a screen light intensity value according to claim 7, wherein, the determining module determines the first quantity of first temperature ranges based on a preset temperature adjustment step and a difference between a highest temperature and a lowest temperature of the temperature range in the following manner: Determine a ratio between the difference between the highest temperature and the lowest temperature of the temperature range and the preset temperature adjustment step as the first quantity.

9. The apparatus for determining a screen light intensity value according to claim 6, wherein, the determining module determines a correspondence between a temperature and a light intensity calibration coefficient in the following manner: Determine a first screen light intensity detection value, where the first screen light intensity detection value includes a screen light intensity detection value collected by the light sensor at a reference ambient temperature; Based on the reference ambient temperature, adjust the ambient temperature of the light sensor at a preset temperature adjustment step, and synchronously obtain a plurality of second screen light intensity detection values collected by the light sensor at the adjusted temperature; Determine a ratio between the first screen light intensity detection value and an average value of the plurality of second screen light intensity detection values as the light intensity calibration coefficient corresponding to the adjusted temperature.

10. The apparatus for determining a screen light intensity value according to claim 9, wherein, the determining module determines the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value in the following manner: Take a product of the light intensity calibration coefficient and the screen light intensity detection value as a calibrated screen light intensity detection value; Determine a product of the calibrated screen light intensity detection value and a spectral attenuation gain coefficient as the screen light intensity value of the terminal.

11. An apparatus for determining a screen light intensity value, wherein, comprises: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to: execute the method for determining a screen light intensity value according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium, wherein, when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the method for determining a screen light intensity value according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Multi-screen display device

    US20110181565A1

  • Image display apparatus and control method thereof

    US20120206426A1