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

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

A technology of distributed transaction and processing method, applied in the field of distributed transaction processing method, electronic equipment and storage medium, and device, and can solve problems such as business code intrusion

Active Publication Date: 2019-11-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF20 Cites 4 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 and device, electronic equipment and storage medium
  • Distributed transaction processing method and device, electronic equipment and storage medium
  • Distributed transaction processing method and device, electronic equipment 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 invention provides a distributed transaction processing method and device, electronic equipment and a storage medium, and relates to the field of computers. The method comprises the following steps: acquiring a service operation request sent by requester equipment, wherein the service operation request carries an operation identifier of service operation; according to the operation identifier,determining at least two target participant nodes used for executing the business operation from all participant nodes; obtaining and storing a snapshot of each target participant node, wherein the snapshots are snapshots of service data corresponding to the service operation in the target participant nodes; calling each target participant node to execute the sub-operation of the corresponding business operation and obtaining the execution result of each target participant node; and if the execution result of one node in each target participant node is execution failure, sending a snapshot corresponding to each node to each target participant node, so that each target participant node restores the corresponding service data to a state before executing the corresponding sub-operation according to the snapshots.

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