# US 2019/0172417 A1 · Method and apparatus for displaying interface image

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

- Number: US 2019/0172417 A1
- Document ID: US20190172417A1
- Status: Published application
- Kind: A1
- Application number: 16/163,535
- Filed: 2018-10-17
- Published: 2019-06-06
- Earliest claimed: 2017-12-05
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Guosheng LI
- Web page: https://patentgrep.com/patent/US20190172417A1

## CPC

- G09G 5/028: {Circuits for converting colour display signals into monochrome display signals}
- G06F 1/3265: {Power saving in display device}
- G09G 3/3406: {Control of illumination source (illumination devices structurally associated with liquid crystal cells G02F1/1336)}
- G09G 2320/0626: for control of overall brightness
- G09G 2320/066: for control of contrast
- G09G 2320/0666: for control of colour parameters, e.g. colour temperature
- G09G 2330/021: Power management, e.g. power saving
- G09G 2340/06: Colour space transformation
- G09G 2360/144: the light being ambient light
- G09G 2360/16: Calculation or use of calculated indices related to luminance levels in display data
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of displaying an interface image includes: acquiring a currently displayed interface image, and determining a grayscale of each pixel point of the interface image; in the grayscales of all the pixel points, determining the number of each grayscale; acquiring N grayscales, the numbers of the N grayscales being the first N largest numbers, where N is a preset positive integer; when each difference between the N grayscales exceeds a first preset value, and a ratio of a sum of the numbers of the N grayscales to a sum of the numbers of all the grayscales exceeds a second preset value, determining a brightness adjustment parameter corresponding to the interface image; and reducing a current backlight brightness based on the brightness adjustment parameter.

## Claims

### Claim 1

A method for displaying an interface image, comprising:
acquiring a currently displayed interface image, and determining a grayscale of each of a plurality of pixel points of the interface image;
in the grayscales of the plurality of pixel points, determining a number of each grayscale;
acquiring N grayscales, the numbers of the N grayscales being the first N largest numbers, where N is a preset positive integer;
when each difference between the N grayscales exceeds a first preset value, and a ratio of a sum of the numbers of the N grayscales to a sum of the numbers of all the grayscales exceeds a second preset value, determining a brightness adjustment parameter corresponding to the interface image; and
reducing a current backlight brightness based on the brightness adjustment parameter.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining the brightness adjustment parameter corresponding to the interface image comprises:
determining a contrast of the interface image; and
determining a brightness adjustment parameter corresponding to a contrast range to which the contrast of the interface image belongs according to a pre-stored corresponding relationship between the contrast range and the brightness adjustment parameter.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the determining the brightness adjustment parameter corresponding to the contrast range to which the contrast of the interface image belongs according to the pre-stored corresponding relationship between the contrast range and the brightness adjustment parameter comprises:
acquiring a current ambient light brightness; and
determining the brightness adjustment parameter corresponding to the interface image according to the current ambient light brightness, the contrast of the interface image, and a pre-stored corresponding relationship among the contrast range, the ambient light brightness range and the brightness adjustment parameter.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the determining the brightness adjustment parameter corresponding to the contrast range to which the contrast of the interface image belongs according to the pre-stored corresponding relationship between the contrast range and the brightness adjustment parameter comprises:
acquiring a current backlight brightness;
determining the brightness adjustment parameter corresponding to the interface image according to the current backlight brightness, the contrast corresponding to the interface image, and a pre-stored corresponding relationship among the contrast range, the backlight brightness range, and the brightness adjustment parameter.

### Claim 5 (depends on 1)

The method according to claim 1, wherein prior to the determining the grayscale of each pixel point of the interface image, the method further comprises:
acquiring a current ambient light brightness; and
determining whether the current ambient brightness is within a preset brightness range.

### Claim 6 (depends on 1)

The method according to claim 1, wherein prior to the determining the grayscale of each pixel point of the interface image, the method further comprises:
acquiring a current backlight brightness; and
determining whether the current backlight brightness is greater than a third preset value.

### Claim 7 (depends on 1)

The method according to claim 1, wherein:
the brightness adjustment parameter is an adjustment brightness; and
the reducing the current backlight brightness according to the brightness adjustment parameter comprises:
subtracting the adjustment brightness corresponding to the interface image from the current backlight brightness to obtain a reduced backlight brightness.

### Claim 8 (depends on 1)

The method according to claim 1, wherein:
the brightness adjustment parameter is an adjustment ratio; and
the reducing the current backlight brightness according to the brightness adjustment parameter comprises:
multiplying the current backlight brightness by the adjustment ratio corresponding to the interface image to obtain a reduced backlight brightness; or
calculating a product of the current backlight brightness and the adjustment ratio corresponding to the interface image, and subtracting the product from the current backlight brightness to obtain a reduced backlight brightness.

### Claim 9 (depends on 1)

