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

Distributed transaction processing method and device

A technology of distributed transactions and processing methods, applied in the field of distributed transaction processing methods and devices, and distributed transaction processing methods and devices based on stream computing, which can solve problems such as application violations, serious problems, and inability to be widely popularized

Active Publication Date: 2018-08-28
CITIC AIBANK CORPORATION LIMITED
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0037] Solution 1 defect: The main defect of the 2PC solution is that once the transaction coordinator (Coordinator) has a system abnormality, the entire transaction control process will have a split-brain problem
[0038] Solution 2 defect: The main problem of TCC is that it infringes too much on the application system, requiring application developers not only to pay attention to business implementation, but also to design consistency control and exception handling, and the resources reserved in the TRYING stage are reserved for the system in abnormal situations. Relatively high loss, limiting overall throughput
The TCC development model has certain applications in Internet companies with a high level of technology, but in general, its application is invasive and cannot be widely popular
[0039] Disadvantage of Solution 3: Compensation mode is the mainstream choice of distributed architecture at this stage
[0041] 2. Since the positive transaction has been submitted for a period of time when the reversal occurs, the long time difference may cause the reversal to fail, resulting in data inconsistency
Moreover, the reverse transaction based on the program call may also be abnormal, resulting in the failure of the reverse

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0105] In order to make the technical solution of the present invention easier to understand, the technical solution of the present invention will be described clearly and completely by means of specific embodiments in conjunction with the accompanying drawings. It should be noted that the embodiments described here are only some of the embodiments of the present invention, rather than all implementations of the present invention. The embodiments are only illustrative, and their role is only to provide examiners and the public with an understanding of the content of the present invention. A more intuitive and clear manner, rather than a limitation to the technical solution of the present invention. On the premise of not departing from the concept of the present invention, all other implementations that can be thought of by those skilled in the art without creative work, and other simple replacements and various changes to the technical solutions of the present invention, all be...

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 belongs to the technical field of distributed computation and discloses a distributed transaction processing method and a device thereof. The distributed transaction processing method includes the steps of application development, transaction management attribute definition, event definition, streaming calculation and transaction management. To be specific, the method includes the steps of acquiring and identifying event information in real time through the streaming calculation, acquiring transaction management attributes in real time, periodically verifying transaction status based on the event information and the transaction management attributes, initiating a verification request and / or a reversal request based on the transaction status, and sending transaction status verification instructions and / or reversal instructions through a transaction manager. With the above-mentioned scheme, the distributed transaction processing method and the device thereof have the advantages of allowing transaction control and the application development to be completely decoupled, not requiring development transaction control logic for the application development, greatly simplifying development difficulty, realizing fast rollback of transactions under abnormal scenarios, tolerating failure of any node and having no brain splitting problem.

Description

technical field [0001] The invention belongs to the technical field of distributed computing, and relates to a distributed transaction processing method and device, in particular to a stream computing-based distributed transaction processing method and device. Background technique [0002] Explanation of related terms: [0003] Transaction: generally refers to something to be done or done. In computer terms, it refers to a program execution unit (unit) that accesses and possibly updates various data items in a database. Transaction (Transaction) is a program execution unit (unit) that accesses and possibly updates various data items in the database. Transactions are usually caused by the execution of user programs written in advanced database manipulation languages ​​or programming languages ​​(such as SQL, C++ or Java), and are defined by statements such as begintransaction and end transaction (or function calls). A transaction consists of all operations performed betwee...

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/54G06F17/30
CPCG06F9/542G06F16/2365G06F16/2372G06F16/24568G06F16/27
Inventor 周北春朱清沂周竣涛孟德君
Owner CITIC AIBANK CORPORATION LIMITED
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