Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for issuing messages by message queue

A message queue and message technology, which is applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as delays in delivery time and inability to give priority to messages, so as to avoid delays, improve real-time interactive experience, and optimize messages. The effect of the timing of dequeuing

Inactive Publication Date: 2015-07-01
XINYU XINGBANG INFORMATION IND
View PDF15 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are still defects in this method. When the delivery channel is blocked and the sequence in the data table cannot be dequeued, the newly entered message cannot be given priority. It can only be sent after the previously blocked queue is finished. , so there will be a delay in the delivery time

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
  • Method and device for issuing messages by message queue
  • Method and device for issuing messages by message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The application will be described in further detail below in conjunction with the accompanying drawings.

[0019] figure 1 It schematically shows a schematic flow chart for sending a message from a message queue according to an embodiment of the present application. As shown in the figure, the method of this embodiment includes a process of forward flow and a process of self-circulation process. Specifically include:

[0020] Process 1: receiving the request for the message to enter the message queue, obtaining the parameter information of the message, determining the priority of the message according to the parameter information of the message, and inserting the message according to the priority of the message to the message queue. The process includes:

[0021] Step S101: Receive a message enqueuing request.

[0022] The sending message queue is stored in a public buffer. According to this embodiment, an API (Application Programming Interface, application progra...

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 method for issuing messages by a message queue. The method includes (1) receiving a request that a message entering the message queue, acquiring parameter information of the message, determining the priority of the message according to the parameter information of the message and inserting the message into the message queue according to the priority of the message; (2) issuing the messages in the message queue according to the priority of the messages. By means of the method, the message dequeue time can be optimized, key business can be processed quickly, long time delay caused by lighter weight is avoided, system application risks are reduced, and real-time interaction experience of users is improved.

Description

technical field [0001] The present application relates to the field of computer network communication, and in particular to a method and a device for sending a message by a message queue. Background technique [0002] A message queue is a container that holds messages during their transmission. The Message Queuing Manager acts as a middleman when relaying messages from source to destination. The main purpose of message queues is to provide routing and guarantee delivery of messages. If sending a message fails, the message queue will hold the message until it can be delivered successfully. [0003] The traditional message queue is issued according to the "first in first out" queue custom method. Later, there is a way to convert the queue and the stack, which realizes that the message can be "first in first out" or "last in first out" according to the actual situation. First out" method, but none of these methods can solve the business needs of the real-time priority of que...

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): H04L12/58H04L12/865H04L47/6275
CPCH04L51/226
Inventor 姚晓宏周嘉健
Owner XINYU XINGBANG INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products