# US 2015/0145876 A1 · Graphics Data Processing Method, Apparatus, and System

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

- Number: US 2015/0145876 A1
- Document ID: US20150145876A1
- Status: Published application
- Kind: A1
- Application number: 14/564,264
- Filed: 2014-12-09
- Published: 2015-05-28
- Earliest claimed: 2013-11-28
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Zhicheng Sun
- Web page: https://patentgrep.com/patent/US20150145876A1

## CPC

- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 1/60: Memory management
- G06T 15/005: {General purpose rendering architectures}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A graphics data processing method, apparatus, and system. In the embodiments of the present invention, a virtual client process and a virtual rendering server may create a shared memory through negotiation. The virtual client process may send storage address information of graphics instruction data to the virtual rendering server, so that the virtual rendering server may obtain the graphics instruction data from the shared memory according to the storage address information of the graphics instruction data. The virtual rendering server may further send storage address information of target display data to the virtual client process, so that the virtual client process may obtain the target display data from the shared memory according to the storage address information of the target display data.

## Claims

### Claim 1

A graphics data processing method comprising:
receiving, by a virtual rendering server, storage address information that is of graphics instruction data and is sent by a virtual client process;
obtaining, by the virtual rendering server, the graphics instruction data from a shared memory according to the storage address information of the graphics instruction data, wherein the shared memory is a memory that is created by the virtual client process and the virtual rendering server through negotiation;
performing, by the virtual rendering server, rendering processing on the obtained graphics instruction data to obtain target display data; and
sending the target display data to the virtual client process.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the virtual rendering server and the virtual client process are virtual machines that run on a same physical machine, wherein before receiving, by the virtual rendering server, the storage address information that is of the graphics instruction data and is sent by the virtual client process, the method comprises:
creating, by the virtual rendering server, the shared memory on the physical machine through negotiation with the virtual client process; and
generating a mapping address of the shared memory, and wherein obtaining, by the virtual rendering server, the graphics instruction data from the shared memory according to the storage address information of the graphics instruction data comprises accessing, by the virtual rendering server, the shared memory according to the mapping address of the shared memory.

### Claim 3 (depends on 2)

The method according to claim 2, wherein creating, by the virtual rendering server, the shared memory on the physical machine through negotiation with the virtual client process, and generating the mapping address of the shared memory comprises:
obtaining, by the virtual rendering server, a system address of the shared memory; and
mapping, by the virtual rendering server, the obtained system address of the shared memory to process address space of the virtual rendering server, to obtain the mapping address of the shared memory.

### Claim 4 (depends on 1)

The method according to claim 1, wherein sending the target display data to the virtual client process comprises:
storing, by the virtual rendering server, the target display data into the shared memory;
generating storage address information of the target display data; and
sending, by the virtual rendering server, the storage address information of the target display data to the virtual client process, so that the virtual client process obtains the target display data from the shared memory according to the storage address information of the target display data.

### Claim 5

A graphics data processing method comprising:
obtaining, by a virtual rendering server, graphics instruction data sent by a virtual client process;
performing rendering processing on the graphics instruction data to obtain target display data;
storing, by the virtual rendering server, the target display data into a shared memory;
generating storage address information of the target display data, wherein the shared memory is a memory that is created by the virtual client process and the virtual rendering server through negotiation; and
sending, by the virtual rendering server, the storage address information of the target display data to the virtual client process, so that the virtual client process obtains the target display data from the shared memory according to the storage address information of the target display data.

### Claim 6 (depends on 5)

The method according to claim 5, wherein obtaining, by the virtual rendering server, the graphics instruction data sent by the virtual client process comprises:
receiving, by the virtual rendering server, storage address information that is of the graphics instruction data and is sent by the virtual client process; and
obtaining, by the virtual rendering server, the graphics instruction data from the shared memory according to the storage address information of the graphics instruction data.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the virtual rendering server and the virtual client process are virtual machines that run on a same physical machine, wherein before obtaining, by the virtual rendering server, the graphics instruction data sent by the virtual client process, the method comprises:
creating, by the virtual rendering server, the shared memory on the physical machine through negotiation with the virtual client process; and
generating a mapping address of the shared memory, and wherein obtaining, by the virtual rendering server, the graphics instruction data from the shared memory according to the storage address information of the graphics instruction data comprises accessing, by the virtual rendering server, the shared memory according to the mapping address of the shared memory.

### Claim 8 (depends on 7)

