Real-time data updating method, device and system

A technology of real-time data and update methods, applied in the computer field, can solve problems such as client freeze, affect server performance, occupy client resources, etc., and achieve the effect of reducing resource occupation

Inactive Publication Date: 2017-03-22
BEIJING QIHOO TECH CO LTD +1
View PDF7 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this process, the server needs to maintain the status of each client, such as maintaining the status of the real-time data obtained by the client at which time, and then return the real-time data after that time to the client when the client visits next time. In this way, the server needs to maintain a large amount of state, which takes up a lot of resources and affects server performance
In addition, for the client, due to the need to refresh the page frequently, re-rendering the new real-time data obtained will also occupy too much client resources. After a certain number of refreshes, the client will freeze. , thereby affecting the user's use of the client

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
  • Real-time data updating method, device and system
  • Real-time data updating method, device and system
  • Real-time data updating method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] refer to figure 1 , which shows a schematic flow chart of a real-time data update method of the present invention, which may specifically include:

[0075] Step 110, obtaining real-time data provided by the application service;

[0076] In the embodiment of the present invention, the application service may include a train ticket booking service, and / or an air ticket booking service, and / or a road condition service, and / or a stock service.

[0077] If the embodiment of the present invention acquires real-time data provided by an application service, the steps of the embodiment of the present invention can be executed in the application server where the application service is located, or can be executed in a monitoring server independent of the application server.

[0078] If the embodiment of the present invention obtains the real-time data provided by multiple application services, if the multiple application services run in one application server, the steps in the em...

Embodiment 2

[0124] refer to figure 2 , which shows a schematic flow chart of a real-time data update method of the present invention, which may specifically include:

[0125] Step 210, obtaining real-time data provided by the application service;

[0126] Step 220, for each designated object of the application service targeted by each first subscriber, extract the real-time data of each designated object from the real-time data;

[0127] Step 230, according to the real-time data, send a real-time data message to each second subscriber; the second subscriber records the real-time data message of each service within the first time period.

[0128] In the embodiment of the present invention, a third process can also be set on the monitoring server, and the third process can be used as a second subscriber to subscribe to new real-time data messages, which can be started when the monitoring system is started. Then, after the first process of the monitoring server obtains the real-time data ...

Embodiment 3

[0143] refer to image 3 , which shows a schematic structural diagram of a real-time data updating device of the present invention, which may specifically include:

[0144] A real-time data acquisition module 310, adapted to acquire real-time data provided by application services;

[0145] The real-time data corresponding extraction module 320 is adapted to extract the real-time data of each designated object from the real-time data for each designated object of the application service targeted by each first subscriber;

[0146] The message sending module 330 is adapted to send real-time data messages to corresponding first subscribers according to the real-time data of each specified object;

[0147] The message forwarding module 340 is adapted to forward the real-time data message to the client corresponding to the subscriber through the long connection by the first subscriber; wherein, the client performs rendering and display according to the real-time data message .

...

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 real-time data updating method, device and system, which relates to the field of computers. The method comprises the steps that real-time data provided by an application service are acquired; for each designated object of the application service to which each first subscriber is directed, the real-time data of each designated object are extracted from the real-time data; according to the real-time data of each designated object, a real-time data message is sent to each corresponding first subscriber; the first subscriber forwards the real-time data message to a client corresponding to the subscriber through long connection; and the client carries out rendering demonstration according to the real-time data message. According to the invention, the number of states, which is maintained on the server side, of the each client is reduced, and the real-time data message is pushed; the resource consumption of the server is reduced; the client side can acquire new real-time data without frequent refreshing; and the resource consumption of the client is reduced.

Description

technical field [0001] The invention relates to the field of computers, in particular to a real-time data updating method, device and system. Background technique [0002] With the development of the network, there are more and more network resources, and many services are arranged on the application server for user terminals to access network resources. For example, train ticket booking service, air ticket booking service, or road condition service, or stock service, etc. In practical applications, the above-mentioned application services have a certain real-time nature, such as how many tickets are left for a certain train at the current moment, the stock trend at the current moment, the road conditions at the current moment, etc. [0003] In the prior art, the client needs to constantly refresh the page to send a request to the server where the application service is located to obtain the real-time data it needs. However, in this process, the server needs to maintain th...

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): H04L29/08
CPCH04L67/1095H04L67/141
Inventor 杨银波
Owner BEIJING QIHOO TECH 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