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

A distributed transaction and processing method technology, applied in the field of distributed transaction processing, can solve the problems of distributed transaction reliability, message consumption, idempotence and low versatility, and achieve the effect of ensuring consistency and improving versatility

Inactive Publication Date: 2019-11-22
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the inventors of the present invention found that in the above solutions, each message consumer needs to realize idempotence by itself, and each consumer must deeply understand the business requirements to realize idempotency, and whether it is successfully completed business processing
Therefore, the generality of the existing technology to realize the idempotency of distributed transaction reliable message consumption is not 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, computer equipment and storage medium
  • Distributed transaction processing method and device, computer equipment and storage medium
  • Distributed transaction processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification.

[0038] The distributed transaction processing method in some embodiments of this specification can be applied to consumer service systems in distributed systems.

[0039] refer to figure 1 As shown, the distributed transaction processing method in some embodiments of this specification may include the following steps:

[0040] S101. Obtain a transaction messa...

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

Embodiments of the invention provide a distributed transaction processing method and apparatus, computer equipment and a storage medium. The method comprises the steps of obtaining a transaction message from a message queue; according to the message identifier of the transaction message, querying a corresponding relation table of the message identifier and a consumption state to confirm the consumption state of the transaction message; and if the consumption state of the transaction message is consumption success or consumption, giving up to execute the consumption method corresponding to thetransaction message. According to the embodiment of the invention, the universality of realizing the idempotent consumption of the reliable messages of the distributed transaction can be improved.

Description

technical field [0001] This description relates to the technical field of distributed transaction processing, and in particular to a distributed transaction processing method, device, computer equipment, and storage medium. Background technique [0002] Distributed transactions based on reliable messages are a solution to bind messages in distributed transactions to ensure the consistency of transactions and messages. It has been widely used in distributed business background systems. In this solution, the initiator of the transaction sends a message containing the request parameters to the reliable message service before business processing, and the message status is pending confirmation; when the business processing is successful, the reliable message service is notified, and the message status is updated to confirmed and sent Send a message to a message queue. The message consumer receives the message from the message queue, performs business processing, and notifies 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/23G06F16/25G06Q20/38G06F9/54
CPCG06F16/2379G06F16/252G06Q20/389G06F9/546
Inventor 曹辉健滕达隋臣王宇轩
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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