System, method, and apparatus for rendering interface elements
AssigneeAlibaba Group Holding Limited
InventorsQinghe Xu, Xu Zeng, Zheng Liu, Yongcai Ma, Lidi Jiang, Kerong Shen, Decai Jin, Chong Zhang
Life of this patent
Estimating the term…
Abstract
A method for rendering interface elements, including: obtaining a first set of one or more interface elements associated with a target user interface (UI) to be rendered, the first set of one or more interface elements comprising one or more interface elements that meet a pre-configured priority condition; rendering the first set of one or more interface elements at a higher priority than other interface elements associated with the target UI; and outputting a rendering result of the first set of one or more interface elements.
Claims22
A method, comprising:
- loading a plurality of interface elements associated with a target user interface (UI);
- determining, from among the plurality of interface elements, a first set of one or more interface elements and a second set of one or more interface elements, wherein:
- at least one of the first set of one or more interface elements and the second set of one or more interface elements is determined based at least in part on a determination that respective interface elements of the plurality of interface element satisfy a pre-configured priority condition;
- the determination that respective interface elements of the plurality of interface elements satisfy the pre-configured priority condition is based at least in part on whether a value of an identifier corresponding to the respective interface elements is indicative of the respective interface elements being part of a layout configuration of the target UI;
- and
- the value of the identifier corresponding to the respective interface elements is obtained from a configuration file or layout code for the target UI;
- obtaining the first set of one or more interface elements associated with the target UI to be rendered;
- rendering the first set of one or more interface elements at a higher priority than other interface elements associated with the target UI, wherein the first set of one or more interface elements are rendered concurrently with a second set of one or more interface elements, and the first set of one or more interface elements and the second set of one or more interface elements are rendered according to different priorities;
- and
- outputting a rendering result of the first set of one or more interface elements.
A system, comprising:
- one or more processors configured to:
- load a plurality of interface elements associated with a target user interface (UI);
- determining, from among the plurality of interface elements, a first set of one or more interface elements and a second set of one or more interface elements, wherein:
- at least one of the first set of one or more interface elements and the second set of one or more interface elements is determined based at least in part on a determination that respective interface elements of the plurality of interface element satisfy a pre-configured priority condition;
- the determination that respective interface elements of the plurality of interface elements satisfy the pre-configured priority condition is based at least in part on whether a value of an identifier corresponding to the respective interface elements is indicative of the respective interface elements being part of a layout configuration of the target UI;
- and
- the value of the identifier corresponding to the respective interface elements is obtained from a configuration file or layout code for the target UI;
- obtain the first set of one or more interface elements associated with the target UI to be rendered;
- render the first set of one or more interface elements at a higher priority than other interface elements associated with the target UI, wherein the first set of one or more interface elements are rendered concurrently with a second set of one or more interface elements, and the first set of one or more interface elements and the second set of one or more interface elements are rendered according to different priorities;
- and
- output a rendering result of the first set of one or more interface elements;
- and
- one or more memories coupled to the one or more processors, configured to provide the one or more processors with instructions.
A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
- loading a plurality of interface elements associated with a target user interface (UI);
- determining, from among the plurality of interface elements, a first set of one or more interface elements and a second set of one or more interface elements, wherein:
- at least one of the first set of one or more interface elements and the second set of one or more interface elements is determined based at least in part on a determination that respective interface elements of the plurality of interface element satisfy a pre-configured priority condition;
- the determination that respective interface elements of the plurality of interface elements satisfy the pre-configured priority condition is based at least in part on whether a value of an identifier corresponding to the respective interface elements is indicative of the respective interface elements being part of a layout configuration of the target UI;
- and
- the value of the identifier corresponding to the respective interface elements is obtained from a configuration file or layout code for the target UI;
- obtaining the first set of one or more interface elements associated with the target UI to be rendered;
- rendering the first set of one or more interface elements at a higher priority than other interface elements associated with the target UI, wherein the first set of one or more interface elements are rendered concurrently with a second set of one or more interface elements, and the first set of one or more interface elements and the second set of one or more interface elements are rendered according to different priorities;
- and
- outputting a rendering result of the first set of one or more interface elements.
A method, comprising:
- obtaining a first set of one or more interface elements associated with a target user interface (UI) to be rendered, the first set of one or more interface elements comprising one or more interface elements that meet a pre-configured priority condition;
- rendering the first set of one or more interface elements at a higher priority than other interface elements associated with the target UI, wherein the first set of one or more interface elements are rendered concurrently with a second set of one or more interface elements, and the first set of one or more interface elements and the second set of one or more interface elements are rendered according to different priorities;
- and
- outputting a rendering result of the first set of one or more interface elements,
- wherein the method is executed by a main thread, and the main thread is configured to render elements of the second set of one or more interface elements upon completing the rendering of the first set of one or more interface elements, the elements of the second set of one or more interface elements that are rendered by the main thread are not breakable into sub-rendering tasks.
A method, comprising:
- obtaining a first set of one or more interface elements associated with a target user interface (UI) to be rendered, the first set of one or more interface elements comprising one or more interface elements that meet a pre-configured priority condition;
- rendering the first set of one or more interface elements at a higher priority than other interface elements associated with the target UI, wherein the first set of one or more interface elements are rendered concurrently with a second set of one or more interface elements, and the first set of one or more interface elements and the second set of one or more interface elements are rendered according to different priorities;
- and
- outputting a rendering result of the first set of one or more interface elements,
- wherein the first set of one or more interface elements are rendered by a main thread, the second set of one or more interface elements are rendered using multithreading, and in response to a determination that rendering of the first set of one or more interface elements is completed, the main thread renders at least one sub-rendering task for the rendering of the second set of one or more interface elements.
Dependencies are inferred from the claim text.