Message scheduling method and message scheduling device for message queues

A technology of message queuing and scheduling method, applied in the field of message queuing, which can solve the problems that system resources cannot be fully utilized and emergency messages cannot be prioritized, and achieve the effect of improving system efficiency

Inactive Publication Date: 2016-02-03
CHINA CONSTRUCTION BANK
View PDF4 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the message scheduling method of the message queue, round-robin and first-in-first-out are usually used, and processing is performed according to the order of delivery time. Therefore, each queue is treated equally, urgent messages cannot be processed first, and system resources cannot be fully utilized. use

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 scheduling method and message scheduling device for message queues
  • Message scheduling method and message scheduling device for message queues
  • Message scheduling method and message scheduling device for message queues

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to facilitate the understanding of various aspects, features and advantages of the technical solutions of the present invention, the present invention will be specifically described below in conjunction with the accompanying drawings. It should be understood that the various implementations described below are only for illustration, rather than limiting the protection scope of the present invention.

[0018] figure 1 It is a schematic flowchart of a message scheduling method for a message queue according to an embodiment of the present invention. refer to figure 1 , the method includes:

[0019] 10: Message delivery processing. Specifically, the message is delivered to the message queue corresponding to the service type of the message among the multiple message queues according to the service type of the message. Wherein, each message queue in the plurality of message queues corresponds to a corresponding service type.

[0020] In this embodiment, the divi...

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 scheduling method and a message scheduling device for message queues, wherein the method comprises the following steps: delivering a message into a message queue corresponding to the service type of the message in a plurality of message queues according to the service type of the message, wherein various message queues in the plurality of message queues correspond to corresponding service types; and calculating according to critical characteristic values of various message queues in the plurality of message queues so as to determine a target message queue in the plurality of message queues while scheduling the message, and then, scheduling the message to be subsequently processed from the target message queue. By adopting the message scheduling method and the message scheduling device disclosed by the invention, reasonable configuration of system resources (such as the data processing capacity and the data reading capacity) can be realized; the system efficiencies (including the response time and the throughput rate) can be increased; and the service value maximization can be realized.

Description

technical field [0001] The present invention relates to a message queue, and more specifically, to a message scheduling method and a message scheduling device for a message queue. Background technique [0002] With the increase of business volume and the diversification of business scenarios, the applications deployed by existing application servers are becoming increasingly large and difficult to maintain. In order to simplify the system architecture and improve processing efficiency, the processing method of message queue is widely used. In the maintained message queue mechanism, when a user initiates a request, the response thread generates and delivers a message to the queue according to the needs of the business scenario, and the processing thread extracts the message from the queue and performs the next step of business processing, thereby realizing the decoupling of the business service layer. The control of queue scheduling can realize the sorting and buffering of me...

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/24H04L12/863
Inventor 胡宗维王伟张舜华赵金鑫何小峰包辰明卢颖辉汪楠谢潇宇李响
Owner CHINA CONSTRUCTION BANK
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