Multi-computer room synchronization method, computing equipment and storage medium based on transaction identification

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-11-19
ZHANGYUE TECH CO LTD
View PDF4 Cites 0 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 operation statement, thereby identifying that the data is synchronized. The above solution not only needs to analyze the specific data, but also leads to excessive data transmission, which affects the synchronization efficiency. Therefore, there is an urgent need for an efficient technical solution that can solve the problem of cyclic replication in the two-way synchronization of multiple computer rooms

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
  • Multi-computer room synchronization method, computing equipment and storage medium based on transaction identification
  • Multi-computer room synchronization method, computing equipment and storage medium based on transaction identification
  • Multi-computer room synchronization method, computing equipment and storage medium based on transaction identification

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 multi-computer room synchronization method, computing equipment and storage medium based on transaction identification. The method includes: reading the first write data log record in the log file of the first computer room, and judging whether the domain identifier contained in the transaction identifier of the first write data log record is consistent with the domain identifier corresponding to the first computer room; if , then execute the write synchronization data operation in the second computer room according to the first write data log record, and record the second write data log record and its transaction identifier of the write synchronization data operation in the log file of the second computer room, wherein, the second The domain identifier contained in the transaction identifier of the write data log record is set as the domain identifier corresponding to the first computer room; if not, the synchronization of the first write data log record is ignored, which breaks the cyclic replication and solves the two-way problem of multiple computer rooms. The problem of replication loopback in synchronization, because the judgment process is simple, further improves the efficiency of data synchronization.

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
Patent Type & Authority Patents(China)
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