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

TCC-based micro-service distributed transaction system and service processing method

A distributed transaction and business processing technology, applied in TCC-based micro-service distributed transaction system and business processing field, can solve problems such as complex use and single flexibility, and achieve simple solutions, flexible expansion of services, and support for response speed Effect

Pending Publication Date: 2021-02-05
SHENZHEN COMTOP INFORMATION TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing technical solutions are not only complicated to use, but most of them rely on the XA technology of the database to achieve, the coupling database is too strong, and the flexibility is relatively single

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
  • TCC-based micro-service distributed transaction system and service processing method
  • TCC-based micro-service distributed transaction system and service processing method
  • TCC-based micro-service distributed transaction system and service processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the associated drawings. Typical embodiments of the invention are shown in the drawings. However, the present invention can be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of the present invention will be thorough and complete.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.

[0025] The general idea of ​​the present invention is to introduce the concept of TCC into micro-service distributed transactions, ...

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 discloses a TCC-based micro-service distributed transaction system and a service processing method, and the method comprises the steps: building a unified transaction context object foreach service request, placing the unified transaction context object in a cache, correspondingly updating the unified transaction context object for some subsequent service calls generated based on the service request, especially, the transaction calling chain reflects the sequence of service calling. When any service node is abnormal, the calling sequence of the previous service can be determinedbased on the transaction calling chain, and the compensation service of each service can be called in sequence according to the reverse sequence, so that the consistency of data can be ensured, and the scheme is simple, services can be flexibly expanded, the method is flexible and controllable, excellent performance is achieved, the response speed under the concurrent condition can be effectivelysupported, all the service modules can be rapidly split and combined, and different service integration scenes of enterprises are met.

Description

technical field [0001] The invention relates to the field of distributed transactions, in particular to a TCC-based microservice distributed transaction system and a business processing method. Background technique [0002] Distributed transaction is a technical difficulty in enterprise integration, and it is also a problem involved in every distributed system architecture. At present, the solution to distributed transaction is mainly discussed in the engineering field of strong consistency and eventual consistency. Solutions, typical solutions mainly include two-phase commit (2PC) scheme, local message table scheme, open source TCC compensation mode, and final consistency of cached data. Existing technical solutions are not only complicated to use, but most of them rely on the XA technology of the database to realize, the coupling database is too strong, and the flexibility is relatively single. Contents of the invention [0003] The technical problem to be solved by 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/54
CPCG06F9/547G06F9/544
Inventor 赵铭林镇锋易文峰翟羽佳陈佳山蔡子琪赵夷凡陈伟锐
Owner SHENZHEN COMTOP INFORMATION TECH