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

Distributed transaction processing method, device and system and electronic equipment

A technology for distributed transactions and processing methods, applied in the fields of distributed transaction processing methods, systems and electronic equipment, and devices, can solve the problems of dirty data reading, limited usage scenarios, and long transaction time, so as to avoid dirty reading and improve Effects of processing efficiency, achieving consistency and concurrency

Active Publication Date: 2021-08-13
中电金信软件有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current distributed transactions are divided into strong consistency and weak consistency; among them, strong consistency can ensure the strong consistency of data under distributed transactions, but this method needs to keep the transaction for a long time, which may cause problems such as deadlock , the performance is relatively low, and the usage scenarios are limited. Therefore, most of the existing distributed transactions adopt weak consistency. Although this method can ensure the final data consistency of the transaction, data dirty reading may occur, that is, a distributed transaction can read The data being accessed by unfinished distributed transactions leads to the inability to guarantee data consistency and concurrency performance during distributed transaction processing, thus affecting the processing efficiency of distributed transactions

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, device and system and electronic equipment
  • Distributed transaction processing method, device and system and electronic equipment
  • Distributed transaction processing method, device and system and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0029] Aiming at the problem of dirty reads in existing distributed transactions during weak consistency processing, embodiments of the present invention provide a distributed transaction processing method, device, system and electronic equipment, by storing the pending operation information corresponding to the transaction in The storage server, when the execution status of the firs...

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, device and system and electronic equipment. The method comprises the following steps: a central server allocates global transaction information to a transaction corresponding to a transaction initiation request in response to the transaction initiation request of a first transaction server; the global transaction information is distributed to a second transaction server participating in the transaction through the first transaction server, so that the second transaction server feeds back to-be-operated item information corresponding to the transaction according to the global transaction information; item information to be operated corresponding to the global transaction information is stored to a storage server; and when it is monitored that the execution state of executing the transaction by the first transaction server is successful, the to-be-operated item information corresponding to the global transaction information in the storage server is processed, so that the consistency and concurrency of data in the distributed transaction processing process are realized, and the processing efficiency of the distributed transaction is improved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a distributed transaction processing method, device, system and electronic equipment. Background technique [0002] With the development of the Internet and the ever-changing needs of users, various application businesses are becoming more and more complex, especially those related to the financial industry, most of which adopt distributed architecture to achieve effective services. In a distributed architecture, the same transaction business may need to be accessed across multiple databases, such as read operations and / or write operations. In order to ensure the consistency of data access across multiple databases, most financial transactions are conducted using distributed transactions. deal with. [0003] In practical applications, distributed transactions have final consistency. For example, if a distributed transaction modifies a certain data from A to B, then, during the ...

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 Applications(China)
IPC IPC(8): G06F9/46G06F16/23G06F16/2458G06F16/27
CPCG06F9/466G06F16/23G06F16/2471G06F16/27
Inventor 桑建伟
Owner 中电金信软件有限公司
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