# US 2025/0157377 A1 · Ambient light and proximity detection method, photographing method, and terminal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0157377 A1
- Document ID: US20250157377A1
- Status: Published application
- Kind: A1
- Application number: 19/022,060
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2017-12-29
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Chenlong LI; Hongxia GUI; Xin ZHAO
- Web page: https://patentgrep.com/patent/US20250157377A1

## CPC

- G09G 3/20: for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix {no fixed position being assigned to or needed to be assigned to the individual characters or partial characters}
- H04M 1/026: {Details of the structure or mounting of specific components}
- G06F 1/1605: {Multimedia displays, e.g. with integrated or attached speakers, cameras, microphones}
- G06F 1/1637: {Details related to the display arrangement, including those related to the mounting of the display in the housing}
- G06F 1/1686: {the I/O peripheral being an integrated camera}
- G09G 5/10: Intensity circuits
- H04M 1/0264: {for a camera module assembly}
- H04M 1/0266: {for a display module assembly}
- H04M 1/72454: according to context-related or environment-related conditions
- H04M 1/725: Cordless telephones (user interfaces specially adapted therefor H04M1/724)
- G09G 2360/144: the light being ambient light
- H04M 2250/12: including a sensor for measuring a physical value, e.g. temperature or motion
- H04M 2250/52: including functional features of a camera
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This application relates to the field of communications technologies, and provides ambient light and optical proximity detection methods, a photographing method, and a terminal, so that an entire display screen of the terminal is used to display a user interface, and this improves user experience. The method specifically includes: controlling, by a terminal, some areas of a display screen to display a black picture for a plurality of times; and when the areas display the black picture, obtaining approaching data of the external object detected by an optical proximity sensor to control turning on or off of the display screen.

## Claims

### Claim 1

A proximity detection method, comprising:
displaying, by a terminal, a black picture for at least two times in a first area of a display area of a display screen of the terminal, wherein the terminal includes a first optical proximity sensor under the display screen, the display area of the display screen includes the first area and a second area, the first optical proximity sensor detects an external object through the first area, and the second area is outside the first area, and wherein the black picture is displayed for at least two times in the first area during refreshing of one frame of an image frame picture;
displaying, by the terminal, the image frame picture in the second area when the black picture is displayed in the first area;
displaying, by the terminal, the image frame picture in the first area in an interval between displaying the black picture in the first area for two times; and
obtaining, by the terminal, approaching data of the external object detected by the first optical proximity sensor when the first area displays the black picture.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising displaying, by the terminal, the black picture periodically in the first area, wherein the black picture continuously moves from one boundary of the display area to an opposite boundary of the display area on the display screen during refreshing of the image frame.

### Claim 3 (depends on 1)

The method according to claim 1, wherein a display frequency of the terminal is f Hz, and the interval between displaying the black picture in the first area for two times is greater than or equal to 1/(a×f) seconds, wherein a is a positive integer greater than or equal to 2.

### Claim 4 (depends on 1)

The method according to claim 1, wherein a duration of displaying the black picture each time is greater than or equal to a duration used by the first optical proximity sensor for detecting the proximity.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the image frame picture includes a display user interface presented by the terminal to a user.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the displaying, by a terminal, a black picture for at least two times in a first area comprises:
displaying, by the terminal, N black pictures within a first time period T1 in the first area; and
obtaining, by the terminal using the first optical proximity sensor, the approaching data of the external object for M times, when M of the N black pictures are displayed, wherein M is less than or equal to N.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the method further comprises:
displaying, by the terminal, the black picture for a plurality of times in the second area;
displaying, by the terminal, the image frame picture in the first area when the black picture is displayed in the second area; and
displaying, by the terminal, the image frame picture in the second area in an interval between displaying the black picture in the second area for two times.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the first optical proximity sensor controls an emission lamp to emit an infrared ray to detect the external object through the first area when the first area displays the black picture.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the first optical proximity sensor is located in an edge portion of the display screen.

### Claim 10 (depends on 7)

The method according to claim 7, wherein the method further comprises:
when the second area displays the black picture, displaying, by the terminal, in a first portion of the second area an nth frame of the image frame picture, and in a second portion of the second area at least one of an nth frame or an (n+1)th frame of the image frame picture.

### Claim 11 (depends on 1)

The method according to claim 1, wherein a grayscale value of the black picture is less than or equal to a preset threshold.

### Claim 12 (depends on 1)

The method according to claim 1, wherein when the black picture is displayed in the first area, the terminal turns off a light emitting unit in the first area of the display screen.

### Claim 13 (depends on 7)

The method according to claim 7, wherein when the black picture is displayed in the second area, the terminal turns off a light emitting unit in the second area of the display screen.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the method further comprises:
controlling, by the terminal, the display frequency and a frequency of a power-frequency current of the display screen to form a phase difference.

### Claim 15 (depends on 1)

The method according to claim 1, wherein after the obtaining, by the terminal, the approaching data of the external object, the method further comprises:
controlling, by the terminal, to turn off the display screen, when the first optical proximity sensor detects that the external object is approaching, and the terminal is in a call.

### Claim 16 (depends on 1)

The method according to claim 1, wherein the method further comprises:
detecting, by the first optical proximity sensor, the approaching data of the external object when the first area displays the black picture and the image frame picture; and
reading, by the terminal, the approaching data of the external object detected by the first optical proximity sensor.

### Claim 17 (depends on 1)

The method according to claim 1, wherein the method further comprises:
detecting, by the first optical proximity sensor, the approaching data of the external object when the first area displays the black picture and the image frame picture; and
using, by the terminal, the approaching data of the external object as detected data of the external object.

### Claim 18 (depends on 1)

The method according to claim 1, wherein a period of time in which the terminal displays one black picture in the first area is less than a period of time in which the terminal displays one frame of image frame picture.

### Claim 19

A terminal, comprising:
a processor;
a memory;
a display screen; and
an optical proximity sensor, wherein the optical proximity sensor is located under the display screen, and a display area of the display screen comprises a first area and a second area, wherein the first area comprises an area used by the optical proximity sensor to detect approaching data of an external object, and the second area is a part of an area, other than the first area, in the display area;
wherein the memory and the display screen are coupled to the processor, the memory is configured to store computer program code, the computer program code comprises computer instructions, and when the processor executes the computer instructions, the terminal is enabled to perform a proximity detection method, comprising:
displaying a black picture for at least two times in the first area during refreshing of one frame of an image frame picture;
displaying the image frame picture in the second area when the black picture is displayed in the first area;
displaying the image frame picture in the first area in an interval between displaying the black picture in the first area for two times; and
obtaining approaching data of the external object detected by the optical proximity sensor when the first area displays the black picture.

### Claim 20 (depends on 19)

The terminal according to claim 19, wherein the displaying the black picture for at least two times in the first area comprises displaying, in the first area, the black picture periodically.
