Method for receiving and transmitting synchronization data between different servers with message service mechanism

A technology for synchronizing data and message services, applied in the field of data transmission, can solve problems such as data blockage, danger of modifying the database, inconvenience, etc., and achieve the effect of improving efficiency, improving performance, and powerful and flexible management and configuration functions

Inactive Publication Date: 2008-02-13
北京意科能源技术有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And even if the database is not changed, other configurations often need to be changed. At this time, the maintenance personnel of each node must modify the stored procedures or triggers. This kind of frequent database modification is a very dangerous thing.
Another problem with using a database to achieve synchronization is that each server has unique synchronization settings when the server is initialized. One problem at this time is that all servers will perform data synchronization at a certain time. To distinguish these settings, you must It is very inconvenient for maintenance personnel to set these servers separately, and it is easy to cause data blockage

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
  • Method for receiving and transmitting synchronization data between different servers with message service mechanism
  • Method for receiving and transmitting synchronization data between different servers with message service mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The above and other technical features and advantages of the present invention will be described in more detail below in conjunction with the accompanying drawings.

[0038] The data synchronization between nodes is based on the tree design, and the data is synchronized according to the IP form. There are two parts to set up here, namely the database and the configuration file. There is a configuration file in each node server, which mainly indicates the IP address of the upper-level server. Another aspect is that there is a node table in the database of each node, in which the information of the current level node and the information of the lower level nodes are stored in the table. This is necessary for data synchronization using JMS (Message Service). With the previous settings, we can know the IP of the target node, and the rest is to organize the information that needs to be synchronized.

[0039] Please refer to shown in Fig. 1, it is the flow chart of the meth...

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 present invention is a method for realizing the transmission and reception of the synchronous data among different servers by utilizing a message service mechanism. In order to increase the performance of servers, the synchronous data is synchronized in batches, and when the connection with receiving servers fails, the data waiting to be synchronized is stored in a queue, so that the data can be retransmitted after reconnection, thus preventing the loss of all the data. In terms of synchronous number, synchronous time, etc., a corresponding regulation can be done according to the requirement of users. When being replaced with other database, if tables and fields are the same, the only job is to alter the database waiting for connection with configuration files and have a little modification, and after some experiment on the present invention, the efficiency is notably increased. Meanwhile, a user can conveniently and rapidly perform corresponding configurations according to own ideas, materializing the humanization of software. In terms of maintenance, the human power is saved, and the use is easy.

Description

technical field [0001] The invention relates to a data transmission method, in particular to a method for realizing sending and receiving synchronous data between different servers by using a message service mechanism. Background technique [0002] In the current system system, to realize the sending and receiving of synchronous data, it generally relies on the database for synchronization, that is, uses stored procedures, triggers, etc. to realize data synchronization. Its shortcomings are mainly reflected in the following aspects: [0003] First of all, from the perspective of implementation, the database may be faster to implement, but once a system is running and the user wants to set the synchronization, we cannot log in to a table in the database at any time to manually update a certain value in it. Doing so will bring a series of troubles (safety, accountability, misuse, etc.). Secondly, the pressure on the database is increased. Some pressures cannot be borne by 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): H04L7/00H04L12/56H04L12/863
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