Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed transaction processing method, device, electronic device and storage medium

A technology of distributed transactions and processing methods, applied in the field of devices, electronic equipment and storage media, and distributed transaction processing methods, can solve problems such as business code intrusion, achieve the effect of meeting actual application requirements and reducing business code intrusion

Active Publication Date: 2021-10-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that the current distributed transaction processing solutions in the industry partially rely on the transaction processing capabilities provided by the database, and some have relatively large intrusions on business codes. At present, there is no solution that is both general and does not greatly intrude on business codes.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0102] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and should not be construed as limiting the present invention.

[0103] Those skilled in the art will understand that the singular forms "a", "an", "it" and "the" used herein may also include plural forms unless otherwise stated. It should be further understood that the word "comprising" used in the description of the present application refers to the presence of features, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, components and / or groups thereof. It will be understood that w...

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 present application provides a distributed transaction processing method, device, electronic equipment and storage medium, relating to the computer field. The method includes: obtaining a service operation request sent by a requesting device, where the service operation request carries an operation identifier of the service operation; according to the operation identifier, determining at least two target participant nodes for performing the service operation from all participant nodes ; Obtain and save the snapshot of each target participant node. The snapshot is a snapshot of the business data corresponding to the business operation in the target participant node; call each target participant node to execute the sub-operation of the corresponding business operation and obtain the target participation the execution result of the participant node; if the execution result of one node in each target participant node is execution failure, then send the snapshot corresponding to each node to each target participant node, so that each target participant node will correspond to the corresponding node according to the snapshot The business data of is restored to the state before the execution of the corresponding sub-operation.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, the present application relates to a distributed transaction processing method, device, electronic equipment and storage medium. Background technique [0002] Today, when distributed deployment and microservices are popular, distributed transactions widely exist in various Internet systems. The execution process of a distributed transaction generally includes a coordinator and a participant node. The coordinator can send commands to the participant nodes in order to control the participant nodes to perform distributed transaction operations. Among the current distributed transaction processing schemes in the industry, there are mainly two schemes: Two-Phase Commit protocol (Two-Phase Commit protocol, 2PC) and Try-Confirm-Cancel (Try-Confirm-Cancel, TCC). [0003] For the 2PC scheme, it requires each participant node to save the Undo log (used to record the data bef...

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/46G06F11/14G06F16/27G06Q10/08G06Q30/06
CPCG06F9/466G06F11/1471G06Q10/087G06Q30/0635G06F16/27
Inventor 曹智颖
Owner TENCENT TECH (SHENZHEN) CO LTD