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

Distributed transaction processing method and device, medium and equipment

A technology of distributed transactions and processing methods, applied in the fields of media and equipment, devices, and distributed transaction processing methods, which can solve problems such as poor performance

Pending Publication Date: 2021-06-08
HANGZHOU NETEASE CLOUD MUSIC TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Embodiments of the present disclosure provide a distributed transaction processing method, device, medium, and equipment to solve the problem of poor performance of current distributed transaction processing schemes

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0112] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present disclosure.

[0113] It should be noted that the "multiple or several" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship.

[0114] The...

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 relates to a distributed transaction processing method and device, a medium and equipment. And when a distributed transaction processing request is received, distributed transaction processing is realized based on a TCC protocol. Based on a branch transaction command record table and a global transaction command record table stored in a business database, storage of configuration and operation record information related to a corresponding transaction command is realized, and then according to an execution result of an interface in each branch transaction attempt stage, and according to the branch transaction command record table and the global transaction command record table, the determined distributed transactions and the state of each branch transaction, processing of the confirmation stage and the revocation stage of the distributed transactions is achieved, and therefore distributed transaction processing is achieved. Due to the fact that the branch transaction command record table and the global transaction command record table are stored in the same database with the service data, distributed transaction processing can be achieved based on the same-database coordination mode, network IO is effectively reduced, and therefore the system performance is effectively improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a distributed transaction processing method, device, medium and equipment. Background technique [0002] This section is intended to provide a background or context for implementations of the disclosure that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] With the change of business requirements and architecture, after the software system develops from a single application to a distributed system, the scalability of the system capacity is realized by splitting the software system into microservices. Divide global transactions into branch transactions in several domains, and the data consistency within each service can be guaranteed by local branch transactions. However, due to the complexity of the physical environment such as network packet loss, hardware damage, and dependency timeout, l...

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/46G06F16/23
CPCG06F9/466G06F16/2379G06F16/2365
Inventor 徐威何兵兵丁骏
Owner HANGZHOU NETEASE CLOUD MUSIC 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