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

Web instant data display method and system

A data display and data technology, applied in transmission systems, electrical components, etc., can solve problems such as large changes in server and web client development costs, inability to dynamically display server data on web clients, and poor user experience. , to achieve the effect of improving experience, enhancing user experience, and reducing concurrency

Inactive Publication Date: 2018-08-03
NETEASE HANGZHOU NETWORK
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When browsing web pages, it is often necessary to be able to obtain dynamic data changes in real time, but the server data in the HTTP protocol requires the web client to pull the data passively, instead of pushing the changed server data to the web client for dynamic display in real time , the connection will be disconnected after a web page data request
[0003] In the existing technology, to realize the real-time dynamic data change effect of the webpage, either the server actively pushes the data, or the client actively pulls the data; the former needs to be able to support websocket long connection for both the server and the client, and for the server and the webpage The development cost and changes of the client are relatively large, and the compatibility is not good. Not all browsers and servers can support it very well; although the cost of the latter is lower, the client needs to continuously pull data and request a large number of requests within a certain period of time. The pressure on the server is high, and the user experience effect is not good

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 instant data display method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further described below with reference to the accompanying drawings and in combination with preferred embodiments.

[0024] Such as figure 1 As shown, the preferred embodiment of the present invention discloses a method for web real-time data display, comprising the following steps:

[0025] S1: In response to the data request from the client, the application server calculates the interval between the client's next request for data based on the current total request volume;

[0026] In one embodiment, the application server also judges whether the data request of the client is the first request after calculating the time interval between the client's next request for data, if yes, then add 1 to the current total request amount; if not, then The current total request amount remains unchanged; judging that the client's data request is the first request includes the client's first request to the application server and the client's first reque...

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 instant data display method. The method comprises the following steps: S1: in response to a data request of a user terminal, an application server calculates an intervaltime of the next request data of the user terminal according to the current total request amount; S2: the application server returns the data requested by the user terminal and the interval time of the next request data to the user terminal; S3: the user terminal obtains data and requests data from the application server again after the interval time, and step 1 is executed again. The invention further discloses a web instant data display system, comprising an application server and at least one user terminal. By adoption of the web instant data display method and system provided by the invention, the development cost is low, the change of the server is very small, the load pressure is relatively low, and the user experience is greatly improved.

Description

technical field [0001] The invention relates to network data processing, in particular to a method and system for displaying real-time data on the web. Background technique [0002] When browsing web pages, it is often necessary to be able to obtain dynamic data changes in real time, but the server data in the HTTP protocol requires the web client to pull the data passively, instead of pushing the changed server data to the web client for dynamic display in real time , the connection will be disconnected after a web page data request. [0003] In the existing technology, to realize the real-time dynamic data change effect of the webpage, either the server actively pushes the data, or the client actively pulls the data; the former needs to be able to support websocket long connection for both the server and the client, and for the server and the webpage The development cost and changes of the client are relatively large, and the compatibility is not good. Not all browsers an...

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
IPC IPC(8): H04L29/08
CPCH04L67/02H04L67/62
Inventor 刘劲宇钟先茜
Owner NETEASE HANGZHOU NETWORK
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