# US 10,872,455 B2 · Method and portable electronic device for changing graphics processing resolution according to scenario

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

- Number: US 10,872,455 B2
- Document ID: US10872455B2
- Status: Granted
- Kind: B2
- Application number: 16/717,935
- Filed: 2019-12-17
- Published: 2020-07-02
- Granted: 2020-12-22
- Earliest claimed: 2019-12-17
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jianbin Qiu
- Web page: https://patentgrep.com/patent/US10872455B2

## CPC

- G06T 15/005: {General purpose rendering architectures}
- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F 1/3265: {Power saving in display device}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 15/00: Three-dimensional [3D] image rendering
- G06T 15/02: Non-photorealistic rendering
- G09G 5/391: Resolution modifying circuits, e.g. variable screen formats
- G06T 2200/28: involving image processing hardware
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The present invention provides a method for changing graphics processing resolution according to a scenario, including: determining a first display scenario as a scenario in which energy can be saved; reducing graphics processing resolution of a graphics processing unit; rendering, by the graphics processing unit, at least one target graphics frame in the first display scenario according to the reduced graphics processing resolution, to obtain at least one target image frame; adapting the at least one target image frame according to screen display resolution; and displaying the at least one target image frame adapted. The present invention further provides a portable electronic device for changing graphics processing resolution according to a scenario.

## Claims

### Claim 1

A method for changing graphics processing resolution according to a scenario, comprising:
determining a first display scenario, wherein the determining the first display scenario comprises:
obtaining a first graphics frame sequence in the first display scenario;
calculating an eigenvalue of the first graphics frame sequence, wherein a first graphics frame in a first model sequence is used as a first target graphics frame in the first graphics frame sequence, an eigenvalue of the first target graphics frame is used as the eigenvalue of the first graphics frame sequence, and the calculating the eigenvalue of the first graphics frame sequence comprises at least one of:
calculating a thread eigenvalue of the first target graphics frame according to a thread required for rendering the first target graphics frame;
calculating a model eigenvalue of the first target graphics frame according to a model array of the first target graphics frame;
calculating an address eigenvalue of the first target graphics frame according to a buffer address of a model comprised in the first target graphics frame; or
performing weighted summation on the thread eigenvalue, the model eigenvalue, and the address eigenvalue, to obtain the eigenvalue of the first target graphics frame; and
determining a display scenario type of the first graphics frame sequence according to the eigenvalue of the first graphics frame sequence, wherein the display scenario type comprises one of a scenario in which a game is being played or a scenario in which no game is being played, and wherein the scenario in which a game is being played is a scenario in which energy can be saved;
reducing graphics processing resolution of a graphics processor;
rendering, by the graphics processor, at least one target graphics frame in the first display scenario according to the reduced graphics processing resolution, to obtain at least one target image frame;
adapting the at least one target image frame according to screen display resolution; and
displaying the at least one target image frame adapted.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the rendering, by the graphics processor, at least one graphics frame in the first display scenario according to the reduced graphics processing resolution comprises:
setting a graphics processing global variable of the graphics processor according to the reduced graphics processing resolution; and
rendering the at least one target graphics frame according to the graphics processing global variable.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after the displaying the at least one target image frame adapted, the method further comprises:
collecting a quantity of times that a user exits an application program after the at least one target image frame is displayed, wherein the application program is an application program that generates the first graphics frame sequence; and
when the quantity of times is greater than a tolerance threshold, stopping execution of determining a first display scenario as a scenario in which energy can be saved.

### Claim 4

