Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cross-database distributed transaction implementation method and device

A technology of distributed transactions and implementation methods, applied in the field of distributed transaction processing, can solve the problems of complex implementation framework and inconvenient maintenance.

Active Publication Date: 2015-07-22
ADVANCED NEW TECH CO LTD
View PDF7 Cites 78 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] This application provides a cross-database distributed transaction implementation method to solve the problem that the existing distributed transaction implementation framework is too complicated and not easy to maintain

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
  • Cross-database distributed transaction implementation method and device
  • Cross-database distributed transaction implementation method and device
  • Cross-database distributed transaction implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0108] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0109] In this application, a method for implementing cross-database distributed transactions is provided, and a device for implementing cross-database distributed transactions is also provided, which will be described in detail in the following embodiments one by one.

[0110] Please refer to figure 1 , which is a schematic flowchart of an embodiment of a method for implementing a cross-database distributed transaction of the present application. The method comprises the steps of:

[0111] Step 101: Receive a star...

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 cross-database distributed transaction implementation method. The method comprises the first step of receiving distributed transaction activation requests and distributing transaction identifiers to distributed transactions, the second step of receiving operation requests or an operation request collection of the distributed transactions which the transaction identifiers are distributed to for database operations, the third step of acquiring information of a target database of the database operations according to all the operation requests and sending the database operations to the target database for execution in accordance with the ACID principle, and the fourth step of clearing the distributed transactions after all the database operations are executed. The invention further provides a cross-database distributed transaction implementation device. By means of the method, the cross-database distributed transactions which are lightweight and easy to maintain and meet the ACID principle can be realized.

Description

technical field [0001] This application relates to the field of distributed transaction processing, in particular to a method for realizing distributed transactions across databases. The present application also provides a device for implementing cross-database distributed transactions. Background technique [0002] With the development of the Internet and the ever-changing needs of users, various application services are becoming more and more complex. In order to provide better support for the business, there are more and more underlying systems, services are becoming more and more concentrated, and the layers are getting deeper and deeper. For a business request, it can no longer be completed by accessing the database in a certain business subsystem. It usually requires the cooperation of two or more business subsystems, and different subsystems use different databases, that is to say , in one request, it may be necessary to access data in multiple target databases, and...

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): G06F9/46G06F17/30
Inventor 刘照星
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products