Transaction identifier-based multi-computer-room synchronization method, computing equipment and storage medium

A transaction identification and multi-computer room technology, applied in the field of data processing, can solve the problems of large data transmission, affecting synchronization efficiency, infinite loopback, etc., and achieve the effect of small data transmission, simple judgment process, and control of data volume

Active Publication Date: 2021-06-04
ZHANGYUE TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this synchronization method has the problem of cyclic replication under the two-way synchronization mechanism, that is, after another computer room completes data synchronization, it will also generate a write data log record in the log file, resulting in an infinite loopback problem
[0004] At present, the solution adopted to solve the loopback problem is to add a preset mark in the data o...

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
  • Transaction identifier-based multi-computer-room synchronization method, computing equipment and storage medium
  • Transaction identifier-based multi-computer-room synchronization method, computing equipment and storage medium
  • Transaction identifier-based multi-computer-room synchronization method, computing equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0023] figure 1 A schematic flowchart of a method for synchronizing multiple computer rooms based on a transaction identifier according to an embodiment of the present invention is shown. This method is applicable to two-way synchronization between the first computer room and the second computer room. For example, when computer room A and computer room B are involved, when computer room A synchronizes data to computer room B, computer room A is...

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 transaction identifier-based multi-computer-room synchronization method, computing equipment and a storage medium. The method comprises the following steps: reading a first write data log record in a log file of a first machine room, and judging whether a domain identifier contained in a transaction identifier of the first write data log record is consistent with a domain identifier corresponding to the first machine room or not; if yes, performing synchronous data writing operation in a second machine room according to the first data writing log record, and recording a second data writing log record of the synchronous data writing operation and a transaction identifier of the second data writing log record in a log file of the second machine room, wherein the domain identifier contained in the transaction identifier of the second write data log record is set as the domain identifier corresponding to the first computer room; if not, neglecting the synchronization of the first write data log record, so that loop replication is broken, the problem of replication loopback in multi-machine-room bidirectional synchronization is solved, and the data synchronization efficiency is further improved due to the fact that the judgment process is simple.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a multi-computer room synchronization method based on transaction identification, computing equipment and storage media. Background technique [0002] With the growth of business volume and the expansion of business scope, a single computer room often cannot provide stable and reliable services. In this case, deploying multiple computer rooms is a more common choice. At the same time, the data in each computer room must be kept consistent and synchronized to provide accurate and consistent services to the outside world. [0003] Multi-computer room data synchronization is usually realized based on the write data log records of the computer room database. Any data write operation to the computer room database will generate a write data log record in the log file, and replay the write data log record in another computer room to complete a data synchronization. However, 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
IPC IPC(8): G06F16/27
CPCG06F16/275
Inventor 冯威
Owner ZHANGYUE 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