Visualized Page Rendering Method, Device, Equipment, and Storage Medium
AssigneeJingdong Technology Holding Co., Ltd.
InventorGuanghui Wang
Life of this patent
Estimating the term…
Abstract
A visualized page rendering method includes acquiring the page source data; identifying custom template source data in the page source data; adding the custom template source data to a newly created division (DIV) tag in the page source data to determine a child node set corresponding to the DIV tag; acquiring the external resource referenced by a tag in the child node set and adding the external resource to the DIV tag to obtain first to-be-displayed page data; and rendering and displaying the page based on the first to-be-displayed page data.
Claims21
A visualized page rendering method, comprising:
- acquiring page source data, wherein the page source data comprises data in a plurality of hyper markup language (HTML) files corresponding to a plurality of modules in a to-be-displayed page respectively;
- identifying custom template source data in the page source data, wherein the custom template source data is data in an HTML file of the plurality of HTML files referencing an external resource;
- adding the custom template source data to a newly created division (DIV) tag in the page source data to determine a child node set corresponding to the DIV tag;
- acquiring an external resource referenced by a tag in the child node set and adding an acquired external resource to the DIV tag to obtain first to-be-displayed page data;
- and
- rendering and displaying a page based on the first to-be-displayed page data.
(canceled)
A computer device, comprising a memory, a processor, and a computer program stored on the memory and capable of being executed by the processor, wherein when executing the program, the processor performs a visualized page rendering method,
- wherein the visualized page rendering method comprises:
- acquiring page source data, wherein the page source data comprises data in a plurality of hyper markup language (HTML) files corresponding to a plurality of modules in a to-be-displayed page respectively;
- identifying custom template source data in the page source data, wherein the custom template source data is data in an HTML file of the plurality of HTML files referencing an external resource;
- adding the custom template source data to a newly created division (DIV) tag in the page source data to determine a child node set corresponding to the DIV tag;
- acquiring an external resource referenced by a tag in the child node set and adding an acquired external resource to the DIV tag to obtain first to-be-displayed page data;
- and
- rendering and displaying a page based on the first to-be-displayed page data.
A computer-readable storage medium, storing a computer program, wherein when executing the computer program, a processor performs a visualized page rendering method,
- wherein the visualized page rendering method comprises:
- acquiring page source data, wherein the page source data comprises data in a plurality of hyper markup language (HTML) files corresponding to a plurality of modules in a to-be-displayed page respectively;
- identifying custom template source data in the page source data, wherein the custom template source data is data in an HTML file of the plurality of HTML files referencing an external resource;
- adding the custom template source data to a newly created division (DIV) tag in the page source data to determine a child node set corresponding to the DIV tag;
- acquiring an external resource referenced by a tag in the child node set and adding an acquired external resource to the DIV tag to obtain first to-be-displayed page data;
- and
- rendering and displaying a page based on the first to-be-displayed page data.
Dependencies are inferred from the claim text.