Check patentability & draft patents in minutes with Patsnap Eureka AI!

Distributed heterogeneous database data processing method and device

A data processing and database technology, applied in the database field, can solve problems such as inability to achieve consistency and transaction inconsistency in heterogeneous databases, and achieve the effects of ensuring data consistency, reducing complexity, and improving coding efficiency

Active Publication Date: 2020-02-07
KOUBEI SHANGHAI INFORMATION TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 2) There may still be transaction inconsistencies
For example, BASE flexible transactions will fail when there is a positive data update retry, resulting in the heterogeneous database still unable to reach consistency in the end
The XA protocol cannot completely avoid the abnormality of the node updating the database in the second phase, resulting in transaction inconsistency

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
  • Distributed heterogeneous database data processing method and device
  • Distributed heterogeneous database data processing method and device
  • Distributed heterogeneous database data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0065] figure 1 A schematic flowchart showing a method for processing data in a distributed heterogeneous database according to an embodiment of the present invention, as shown in figure 1 As shown, the method includes the following steps:

[0066] Step S101, receiving a data update request from a data update originator, and starting a data update coordination transaction.

[0067] The data update initiator may be a terminal appl...

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 embodiment of the invention discloses a distributed heterogeneous database data processing method and device, and the method comprises the steps: receiving a data updating request of a data updating initiator, and starting a data updating collaborative transaction; according to the data updating request, performing data pre-updating processing on a plurality of databases in the distributed heterogeneous database, and obtaining a pre-updating result corresponding to each database; judging whether the pre-updating result of any database in the pre-updating results of the databases is updating failure or not; if yes, acquiring non-updated data of which the pre-updating result is provided by the database which fails to be updated; covering the updated data in the database of which the pre-updating result is successful updating by utilizing the non-updated data; closing data update collaboration transactions. In the data updating collaborative transaction, the updated data is updated byutilizing the non-updated data coverage, so that the data consistency in the distributed heterogeneous database is guaranteed.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of databases, and in particular to a data processing method and device for a distributed heterogeneous database. Background technique [0002] A heterogeneous database is a collection of multiple databases, where each database has its own autonomy, which can be multiple databases with the same data model, or databases with different data models. To achieve data consistency between databases of heterogeneous databases, the existing technology generally adopts the XA protocol (a two-phase commit protocol defined by the X / Open DTP organization, which uses a two-phase commit method to manage distributed transactions), or the TCC distribution Two-stage transactions such as formal transactions and BASE flexible transaction methods are used to achieve data consistency. However, using any of the above two-phase transactions, there are the following problems: [0003] 1) A large amount of ...

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/23G06F16/27
CPCG06F16/27G06F16/2365
Inventor 李泽源
Owner KOUBEI SHANGHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More