# US 2022/0032192 A1 · User interface processing method and device

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

- Number: US 2022/0032192 A1
- Document ID: US20220032192A1
- Status: Published application
- Kind: A1
- Application number: 17/277,287
- Filed: 2019-06-05
- Published: 2022-02-03
- Earliest claimed: 2019-01-08
- Assignees: Netease (Hangzhou) Network Co., Ltd.
- Applicants: Netease (Hangzhou) Network Co.,Ltd.
- Inventors: Liang XU
- Web page: https://patentgrep.com/patent/US20220032192A1

## CPC

- A63F 13/537: using indicators, e.g. showing the condition of a game character on screen
- A63F 13/335: using Internet
- A63F 13/533: for prompting the player, e.g. by displaying a game menu
- A63F 13/77: involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 2209/545: Gui
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are a user interface processing method and device. The method is applied to a user terminal which is configured to execute a game client, the game client comprises a first thread and a second thread, and the second thread is pre-packaged in a browser kernel of the game client, and the method includes: obtaining, by the first thread, a user interface rendering event which is to be processed: obtaining by the second thread, a to-be-rendered object corresponding to the user interface rendering event; rendering, by the second thread, the to-be-rendered object, and sending a rendering result to the first thread through a first interface, wherein the first interface is an interface provided by the second thread for storing the rendering result and presenting by the first thread, the rendering result.

## Claims

### Claim 1

A user interface processing method, applied to a user terminal, wherein the user terminal is configured to execute a game client, the game client comprises a first thread and a second thread, and the second thread is pre-packaged in a browser kernel of the game client, and the method comprises:
obtaining, by the first thread, a user interface rendering event which is to be processed;
obtaining, by the second thread, a to-be-rendered object corresponding to the user interface rendering event;
rendering, by the second thread, the to-be-rendered object, and sending a rendering result to the first thread through a first interface, wherein the first interface is an interface provided by the second thread for storing the rendering result; and
presenting, by the first thread, the rendering result.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the game client further comprises a third thread, and the method further comprises:
capturing, by the first thread, a click event and obtaining first coordinate information corresponding to the click event, wherein the first coordinate information is coordinate information adapted to the user interface;
processing, by the second thread, the first coordinate information to generate a notification message; and
obtaining, by the third thread, the notification message and performing an operation corresponding to the notification message.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the second thread provides a second interface, and the method further comprises:
calling, by the first thread, the second interface and sending the first coordinate information to the second thread.

### Claim 4 (depends on 2)

The method according to claim 2, wherein processing, by the second thread, the first coordinate information to generate a notification message, comprises:
converting, by the second thread, the first coordinate information into second coordinate information, wherein the second coordinate information is coordinate information adapted to a page provided by the browser kernel; and
generating, by the second thread, a notification message for the second coordinate information using the second coordinate information.

### Claim 5 (depends on 3)

The method according to claim 3, wherein obtaining, by the third thread, the notification message and performing an operation corresponding to the notification message comprises:
obtaining, by the third thread, the notification message through the second interface; and
performing, by the third thread, an operation corresponding to the notification message.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
sending, by the first thread, the to-be-rendered object corresponding to the user interface rendering event to the second thread through the first interface.

### Claim 7

A user interface processing device, applied to a user terminal, wherein the user terminal is configured to execute a game client, the game client comprises a first thread and a second thread, and the second thread is pre-packaged in a browser kernel of the game client, and the device comprises:
a processor; and
a memory for storing instructions executable by the processor;
wherein the processor is configured to:
control the first thread to obtain a user interface rendering event which is to be processed;
control the second thread to obtain a to-be-rendered object corresponding to the user interface rendering event;
control the second thread to render the to-be-rendered object, and sending a rendering result to the first thread through a first interface, wherein the first interface is an interface provided by the second thread for storing the rendering result; and
control the first thread to present the rendering result.

### Claim 8 (depends on 7)

The device according to claim 7, wherein the game client further comprises a third thread, and the processor is further configured to:
control the first thread to capture a click event and obtaining first coordinate information corresponding to the click event, wherein the first coordinate information is coordinate information adapted to the user interface;
control the second thread to process the first coordinate information to generate a notification message; and
control the third thread to obtain the notification message and perform an operation corresponding to the notification message.

### Claim 9 (depends on 8)

The device according to claim 8, wherein the second thread provides a second interface, and the processor is further configured to:
control the first thread to call the second interface and send the first coordinate information to the second thread.

### Claim 10 (depends on 8)

The device according to claim 8, wherein the processor is configured to:
control the second thread to convert the first coordinate information into second coordinate information, wherein the second coordinate information is coordinate information adapted to a page provided by the browser kernel; and
control the second thread to generate a notification message for the second coordinate information using the second coordinate information.

### Claim 11 (depends on 9)

The device according to claim 9, wherein the processor is configured to:
control the third thread to obtain the notification message through the second interface; and
control the third thread to perform an operation corresponding to the notification message.

### Claim 12 (depends on 7)

The device according to claim 7, wherein the processor is further configured to:
control the first thread to send the to-be-rendered object corresponding to the user interface rendering event to the second thread through the first interface.

### Claim 13

(canceled)

### Claim 14

A non-transitory machine-readable storage medium having instructions stored thereon, wherein when the instructions are executed by one or more processors of a terminal device which is configured to execute a game client, the one or more processors are caused to perform the a user interface processing method, the game client comprising a first thread and a second thread, and the second thread being pre-packaged in a browser kernel of the game client:
wherein the user interface processing method comprises:
obtaining, by the first thread, a user interface rendering event which is to be processed;
obtaining, by the second thread, a to-be-rendered object corresponding to the user interface rendering event;
rendering, by the second thread, the to-be-rendered object, and sending a rendering result to the first thread through a first interface, wherein the first interface is an interface provided by the second thread for storing the rendering result; and
presenting, by the first thread, the rendering result.

### Claim 15 (depends on 14)

The non-transitory machine-readable storage medium according to claim 14, wherein the game client further comprises a third thread, and the method further comprises:
capturing, by the first thread, a click event and obtaining first coordinate information corresponding to the click event, wherein the first coordinate information is coordinate information adapted to the user interface;
processing, by the second thread, the first coordinate information to generate a notification message; and
obtaining, by the third thread, the notification message and performing an operation corresponding to the notification message.

### Claim 16 (depends on 15)

The non-transitory machine-readable storage medium according to claim 15, wherein the second thread provides a second interface, and the method further comprises:
calling, by the first thread, the second interface and sending the first coordinate information to the second thread,

### Claim 17 (depends on 15)

The non-transitory machine-readable storage medium according to claim 15, wherein processing, by the second thread, the first coordinate information to generate a notification message, comprises:
converting, by the second thread, the first coordinate information into second coordinate information, wherein the second coordinate information is coordinate information adapted to a page provided by the browser kernel; and
generating, by the second thread, a notification message for the second coordinate information using the second coordinate information.

### Claim 18 (depends on 16)

The non-transitory machine-readable storage medium according to claim 16, wherein obtaining, by the third thread, the notification message and performing an operation corresponding to the notification message comprises:
obtaining, by the third thread, the notification message through the second interface, and
performing, by the third thread, an operation corresponding to the notification message.

### Claim 19 (depends on 14)

The non-transitory machine-readable storage medium according to claim 14, wherein the method further comprises:
sending, by the first thread, the to-be-rendered object corresponding to the user interface rendering event to the second thread through the first interface.
