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

Message distribution method and device

A message distribution and message technology, applied in the field of information processing, can solve the problems of business event message backlog, low processing capacity, and reduce the timeliness of business event message processing, so as to achieve the effect of improving timeliness and reducing backlog

Active Publication Date: 2012-10-31
XINYANG BRANCH HENAN CO LTD OF CHINA MOBILE COMM CORP
View PDF2 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] figure 1 In the message processing system shown, when the distribution modules in the first front-end processor and the second front-end processor distribute business event messages to the message queues in the message middleware, the message distribution method adopted is according to the number of the message queue sequence (eg figure 1 1, 2, 3, ... N) in order to distribute business event messages, this distribution method does not take into account the actual processing capacity of the application server, for the application server with low processing capacity, it is easy to cause A large backlog of unprocessed business event messages in the message queue corresponding to the lower application server reduces the timeliness of processing business event messages

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 distribution method and device
  • Message distribution method and device
  • Message distribution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] According to the first embodiment of the present invention, a method for distributing messages is provided, and the timeliness of message processing can be improved by distributing messages through the method for distributing messages provided by the first embodiment.

[0042] figure 2 A schematic flowchart corresponding to the message distribution method provided by the first embodiment is given, as shown in figure 2 As shown, the message distribution method mainly includes the following steps:

[0043] Step 201. Determine the number of messages stored in each message queue.

[0044] Step 202 , according to the number of messages stored in each message queue, determine the respective weight values ​​corresponding to each message queue, where the weight value is used to indicate the number of messages that the message queue can receive continuously.

[0045] Step 203: Distribute messages to each message queue according to the weight values ​​corresponding to each me...

Embodiment 2

[0116] Embodiment 2 of the present invention provides a specific embodiment of dynamically scheduling application servers according to the weight values ​​of message queues after the weight values ​​of message queues are determined according to the technical solution provided in Embodiment 1 above.

[0117] exist figure 1 In the message processing system shown, the application server group 104 is mainly used to obtain business event messages from the message queues included in the message middleware 103 for processing, and each service server included in the application server group 104 is configured with a message The corresponding relationship of the message queue included in the middleware, according to the corresponding relationship, the application server obtains the business event message from the corresponding message queue for processing.

[0118] In the technical solution provided by Embodiment 2 of the present invention, the weight values ​​corresponding to each mess...

Embodiment 3

[0133] Embodiment 3 of the present invention provides a detailed process of implementing message distribution in a specific application scenario in Embodiment 1 above.

[0134] Specifically, the message distribution method provided by Embodiment 1 of the present invention can be applied to such as figure 1 The message processing system shown, and on this basis, the system is improved, the improved system is as follows Figure 10 shown in figure 1 On the basis of the system shown, a message queue monitoring module and a weight determination module are added, and the processing modules in the first front-end processor and the third front-end processor can be reused to improve the existing message distribution function of the processing module. Wherein, the message queue monitoring module, the weight determination module and the function-improved distribution module can constitute a message distribution device.

[0135] Specifically, the message queue monitoring module is mainl...

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 distribution method and a device, wherein the message distribution method comprises the steps as follows: determining the quantity of messages respectively stored in each message queue; determining a weight value respectively corresponding to each message queue according to the quantity of messages respectively stored in each message queue; using the weight values to express the quantity of messages which can be continuously received by the message queues; and distributing messages to each message queue according to the weight value respectively corresponding to each message queue. According to the technical scheme, the method can determine the quantity of the messages which can be continuously distributed to each message queue according to the quantity of the messages stored in each message queue, namely that the method can determine the quantity of the messages which can be distributed to each message queue according to the quantity of the messages actually stored in each message queue, thereby reducing the backlog of large numbers of messages in the message queues and enhancing the timeliness for processing messages.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a message distribution method and a message distribution device. Background technique [0002] With the development of communication technology, the number of terminals accessing the communication system to realize various communication services is increasing. In order to achieve the purpose of improving the performance of the communication system, it is necessary to process a large number of business messages generated in the communication system. Perform maintenance on communication systems. [0003] When processing business messages generated in the communication system, the involved message processing systems such as figure 1 As shown, the message processing system is built on the SOA (Service-Oriented Architecture, Service-Oriented Architecture) architecture based on message middleware. figure 1 The message processing system shown mainly includes: a ...

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): H04W4/06H04W4/12H04W28/14
Inventor 崔洪涛邵杰郭强盛强
Owner XINYANG BRANCH HENAN CO LTD OF CHINA MOBILE COMM CORP
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