IP Library Granted Patent US 11,015,973
Granted Patent B2
US 11,015,973 · App. 16/412,888 · Granted May 25, 2021

Method and apparatus for acquiring ambient light brightness based on the luminance value of the screen of a terminal device

Inventor: Guosheng Li (Beijing, CN)
Assignee: Beijing Xiaomi Mobile Software Co., Ltd.
G01J1/4204H04M1/0266H04M2250/12
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,015,973
App. No.
16/412,888
Granted
May 25, 2021
Kind
B2
Abstract

The present disclosure relates to a method and apparatus for acquiring an ambient light brightness. The method includes acquiring a brightness value monitored by the ambient light sensor; acquiring a luminance value of the screen of the terminal device; and determining an ambient light brightness value of an external environment based on the brightness value and the luminance value.

Claims (49)

1. A method for acquiring an ambient light brightness, wherein the method is applied to a terminal device, and an ambient light sensor is disposed at a lower layer of a screen of the terminal device, the method comprising:

acquiring a brightness value monitored by the ambient light sensor;

acquiring a luminance value of the screen of the terminal device; and

determining an ambient light brightness value of an external environment based on the brightness value and the luminance value.

2. The method according to claim 1 , wherein acquiring the luminance value comprises acquiring the luminance value of a preset display area of the screen of the terminal device, the preset display area on the screen of the terminal device being an area of the screen of the terminal device that affects a sensing ability of the ambient light sensor to sense the ambient light brightness of the external environment; and

wherein determining the ambient light brightness value of the external environment comprises determining the ambient light brightness value of the external environment based on the brightness value and the luminance value of the preset display area.

3. The method according to claim 2 , wherein acquiring the luminance value of the preset display area of the screen of the terminal device comprises:

acquiring a luminance value of each pixel in the preset display area;

determining an actual luminance influence value of an i th pixel based on a luminance value of the i th pixel and a light intensity influence weight value of the i th pixel with respect to the ambient light sensor, i being an integer greater than 1; and

acquiring the luminance value of the preset display area based on the actual luminance influence values of all the pixels.

4. The method according to claim 2 , wherein determining the ambient light brightness value of the external environment based on the brightness value monitored by the ambient light sensor and the luminance value of the preset display area comprises:

calculating a brightness difference value between the brightness value monitored by the ambient light sensor and the luminance value of the display area; and

determining the ambient light brightness value of the external environment based on the brightness difference value.

5. The method according to claim 4 , wherein determining the ambient light brightness value of the external environment based on the light brightness difference value comprises determining the ambient light brightness value of the external environment based on the brightness difference value and a light transmittance of the screen of the terminal device.

6. An apparatus for acquiring an ambient light brightness, wherein the apparatus is applied to a terminal device, and an ambient light sensor is disposed at a lower layer of a screen of the terminal device, the apparatus comprising:

a processor; and

a memory for storing instructions executable by the processor;

wherein the processor is configured to:

acquire a brightness value monitored by the ambient light sensor;

acquire a luminance value of the screen of the terminal device; and

determine an ambient light brightness value of an external environment based on the brightness value and the luminance value.

7. The apparatus according to claim 6 , wherein the processor is further configured to:

acquire a luminance value of a preset display area of the screen of the terminal device, the preset display area of the screen of the terminal device being an area on the screen of the terminal device that affects a sensing ability of the ambient light sensor to sense the ambient light brightness of the external environment; and

determine the ambient light brightness value of the external environment based on the brightness value and the luminance value of the preset display area.

8. The apparatus according to claim 6 , wherein the processor is further configured to:

acquire a luminance value of each pixel in the preset display area;

determine an actual luminance influence value of an i th pixel based on a luminance value of the i th pixel and a light intensity influence weight value of the i th pixel with respect to the ambient light sensor, i being an integer greater than 1; and

acquire the luminance value of the preset display area based on the actual luminance influence values of all the pixels.

9. The apparatus according to claim 7 , wherein the processor is further configured to:

calculate a brightness difference value between the brightness value monitored by the ambient light sensor and the luminance value of the display area; and

determine the ambient light brightness value of the external environment based on the brightness difference value.

10. The apparatus according to claim 9 , wherein the processor is further configured to:

determine the ambient light brightness value of the external environment based on the brightness difference value and a light transmittance of the screen of the terminal device.

11. A non-transitory computer-readable storage medium having stored thereon instructions, wherein the non-transitory computer-readable storage medium is applied to a terminal device, and an ambient light sensor is disposed at a lower layer of a screen of the terminal device, and when the instructions are executed by a processor of the terminal device, the instructions cause the processor to:

acquire a brightness value monitored by the ambient light sensor;

acquire a luminance value of the screen of the terminal device; and

determine an ambient light brightness value of an external environment based on the brightness value and the luminance value.

12. The computer readable storage medium according to claim 11 , wherein the instructions further cause the processor to:

acquire a luminance value of a preset display area of the screen of the terminal device, the preset display area on the screen of the terminal device being an area of the screen of the terminal device that affects a sensing ability of the ambient light sensor to sense the ambient light brightness of the external environment; and

determine the ambient light brightness value of the external environment based on the brightness value and the luminance value of the preset display area.

13. The computer readable storage medium according to claim 12 , wherein the instructions further cause the processor to:

acquire a luminance value of each pixel in the preset display area;

determine an actual luminance influence value of an i th pixel based on a luminance value of the i th pixel and a light intensity influence weight value of the i th pixel with respect to the ambient light sensor, i being an integer greater than 1; and

acquire the luminance value of the preset display area based on the actual luminance influence values of all the pixels.

14. The computer readable storage medium according to claim 12 , wherein the instructions further cause the processor to:

calculate a brightness difference value between the brightness value monitored by the ambient light sensor and the luminance value of the display area; and

determine the ambient light brightness value of the external environment based on the brightness difference value.

15. The computer readable storage medium according to claim 14 , wherein the instructions further cause the processor to:

determine the ambient light brightness value of the external environment based on according to the brightness difference value and a light transmittance of the screen of the terminal device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 15, 2019
From: LI, GUOSHENG
To: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Reel/Frame 049185/0404 →
Priority Claims (1)
CN 201810470413.4 · May 16, 2018 · national
Continuity (1)
Related Publication 20190353520A1 · Nov 21, 2019