Webpage rendering method and related equipment

A web page rendering and page technology, applied in the computer field, can solve problems such as increasing server memory overhead and reducing rendering efficiency, and achieve the effects of improving page rendering efficiency and system performance, improving page rendering efficiency, and reducing costs

Inactive Publication Date: 2018-07-27
HUAWEI TECH CO LTD
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If a large number of pages request rendering at the same time, the server needs to convert a large amount of metadata at the same time, which will not only reduce the rendering efficiency, but also increase the memory overhead of the server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Webpage rendering method and related equipment
  • Webpage rendering method and related equipment
  • Webpage rendering method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Embodiments of the present invention will be described below with reference to the accompanying drawings.

[0052] The embodiment of the present invention discloses a webpage rendering method and related equipment, which can improve the webpage rendering efficiency and reduce the memory overhead of the server in a high-concurrency scenario. Each will be described in detail below.

[0053] see figure 1 , figure 1 It is a schematic structural diagram of a web page rendering system disclosed in an embodiment of the present invention. exist figure 1 The system shown includes a server and at least one client. Wherein, the server and at least one client are connected through the Internet. The server can be an independent service device, or a cluster service device composed of multiple independent service devices. The server can be a browser application (Application, APP) Provide background services; the client can refer to a browser application or a terminal device insta...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a webpage rendering method and related equipment. The method includes the steps that after a server receives a page loading request of a client side, initialpage content matched with the page loading request can be obtained and returned to the client side, wherein the initial page content includes a front-end framework and at least one DOM; the client side can load the DOMs based on the front-end framework and obtain page templates and page metadata matched with the DOMs based on feature attributes of all the DOMs, and therefore the page metadata is rendered based on the page templates to obtain HTML fragments of all the DOMs; finally, all the HTML fragments form an HTML page, and the HTML page is displayed. According to the embodiment, page rendering is conducted by the client side, in a high-concurrence scene, the hardware deployment cost, pressure and memory overhead of the server can be reduced, and the page rendering efficiency and the system performance are improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a web page rendering method and related equipment. Background technique [0002] With the continuous development of front-end technologies, web pages have developed from simple information display to users can participate in the generation of web content, that is, users can customize web pages. Usually, when a user customizes a web page, the modified page metadata is usually saved in the database. When the page is rendered, the page metadata is parsed and compiled on the server, and rendered into a complete hypertext markup language (Hyper Text Markup Language) Mark-up Language, HTML) page, so as to return to the browser client for display. If a large number of pages request rendering at the same time, the server needs to convert a large amount of metadata at the same time, which will not only reduce the rendering efficiency, but also increase the memory overhead of the server...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F40/143
CPCG06F16/958G06F16/00G06F16/986G06F40/10G06F40/143G06F40/12G06F40/186H04L67/01H04L67/02
Inventor 代亚亚胡锋张涛赵以权
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products