The method according to claim 1, wherein:
prior to the determining the grayscale of each pixel point of the interface image, the method further comprises:
mapping the interface image to an HSV space or a YUV space;
the determining the grayscale of each pixel point of the interface image comprises:
determining the grayscale of each pixel point of the interface image based on lightness information of the HSV space or lightness information of the YUV space.

### Claim 10

A non-transitory computer-readable storage medium having at least one instruction, at least one program, code set, or instruction set stored thereon executable by a processor to perform:
acquiring a currently displayed interface image, and determining a grayscale of each pixel point of the interface image;
in the grayscales of all the pixel points, determining the number of each grayscale;
acquiring N grayscales, the numbers of the N grayscales being the first N largest numbers, where N is a preset positive integer;
when each difference between the N grayscales exceeds a first preset value, and a ratio of a sum of the numbers of the N grayscales to a sum of the numbers of all the grayscales exceeds a second preset value, determining a brightness adjustment parameter corresponding to the interface image; and
reducing a current backlight brightness based on the brightness adjustment parameter.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium according to claim 10, wherein the determining the brightness adjustment parameter corresponding to the interface image comprises:
determining a contrast of the interface image; and
determining a brightness adjustment parameter corresponding to a contrast range to which the contrast of the interface image belongs according to a pre-stored corresponding relationship between the contrast range and the brightness adjustment parameter; and
wherein the determining the brightness adjustment parameter corresponding to the contrast range to which the contrast of the interface image belongs according to the pre-stored corresponding relationship between the contrast range and the brightness adjustment parameter comprises:
acquiring a current ambient light brightness; and
determining the brightness adjustment parameter corresponding to the interface image according to the current ambient light brightness, the contrast of the interface image, and a pre-stored corresponding relationship among the contrast range, the ambient light brightness range and the brightness adjustment parameter.

### Claim 12

An apparatus configured to display an interface image, the apparatus comprising:
a processor; and
memory storing at least one instruction, at least one program, a code set, or an instruction set for execution by the processor to perform:
acquiring a currently displayed interface image, and determining a grayscale of each pixel point of the interface image;
in the grayscales of all the pixel points, determining the number of each grayscale;
acquiring N grayscales, the numbers of the N grayscales being the first N largest numbers, where N is a preset positive integer;
when each difference between the N grayscales exceeds a first preset value, and a ratio of a sum of the numbers of the N grayscales to a sum of the numbers of all the grayscales exceeds a second preset value, determining a brightness adjustment parameter corresponding to the interface image; and
reducing a current backlight brightness based on the brightness adjustment parameter.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the processor is further configured to perform:
determining a contrast of the interface image; and
determining a brightness adjustment parameter corresponding to a contrast range to which the contrast of the interface image belongs according to a pre-stored corresponding relationship between the contrast range and the brightness adjustment parameter.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the processor is further configured to perform:
acquiring a current ambient light brightness; and
determining the brightness adjustment parameter corresponding to the interface image according to the current ambient light brightness, the contrast of the interface image, and a pre-stored corresponding relationship among the contrast range, the ambient light brightness range and the brightness adjustment parameter.

### Claim 15 (depends on 13)

The apparatus according to claim 13, wherein the processor is further configured to perform:
acquiring a current backlight brightness;
determining the brightness adjustment parameter corresponding to the interface image according to the current backlight brightness, the contrast corresponding to the interface image, and a pre-stored corresponding relationship among the contrast range, the backlight brightness range, and the brightness adjustment parameter.

### Claim 16 (depends on 12)

The apparatus according to claim 12, wherein the processor is further configured to perform:
acquiring a current ambient light brightness; and
determining that the current ambient brightness is within a preset brightness range.

### Claim 17 (depends on 12)

The apparatus according to claim 12, wherein the processor is further configured to perform:
acquiring a current backlight brightness; and
determining that the current backlight brightness is greater than a third preset value.

### Claim 18 (depends on 12)

The apparatus according to claim 12, wherein the brightness adjustment parameter is an adjustment brightness; and
wherein the processor is further configured to perform:
subtracting the adjustment brightness corresponding to the interface image from the current backlight brightness to obtain a reduced backlight brightness.

### Claim 19 (depends on 12)

The apparatus according to claim 12, wherein the brightness adjustment parameter is an adjustment ratio; and
wherein the processor is further configured to perform:
multiplying the current backlight brightness by the adjustment ratio corresponding to the interface image to obtain a reduced backlight brightness; or
calculating a product of the current backlight brightness and the adjustment ratio corresponding to the interface image, and subtracting the product from the current backlight brightness to obtain a reduced backlight brightness.

### Claim 20 (depends on 12)

The apparatus according to claim 12, wherein the processor is further configured to perform:
mapping the interface image to an HSV space or a YUV space; and
the determining the grayscale of each pixel point of the interface image, comprises:
determining the grayscale of each pixel point of the interface image based on lightness information of the HSV space or lightness information of the YUV space.
