Transaction processing method and device, equipment and storage medium

A transaction processing and transaction technology, applied in the computer field, can solve problems such as distributed transaction protocol blocking, and achieve the effects of preventing protocol blocking, improving throughput, and improving availability.

Pending Publication Date: 2021-12-31
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] The embodiment of the present application provides a transaction processing method to s

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0059] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0060] The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein.

[0061] The embodiment of the present application can be applied to data processing fields such as databases. When the resource manager cannot obtain the command of the transaction coordinator, it can judge whether the branch transaction is executed in time according to the start exe

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 embodiment of the invention provides a transaction processing method and device, equipment and a storage medium, and aims to solve the problem that in the prior art, distributed transactions are prone to protocol blocking. The method comprises the following steps: acquiring a branch identifier of a branch transaction, wherein the branch identifier comprises a first time parameter and a second time parameter, where the first time parameter comprises execution starting time of the branch transaction, and the second time parameter comprises preset timeout time of a global transaction corresponding to the branch transaction; determining the execution duration of the branch transaction according to the first time parameter; if the execution duration exceeds the second time parameter, executing rollback processing operation on the branch transaction, releasing a data table corresponding to the branch transaction, preventing protocol blockage caused by long-term locking of the data table, and improving the throughput rate of transaction processing. The availability of the system is improved under the condition that the network anomaly probability in the micro-service architecture is relatively high.

Description

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

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
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products