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

Distributed transaction exception processing method, device, computer equipment and storage medium

A distributed transaction and exception handling technology, which is applied in the field of computer equipment and storage media, distributed transaction exception processing methods, and devices, and can solve problems such as cumbersome operations

Active Publication Date: 2021-05-11
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF18 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a distributed transaction exception processing method, device, computer equipment and storage medium for the problem that the traditional method is relatively cumbersome.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0078] figure 1 It is an application scenario diagram of the distributed transaction exception handling method in an embodiment. refer to figure 1 , the application scenario includes a transaction manager 110 and multiple participant nodes 120 connected through a network. Wherein, the participant node 120 is the database. The transaction manager 110 is a device for managing transactions. Transaction manager 110 may be a server. The server can be implemented by an independent server or a server cluster composed of multiple physical servers.

[0079] The transaction manager 110 can acquire 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 present application relates to a distributed transaction exception processing method, device, computer equipment and storage medium, the method comprising: acquiring the transaction identifier to be submitted; writing the transaction identifier and the transaction identifier into a preset storage space The corresponding status mark to be submitted; send the first submission request for the transaction to the participant node in the distributed system; when the participant node executes the first submission request abnormality, then from the preset storage space Read the to-be-committed status mark corresponding to the identification of the transaction; according to the to-be-committed status mark, send a second submission request to the participant node; the second submission request is used to instruct the participant Nodes commit the transaction. The solution of the present application can save costs.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a distributed transaction exception processing method, device, computer equipment and storage medium. Background technique [0002] With the rapid development of science and technology, various technologies emerge in an endless stream, and distributed transaction processing technology is also widely used in daily applications. Two-phase commit is a commonly used distributed transaction commit method. However, when committing a distributed transaction through two phases, if an exception occurs in the commit phase, the transaction state will be lost, and the final commit of the transaction cannot be completed. [0003] In the traditional method, in the two-phase commit process, if an exception occurs when a participant node submits a transaction, the participant node reads its own transaction log, judges its own state, and then actively communicates with the transaction manager ...

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): G06F11/07G06F11/14
CPCG06F11/0709G06F11/0715G06F11/0793G06F11/1443G06F11/1464G06F11/1469
Inventor 赵伟唐颢赵东志
Owner TENCENT TECH (SHENZHEN) 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