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

A distributed transaction processing method and device

A technology of distributed transaction and processing method, applied in the field of distributed transaction processing method and device, distributed transaction processing method and device based on stream computing, can solve problems such as application system infringement, correction of transaction abnormality, data inconsistency, etc. , to achieve the effect of improving development efficiency, reducing labor costs, and data quasi-consistent

Active Publication Date: 2022-04-15
CITIC AIBANK CORPORATION LIMITED
View PDF4 Cites 0 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
  • A distributed transaction processing method and device
  • A distributed transaction processing method and device
  • A 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, the technical solutions of the present invention are clear and completely descriptions of the technical solutions of the present invention in a manner, in a manner, in connection with the accompanying drawings. It should be noted that the embodiments described herein are only the embodiments of the present invention, and the embodiments are not intended to be exemplary, and their effects are only for examiners and the public. More intuitive way, not the limitations of the technical solutions of the present invention. Other embodiments that are not intended to make creative labor without departure without departing from the concept of the present invention, and other simple replacements and variations of the technical solutions of the present invention belong to the scope of the present invention. .

[0106] The technical scheme of the present invention will be specifically described below with bank transactio...

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 computing, and discloses a distributed transaction processing method and device. The method includes the steps of application development, transaction management attribute definition, event definition, streaming computing, and transaction management, acquiring and identifying event information in real time through streaming computing, and acquiring transaction management attributes in real time , periodically verifying the transaction state according to the event information and transaction management attributes, initiating a verification request and / or reversing request according to the transaction state, and sending a transaction state verification instruction and / or reversing instruction through the transaction manager. Through this solution, transaction control and application development are completely decoupled, and application development does not need to develop transaction control logic, which greatly simplifies development difficulty, realizes fast transaction rollback in abnormal scenarios, tolerates failure of any node, and has no split-brain problem.

Description

Technical field [0001] The present invention belongs to the field of distributed computing techniques, and is relate to a distributed transaction processing method and apparatus, and more particularly to a distributed transaction processing method and apparatus based on streaming calculation. Background technique [0002] Related terms explanation: [0003] Transaction: Generally mean what to do or do. In a computer term, a program execution unit (Unit) that is accessed and may update the various data items in the database. Transaction is an access and may update a program execution unit (Unit) of various data items in the database. Transactions are typically caused by execution of user programs written by advanced database manipulating languages ​​or programming languages ​​(such as SQL, C ++ or Java), and is used to define as Begintrarsction and End Transaction statements (or function calls). The transaction consists of all the operations performed by the BEGINTRANSACTION and t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54G06F16/23G06F16/2455G06F16/27
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