The method according to claim 7, wherein creating, by the virtual rendering server, the shared memory on the physical machine through negotiation with the virtual client process, and generating the mapping address of the shared memory comprises:
obtaining, by the virtual rendering server, a system address of the shared memory; and
mapping, by the virtual rendering server, the obtained system address of the shared memory to process address space of the virtual rendering server, to obtain the mapping address of the shared memory.

### Claim 9

A graphics data processing method comprising:
obtaining, by a virtual client process, a mapping address of a shared memory, wherein the shared memory is a memory that is created by the virtual client process and a virtual rendering server through negotiation;
storing, by the virtual client process and when graphics instruction data is obtained, the obtained graphics instruction data into the shared memory according to the obtained mapping address of the shared memory, so that the virtual rendering server obtains the graphics instruction data from the shared memory to perform rendering processing; and
obtaining, by the virtual client process, target display data that is obtained by the virtual rendering server by performing rendering processing on the graphics instruction data.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the virtual client process and the virtual rendering server are virtual machines that run on a same physical machine, and wherein obtaining, by the virtual client process, the mapping address of the shared memory comprises:
creating, by the virtual client process, the shared memory on the physical machine through negotiation with the virtual rendering server; and
generating the mapping address of the shared memory.

### Claim 11 (depends on 10)

The method according to claim 10, wherein creating, by the virtual client process, the shared memory on the physical machine through negotiation with the virtual rendering server, and generating the mapping address of the shared memory further comprises:
obtaining, by the virtual client process, a system address of the shared memory; and
mapping, by the virtual client process, the obtained system address of the shared memory to process address space of the virtual client process, to obtain the mapping address of the shared memory.

### Claim 12 (depends on 9)

The method according to claim 9, wherein after storing, by the virtual client process, the obtained graphics instruction data into the shared memory according to the obtained mapping address of the shared memory, the method comprises:
generating, by the virtual client process, storage address information of the graphics instruction data; and
sending, by the virtual client process, the storage address information of the graphics instruction data to the virtual rendering server, so that the virtual rendering server obtains, according to the storage address information of the graphics instruction data, the graphics instruction data from the shared memory to perform rendering processing.

### Claim 13 (depends on 9)

The method according to claim 9, wherein obtaining, by the virtual client process, the target display data that is obtained by the rendering server by performing rendering processing on the graphics instruction data comprises:
receiving, by the virtual client process, storage address information that is of the target display data and is sent by the virtual rendering server, wherein the storage address information of the target display data is storage address information of target display data that is generated by storing, by the virtual rendering server, the target display data into the shared memory; and
obtaining, by the virtual client process, the target display data from the shared memory according to the storage address information of the target display data.

### Claim 14

A graphics data processing method comprising:
sending, by a virtual client process, graphics instruction data to a virtual rendering server, so that the virtual rendering server performs rendering on the graphics instruction data to obtain target display data;
receiving, by the virtual client process, storage address information that is of the target display data and is sent by the virtual rendering server; and
obtaining, by the virtual client process, the target display data from a shared memory according to the storage address information of the target display data, wherein the shared memory is a memory that is created by the virtual client process and the virtual rendering server through negotiation.

### Claim 15 (depends on 14)

The method according to claim 14, wherein sending, by the virtual client process, the graphics instruction data to the virtual rendering server comprises:
obtaining, by the virtual client process, a mapping address of the shared memory; and
storing, by the virtual client process and when the graphics instruction data is obtained, the obtained graphics instruction data into the shared memory according to the obtained mapping address of the shared memory, so that the virtual rendering server obtains the graphics instruction data from the shared memory to perform rendering processing.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the virtual client process and the virtual rendering server are virtual machines that run on a same physical machine, and wherein, before sending, by the virtual client process, the graphics instruction data to the virtual rendering server, the method comprises:
creating, by the virtual client process, the shared memory on the physical machine through negotiation with the virtual rendering server; and
generating the mapping address of the shared memory.

### Claim 17 (depends on 16)

The method according to claim 16, wherein creating, by the virtual client process, the shared memory on the physical machine through negotiation with the virtual rendering server, and generating the mapping address of the shared memory comprises:
obtaining, by the virtual client process, a system address of the shared memory; and
mapping, by the virtual client process, the obtained system address of the shared memory to process address space of the virtual client process, to obtain the mapping address of the shared memory.

### Claim 18 (depends on 14)

