Message distribution method and server

A message distribution and server technology, applied in the field of network communication, can solve problems such as heavy load pressure

Active Publication Date: 2017-01-04
WEBANK (CHINA)
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide a method and device for message distribution, aiming to so

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0048] In the prior art, the way in which the server actively pushes the service message will bring about a technical problem of high load pressure on the server.

[0049]In order to solve the above technical problems, the present invention proposes a message distribution method and device. In this method, the receiving end can actively pull business messages from the server by sending a message acquisition request, without the server actively pushing business messages to the receiving end. message, so that the load pressure on the server can be effectively reduced. And when there is no service message stored in the first message queue, by monitoring the first message queue, and when the first message queue is monitored to store the first service message, the server pushes the first service message to the first messag...

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. The method comprises the following steps: a server receiving a message acquisition request, wherein the message acquisition request is sent by a first receiving end, the server determining a first message queue for storing a service message requested and acquired by the first receiving end according to the message acquisition request and above mapping relation, monitoring the first message queue, if the first service message is stored in the first message queue, reading the first service message and sending to the first receiving end; if the service message is not stored in the first message queue, placing the first receiving end at a waiting status until monitoring that the first service message is stored in the first message queue, reading the first service message and sending to the first receiving end. The invention further discloses a server. The message distribution can be effectively realized through a push-pull combined mode, and the load pressure of the server is lowered.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a message distribution method and a server. Background technique [0002] Message middleware is a middleware technology composed of message delivery mechanism or message queue mode. It uses efficient and reliable message delivery mechanism for platform-independent data exchange, and integrates distributed systems based on data communication. In real In the application scenario, a message queue has multiple receivers, so all messaging middleware is faced with how to distribute business messages in a message queue to multiple receivers. [0003] At present, the commonly used technical means are: the server actively pushes business messages to the receiving end. At this time, the server is actively responsible for the distribution of messages. The server will monitor in real time how many receiving ends pay attention to the same business, and send them The business 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
IPC IPC(8): H04L29/08H04L12/863H04L12/803
CPCH04L47/125H04L47/622H04L67/1097H04L67/5683H04L67/55
Inventor 陈井波陈广胜贾立华范瑞彬李启凡
Owner WEBANK (CHINA)
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