CPC G01J 1/4204 (2013.01) | 17 Claims |
1. A method for detecting ambient light under a display screen, wherein the method comprises:
generating an interval identification signal for screen light of the display screen according to a dimming period of the display screen, the interval identification signal being used to identify the screen light that is within a specific time interval in the dimming period;
performing data collection according to a sampling signal;
reading data of a target sampling period from data of a plurality of sampling periods of the sampling signal according to the interval identification signal, the target sampling period being a sampling period in which sampling time overlaps with the specific time interval in time; and
detecting the ambient light according to the data of the target sampling period;
wherein brightness of the screen light comprises a plurality of brightness levels, the plurality of brightness levels correspond to a plurality of interval identification signals, respectively, and the generating the interval identification signal for the screen light of the display screen, comprises:
generating the interval identification signal corresponding to a current brightness level of the display screen.
|