Webpage data transmission method and apparatus

A technology of webpage data and transmission method, which is applied in the Internet field, can solve problems such as page freezes, and achieve the effect of avoiding freezes

Active Publication Date: 2018-07-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 6 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
  • Webpage data transmission method and apparatus
  • Webpage data transmission method and apparatus
  • Webpage data transmission method and apparatus

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 webpage data transmission method and apparatus. The method comprises the steps of receiving a request for a specified webpage, sent by a client; searching for a first identifier corresponding to the specified webpage from a cache of a preset server, wherein the cache stores first identifiers corresponding to rendered webpages, and the first identifiers corresponding to the webpages serve as bases of searching for the rendered webpages; after the first identifier corresponding to the specified webpage is searched out, searching for the rendered specified webpage according to the first identifier corresponding to the specified webpage; and sending the rendered specified webpage to the client, thereby enabling the client to display the specified webpage. According tothe method and the apparatus, the rendering frequency of the server is reduced, so that webpage data can be timely transmitted to the client and the situation of client jamming is avoided.

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/9574
Inventor 何方舟
Owner TENCENT TECH (SHENZHEN) 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