The method according to claim 14, wherein, after storing, by the virtual client process, the obtained graphics instruction data into the shared memory according to the obtained mapping address of the shared memory, the method comprises:
generating, by the virtual client process, storage address information of the graphics instruction data; and
sending, by the virtual client process, the storage address information of the graphics instruction data to the virtual rendering server, so that the virtual rendering server obtains, according to the storage address information of the graphics instruction data, the graphics instruction data from the shared memory to perform rendering processing.

### Claim 19

A graphics data processing apparatus comprising a virtual rendering server, wherein the virtual rendering server comprises:
an instruction address receiving module;
an instruction data obtaining module; and
a data processing module, wherein the instruction address receiving module is configured to receive storage address information that is of graphics instruction data and is sent by a virtual client process, wherein the instruction data obtaining module is configured to obtain the graphics instruction data from a shared memory according to the storage address information that is of the graphics instruction data and is received by the instruction address receiving module, wherein the shared memory is a memory that is created by the virtual client process and the virtual rendering server through negotiation, and wherein the data processing module is configured to perform rendering processing on the graphics instruction data obtained by the instruction data obtaining module to obtain target display data, and send the target display data to the virtual client process.

### Claim 20 (depends on 19)

The apparatus according to claim 19, wherein the virtual rendering server and the virtual client process are virtual machines that run on a same physical machine, wherein the virtual rendering server further comprises a creating module configured to:
create the shared memory on the physical machine through negotiation with the virtual client process; and
generate a mapping address of the shared memory, and wherein the instruction data obtaining module is configured to access the shared memory according to the mapping address of the shared memory.

### Claim 21 (depends on 20)

The apparatus according to claim 20, wherein the creating module comprises:
a system address obtaining unit configured to obtain a system address of the shared memory; and
a mapping unit configured to map the system address that is of the shared memory and is obtained by the system address obtaining unit to process address space of the virtual rendering server, to obtain the mapping address of the shared memory.

### Claim 22 (depends on 19)

The apparatus according to claim 19, wherein the data processing module comprises:
a target data storing unit configured to store the target display data into the shared memory, and generate the storage address information of the target display data; and
a target data address sending unit configured to send the storage address information of the target display data to the virtual client process, so that the virtual client process obtains the target display data from the shared memory according to the storage address information of the target display data.

### Claim 23

A graphics data processing apparatus comprising a virtual rendering server, wherein the virtual rendering server comprises:
an instruction data processing module;
a target data processing module; and
a target data address sending module, wherein the instruction data processing module is configured to:
obtain graphics instruction data sent by a virtual client process; and
perform rendering processing on the graphics instruction data to obtain target display data, wherein the target data processing module is configured to:
store the target display data that is obtained through processing by the instruction data processing module into a shared memory; and
generate storage address information of the target display data, wherein the shared memory is a memory that is created by the virtual client process and the virtual rendering server through negotiation, and wherein the target data address sending module is configured to send, to the virtual client process, the storage address information that is of the target display data and is generated by the target data processing module, so that the virtual client process obtains the target display data from the shared memory according to the storage address information of the target display data.

### Claim 24 (depends on 23)

The apparatus according to claim 23, wherein the instruction data processing module comprises:
an instruction address receiving unit configured to receive storage address information that is of the graphics instruction data and is sent by the virtual client process; and
an instruction data obtaining unit configured to obtain the graphics instruction data from the shared memory according to the storage address information that is of the graphics instruction data and is received by the instruction address receiving unit.

### Claim 25 (depends on 24)

The apparatus according to claim 24, wherein the virtual rendering server and the virtual client process are virtual machines that run on a same physical machine, wherein the virtual rendering server further comprises a creating module configured to:
create the shared memory on the physical machine through negotiation with the virtual client process; and
generate a mapping address of the shared memory, and wherein the instruction data obtaining unit is configured to access the shared memory according to the mapping address of the shared memory.

### Claim 26 (depends on 25)

The apparatus according to claim 25, wherein the creating module comprises:
a system address obtaining unit configured to obtain a system address of the shared memory; and
a mapping unit configured to map the system address that is of the shared memory and is obtained by the system address obtaining unit to process address space of the virtual rendering server, to obtain the mapping address of the shared memory.

### Claim 27

