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

Congestion control method and device for message queue

A message queue and congestion control technology, applied in the field of message transmission, can solve the problems of low message transmission rate and easy to be discarded in large numbers, and achieve the effect of ensuring the transmission rate

Active Publication Date: 2020-12-22
ADVANCED NEW TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Since the tail-dropping algorithm only relies on discarding messages at the end of the queue to reduce the congestion of the message queue, there may be a certain period of time when all the important messages that enter the message queue are relatively high-priority important messages. If congestion occurs, these messages have higher priority Important messages are easily discarded in large numbers, resulting in a decrease in message transmission rate

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
  • Congestion control method and device for message queue
  • Congestion control method and device for message queue
  • Congestion control method and device for message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Embodiments of the present application provide a message queue congestion control method and device, which are used to solve the problem in the prior art that a message transmission rate may be reduced when performing congestion control on a message queue.

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

[0026] figure 1 It is a schematic structural diagram of a message transmi...

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

Embodiments of the invention disclose a congestion control method and apparatus for a message queue. When a target message queue receiving to-be-sent messages is congested, the to-be-sent messages are not actively discarded and are transferred to other message queues with low priorities; the transmission of the to-be-sent messages is ensured by occupying the message queues with the low priorities; and while the congestion of the target message queue is controlled, the transmission rate of the to-be-sent messages can be ensured.

Description

technical field [0001] The present application relates to the technical field of message transmission, in particular to a message queue congestion control method and device. Background technique [0002] With the advent of the Internet era, more and more messages are transmitted through message queues, and the probability of message queue congestion is also increasing. [0003] In the prior art, the congestion of the message queue is generally controlled by dropping tails, which includes the following steps: [0004] S1. Obtain the length of the message queue when the message to be sent is stored in the message queue; [0005] S2. Determine whether the length of the message queue is greater than a threshold, if so, determine that the message queue is congested, and then execute step S3; [0006] S3. Discard the aforementioned messages stored in the message queue to be sent, so as to reduce the number of messages in the message queue and reduce the congestion of 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48
Inventor 戴潇桐
Owner ADVANCED NEW TECH CO LTD
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