A method and device for storing message and a message processing system

A message and storage node technology, applied in the network field, can solve problems such as processing interruptions and message system bottlenecks, and achieve the effect of pressure as much as possible and pressure balance

Active Publication Date: 2010-03-17
ALIBABA GRP HLDG LTD
View PDF3 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is to provide a message storage method and device to solve the existing problems of using single-node storage in the prior art
[0009] Another object of the present invention is to provide a message processing system to solve the problem that a single node stores messages to be forwarded and easily causes system bottlenecks or processing interruptions

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
  • A method and device for storing message and a message processing system
  • A method and device for storing message and a message processing system
  • A method and device for storing message and a message processing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Firstly, the structure of multi-storage nodes is introduced. refer to figure 2 , is a schematic diagram of multiple storage nodes described in Embodiment 1. The application server U21 is connected to multiple storage nodes U22 (three are shown in the figure), and the application server U21 is used to provide application services, such as message forwarding, and store data to be saved in the storage nodes U22.

[0053] refer to image 3 , is the control figure 2 The multi-storage node structure provides a flow chart of a message storage method.

[0054] S301. The application server receives a message addition request;

[0055] S302. Select a storage node from the preset storage node list to store the message;

[0056] The application server is configured with a list of storage nodes, and the information of currently available storage nodes is listed in the table. When there is a message to be stored, the application server queries the table and selects a node to ...

Embodiment 2

[0080] Using the above message storage method and device, the present invention also provides a message processing system. refer to Figure 5 , is a structural diagram of a message processing system described in Embodiment 2. The system includes:

[0081] The message publishing end U51 is used to publish the message to the message middleware U52;

[0082] The message middleware U52 is used to forward the message to the message subscriber U53;

[0083] The message subscriber U53 is used to receive messages from the message middleware U52;

[0084] The database U54 is used to connect with the message middleware U52 and store the messages forwarded by the message middleware.

[0085] The message subscribing terminal U53 can subscribe to the messages that it is interested in, and the message middleware U52 asynchronously transmits the message published by the message publishing terminal U51 to the subscribing terminal U53 of the message topic. Wherein, the message middleware ...

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 method and a device for storing a message to solve the problem of single node storage in the prior art. The method comprises the following steps: receiving a message addition request; selecting a storage node from a preset storage node list, storing the message; and storing the mapping relationship between the message and the storage node storing the message. The scheme can solve two problems: the first one is that when one of the storage nodes goes wrong, the message can be stored into other nodes, so that a message middleware is out of order is avoided; the second one is that if the message traffic is excessive, the storage pressure can be distributed on the plurality of storage nodes. The invention also discloses a message processing system so as to solve the problem that the storage of a message by a single node to be forwarded is likely to cause system bottleneck and processing interrupt.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a message storage method and device and a message processing system. Background technique [0002] In many application systems, data storage issues are involved. E.g figure 1 The application system shown includes a message publishing terminal U11, a message subscribing terminal U12 and a message middleware U13, and message data is transmitted between the message publishing terminal U11 and the message subscribing terminal U12 through the message middleware U13. Wherein, the message publishing terminal U11 can publish various topics or various types of message data, the message subscribing terminal U12 can subscribe to the messages of interest to itself, and the message middleware U13 will publish the message published by the message publishing terminal U11 Asynchronously sent to the subscriber U12 of the message topic. In the process of message delivery, the message m...

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/58H04L29/08
Inventor 曾宪杰
Owner ALIBABA GRP HLDG LTD
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