User interface processing method and device
AssigneeNetease (Hangzhou) Network Co., Ltd.
InventorLiang Xu
Life of this patent
Estimating the term…
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.
Claims18
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.
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.
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 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.
Dependencies are inferred from the claim text.