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

Distributed transaction processing method and apparatus

A distributed transaction and processing method technology, applied in the field of distributed transaction processing methods and devices, can solve problems such as response, reduce distributed system performance, and affect distributed transaction response time, so as to improve performance and reduce response time Effect

Active Publication Date: 2017-01-11
BEIJING OCEANBASE TECH CO LTD
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the coordinating node plays a major coordinating role in the entire process of distributed transaction processing, it usually cannot respond to the participating nodes in a timely manner during the process of recording logs and persistent storage, which will affect the response of distributed transactions time, thereby reducing the performance of the distributed system

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 transaction processing method and apparatus
  • Distributed transaction processing method and apparatus
  • Distributed transaction processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0032] In order to facilitate the understanding of the embodiments of the present application, the following will further explain and illustrate with specific embodiments in conjunction with the accompanying drawings, and the embodiments do not constitute a limitation to the embodiments of the present application.

[0033] The distributed transaction ...

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

Embodiments of the invention relate to a distributed transaction processing method and apparatus. The method comprises the steps of receiving a transaction enable request sent by a client, dividing a transaction corresponding to the transaction enable request into a plurality of sub-transactions, and selecting a participant node which executes at least one sub-transaction in the sub-transactions; sending a transaction execution request to the participant node to enable the participant node to execute the corresponding sub-transactions, and recording and sending first execution result information of the sub-transactions; receiving the first execution result information of all the sub-transactions, and determining second execution result information of the transaction according to the first execution result information of all the sub-transactions; and returning a transaction enable success or failure message to the client according to the second execution result information, and sending a transaction submitting or rollback message to the participant node to enable the participant node to execute submitting or rollback operations of the sub-transactions, and recording operation state information of the sub-transactions. Through the method and the apparatus, the response time of the distributed transaction can be shortened, so that the performance of a distributed system can be improved.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a method and device for processing distributed transactions. Background technique [0002] With the development of network technology, there are more and more information interactions between different business systems in the network. There is a type of transaction that requires the operation of data physically in different databases to ensure that they are in the same transaction. For example, e-commerce, website account registration, Weibo, forum speeches, etc., the use of distributed transaction solutions can ensure that the data operations of such transactions are in the same transaction. Involving order systems and payment systems, or more business systems, these systems can be collectively referred to as distributed systems, which can be completed by distributed transaction processing of interrelated transactions between distributed systems. [0003] In the pri...

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/46
Inventor 肖金亮李凯韩富晟
Owner BEIJING OCEANBASE 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