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

Distributed transaction processing method, device and system

A distributed transaction and distributed system technology, applied in the field of distributed transaction processing methods, devices and systems, can solve the problems of high implementation cost of cancellation processing logic, impact on system reliability and stability, complex and changeable cancellation processing logic, etc. , to achieve reasonable and effective use, increase the success rate, and reduce development costs

Active Publication Date: 2019-11-05
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the introduction of cancellation processing logic in the TCC scheme, it is necessary to configure cancellation processing logic for all business operations in the software system
If the requirements of the software system are changeable and the business logic is complex, the corresponding cancellation processing logic will also be complex and changeable, resulting in a high implementation cost of the cancellation processing logic, which will bring a large development cost to the software system, and even affect the system Reliability and stability both affect

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0051] The network architecture and business scenarios described in the embodiments of the present invention are for more clearly illustrating the technical solutions of the embodiments of the present invention, and do not constitute limitations on the technical solutions provided by the embodiments of the present invention. The evolution of technology and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0052] figure 1 A schematic diagram of a possible application scenario provided by the embodiment of the present invention is shown. The application scenario may be a distributed system, and the application scenari...

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 discloses a distributed transaction processing method, device and system, and belongs to the distributed system field; the method comprises the following steps: a business node in the distributed system receives a business request sent by a requestor device, and the business node receiving the business request serves as the main business node; the main business node determines N slave business nodes (besides the main node itself) used for processing business requests; the main business node invokes N slave business nodes to respectively execute corresponding transactions according to the business request and transactions executed by various slave business nodes; the main business node obtains execution results from each slave business node; if a slave business node fails in execution, the main business node can re-invoke the failed slave business node to execute the corresponding transaction according to the preset retry strategy. The method, device and system can effectively solve problems of a 2PC scheme and a TCC scheme.

Description

technical field [0001] The present invention relates to the field of distributed systems, in particular to a distributed transaction processing method, device and system. Background technique [0002] Distributed Transaction (Distributed Transaction) means that the participants of the transaction, the server supporting the transaction, the resource server and the transaction manager are respectively located on different nodes of different distributed systems. Distributed transaction processing involves operations on multiple databases, and the key to distributed transaction processing is to maintain the data consistency of each database. [0003] The two-phase commit protocol (Two-Phase Commit protocol, 2PC) is a common distributed transaction processing scheme. Phase 1 of the 2PC scheme can be called the preparation phase or the voting phase, and phase 2 can be called the submission phase. In the first stage, the transaction manager sends a data operation request to each ...

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/46
CPCG06F9/465G06F9/466
Inventor 张庆期
Owner HUAWEI 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