A Data Consistency Checking Method for Cross-Computer Room Databases

A database and consistency technology, applied in the field of online data interaction of multiple databases, can solve the problems of repeated query data, automatic timing check without data, and stay consistency check, etc., to improve the resolution speed, improve automation and customization , the effect of small cost

Active Publication Date: 2019-02-05
FOCUS TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the patent can locate the data with differences with a small amount of calculation and network data transmission, the patent still only stays in the research on the consistency verification of the main and standby databases, and the verification in the form of groups is not necessary. It is suitable for a large amount of inconsistent data, but it will cause the problem of repeated data query due to inconsistent data scattered in different groups. At the same time, the patent does not give a clear solution on how to realize automatic timing verification of data between cross-regional databases

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
  • A Data Consistency Checking Method for Cross-Computer Room Databases
  • A Data Consistency Checking Method for Cross-Computer Room Databases
  • A Data Consistency Checking Method for Cross-Computer Room Databases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose and technical solution of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0023] figure 1 It is a schematic diagram of the database consistency verification structure in the embodiment of the present invention. In the embodiment of the present invention, there are 4 data centers, namely IDC1, IDC2, IDC3 and IDC4. The 4 data centers can be set in different regions or in different regions ; A database is deployed in each computer room, namely DB1, DB2, DB3, and DB4, and the table structures of the four databases are consistent; according to actual verification requirements, select any database in the data center as the master node and the child node; The embodiment selects the database DB1 in IDC1 as the main node, and the remaining three databases are used as the sub-nodes; the message system MQ is constructed between the main node...

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 method for data consistency verification across a computer room database, comprising: 1: setting of a consistency verification environment, specifically: deploying a master node database and a subnode database in computer rooms in various regions, and each database is provided with The same table structure; 2) Configure the verification task information. The verification task information includes the frequency of verification execution, the database tables with verification requirements, and the table fields with verification requirements; 3) According to the frequency of verification execution, each After a fixed period of time, the master node database actively triggers the verification task; 4) After each subnode database receives the verification task information, it extracts the database, data table and table field information instructions in the information; 5) The master node database keeps receiving the information The status of the data sent by each sub-node database, while receiving the verification results, compare the verification results, and determine whether the verification results of each sub-node are consistent.

Description

technical field [0001] The invention belongs to the field of online data interaction of multiple databases, and in particular relates to a data consistency verification method for cross-computer room databases. Background technique [0002] With the development of the B2B e-commerce industry, there are more and more Internet service businesses, and the user base is also increasing. In order to ensure the reliability, the website will be deployed in computer rooms in different regions, and the database system will be deployed in each computer room. , and provide a complete website service, and the data between the databases of each computer room is copied to each other to ensure that each computer room has a complete set of data. However, the biggest challenge of multi-computer rooms is the data update delay caused by network delay between the computer rooms, which eventually leads to data inconsistency between the databases of each computer room. In the existing master-stan...

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/23G06F11/10
CPCG06F11/10G06F16/2365
Inventor 成兆雨公福君
Owner FOCUS TECH
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