Distributed transaction processing method, device and system

A technology of distributed transactions and processing methods, applied in the field of distributed transaction processing methods, devices and systems, capable of solving problems such as large number of requests, large resource occupation, redundant processes, etc.

Inactive Publication Date: 2016-07-20
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The number of requests involved is large, the proce

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, device and system
  • Distributed transaction processing method, device and system
  • Distributed transaction processing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0132] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0133] The terms used in the present disclosure are only for the purpose of describing specific embodiments, and are not intended to limit the present disclosure. The singular forms "a", "said" and "the" used in the present disclosure and appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "an...

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 method, device and system.The method comprises the steps that after a first-stage transaction in a distributed transaction is executed, the first-stage transaction is submitted; whether the first-stage transaction is successfully submitted or not is detected; if yes, a first notification message with a first detection result indicating that the first-stage transaction is successfully submitted is sent to a control thread, so that the control thread notifies second service nodes corresponding to a second server cluster and a second database cluster to start executing a second-stage transaction in the distributed transaction after receiving the first notification message.According to the distributed transaction processing method, device and system, the interaction procedure between first service nodes and the control thread is simplified, no single point fault problem exists, related requests are few, and occupation to a system and network resources is also little.

Description

technical field [0001] The present disclosure relates to the communication field, and in particular to a distributed transaction processing method, device and system. Background technique [0002] In related technologies, when executing a distributed transaction, the service node needs to send a request to the control center for each execution step, and the control center controls operations such as writing into the database and data rollback according to the distribution of the process. The number of requests involved is large, the process is redundant, and it takes up a lot of resources. Contents of the invention [0003] In view of this, the present disclosure provides a distributed transaction processing method and device to solve the deficiencies in related technologies. [0004] According to a first aspect of an embodiment of the present disclosure, a distributed transaction processing method is provided, the method is used for a first service node, and the first se...

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/46G06F17/30
CPCG06F9/466G06F16/2358G06F16/2365G06F2209/462
Inventor 张旭华张涛刘硕
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD
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