Unlock instant, AI-driven research and patent intelligence for your innovation.

Web page data transmission method and device

A technology of web page data and transmission method, applied in the Internet field, can solve problems such as page jams, and achieve the effect of avoiding jams

Active Publication Date: 2022-01-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the object of the present invention is to provide a webpage data transmission method and device to solve the page jam problem caused by the server rendering webpages multiple times when the client frequently requests webpages

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
  • Web page data transmission method and device
  • Web page data transmission method and device
  • Web page data transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0027] Such as figure 1 As shown, an embodiment of the present invention provides a webpage data transmission method, the method of this embodiment is applicable to the webpage data transmission between the server and the browser client, and the method of this embodiment can be implemented on the server. The method of this embodiment includes:

[0028] Step S110, receiving a request for a specified web page sent by the client. In this embodiment, the client is a browser or an application client with a built-in browser, and the webpage data is HTML dat...

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 discloses a web page data transmission method and device. The method includes: receiving a request for a specified web page sent by a client; searching for a first identifier corresponding to a specified web page from a cache of a preset server, and storing the rendered one in the cache. The first identifiers corresponding to the multiple webpages, the first identifiers corresponding to the multiple webpages are used as the basis for searching for the rendered multiple webpages; after the first identifiers corresponding to the specified webpages are found, the searched Rendered specified webpage; send the rendered specified webpage to the client, so that the client can display the specified webpage. According to the present invention, since the number of renderings performed by the server is reduced, the web page data can be transmitted to the client in a timely manner, thereby avoiding the occurrence of stuck conditions at the client.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a web page data transmission method and device. Background technique [0002] At present, when continuous messages are displayed through web pages at the front end of the WEB (page), the messages are displayed in the web pages by adding DOM (Document Object Model, Document Object Model) nodes as message containers in the web pages. [0003] In prior art solutions, React is usually used (React is an open source JavaScript library that provides views rendered as HTML for data, and React views are usually rendered using components that contain other components specified in custom HTML tags, where HTML is Hypertext Markup Language , is a standard markup language used to create web pages) virtual DOM technology can generate corresponding HTML data, return the HTML data to the client (ie the browser side), and save the generated HTML in the disk at the same time, and in the The c...

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 Patents(China)
IPC IPC(8): G06F16/957
CPCG06F16/9574
Inventor 何方舟
Owner TENCENT TECH (SHENZHEN) CO LTD