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

Distributed transaction processing system

A distributed transaction and processing system technology, applied in transaction processing, electronic digital data processing, database distribution/replication, etc., can solve the problems of not providing transaction isolation guarantee, operation coverage, lack of distributed transactions, etc., to ensure data consistent effect

Active Publication Date: 2020-09-11
BANK OF CHINA
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main disadvantages of the 2PC scheme: 1) Synchronous blocking: Since both stages use synchronous blocking, it will cause performance loss
2) The transaction manager has a single point of failure problem. If the second stage fails, other participants will always be locked
The main disadvantages of the TCC solution: 1) It is relatively intrusive to business services, and business services need to be transformed to provide Try, Confirm, and Cancel interfaces; 2) It is difficult to implement, and the business service layer needs to provide different rollbacks for failure reasons in different situations Strategy; 3) When the business service implements the Confirm and Cancel interfaces, it needs to ensure idempotence
The main disadvantage of the Saga scheme: it does not provide transaction isolation guarantees: each sub-transaction is submitted in turn, and at this time another transaction will read the data of the intermediate process when the resource is queried, so if the same resource is operated at the same time, it may cause operation coverage. Dirty data and other issues
The main disadvantages of eventual consistency based on message queues: 1) The downstream system needs to negotiate with the upstream system on how to achieve idempotence
[0010] The above existing technical solutions are relatively independent, and each technical solution has multiple implementations. For the above business scenarios, it is necessary for each business service to implement the corresponding functions or refer to the implementation of the third party, which will cause interfaces and standards between services. Inconsistent, repeated development, the scale of the system is difficult to expand, thus restricting the continuous evolution of the system architecture, and it is difficult to form a unified enterprise-level microservice business middle platform architecture
[0011] To sum up, there is currently a lack of a unified distributed transaction processing system to solve the problem of data inconsistency in distributed transaction processing

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 system
  • Distributed transaction processing system
  • Distributed transaction processing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0031] In the description of this specification, the words "comprising", "comprising", "having", "containing" and so on are all open terms, meaning including but not limited to. A description referring to the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one of the present application. Examples or examples. In this specification, schematic representations of the above terms do not ne...

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 system, which comprises a transaction configuration module used for configuring a business service name, a business service method name anda transaction mode type of a business service according to an application scene of the business service; a server which comprises a first distributed transaction control component used for obtaining aglobal transaction identifier of a distributed transaction after receiving a distributed transaction starting request of service orchestration and according to the global transaction identifier of the distributed transaction and the type of the transaction mode of the business service in the service orchestration, controlling the configured business service in the distributed transaction in combination with a second distributed transaction control component; a global unified signal sending component which is used for generating a global transaction identifier of the distributed transaction;and a client which comprises a second distributed transaction control component which is used for controlling the configured business service in the distributed transaction in combination with the first distributed transaction control component. According to the invention, the data consistency problem of distributed transactions can be solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a distributed transaction processing system. Background technique [0002] In the process of transforming the traditional large-scale monolithic enterprise architecture to the microservice architecture, the monolithic system is divided into microservices that can be deployed independently according to the business value, so as to achieve the purpose of high availability, flexible scaling, and agile development. However, due to the independent deployment of service databases under the microservice architecture, how to maintain data consistency between services has become a major problem in the transformation process. [0003] Most of the existing distributed transaction solutions are implemented according to specific scenarios, and the interfaces between the various solutions are not uniform. The application system needs to be customized and secondary developed according to diff...

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): G06F9/46G06F9/54G06F16/23G06F16/2455G06F16/27
CPCG06F9/466G06F9/546G06F9/547G06F16/2365G06F16/2455G06F16/27
Inventor 蔡任王敏黄勋
Owner BANK OF CHINA
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