Distributed data synchronization method based on push technology

A distributed data and technology technology, applied in the Internet field, to achieve the effect of reducing the load and reducing the frequency of access

Active Publication Date: 2018-08-17
威创软件南京有限公司
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a distributed data synchronization method based on push technology, which solves the technical problem of data synchronization delay in the data synchronization mode

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
  • Distributed data synchronization method based on push technology
  • Distributed data synchronization method based on push technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Such as figure 1 with figure 2 A distributed data synchronization method based on push technology shown, is characterized in that: comprising the following steps:

[0029] Step 1: Establish a publishing terminal, a display client, a business database server and a push server. The business database server and the push server communicate through a network cable, and the display client communicates with the business database server or push server through the Internet; the publishing terminal communicates with the business database server or push server through a network cable. Business database server or push server communication;

[0030] Step 2: Create a redis control in the push server, reference the dll of the redis control, instantiate a persistent redis object, and use the ConnectionMultiplexer class of redis to create a connection string with redis;

[0031] Step 3: Call the GetDatabase method of redis to obtain an object that can operate on the redis database; ...

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 distributed data synchronization method based on a push technology and belongs to the technical field of the Internet. A publishing side, a display client, a business database server and a push server are established; a redis control is established in the push server; a redis connection string is established; middleware of a message is obtained by calling a GetSubscribermethod of the redis control; the middleware is used for subscribing and publishing the messages; the business database server issues a function by calling a Publish method of the middleware; and the display client establishes a subscription or publishing channel with the publishing side by calling the Subscribe method of the middleware, thereby realizing a subscription function. The data delay problem resulting from obtaining data in a request mode is solved. The frequency of accessing the business database server by the display client is reduced. The load of the business database server is mitigated.

Description

technical field [0001] The invention belongs to the technical field of the Internet, in particular to a distributed data synchronization method based on push technology. Background technique [0002] Based on the needs of power system operation, scheduling, and monitoring system data display, this technical solution is developed. In the power system, the data of different systems need to be displayed in a centralized manner. The current data synchronization method adopts the request / response method to obtain data, which will cause the problem of data synchronization delay. Contents of the invention [0003] The purpose of the present invention is to provide a distributed data synchronization method based on push technology, which solves the technical problem of data synchronization delay in the data synchronization mode. [0004] To achieve the above object, the present invention adopts the following technical solutions: [0005] A distributed data synchronization method...

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/562H04L67/51
Inventor 王楠
Owner 威创软件南京有限公司
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