Distributed affair submitting method and device thereof

A distributed transaction and transaction technology, applied in the field of transaction processing, can solve the problems of unable to share data, unable to support database update and service and client update, unable to end transactions in time and rollback, etc., to achieve high processing efficiency Effect

Active Publication Date: 2011-05-25
BEIJING FEINNO COMM TECH
View PDF5 Cites 72 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] 1. Each transaction branch cannot be processed in sequence;
[0015] 2. When there are many transaction branches that make up a distributed transaction, the efficiency of distributed transaction processing is very low, and it is impossible to end the transaction and roll back in time;
[0016] 3. The transaction branches that make up the distributed transaction cannot share data;
[0017] 4. Heterogeneous databases must all support the XA protocol;
[0018] 5. It does not support updating the database and updating the service and client at the same time

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 affair submitting method and device thereof
  • Distributed affair submitting method and device thereof
  • Distributed affair submitting method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0045] figure 1 It is a flow chart of the distributed transaction submission method of the embodiment of the present invention; as figure 1 Said, the distributed transaction submission method includes:

[0046] Step A: Divide the distributed transaction into multiple sub-transactions;

[0047] In this step, a distributed transaction can be divided into multiple sub-transactions according to business requirements. Since the specific division method is not the focus of the present invention, it will not be described in detail here.

[0048] Step B: Execute the multiple sub-transactions in stages, if one of the multiple sub-transactions fails, go to step C; if all the multip...

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 distributed affair submitting method which comprises the following steps of: A, diving a distributed affair into a plurality of sub-affairs; B, executing the sub-affairs in a grading way, wherein a step C is executed if one of the sub-affairs is unsuccessfully executed, and a step D is executed if all the sub-affairs are successfully executed; C, backwards rolling all the sub-affairs in the stage and the former stage of the sub-affairs which are unsuccessfully executed; and D, submitting the update required by the distributed affair. By using the method, the distributed affair submitting efficiency can be improved, the affair can be timely ended and backwards rolled, each affair branch can be processed according to a sequence when the affair branches which form into the distributed affair are multiple and the data is shared among each affair branch which forms into the distributed affair, and the distributed affair can be submitted to a cross-database platform under the condition that all heterogeneous database do not need to support an AX (auxiliary amplifier) protocol.

Description

technical field [0001] The invention relates to the technical field of transaction processing, in particular to a distributed transaction submission method and device. Background technique [0002] Transaction (Transaction) is the unit of concurrency control, which is an operation sequence defined by the user. These operations are either done or not done, and are an indivisible unit of work. Distributed transaction processing means that a transaction may involve multiple database operations. The key to distributed transaction processing is that there must be a way to know all the actions performed by the transaction anywhere, and the decision to commit or roll back the transaction must produce a unified result. (commit all or rollback all). [0003] In the network chat system, the number of users is huge (hundreds of millions of users), and user information needs to be stored in different databases, and the data distribution is carried out according to users and services a...

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/46G06F15/173G06F17/30
Inventor 高磊李春雷
Owner BEIJING FEINNO COMM TECH
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