A portable electronic device, comprising at least one central processor, a graphics processor, a display adapter circuit, and a display, wherein
the at least one central processor is configured to:
determine a first display scenario, wherein the at least one central processor is configured to determine the first display scenario comprises the at least one central processor is configured to:
obtain a first graphics frame sequence in the first display scenario;
calculate an eigenvalue of the first graphics frame sequence, wherein a first graphics frame in a first model sequence is used as a first target graphics frame in the first graphics frame sequence, an eigenvalue of the first target graphics frame is used as the eigenvalue of the first graphics frame sequence, and the at least one central processor is configured to perform at least one of following operations:
calculating a thread eigenvalue of the first target graphics frame according to a thread required for rendering the first target graphics frame;
calculating a model eigenvalue of the first target graphics frame according to a model array of the first target graphics frame;
calculating an address eigenvalue of the first target graphics frame according to a buffer address of a model comprised in the first target graphics frame; or
performing weighted summation on the thread eigenvalue, the model eigenvalue, and the address eigenvalue, to obtain the eigenvalue of the first target graphics frame; and
determine a display scenario type of the first graphics frame sequence according to the eigenvalue of the first graphics frame sequence, wherein the display scenario type comprises one of a scenario in which a game is being played or a scenario in which no game is being played, and wherein the scenario in which a game is being played is a scenario in which energy can be saved; and
reduce graphics processing resolution of the graphics processor based on the determination;
the graphics processor is configured to render at least one target graphics frame in the first display scenario according to the reduced graphics processing resolution to obtain at least one target image frame;
the display adapter circuit is configured to adapt the at least one target image frame according to display resolution of the display; and
the display is configured to display the at least one adapted target image frame.

### Claim 5 (depends on 4)

The portable electronic device according to claim 4, wherein the graphics processor is configured to:
set a graphics processing global variable of the graphics processor according to the reduced graphics processing resolution; and
render the at least one target graphics frame according to the graphics processing global variable.

### Claim 6 (depends on 4)

The portable electronic device according to claim 4, wherein the determining the first display scenario comprises:
determining, according to an enabling instruction, the first display scenario, wherein:
the enabling instruction is used to enable or stop an operation of determining the first display scenario; and
the at least one central processor is further configured to:
collect a quantity of times that a user exits an application program after the display displays the at least one target image frame adapted, wherein the application program is an application program that generates the first graphics frame; and
generate the enabling instruction used to stop executing the operation of determining the first display scenario in response to determining that the collected quantity of times is greater than a tolerance threshold.

### Claim 7

A system, comprising at least one central processor and a graphics processor, wherein
the at least one central processor is configured to:
determine a first display scenario, wherein the at least one central processor is configured to determine the first display scenario comprises the at least one central processor is configured to:
obtain a first graphics frame sequence in the first display scenario;
calculate an eigenvalue of the first graphics frame sequence, wherein a first graphics frame in a first model sequence is used as a first target graphics frame in the first graphics frame sequence, an eigenvalue of the first target graphics frame is used as the eigenvalue of the first graphics frame sequence, and the at least one central processor is configured to perform at least one of following operations:
calculating a thread eigenvalue of the first target graphics frame according to a thread required for rendering the first target graphics frame;
calculating a model eigenvalue of the first target graphics frame according to a model array of the first target graphics frame;
calculating an address eigenvalue of the first target graphics frame according to a buffer address of a model comprised in the first target graphics frame; or
performing weighted summation on the thread eigenvalue, the model eigenvalue, and the address eigenvalue, to obtain the eigenvalue of the first target graphics frame; and
determine a display scenario type of the first graphics frame sequence according to the eigenvalue of the first graphics frame sequence, wherein the display scenario type comprises one of a scenario in which a game is being played or a scenario in which no game is being played, and wherein the scenario in which a game is being played is a scenario in which energy can be saved; and
reduce graphics processing resolution of the graphics processor in response to the determination; and
the graphics processor is configured to render at least one target graphics frame in the first display scenario according to the reduced graphics processing resolution to obtain at least one target image frame.

### Claim 8 (depends on 7)

The system according to claim 7, wherein the determining the first display scenario comprises:
determining, according to an enabling instruction, the first display scenario, wherein
the enabling instruction is used to enable or stop an operation of determining the first display scenario; and
the at least one central processor is further configured to:
collect a quantity of times that a user exits an application program after a display displays the at least one target image frame adapted, wherein the application program is an application program that generates the first graphics frame; and
generate the enabling instruction used to stop executing the operation of determining the first display scenario in response to determining that the collected quantity of times is greater than a tolerance threshold.
