Invention Application
- Patent Title: WEB PAGE RENDERING METHOD AND RELATED DEVICE
-
Application No.: US16393417Application Date: 2019-04-24
-
Publication No.: US20190251143A1Publication Date: 2019-08-15
- Inventor: Yaya DAI , Feng HU , Tao ZHANG , Yiquan ZHAO
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Priority: CN201710042896.3 20170120
- Main IPC: G06F17/22
- IPC: G06F17/22 ; H04L29/08 ; G06F17/24

Abstract:
Embodiments of the present invention disclose a web page rendering method and a related device. The method includes: After receiving a page loading request of a client, a server may obtain initial page content matching the page loading request and return the initial page content to the client, where the initial page content includes a front-end framework and at least one DOM. The client may load the at least one DOM based on the front-end framework; obtain, based on a feature attribute of each DOM of the at least one DOM, a page template and a page metadata that match the DOM; render the page metadata based on the page template to obtain an HTML segment of the DOM; and finally form an HTML page by using all HTML segments. Hardware deployment costs of the server can be reduced, thereby improving page rendering efficiency and system performance.
Information query