Distributed transaction processing method and system

A distributed transaction and business system technology, applied in the field of distributed transaction processing methods and systems, can solve problems such as increasing the burden on transaction tables, consuming network traffic, and paralyzing business systems, so as to reduce the burden of reading and writing and reduce the consumption of network traffic , to avoid the effect of a single point of failure

Active Publication Date: 2017-05-31
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF4 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to ensure the data consistency of distributed transactions, the operation status of each transaction or sub-transaction is recorded through the transaction table. The management of the traditional transaction table is to uniformly manage the operation status of each transaction through a separate service system, so that each business All systems need to establish a network connection with the service system, which

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0021] Such as figure 1As shown, in one embodiment, a distributed transaction processing method is proposed, which can be applied to such as figure 1 In the shown application environment, in this application environment, the first server 102 is respectively connected to a plurality of second servers 104, and at the same time, the first server 102 is connected to the third server 106, and the second server 104 is also connected to the third server 106 establish connection. Wherein, the first server 102 runs a main business system, each second server 104 runs a slave business system, and the third ...

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 provides a distributed transaction processing method. The method comprises the following steps: distributing a distributed transaction into a plurality of sub-transactions by a main business system; then respectively transmitting commands for executing the sub-transactions to the various corresponding secondary business systems; carrying out corresponding operations by the secondary business systems from secondary business front tables according to the commands for executing sub-transactions; after all the sub-transactions are executed successfully, simultaneously synchronizing operations in the secondary business front tables to secondary business main tables, so that consistency of the sub-transactions is realized; and when execution of at least one sub-transaction fails, rolling back all the sub-transactions in the secondary business front tables. A transaction table is added in a database of each business system, consumption of network flow can be reduced, transaction processing efficiency can be improved, single point of failure is avoided, and certain fault tolerance is achieved. In addition, the invention provides a distributed transaction processing system.

Description

technical field [0001] The invention relates to the field of computer processing, in particular to a distributed transaction processing method and system. Background technique [0002] Transaction (Transaction) is a reliable and independent unit of work composed of a set of operations, in which all operations either succeed or fail. Transactions have four basic characteristics: atomicity, consistency, isolation, and durability, also referred to as the ACID characteristics of transactions. In the era of microservices, after a large number of business splits, the problem of data consistency in distributed transactions follows, especially the distributed transactions between different systems involving transactions. In order to ensure the data consistency of distributed transactions, the operation status of each transaction or sub-transaction is recorded through the transaction table. The management of the traditional transaction table is to uniformly manage the operation stat...

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
CPCG06F9/465G06F9/466G06F16/2358G06F16/2365
Inventor 杨作仲熊杰
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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