Data consistency verifying method for cross-machine-room database

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

Active Publication Date: 2018-03-23
FOCUS TECH
View PDF9 Cites 6 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
  • Data consistency verifying method for cross-machine-room database
  • Data consistency verifying method for cross-machine-room database
  • Data consistency verifying method for cross-machine-room database

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 data consistency verifying method for a cross-machine-room database comprises the steps that 1, a consistency verifying environment is set, wherein a main node database and a sub-node database are deployed in a machine room of each region, and identical list structures are arranged in the databases; 2, verifying task information is configured, wherein the verifying task information comprises thefrequency of verification execution, a database list with verifying needs and list fields with verifying needs; 3, the main node databases actively trigger verifying tasks every other fixed time periods according to the frequency of verification execution; 4, after the sub-node databases receive the verifying task information, databases, data lists and list field information instructions in the information are extracted; 5, the main node databases keep the state of receiving data sent by the sub-node databases all the time, verifying results are received, the verifying results are compared atthe same time, and whether the verifying results of all sub-nodes are consistent or not is judged.

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 Applications(China)
IPC IPC(8): G06F17/30G06F11/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