| CPC G09G 3/3208 (2013.01) [G09G 2330/027 (2013.01); G09G 2360/141 (2013.01); H04M 1/0266 (2013.01)] | 11 Claims |

|
1. A light sensor status control method applied to an electronic device that includes an OLED display screen overlying a light sensor, the OLED display screen including a plurality of pixels in a display area of the display screen, the method comprising:
determining, based on an image refresh frequency of the OLED display screen, an image refresh cycle first time period, the first time period including a third time period during which pixels in the display area corresponding to the light sensor are not to emit light in the image refresh cycle and a second time period that is a subset of the third time period, the second time period being smaller than the third time period;
displaying, by the OLED display screen, a first frame of an image during a portion of the first time period of the image refresh cycle;
directing the plurality of pixels in the display area and that corresponds to the light sensor to emit light in the second time period and to not emit light in the third time period;
transmitting, by an optical transmitter of the light sensor, an optical signal in at least a part of the third time period and not transmitting an optical signal in the second time period based on a preset cycle when the OLED display screen is in a screen-off state;
receive, by an optical receiver, a reflected optical signal arising from reflection of the transmitted optical signal; and
determine, based on an attribute of the received optical signal, whether the optical signal was reflected by an object decreasing or increasing in separation distance relative to the electronic device, and to turn off the OLED display when the optical signal has been determined to be decreasing in separation distance.
|