Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed transaction submission method and system and computing equipment

A distributed transaction and transaction processing technology, applied in the fields of systems and computing devices, and distributed transaction submission methods, can solve problems such as data inconsistency, and achieve the effect of improving consistency

Active Publication Date: 2021-06-18
CHINA MOBILE GROUP ZHEJIANG +1
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the distributed transaction commit is mainly implemented through the two-phase commit protocol or the three-phase commit protocol, but there is a problem of data inconsistency in both

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 submission method and system and computing equipment
  • Distributed transaction submission method and system and computing equipment
  • Distributed transaction submission method and system and computing equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0049]Under the traditional Jushi application architecture, the architectural features are mainly model-view-controller (Model ViewController, MVC) mode, all its functions are concentrated in one service instance, and the processing capacity of the cluster can be expanded by adding service instances, but the data persistence It is stored in one database, and the data consistency is mainly guaranteed by the local transaction mechanism of the trad...

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 relates to the technical field of communication, and discloses a distributed transaction submission method and system and computing equipment. The method is applied to a distributed transaction submission system, and the system comprises a coordinator module, a consistency module and a participant module. The method comprises the following steps: a coordinator module sends a submission / suspension request to a consistency module according to preparation result feedback information sent by a participant module; the consistency module records the request type and generates a global transaction identifier for submitting / stopping the request; the consistency module returns a global transaction identifier; the coordinator module sends a global transaction identifier and a submission / suspension request to a participant module; the participant module carries out transaction processing according to a submission / suspension request or an overtime state, records a transaction processing type, and returns the transaction processing type and a global transaction identifier to the consistency module; and the consistency module enables the participant modules with inconsistent data to perform transaction processing again. By means of the mode, the data consistency can be improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of communication technologies, and in particular to a distributed transaction submission method, system and computing equipment. Background technique [0002] In the microservice architecture mode, each service unit has its own independent data persistence layer. A business request requires the cooperation of multiple microservice units, requiring each service unit to either succeed or fail at the same time, but the microservice instances are deployed in different On the process or host node, the state and network of each service instance are unpredictable. Therefore, how to maintain the consistency of distributed unit service data in a business request has become a key issue in the microservice architecture. [0003] At present, the distributed transaction commit is mainly implemented through the two-phase commit protocol or the three-phase commit protocol, but there is a problem of data inc...

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): H04L29/08G06F9/46
CPCH04L67/10G06F9/466H04L67/60
Inventor 王豪石益宇王琢
Owner CHINA MOBILE GROUP ZHEJIANG