Distributed transaction requesting method and device

A transaction request and distributed technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as message loss, repeated message processing, and no judgment that the message is being processed, so as to prevent message loss and improve reliability. sexual effect

Active Publication Date: 2014-12-17
FUJIAN NEWLAND SOFTWARE ENGINEERING CO LTD
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. In the process of message processing, when the access node or computing node is abnormal, the message will be lost
[0007] 2. In the process of message processing, it is not judged whether the message is being processed, which may cause the message to be processed repeatedly

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to describe the technical content, structural features, achieved goals and effects of the present invention in detail, the following will be described in detail in conjunction with the embodiments and accompanying drawings.

[0032] The key idea of ​​the present invention is to determine whether the computing node is abnormal by timeout, and reselect the computing node when the node is abnormal, thereby preventing message loss and improving system processing stability.

[0033] see figure 1 , a distributed transaction request method, comprising steps:

[0034] The access node reads the message to be processed from the message queue, and selects the computing node of the message according to the load balancing algorithm;

[0035] The access node generates the session information of the message, sends the message to the computing node, and stores the session information in the session storage node;

[0036] After receiving the message, the computing node proces...

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 transaction requesting method. The distributed transaction requesting method includes reading messages to be processed from a message queue by an access node and selecting a calculation node of the message; generating dialogue information of the messages, transmitting the messages to the calculation node and storing the dialogue information to a dialogue storage node; receiving and processing the messages by the calculation node, updating the dialogue information and transmitting response information to the access node; judging whether waiting for the response information is time out or not by the access node, if yes, transmitting query request to the calculation node; if not, keeping waiting; feeding back dialogue processing results after the calculation node receives the query request; keeping waiting or retransmitting the messages to a new calculation node by the access node according to the received dialogue processing results. The invention further discloses a distributed transaction requesting device. By the distributed transaction requesting method and device, reliability in message processing of a distributed system is effectively improved.

Description

technical field [0001] The invention relates to the field of distributed system software design, in particular to a distributed transaction request method and device. Background technique [0002] A distributed system is a software system built on a network. It is precisely because of the characteristics of software that distributed systems are highly cohesive and transparent. Cohesion means that each database distribution node is highly autonomous and has a local database management system. Transparency means that each database distribution node is transparent to user applications, and it is impossible to tell whether it is local or remote. In a distributed database system, the user does not feel that the data is distributed, that is, the user does not need to know whether the relationship is divided, whether there is a copy, which site the data is stored on, and which site the transaction is executed on. [0003] In a distributed system, a group of independent computers...

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/06H04L29/08G06F17/30
Inventor 陈立峰周志武林俊德林整榕林晋发汪秀清张建新陈东陈兆昌蔡云鹏林成龙林诚汉李伟
Owner FUJIAN NEWLAND SOFTWARE ENGINEERING 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