Distributed transaction processing method and device and storage medium

A distributed transaction and processing method technology, applied in the field of distributed transaction processing methods, devices and storage media, can solve problems such as transaction blocking in distributed systems, and achieve the effect of improving data consistency and efficiency

Inactive Publication Date: 2019-05-21
MIGU CO LTD +1
View PDF9 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the main purpose of the present invention is to provide a distributed transaction processing method, device and storage medium, which can solve the transaction blocking problem in the distributed system and ensure the consistency of data

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 and device and storage medium
  • Distributed transaction processing method and device and storage medium
  • Distributed transaction processing method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the specific technical solutions of the invention will be further described in detail below in conjunction with the drawings in the embodiments of the present invention. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0044] Before describing the embodiments of the present invention, let's have a detailed understanding of the relevant background of distributed transactions.

[0045] Distributed transaction means that a large operation is composed of different small operations. These small operations are distributed on different servers and belong to different applications. Distributed transactions need to ensure that these small operations either all succeed or all fail. In essence, distributed transactions are to ensure data consistency in different databases. H...

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 embodiment of the invention provides a distributed transaction processing method and device. The method is applied to coordination equipment. The coordination equipment is used for managing at least one execution equipment, and the method comprises the following steps: receiving a transaction participation request of first execution equipment in the at least one execution equipment; Wherein the transaction participation request is used for indicating that the first execution device is in a state of being capable of executing a local transaction to the coordination device; receiving a transaction submission request sent by the first execution device; Wherein the transaction submission request is used for representing that the first execution device completes the local transaction; And based on the transaction submission request of the first execution device, sending a transaction submission instruction to the first execution device.

Description

technical field [0001] The invention relates to a background distributed system, in particular to a distributed transaction processing method, device and storage medium. Background technique [0002] In a distributed system, in order to ensure high availability of data, multiple copies of data are usually kept, and these copies are placed on different physical machines. In the case of multiple copies of data, if the network, server or software fails, some copies will be written successfully, while some copies will fail to be written. This results in data inconsistency among the copies, conflicts in data content, and de facto data inconsistency. [0003] To solve this distributed consistency problem, it has been proposed as figure 1 The two-phase commit protocol shown (Two-Phase Commit Protocol, 2PC) and as figure 2 The three-phase commit protocol (Three-Phase Commit Protocol, 3PC) shown, but these two kinds of commit protocols have their own defects. The two-phase commi...

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/46G06F16/27
Inventor 郭兆年
Owner MIGU 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