A graphics data processing apparatus comprising a virtual client process, wherein the virtual client process comprises:
a shared memory address obtaining module;
an instruction data storing module; and
a target data obtaining module, wherein the shared memory address obtaining module is configured to obtain a mapping address of a shared memory, wherein the shared memory is a memory that is created by the virtual client process and a virtual rendering server through negotiation, wherein the instruction data storing module is configured to store the obtained graphics instruction data into the shared memory, when graphics instruction data is obtained, according to the mapping address that is of the shared memory and is obtained by the shared memory address obtaining module, so that the virtual rendering server obtains the graphics instruction data from the shared memory to perform rendering processing, and wherein the target data obtaining module is configured to obtain target display data that is obtained by the virtual rendering server by performing rendering processing on the graphics instruction data.

### Claim 28 (depends on 27)

The apparatus according to claim 27, wherein the virtual client process and the virtual rendering server are virtual machines that run on a same physical machine, and wherein the apparatus further comprises a creating module configured to:
create the shared memory on the physical machine through negotiation with the virtual rendering server; and
generate the mapping address of the shared memory.

### Claim 29 (depends on 28)

The apparatus according to claim 28, wherein the creating module comprises:
a system address obtaining unit configured to obtain a system address of the shared memory; and
a mapping unit configured to map the system address that is of the shared memory and is obtained by the system address obtaining unit to process address space of the virtual client process, to obtain the mapping address of the shared memory.

### Claim 30 (depends on 27)

The apparatus according to claim 27, wherein the virtual client process further comprises:
an instruction address generating module configured to generate storage address information of the graphics instruction data; and
an instruction address sending module configured to send, to the virtual rendering server, the storage address information that is of the graphics instruction data and is generated by the instruction address generating module, so that the virtual rendering server obtains, according to the storage address information of the graphics instruction data, the graphics instruction data from the shared memory to perform rendering processing.

### Claim 31 (depends on 27)

The apparatus according to claim 27, wherein the target data obtaining module comprises:
a data address receiving unit configured to receive storage address information that is of the target display data and is sent by the virtual rendering server, wherein the storage address information of the target display data is storage address information of target display data that is generated by storing, by the virtual rendering server, the target display data into the shared memory; and
a target data obtaining unit configured to obtain the target display data from the shared memory according to the storage address information that is of the target display data and is received by the data address receiving unit.

### Claim 32

A graphics data processing apparatus comprising a virtual client process, wherein the virtual client process comprises:
an instruction data sending module;
a target data address receiving module; and
a target data obtaining module, wherein the instruction data sending module is configured to send graphics instruction data to a virtual rendering server, so that the virtual rendering server performs rendering on the graphics instruction data to obtain target display data, wherein the target data address receiving module is configured to receive storage address information that is of the target display data and is sent by the virtual rendering server, and wherein the target data obtaining module is configured to obtain the target display data from a shared memory according to the storage address information that is of the target display data and is received by the target data address receiving module, wherein the target display data is obtained by the virtual rendering server by performing rendering processing on the graphics instruction data, and the shared memory is a memory that is created by the virtual client process and the virtual rendering server through negotiation.

### Claim 33 (depends on 32)

The apparatus according to claim 32, wherein the virtual client process further comprises:
a shared memory address obtaining module configured to obtain a mapping address of the shared memory; and
an instruction data storing module configured to store the obtained graphics instruction data into the shared memory, when the graphics instruction data is obtained, according to the mapping address that is of the shared memory and is obtained by the shared memory address obtaining module, so that the virtual rendering server obtains the graphics instruction data from the shared memory to perform rendering processing.

### Claim 34 (depends on 33)

The apparatus according to claim 33, wherein the virtual client process and the virtual rendering server are virtual machines that run on a same physical machine, and wherein the shared memory address obtaining module is configured to:
create the shared memory on the physical machine through negotiation with the virtual rendering server; and
generate the mapping address of the shared memory.

### Claim 35 (depends on 34)

The apparatus according to claim 34, wherein the shared memory address obtaining module comprises:
a system address obtaining unit configured to obtain a system address of the shared memory; and
a mapping unit configured to map the system address that is of the shared memory and is obtained by the system address obtaining unit to process address space of the virtual client process, to obtain the mapping address of the shared memory.

### Claim 36 (depends on 32)

The apparatus according to claim 32, wherein the virtual client process further comprises:
an instruction address generating module configured to generate storage address information of the graphics instruction data; and
an instruction address sending module configured to send, to the virtual rendering server, the storage address information that is of the graphics instruction data and is generated by the instruction address generating module, so that the virtual rendering server obtains, according to the storage address information of the graphics instruction data, the graphics instruction data from the shared memory to perform rendering processing.
