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

Message queue allocation method, apparatus and device, and computer readable storage medium

A technology of message queue and distribution method, applied in the field of device, message queue distribution method, equipment and computer-readable storage medium, which can solve the problems of low message success rate of message queue and lack of gray-scale publishing ability of message queue products, etc. , to achieve the effect of improving the success rate and reliability

Pending Publication Date: 2020-02-11
WEBANK (CHINA)
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a message queue distribution method, device, equipment, and computer-readable storage medium, aiming to solve the problem that the existing message queue products do not have the ability to publish in grayscale, and the message queue messages in the message topic are consumed Low success rate due to technical issues

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
  • Message queue allocation method, apparatus and device, and computer readable storage medium
  • Message queue allocation method, apparatus and device, and computer readable storage medium
  • Message queue allocation method, apparatus and device, and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0046] The present invention provides a method for distributing message queues, referring to figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the method for allocating message queues in the present invention.

[0047] The embodiment of the present invention provides an embodiment of the method for allocating message queues. It should be noted that although the logic sequence is shown in the flowchart, in some cases, the sequence shown here may be executed in a different order. or the steps described.

[0048] In the embodiment of the present invention, grayscale publishing refers to that among the same category of consumer (Consumer) instances, only the grayscale instance listens to the new message topic (Topic), and only the grayscale instance can receive the message of the new message top...

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 queue allocation method, apparatus and device, and a computer readable storage medium. The method relates to the field of financial science and technology, and comprises the following steps: after detecting that a new grayscale instance is generated in a consumer instance, sending a heartbeat packet to a message-oriented middleware server, so that the message-oriented middleware server updates a relationship set corresponding to the consumer instance according to the heartbeat packet; after an execution instruction for executing a preset load balancing algorithm is detected, determining a message theme corresponding to the execution instruction, and obtaining the number of consumer instances corresponding to the message theme in the relationship set; and executing the load balancing algorithm according to the number of the consumer instances so as to allocate a message queue in the message theme to the consumer instances. According to the method and the device, the message queue product has a gray release capability, the messages in the message theme message queue can be normally consumed, and the success rate of consuming the messages in the message queue is improved.

Description

technical field [0001] The present invention relates to the technical field of financial technology (Fintech) message middleware, and in particular to a message queue distribution method, device, equipment and computer-readable storage medium. Background technique [0002] With the continuous development of financial technology, especially Internet technology and finance, more and more technologies (such as distributed, blockchain, artificial intelligence, etc.) Requirements, such as higher requirements for message queuing products in the financial industry. [0003] Grayscale publishing refers to a publishing method that can smoothly transition between black and white. A / B testing can be carried out on it, that is, let some users continue to use product feature A, and some users start to use product feature B. If users have no objection to B, then gradually expand the scope and migrate all users to B. Come. Specifically, in the existing message queue products, the so-cal...

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): G06F9/54G06F11/36G06F8/65G06Q40/00
CPCG06F8/65G06F9/546G06F11/3688G06Q40/00
Inventor 卢道和杨军陈广胜熊梦飞梁炜强贺繁
Owner WEBANK (CHINA)
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