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

Data synchronization method and device, computer equipment and storage medium

A data synchronization and database technology, applied in the field of data processing, can solve problems such as difficult operation and maintenance, and achieve the effect of reducing the difficulty of operation and maintenance and facilitating expansion and shrinkage.

Active Publication Date: 2021-11-26
KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing method, it is necessary to manually configure the one-to-one connection relationship between each data synchronization tool and the database through the local configuration file. When the configuration of the data synchronization tool or the database changes, the operation and maintenance is more difficult.

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
  • Data synchronization method and device, computer equipment and storage medium
  • Data synchronization method and device, computer equipment and storage medium
  • Data synchronization method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Such as Figure 5 as shown, Figure 5 It is a flow chart of the data synchronization method provided in Embodiment 1 of the present application. Such as Figure 5 As shown, the method includes the following steps:

[0052] Step S500: In response to the change of the configuration information of the data synchronization system, the first server acquires the target configuration information of the data synchronization system.

[0053] In this embodiment of the application, specifically, the configuration center may send a configuration update notification to each first server when the configuration information of the data synchronization system changes, so that the first server sends a configuration acquisition request to the configuration center according to the configuration update notification , the configuration center sends the target configuration information obtained after the configuration information is changed to the first server. Changes to configuration in...

Embodiment 2

[0086] Such as Figure 6 as shown, Figure 6 It is a flow chart of the data synchronization method provided in Embodiment 2 of the present application. Such as Figure 6 As shown, the method includes the following steps:

[0087] Step S600: In response to the change of the configuration information of the data synchronization system, the first server acquires the target configuration information of the data synchronization system.

[0088] Step S601: the first server acquires stored local configuration information.

[0089] In this embodiment of the application, the local configuration information is the configuration information obtained from the data synchronization system when the configuration information of the data synchronization system was changed last time. For a specific description of the local configuration information, refer to the target configuration information, and details will not be repeated.

[0090] Step S602: the first server compares the target confi...

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

A data synchronization method and apparatus, a computer device and a storage medium are applied to a data synchronization system comprising a database, a first server and a second server, and the method comprises: in response to a change of configuration information of the data synchronization system, obtaining target configuration information of the data synchronization system; according to the target configuration information, determining a to-be-locked first data queue from at least one data queue running on the first server, and determining a to-be-locked first database from all databases; sending a locking request to a second server, so that the second server creates a first resource corresponding to the first data queue in a first resource pool of the first database; and obtaining the resource information of the first resource pool from the second server to judge whether the locking is successful, if the locking is successful, connecting the first data queue with the first database, otherwise, performing change monitoring on the first resource pool, thereby dynamically adjusting the connection between the data queue on the first server and the database, and reducing the operation and maintenance difficulty of the system.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a data synchronization method and device, computer equipment, and storage media. Background technique [0002] In the current database incremental log parsing system, data synchronization tools can be used to synchronize the incremental data of the database to other storage applications to realize the subscription and consumption of incremental data. However, in the existing method, it is necessary to manually configure the one-to-one connection relationship between each data synchronization tool and the database through the local configuration file. When the configuration of the data synchronization tool or the database changes, the operation and maintenance is more difficult. Contents of the invention [0003] The present application provides a data synchronization method and device, computer equipment, and storage media, the main purpose of which is to ...

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): G06F16/27G06F9/50G06F9/54G06F16/23
CPCG06F16/27G06F16/2343G06F9/546G06F9/5022G06F9/5083G06F2209/548G06F2209/5011Y02D10/00
Inventor 王俊李明叶正武
Owner KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
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