Distributed system transaction management method and device

A distributed system and transaction management technology, which is applied in the field of distributed system transaction management methods and devices, can solve problems such as low processing efficiency, affect user experience, and low device performance, achieve high processing efficiency, maintain data consistency, and improve The effect of system performance

Inactive Publication Date: 2017-11-07
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The transaction management scheme adopted by the mainstream of the existing distributed system has low processing efficiency. If it is applied to the current distributed archi

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0036] Please refer to figure 1 , a distributed system transaction management method provided by an embodiment of the present invention, comprising the steps of:

[0037] S10: When receiving the message sent by the active node, store the message and mark the status of the message as pending confirmation, and send the storage result of ...

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 system transaction management method and device. The method comprises the steps of: when a message sent by an active party node is received, carrying out storage on the message, marking a message state as a to-be-confirmed state, and sending a storage result of the message to the active party node; when an indication message sent by the active party node and used for indicating that a service operation is executed is received, updating the message state into a to-be-sent state; after the active party node executes the service operation, when a service operation result returned by the active party node is received, if the service operation result is that a service is successfully processed, sending the message to a passive party node, and updating the message state into a sent state; and after the passive party node executes the service operation, when a service operation result returned by the passive party node is that the service is failed in processing, sending the service operation result to the active party node and indicating the active party node to carry out a rolling-back operation. The method and the device which are disclosed by the invention achieve an effect of keeping consistency of data between the active party node and the passive party node.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a distributed system transaction management method and device. Background technique [0002] A distributed system is a device built on the network. It can decompose a large and complex device into several small service nodes, and each node communicates with each other through remote calls. Share physical and logical resources and coordinate transactions. Due to the characteristics of high availability and high development, distributed systems are more and more favored by developers. [0003] For traditional single-node network devices, due to single-node deployment, local transactions can be used for transaction management to ensure data consistency. However, for a distributed system, each service module has its own transaction management mechanism as an independent device. When a call between modules occurs, it must be solved because the caller executes abnormally and the ca...

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): H04L29/08G06F17/30
CPCG06F16/182H04L67/10H04L67/1097H04L67/34
Inventor 郭涛
Owner ZHENGZHOU YUNHAI INFORMATION TECH 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