# US 12,118,642 B2 · Graphics rendering method and apparatus

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

- Number: US 12,118,642 B2
- Document ID: US12118642B2
- Status: Granted
- Kind: B2
- Application number: 17/516,479
- Filed: 2021-11-01
- Published: 2022-02-24
- Granted: 2024-10-15
- Earliest claimed: 2019-04-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Pan Zhang; Liang Li; Wei Huang
- Web page: https://patentgrep.com/patent/US12118642B2

## CPC

- G06F 9/54: Interprogram communication
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 1/60: Memory management
- G06F 8/38: for implementing user interfaces
- G06F 2209/541: Client-server
- G06F 2209/544: Remote
- G06F 2209/545: Gui
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

This application provides a graphics rendering method and apparatus. A service starts an application and obtains a rendering instruction sent by the application; and sends the rendering instruction to an electronic device. The electronic device performs graphics rendering according to the rendering instruction, to display an image related to the application. According to the technical solutions provided in this application, the electronic device, instead of the server, can perform graphics rendering according to the rendering instruction, thereby improving picture quality and user experience.

## Claims

### Claim 1

A graphics rendering method, comprising:
starting, by a server, an application;
obtaining, by the server, a rendering instruction sent by the application;
determining, by the server, a rendering information set according to a preconfigured information list and the rendering instruction, the preconfigured information list comprises rendering information whose quantity of retransmission times is less than a predetermined threshold, the quantity of retransmission times comprising the number of retransmission times after a first transmission; and
sending, by the server, the rendering instruction to an electronic device, the rendering instruction is used by the electronic device to perform graphics rendering and to display an image related to the application.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
storing graphics rendering information, the graphics rendering information is information required by the electronic device to perform graphics rendering.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the method further comprises:
receiving a second instruction sent by the electronic device, the second instruction is used to request to restore a connection between the electronic device and a server; and
sending the graphics rendering information to the electronic device in response to the second instruction, the graphics rendering information being used by the electronic device to restore a rendering context, and the rendering context being a rendering context of the application when the second instruction is received.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the graphics rendering information is the rendering instruction.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the graphics rendering information is the rendering information set obtained by processing the rendering instruction.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the method further comprises:
reordering rendering information in the rendering information set according to a rendering order, wherein the rendering order is an order of rendering information when a rendering pipeline of the electronic device runs graphics rendering; and
the sending the graphics rendering information to the electronic device comprises sending the reordered rendering information set to the electronic device.

### Claim 7 (depends on 3)

The method according to claim 3, wherein the method further comprises:
receiving a cache list sent by the electronic device, wherein the cache list is a list of rendering information cached by the electronic device; and
the sending the graphics rendering information to the electronic device comprises sending some or all of the graphics rendering information to the electronic device according to the cache list, wherein the sent graphics rendering information is graphics rendering information that does not exist in the cache list.

### Claim 8 (depends on 5)

The method according to claim 5, wherein the sending the graphics rendering information to the electronic device comprises:
determining an instruction sequence, wherein the instruction sequence is used by a graphics processing unit of the electronic device to identify the rendering information set; and
sending the instruction sequence and the rendering information set to the electronic device.

### Claim 9

A graphics rendering method, comprising:
receiving, by an electronic device, a rendering instruction sent by a server;
receiving, by the electronic device, a rendering information set, the rendering information set determined according to a preconfigured information list and the rendering instruction, the preconfigured information list comprises rendering information whose quantity of retransmission times is less than a predetermined threshold, the quantity of retransmission times comprising the number of retransmission times after a first transmission; and
performing, by the electronic device, graphics rendering according to the rendering instruction and displaying an image related to an application.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the method further comprises:
sending a second instruction to the server, the second instruction is used to request to restore a connection between the electronic device and the server;
receiving graphics rendering information sent by the server; and
restoring a rendering context based on the graphics rendering information, the rendering context is a rendering context of the application when the second instruction is sent.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the graphics rendering information is the rendering instruction.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the graphics rendering information is a rendering information set obtained by processing the rendering instruction.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the method further comprises:
determining an instruction sequence, wherein the instruction sequence is used by a graphics processing unit of the electronic device to identify the rendering information set.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the rendering information set comprises first identification information and first rendering information, the first identification information is used by the server to identify the first rendering information, and the method further comprises:
determining a mapping relationship, the mapping relationship being a correspondence between the first identification information and second identification information, and the second identification information is used by the electronic device to identify the first rendering information.

### Claim 15

A graphics rendering apparatus, comprising:
a memory storing instructions; and
a processor in communication with the memory, the processor executes the instructions to:
start an application;
obtain a rendering instruction sent by the application;
determine a rendering information set according to a preconfigured information list and the rendering instruction, the preconfigured information list comprises rendering information whose quantity of retransmission times is less than a predetermined threshold, the quantity of retransmission times comprising the number of retransmission times after a first transmission; and
send the rendering instruction to an electronic device, the rendering instruction is used by the electronic device to perform graphics rendering and to display an image related to the application.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the processor or the memory is configured to store graphics rendering information, wherein the graphics rendering information is information required by the electronic device to perform graphics rendering.

### Claim 17

A graphics rendering apparatus, comprising:
a memory storing instructions; and
a processor in communication with the memory, the processor executes the instructions to:
receive a rending instruction sent by a server, the rendering instruction is used by an electronic device to perform graphics rendering;
receive a rendering information set, the rendering information set determined according to a preconfigured information list and the rendering instruction, the preconfigured information list comprises rendering information whose quantity of retransmission times is less than a predetermined threshold, the quantity of retransmission times comprising the number of retransmission times after a first transmission; and
performing graphics rendering according to the rendering instruction and displaying an image related to an application.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the processor further executes the instructions to:
send a second instruction to the server, wherein the second instruction requests restoring a connection between the electronic device and the server;
receive graphics rendering information sent by the server; and
restore a rendering context based on the graphics rendering information, wherein the rendering context is a rendering context of the application when the second instruction is sent.
