Supercharge Your Innovation With Domain-Expert AI Agents!

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

A technology of distributed transactions and processing methods, applied in transaction processing, distributed object-oriented systems, multi-program devices, etc., can solve problems such as high cost and complex processing flow

Pending Publication Date: 2022-02-18
重庆市通信建设有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present application is to provide a distributed transaction processing method, device, electronic equipment, and computer storage medium to solve the problem that the existing distributed transaction processing needs to introduce a third-party framework, the processing process is complicated, and the cost is high

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] In order to solve the problem that the existing distributed transaction processing method needs to introduce a third-party framework, the processing process is complicated, and the cost is high, the embodiment of this application provides a new distributed transaction processing method, which can be applied to the server , can also be applied to the terminal, for details, please refer to figure 1 as shown, figure 1 It is a schematic flowchart of the distributed transaction processing method provided in the embodiment of this application, including:

[0046] S101: Whenever a distributed transaction request is received, a corresponding data operation record is generated according to the distributed transaction request, and each data operation record includes data content operation information, transaction identification information, and operation submission status.

[0047] The data operation records generated in step S101 can be found in figure 2 As shown, for each da...

Embodiment 2

[0066] In order to better understand the solution provided by the present invention, this embodiment provides a more specific solution. For the specific process, please refer to image 3 shown, including:

[0067] S301: Whenever a distributed transaction request is received, generate a corresponding data operation record according to the distributed transaction request.

[0068] Each data operation record generated in step S301 includes data content operation information, transaction identification information, and operation submission status information, where the operation submission status may be a pre-commit status. Developers can pre-set the items included in the data operation record. For example, the data operation record can include a data content operation field, a transaction identification field (hereinafter referred to as the K field), and an operation submission status field (hereinafter referred to as the S field). The field S is defined as Two states, 1 represe...

Embodiment 3

[0080] See Figure 4 As shown, this embodiment provides a distributed transaction processing device, including: a record generation module 401, a pre-submission module 402, an actual submission module 403, and a confirmation module 404; When a transaction request is made, a corresponding data operation record is generated according to the distributed transaction request, and each data operation record includes data content operation information, transaction identification information, and operation submission status; the pre-submission module 402 is used to operate the data content in the data operation record The information is pre-submitted; the actual submission module 403 is used to filter out the data operation records corresponding to the same distributed transaction request according to the transaction identification information, and when it is confirmed that the pre-submission of all data content operation information corresponding to the same distributed transaction re...

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 computer storage medium. Aiming at a received distributed transaction request, whether the data content operation information corresponding to the distributed transaction request is actually submitted successfully or not can be determined through the value of the operation submission state in the corresponding data operation record and the transaction identification information, then whether the distributed transaction request is successfully responded or not can be determined, and distributed transaction processing can be realized without introducing a third-party framework, so the process is simple, and the development and maintenance cost is reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, to a distributed transaction processing method, device, electronic equipment and computer storage medium. Background technique [0002] Most of the existing distributed transaction-related business processing is realized by introducing a third-party framework. The typical one is the TCC distributed transaction framework, but the business logic processing process of the TCC distributed transaction framework is complicated. Moreover, due to the introduction of third-party frameworks, development costs and maintenance costs are relatively high. Contents of the invention [0003] The purpose of the embodiments of the present application is to provide a distributed transaction processing method, device, electronic equipment, and computer storage medium to solve the problem that the existing distributed transaction processing needs to introduce a third-party framework, the ...

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/46
CPCG06F9/466G06F9/465
Inventor 何山杨朴刘波郑浩何晓晔代莉龚才语王军胡建
Owner 重庆市通信建设有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More