Page rendering method and device

A page and page access technology, applied in the field of page rendering, can solve the problems that the page cannot be captured, cannot wait for the front-end rendering to complete, and achieve the effect of solving optimization problems

Active Publication Date: 2019-04-19
GUANGZHOU HUADUO NETWORK TECH
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there are usually two main methods of page rendering: back-end rendering and front-end rendering. In front-end rendering, after the front-end captures the user's page access request, it usually obtains the corresponding content from the back-end and then renders the original page. However, before rendering the original page, the front-end will crawl the original page, that is, directly grab the original page, and cannot wait for the front-end rendering to complete, resulting in the page that has completed the front-end rendering cannot be crawled

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
  • Page rendering method and device
  • Page rendering method and device
  • Page rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The embodiment of the present invention provides a page rendering method and device, which can complete the crawling of the isomorphic page while directly outputting the isomorphic page.

[0033] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0034] see figure 1 , an embodiment of a page rendering method provided by the present invention, comprising:

[0035] 101. Determine whether ...

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 invention provides a page rendering method and device, and the method comprises the steps: judging whether an obtained page access request is a crawler or not through a reverse agent tool, and executing the next step if the obtained page access request is a crawler; sending a page loading instruction to the reverse agent tool through the Nodejs service, and rendering the original page according to a preset script to obtain an isomorphic page; and sending a page loading completion instruction and an isomorphic page to a reverse agent tool through the Nodejs service to complete crawler operation and page display. According to the method, the original page is rendered in advance before the crawler is executed, so that the crawler can capture the rendered isomorphic page, and the SEO problem existing in traditional front-end rendering is solved.

Description

technical field [0001] The present invention relates to the technical field of page rendering, in particular to a page rendering method and device. Background technique [0002] With the vigorous development of computer technology, the interaction between users and clients also increases, and the demand for users to access pages is also increasing. [0003] At present, there are usually two main methods of page rendering: back-end rendering and front-end rendering. In front-end rendering, after the front-end captures the user's page access request, it usually obtains the corresponding content from the back-end and then renders the original page. However, before rendering the original page, the front-end will crawl the original page, that is, directly grab the original page, and cannot wait for the front-end rendering to complete, resulting in the page that has completed the front-end rendering cannot be crawled. Contents of the invention [0004] The embodiment of the pre...

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): G06F9/451
CPCG06F9/451
Inventor 许宏斌
Owner GUANGZHOU HUADUO NETWORK TECH
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