Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Webpage rendering method and device

A technology for web page rendering and target web page, applied in the field of web page rendering methods and devices, can solve the problems of high user waiting costs, server backlog, dragging down websites, etc., and achieve the effects of reducing page refreshes, improving robustness, and improving speed.

Inactive Publication Date: 2017-01-18
1VERGE INTERNET TECH BEIJING
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, with the above-mentioned webpage rendering method, the time to respond to the user is the sum of the time of all links in the backend, and the waiting cost for the user is high.
Moreover, when the response cannot be obtained for a long time, the user will often refresh the webpage continuously, which may cause the server to keep a backlog of requests that cannot be processed, resulting in downtime, causing an avalanche effect, until the entire website is dragged down

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] figure 1 A flowchart showing a method for rendering a web page according to an embodiment of the present invention. Such as figure 1 As shown, the web page rendering method may mainly include:

[0079] Step 101. Establishing a communication connection with the server to which the target web page belongs when receiving a request initiated by the user to access the target web page;

[0080] Step 102. When the communication connection is established successfully, receive the static template of the target web page from the server, and render the static template;

[0081] Step 103, presenting the rendered static template to the user;

[0082] Step 104: Send a request to the server for acquiring the dynamic data of the target webpage, so as to acquire the dynamic data of the target webpage from the server.

[0083] The web page rendering method in the embodiment of the present invention can be applied to various types of terminals, including computer terminals, mobile t...

Embodiment 2

[0112] Figure 5 A flowchart showing a method for rendering a web page according to an embodiment of the present invention. Such as Figure 5 As shown, the web page rendering method may mainly include:

[0113] Step 501: Establishing a communication connection with the client when receiving a communication connection request sent by the client according to the request for accessing the target webpage initiated by the user;

[0114] Step 502: When the communication connection is established successfully, return the static template of the target webpage to the client, so that the client can render the static template;

[0115] Step 503: Return the dynamic data of the target webpage to the client when the request from the client for acquiring the dynamic data of the target webpage is received.

[0116] In the embodiment of the present invention, steps 501 to 503 are mainly completed on the side of a server, such as a web server. Wherein, the webpage server may include, for ex...

Embodiment 3

[0136] Figure 9 A structural block diagram of a webpage rendering device according to an embodiment of the present invention is shown. Such as Figure 9As shown, the web page rendering device may mainly include: a first connection module 11 configured to establish a communication connection with the server to which the target web page belongs when receiving a request from a user to visit the target web page. The rendering module 13, connected to the first connection module 11, is configured to receive the static template of the target web page from the server and render the static template when the communication connection is established successfully. The presenting module 15 is connected with the rendering module 13 and is used for presenting the rendered static template to the user. The acquiring module 17 is configured to send a request to the server for acquiring the dynamic data of the target webpage, so as to acquire the dynamic data of the target webpage from the ser...

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 relates to a webpage rendering method and device. The webpage rendering method comprises the following steps: under the condition that a request, for visiting a target webpage, transmitted by a user is received, establishing communication connection with a server of the target webpage; under the condition that the communication connection is successfully established, receiving a static template from the server, of the target webpage, and rendering the static template; representing the rendered static template to the user; transmitting a request of acquiring dynamic data of the target webpage to the server, and acquiring the dynamic data of the target webpage from the server. By adopting the webpage rendering method of the embodiment of the invention, the purpose that the time of responding to the user is shortened for a first time can be achieved.

Description

technical field [0001] The present invention relates to the field of the Internet, in particular to a web page rendering method and device. Background technique [0002] At present, the framework for rendering web pages by mobile terminals adopts back-end rendering technology. Post-rendering technology can be that when a user initiates a webpage access behavior, the request initiated by the browser or Webview (network view) will directly reach the back-end server through DNS (Domain Name System, domain name system) resolution. Then, the server will directly generate program codes (such as PHP, Python, Java, etc.) to the database or API (Application Programming Interface, Application Programming Interface) to obtain all the dynamic data needed to render the webpage. After organizing the data, the server uniformly returns the data to the browser or Webview for page rendering. [0003] However, with the above-mentioned webpage rendering method, the time to respond to the user...

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/30
CPCG06F16/9574G06F16/972
Inventor 唐桂尧彭伟刚林岳顾思斌潘柏宇王冀
Owner 1VERGE INTERNET TECH BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products