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

A message delivery method and system based on message queue

A message queue and message delivery technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve problems such as server downtime, increased hardware server processing pressure, and slow proxy service processing, to improve reliability and stability Effect

Active Publication Date: 2018-02-06
GUANGZHOU SIE CONSULTING CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the number of messages stored by each message agent has a certain limit. When the messages stored by the message agent reach its upper limit, a large number of messages are waiting to be processed, which will easily cause slow processing of the agent service and increase the processing pressure of the hardware server. Risk of server downtime and message loss

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0034] figure 2 It is a flow chart of steps of a message delivery method based on a message queue in the present invention. like figure 2 Shown, a kind of message delivery method based on message queue of the present invention comprises the following steps:

[0035] In step 201, the message agent of the source server receives the message packet sent by the application program of the ser...

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 message delivery method and system based on a message queue. The method includes: Step 1, the message agent of the source server receives the message data packet sent by the source application program; Step 2, after receiving the message data packet, judging Whether the number of messages in the message queue has reached the predetermined upper limit; Step 3, if the number of messages in the message queue does not reach the upper limit, then the message agent stores the received message data packet in the message queue, and Determine whether the target server for message delivery is connected to the source server, if connected, directly deliver the message data packet to the target application program of the target server, if not connected or the number of messages stored in the message queue has reached the upper limit, then enter the step 4. Step 4: Search for other servers with the same message delivery function to establish a connection with it, and send the message data packet to an intermediate server according to the preset selection rules, and the intermediate server forwards the message data packet.

Description

technical field [0001] The invention relates to a message delivery method and system, in particular to a message queue-based message delivery method and system. Background technique [0002] Messages are mainly used for information exchange between network devices (especially servers). Asynchronous message transmission is widely used in communication systems because it can reduce the system coupling between the message sending end and the message receiving end, and the message sending end and the message receiving end do not need to be online at the same time. [0003] Message passing is an asynchronous communication method, specifically, the direct and reliable message passing between multiple applications running on the same or different machines. Applications communicate with other applications by sending packets of data called messages. [0004] figure 1 It is a schematic diagram of message passing between two application programs in the prior art. like figure 1 As ...

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 Patents(China)
IPC IPC(8): H04L12/58H04L29/08
CPCH04L51/046H04L67/568
Inventor 张成康刘伟超黄良迅朱国栋章艺
Owner GUANGZHOU SIE CONSULTING CO LTD