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

Distribution transaction processing method and device

A distributed transaction and transaction technology, applied in the field of data processing, can solve the problem of large intrusion into the business system, and achieve the effect of achieving overall consistency

Active Publication Date: 2018-11-20
ADVANCED NEW TECH CO LTD
View PDF9 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is that it has a large intrusion into the business system, and the business system needs to implement branch transaction preparation, commit and rollback strategies

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
  • Distribution transaction processing method and device
  • Distribution transaction processing method and device
  • Distribution transaction processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The solutions provided in this specification will be described below in conjunction with the accompanying drawings.

[0034] figure 1 It is a schematic diagram of an implementation scenario of an embodiment disclosed in this specification. This implementation scenario involves the processing of distributed transactions. Under the existing SOA-based architecture mode, the cluster is generally divided into multiple applications based on functions. A single application generally uses an independent data source. These multiple applications implement distributed Transactions, where a single application is a participant in a distributed transaction, a distributed transaction behavior is called a main transaction, and in a distributed transaction behavior involving multiple participants, the data operations each participant is responsible for constitute a branch transaction. Such as figure 1 As shown, each application executes corresponding branch transactions. For example, ...

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 device. A distributed transaction refers to data operations, for a plurality of data sources of a plurality of participators, wherein the data operation, for the corresponding data source, of each participator forms a branch transaction. The method comprises the following steps of: firstly intercepting the data operation for the data source when each participator executes the branch transaction, wherein the data operation comprises an operation of submitting the branch transaction or an operation of rolling back the branch transaction; generating a rollback log according to the operation, wherein the rollback log comprises operation revocation information of the operation; monitoring whether the rollback log corresponding to each branch transaction in the plurality of branch transactions is generated in a preset time period or not; and if the rollback logs corresponding to a part of the plurality of branch transactions are not monitored in the preset time period, executing the overall rollback of the distributed transaction according to the rollback logs corresponding to the other branch transactions, so as to realize the overall consistency of the distributed transaction under the condition that a business system has no sense.

Description

technical field [0001] One or more embodiments of this specification relate to the field of data processing, and in particular to methods and devices for processing distributed transactions. Background technique [0002] A service-oriented architecture (service-oriented architecture, SOA) architecture is a component model that connects the different functional units of an application (called services) through well-defined interfaces and contracts between these services. In the existing SOA-based architecture mode, clusters are generally divided into multiple applications based on functions, and a single application generally uses an independent data source. These multiple applications implement distributed transactions. Among them, a single application is a distributed transaction Participants, a distributed transaction behavior is called a main transaction, and in a distributed transaction behavior involving multiple participants, the data operations that each participant i...

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/54
CPCG06F9/466G06F9/547
Inventor 雷佳
Owner ADVANCED NEW TECH CO LTD
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