Distributed method and system based on message queue

A distributed system and message queue technology, applied in the distributed method and system field based on message middleware, can solve the problems of message mismatch, MQ single point, consumption message blocking, etc., and achieve high scalability effect

Active Publication Date: 2013-04-03
重庆天极云服科技有限公司
View PDF5 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in a large-scale distributed system, if the usual MQ solution is used, there are many disadvantages, including: consumption

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 method and system based on message queue
  • Distributed method and system based on message queue
  • Distributed method and system based on message queue

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037] The embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings of the specification.

[0038] In message middleware, the information transferred and exchanged between different applications is collectively called a message, which is the basic unit of data exchange. The message can be a variety of media, such as text, sound, images, and so on. Each message can have a priority attribute, which indicates its relative importance to other messages. The message can contain information such as the identity of the sender and receiver, timestamp, and expiration time. Messages that cannot be delivered or have expired are called dead letters.

[0039] The queue can be seen as a container for storing messages. Queues can be divided into many types, including: local queues, remote queues, etc. Local queues are divided into initialization queues, transmission queues, target queues, dead letter queues, etc. according to their fu...

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 method and a system based on a message queue. The distributed method based on the message queue comprises the following steps of: sending a message for a queue manager by first application; determining whether the message is successfully sent; if the message is determined not to be successfully sent, putting the message into a first abnormal processing module for processing; if the message is determined to be successfully sent, carrying out the processing on a received message by the queue manager; sending the message into a second application; and carrying out the processing on the received message by the second application.

Description

Technical field [0001] The present invention relates to a distributed method and system based on message middleware, and more specifically, to a distributed method and system based on message queue. Background technique [0002] In large-scale distributed systems, message-oriented middleware (MOM) is widely used. Message middleware is a middleware technology composed of message transmission mechanism or message queue mode. The message middleware uses an efficient and reliable message transmission mechanism for platform-independent data communication, and integrates distributed systems based on data communication. [0003] Generally, message middleware does not require the system to have a reliable bottom transport layer, but connects applications running on different systems by sending and receiving application data in the form of messages. Information can be transmitted synchronously or asynchronously. In the asynchronous mode, the application does not need to send the message ...

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/54
Inventor 李鹏涛
Owner 重庆天极云服科技有限公司
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