CN113905089A - Multi-user message pushing method and system based on publish-subscribe mode - Google Patents
Multi-user message pushing method and system based on publish-subscribe mode Download PDFInfo
- Publication number
- CN113905089A CN113905089A CN202111046838.0A CN202111046838A CN113905089A CN 113905089 A CN113905089 A CN 113905089A CN 202111046838 A CN202111046838 A CN 202111046838A CN 113905089 A CN113905089 A CN 113905089A
- Authority
- CN
- China
- Prior art keywords
- message
- subscription
- queue
- subscriber
- theme
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000001514 detection method Methods 0.000 claims description 13
- 238000001914 filtration Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 11
- 238000012217 deletion Methods 0.000 claims description 7
- 230000037430 deletion Effects 0.000 claims description 7
- 231100000331 toxic Toxicity 0.000 claims description 6
- 230000002588 toxic effect Effects 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a multi-user message pushing method and a multi-user message pushing system based on a publish-subscribe mode, belongs to the technical field of message user pushing, and aims to solve the technical problem of how to send and receive messages based on the subject of the messages. The method comprises the following steps: the method comprises the steps that a message publisher collects the requirements of a message subscriber, formulates a subscription theme, and sets a personalized message notification format according to the subscription theme; a message subscriber subscribes or cancels the subscription theme based on the interest of the message subscriber and generates a corresponding theme subscription state; storing the subscription theme, the message notification format and the theme subscription state through a message subscription list; the message publisher pushes the messages generated by the message publisher to a message queue, the message queue is a distributed message queue, and the message queue stores the received messages to a memory queue of the message queue; and distributing each message based on the content and the theme, and pushing each message to a corresponding message subscriber in cooperation with a message subscription list.
Description
Technical Field
The invention relates to the technical field of message user pushing, in particular to a multi-user message pushing method and a multi-user message pushing system based on a publish-subscribe mode.
Background
With the advance of the construction of government affair service integration, government affair service platforms at all levels tend to be mature, but the requirements of users on the convenience and the practicability of the service are higher and higher, but at present, the users can hardly meet the embarrassment situation in the process of using the system: in the using process, the user can not receive the wanted message notice, the using experience of the user is influenced, and the user hopes to view some important messages in time and avoid being disturbed by some junk messages. The quality of the website and the quality of the system are directly influenced to a certain extent by the appearance of a good feedback mode. The feedback type interaction shows specific design details and creates good user experience according to a design concept taking the use experience of the user as the center.
Based on the above analysis, how to send and receive messages based on the subject of the messages is a technical problem to be solved.
Disclosure of Invention
The technical task of the invention is to provide a multi-user message pushing method and a multi-user message pushing system based on a publish-subscribe mode aiming at the defects, so as to solve the problem of how to send and receive messages based on the topic of the messages.
In a first aspect, the multi-user message pushing method based on the publish-subscribe mode of the present invention includes the following steps:
the method comprises the steps that a message publisher collects the requirements of a message subscriber, formulates a subscription theme, and sets a personalized message notification format according to the subscription theme;
the message subscribers subscribe or cancel the subscribed topics based on the interests of the message subscribers and generate corresponding topic subscription states, wherein the topic subscription states are used for representing the states of subscription or cancellation of each message subscriber to each subscribed topic;
storing the subscription theme, the message notification format and the theme subscription state through a message subscription list;
the message publisher pushes the messages generated by the message publisher to a message queue, the message queue is a distributed message queue, and the message queue stores the received messages to a memory queue of the message queue;
and distributing each message based on the content and the theme, and pushing each message to a corresponding message subscriber in cooperation with a message subscription list.
Preferably, the message publisher collects the requirements of the message subscriber, and formulates a subscription topic for the content whose access amount or query rate meets a threshold.
Preferably, the message notification format includes a message content, a message type, a transmission location, a transmission time, and a message level.
Preferably, the message queue receives and pushes messages on a first-in-first-out basis.
Preferably, the message producer pushes the message it produces to the virtual machine, which routes the message through the switch to the corresponding message queue.
Preferably, before each message is pushed to a corresponding message subscriber, filtering the message, wherein the filtering comprises the following steps:
sequencing the messages;
configuring the priority of the message, and processing the message based on a priority queue mode;
based on the ID of the message and the detection and deletion of the reverse repeat message, deleting the repeat message;
carrying out toxic information detection, and deleting the message with the wrong format or the message needing to access the unavailable resource task;
based on the message life cycle configured by the message subscriber, checking whether the message is expired or not and deleting the expired message.
In a second aspect, the present invention provides a multi-user message push system based on a publish-subscribe mode, including:
the message publishing module faces to a message publisher and is configured on a corresponding message publisher application server, the message publisher collects the requirements of the message subscriber through the message publishing module, formulates a subscription theme, sets a personalized message notification format according to the subscription theme, and the message publisher produces and publishes messages through the message publishing module;
the message receiving module faces to a message subscriber and is configured on a corresponding message subscriber application server, the message subscriber subscribes or cancels a subscription theme based on the interest of the message subscriber through the message subscription module and generates a corresponding theme subscription state, and the message subscriber receives a message through the message subscription module;
the message pushing list is configured on a corresponding message queue application server and used for storing the subscription theme, the message notification format and the theme subscription state;
the message subscribing module is used for calling a message sending interface to send messages produced by a message subscriber to the message queue, and the message queue stores the received messages to a memory queue thereof;
the message pushing module is configured on the corresponding message queue application server and used for distributing each message based on content and theme and pushing each message to a corresponding message subscriber through a message pushing interface in cooperation with the message subscription list;
the message monitoring module is used for filtering the message, and the filtering operation comprises the following steps:
sequencing the messages;
configuring the priority of the message, and processing the message based on a priority queue mode;
based on the ID of the message and the detection and deletion of the reverse repeat message, deleting the repeat message;
carrying out toxic information detection, and deleting the message with the wrong format or the message needing to access the unavailable resource task;
based on the message life cycle configured by the message subscriber, checking whether the message is expired or not and deleting the expired message.
Preferably, the message publisher collects the requirements of the message subscriber through the message publishing module, and formulates the subscription topic aiming at the content of which the access amount or the query rate meets the threshold value.
Preferably, the message notification format includes a message content, a message type, a transmission location, a transmission time, and a message level;
the message queue receives and pushes messages on a first-in-first-out basis.
Preferably, the method further comprises the following steps:
the virtual machines are at least one, and the virtual machines are configured in the message queue application server and used for acquiring messages produced by a message producer from the message subscription module through the message receiving interface;
the switch is configured on the message queue application server and interacts with the switch, and is used for matching with the message pushing list to route the message to the corresponding message channel and pushing the message to the corresponding message subscriber through the message channel.
The multi-user message pushing method and the multi-user message pushing system based on the publish-subscribe mode have the following advantages that:
1. the publish/subscribe model may decouple many of the subsystems that need to communicate, each of which may be managed independently. And even if part of subsystems are offline, the overall management of system messages is not influenced, and the focus separation is provided for the application program. Each application can focus on its core functionality, while the messaging infrastructure is responsible for routing messages to each consumer;
2. the scalability of the system is improved, and the response capability of the sender is improved. The reason is that the sender can quickly send a message to the input channel and then return to its core processing responsibilities without having to wait for subsystem processing to complete. The messaging infrastructure is then responsible for ensuring that messages are delivered to each subscriber;
3. the publish/subscribe model improves reliability. Asynchronous messaging helps applications to continue to run smoothly under increased load and can handle intermittent failures more efficiently;
4. the publish/subscribe model allows for deferred or scheduled processing. For example, when the system is heavily loaded, a subscriber may wait until off-peak hours to receive messages, or process messages according to a particular schedule;
5. the testability is improved. The channel may be monitored and the messages may be examined or recorded as part of the overall integrated test strategy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a flow chart of a multi-user message push method based on a publish-subscribe mode according to embodiment 1;
fig. 2 is a block diagram illustrating a publish-subscribe process in a multi-user message push method based on a publish-subscribe mode according to embodiment 1.
Fig. 3 is a functional block diagram of a multi-user message push system based on a publish-subscribe mode according to embodiment 2.
Detailed Description
The present invention is further described in the following with reference to the drawings and the specific embodiments so that those skilled in the art can better understand the present invention and can implement the present invention, but the embodiments are not to be construed as limiting the present invention, and the embodiments and the technical features of the embodiments can be combined with each other without conflict.
The embodiment of the invention provides a multi-user message pushing method based on a publish-subscribe mode, which is used for solving the technical problem of how to send and receive messages based on the topic of the messages.
Example 1:
as shown in fig. 1 and fig. 2, the multi-user message pushing method based on the publish-subscribe mode of the present invention includes the following steps:
s100, collecting the requirements of the message subscriber by the message publisher, formulating a subscription theme, and setting a personalized message notification format according to the subscription theme;
the message subscribers subscribe or cancel the subscribed topics based on the interests of the message subscribers and generate corresponding topic subscription states, wherein the topic subscription states are used for representing the states of the subscription or the cancellation of each message subscriber to each subscribed topic;
storing a subscription theme, a message notification format and a theme subscription state through a message subscription list;
s200, the message publisher pushes the produced messages to a message queue, the message queue is a distributed message queue, and the message queue stores the received messages to a memory queue of the message queue;
s300, distributing each message based on the content and the theme, and pushing each message to a corresponding message subscriber in cooperation with a message subscription list.
In step S100, the message publisher performs subscription management, collects the requirements of the user (i.e., the message subscriber), formulates a subscription topic for the content with higher access amount or query rate, and the subscriber can subscribe or unsubscribe to a topic in the message channel. The topic enables the subscribers of the message and the publishers of the message to remain independent of each other, and the delivery of the message can be guaranteed without contact.
Meanwhile, the message publisher configures the message, sets a personalized message notification format according to different subscription topics, and specifically comprises the following steps: message content, message type, transmission location, transmission time, message level, etc.
In step S300, after the message queue acquires the message, the message is checked and distributed, and the message is checked and distributed according to the content of each message. Each subscriber may specify content of interest to him. There are two common forms of filtration: theme-based and content-based.
In a topic-based system, messages are published onto a topic or named channel. Subscribers will receive all messages on the topic to which they subscribe, and all subscribers subscribing to the same topic will receive the same message. Publishers are responsible for defining the categories of messages to which subscribers subscribe.
In a content-based system, a subscriber defines the conditions for messages that the subscriber is interested in, and a message is delivered to the subscriber only if the attributes or content of the message satisfy the subscriber-defined conditions. The subscriber needs to be responsible for classifying the messages. The system supports a mix of the two: publishers publish messages to topics and subscribers register content-based subscriptions to one or more topics.
And the message queue is used for storing the messages until the messages are sent to the consumers. It is the container of the message and also the end point of the message. A message may be dropped into one or more queues. The message is always inside the queue waiting for the consumer to connect to the queue and take it away.
Message queues provide a one-step communication protocol, meaning that the sender and recipient of a message do not need to stay in contact with the message at the same time, and the sender's message will be stored in the queue until the recipient picks it up. The sender of a message is generally referred to as the producer and the recipient of the message is referred to as the consumer. Because the producer and the consumer are opaque, they are contacted by a tie-message queue in the middle.
The distributed message queue can be regarded as deploying the data structure to an independent server, and using the distributed message queue through a remote access interface to store messages, so as to realize distributed asynchronous call. Correspondingly, the work flow is as follows:
(1) the message producer application program pushes the message to the message queue server through the remote access interface, and the message queue server writes the message into a local memory queue and immediately returns a successful response to the message producer;
(2) the message queue server searches a consumer application program subscribing the message according to the message subscription list, and sends the message in the message queue to the consumer application program through a remote communication interface according to a first-in first-out principle;
(3) the consumer application receives the pushed message and then performs a related series of processes, and the process is terminated.
In the process of pushing a message to a message queue by a message publisher, firstly, a message producer produces a message and sends the message to a virtual host in a message agent (server), an exchanger and a queue are arranged in the virtual host, the virtual host sends the message to a specified exchanger, and the exchanger judges which message queue the message is routed to according to a routing key of the message, wherein a routing rule is represented by a binding relationship. When the message arrives at the message queue, the consumer can take out the message from the message queue, the consumer establishes connection with the message queue, in order to save resources, a plurality of channels are opened up in each TCP connection, and data is transmitted to the consumer through the channels.
As an improvement, in order to improve the effectiveness of message publishing, before each message is pushed to a corresponding message subscriber, a filtering operation is performed on the message, and the filtering operation includes the following steps:
(1) the messages are sequenced, and the sequence of receiving the messages by the user instance is not necessarily ensured, nor does the sequence reflect the creation sequence of the messages. The method is designed to ensure that message processing is equal in magnitude to help eliminate any dependency on the order of message processing;
(2) the method comprises the steps of carrying out priority configuration on messages, and processing the messages based on a priority queue mode, wherein the priority queue mode provides a mechanism for ensuring that a specific message is transmitted before other messages;
(3) the same message may be sent multiple times based on the ID of the message and the detection and deletion of reverse repeat messages to delete duplicate messages. For example, a sender may have an exception after issuing a message, not recording that it has successfully sent the message, and then a new instance of the sender may initiate and repeat the message, and the message infrastructure should implement duplicate message detection and deletion (also referred to as deduplication) based on the message ID to provide at most one message pass;
(4) carrying out toxic information detection, deleting messages with wrong formats or messages needing to access unavailable resource tasks, and preventing the messages from returning to the queue, wherein otherwise, system faults can be caused;
(5) based on a message lifetime configured by a message subscriber, checking whether the message has expired and deleting the expired message, the message lifetime may be limited, it may no longer be valuable if not processed within this period of time, it should be discarded, the sender may specify the expiration time as part of the data in the message, and the receiver may check this information to ensure that the message has not expired before deciding whether to execute the business logic associated with the message.
In the multi-user message pushing method based on the publish-subscribe mode of the embodiment, the publish/subscribe mode enables distribution of messages to break through the limitation of geographic orientation of a destination queue, so that the messages are distributed according to a specific theme or even content, and users or application programs can receive required messages according to the theme or the content.
The publish/subscribe mode loosens the coupling between the sender and the receiver, and the sender does not need to be concerned about the destination address of the receiver, and the receiver does not need to be concerned about the sending address of the message, but only sends and receives the message according to the subject of the message. The method is convenient for the masses of users to receive the message reminding, so that the related subscription topics need to be configured in advance according to the user requirements for the users to select. The following description takes the subject of applicant subscription 'interpretation of policy and regulation' as an example:
(1) configuring a policy and regulation reading template in the configuration of a subscription theme template;
(2) configuring 'user is your good, the latest policy and regulation is used for reading the message and please click to view' in the message template configuration;
(3) and issuing related policy interpretation information in the subject template configuration of 'policy and regulation interpretation'.
(4) And starting message timing sending configuration in the message sending configuration, and sending a message prompt to the subscriber.
Example 2:
as shown in fig. 3, the multi-user message push system based on the publish-subscribe mode of the present invention includes a message publishing module, a message subscribing module, a message push list, a message queue, a message push module, and a message monitoring module, where the message publishing module faces to a message publisher and is configured in a corresponding message publisher application server, the message publisher collects the requirements of the message publisher through the message publishing module, formulates a subscription topic, and sets a personalized message notification format according to the subscription topic, and the message publisher produces and publishes a message through the message publishing module; the message receiving module faces to a message subscriber and is configured on a corresponding message subscriber application server, the message subscriber subscribes or cancels a subscription theme based on the interest of the message subscriber through the message subscription module and generates a corresponding theme subscription state, and the message subscriber receives a message through the message subscription module; the message push list is configured in the corresponding message queue application server and used for storing the subscription theme, the message notification format and the theme subscription state; the message queue is a distributed message queue and is configured in a corresponding message queue application server, the message subscription module is used for calling a message sending interface to send the message produced by the message subscriber to the message queue, and the message queue stores the received message to a memory queue thereof; the message pushing module is configured in the corresponding message queue application server and used for distributing each message based on the content and the theme and pushing each message to the corresponding message subscriber through the message pushing interface in cooperation with the message subscription list.
The message monitoring module is used for filtering the message, and the filtering operation comprises the following steps:
(1) sequencing the messages;
(2) configuring the priority of the message, and processing the message based on a priority queue mode;
(3) based on the ID of the message and the detection and deletion of the reverse repeat message, deleting the repeat message;
(4) carrying out toxic information detection, and deleting the message with the wrong format or the message needing to access the unavailable resource task;
(5) based on the message life cycle configured by the message subscriber, checking whether the message is expired or not and deleting the expired message.
The message publisher collects the requirements of the message subscriber through the message publishing module, and formulates a subscription theme aiming at the content of which the access amount or the query rate meets the threshold value.
The message notification format includes message content, message type, transmission location, transmission time, and message level.
The message queue receives and pushes messages on a first-in-first-out basis.
In this embodiment, the system further includes a switch and at least one virtual machine, where the virtual machine is configured in the message queue application server and is used to obtain, from the message subscription module, a message generated by the message producer through the message receiving interface; the switch is configured on the message queue application server and interacts with the switch, and is used for matching with the message pushing list, routing the message to the corresponding message channel, and pushing the message to the corresponding message subscriber through the message channel.
The multi-user message push system based on the publish-subscribe pattern of this embodiment can execute the multi-user message push method based on the publish-subscribe pattern disclosed in embodiment 1.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.
Claims (10)
1. The multi-user message pushing method based on the publish-subscribe mode is characterized by comprising the following steps of:
the method comprises the steps that a message publisher collects the requirements of a message subscriber, formulates a subscription theme, and sets a personalized message notification format according to the subscription theme;
the message subscribers subscribe or cancel the subscribed topics based on the interests of the message subscribers and generate corresponding topic subscription states, wherein the topic subscription states are used for representing the states of subscription or cancellation of each message subscriber to each subscribed topic;
storing the subscription theme, the message notification format and the theme subscription state through a message subscription list;
the message publisher pushes the messages generated by the message publisher to a message queue, the message queue is a distributed message queue, and the message queue stores the received messages to a memory queue of the message queue;
and distributing each message based on the content and the theme, and pushing each message to a corresponding message subscriber in cooperation with a message subscription list.
2. The method of claim 1, wherein the message publisher collects the requirements of the message subscriber, and formulates a subscription topic for the content whose access or query rate meets a threshold.
3. The publish-subscribe pattern based multi-user message push method according to claim 1, wherein the message notification format comprises message content, message type, sending location, sending time, and message level.
4. The publish-subscribe pattern based multi-user message push method according to claim 1, wherein the message queue receives and pushes messages on a first-in-first-out basis.
5. The multi-user message pushing method based on publish-subscribe pattern as claimed in claim 1, wherein the message producer pushes the message it produces to the virtual machine, and the virtual machine routes the message to the corresponding message queue through the switch.
6. The multi-user message pushing method based on the publish-subscribe mode according to any one of claims 1 to 5, wherein before pushing each message to the corresponding message subscriber, filtering the message, the filtering operation comprises the following steps:
sequencing the messages;
configuring the priority of the message, and processing the message based on a priority queue mode;
based on the ID of the message and the detection and deletion of the reverse repeat message, deleting the repeat message;
carrying out toxic information detection, and deleting the message with the wrong format or the message needing to access the unavailable resource task;
based on the message life cycle configured by the message subscriber, checking whether the message is expired or not and deleting the expired message.
7. The multi-user message pushing system based on the publish-subscribe mode is characterized by comprising the following steps:
the message publishing module faces to a message publisher and is configured on a corresponding message publisher application server, the message publisher collects the requirements of the message subscriber through the message publishing module, formulates a subscription theme, sets a personalized message notification format according to the subscription theme, and the message publisher produces and publishes messages through the message publishing module;
the message receiving module faces to a message subscriber and is configured on a corresponding message subscriber application server, the message subscriber subscribes or cancels a subscription theme based on the interest of the message subscriber through the message subscription module and generates a corresponding theme subscription state, and the message subscriber receives a message through the message subscription module;
the message pushing list is configured on a corresponding message queue application server and used for storing the subscription theme, the message notification format and the theme subscription state;
the message subscribing module is used for calling a message sending interface to send messages produced by a message subscriber to the message queue, and the message queue stores the received messages to a memory queue thereof;
the message pushing module is configured on the corresponding message queue application server and used for distributing each message based on content and theme and pushing each message to a corresponding message subscriber through a message pushing interface in cooperation with the message subscription list;
the message monitoring module is used for filtering the message, and the filtering operation comprises the following steps:
sequencing the messages;
configuring the priority of the message, and processing the message based on a priority queue mode;
based on the ID of the message and the detection and deletion of the reverse repeat message, deleting the repeat message;
carrying out toxic information detection, and deleting the message with the wrong format or the message needing to access the unavailable resource task;
based on the message life cycle configured by the message subscriber, checking whether the message is expired or not and deleting the expired message.
8. The multi-user message push system based on publish-subscribe messaging according to claim 7, wherein the message publisher collects the message subscriber's requirement through the message publish module, and makes a subscription topic for the content whose access amount or query rate satisfies the threshold.
9. The publish-subscribe pattern based multi-user message push system of claim 7 wherein the message notification format comprises message content, message type, sending location, sending time, and message level;
the message queue receives and pushes messages on a first-in-first-out basis.
10. The publish-subscribe pattern based multi-user message push system according to any one of claims 7 to 9, further comprising:
the virtual machines are at least one, and the virtual machines are configured in the message queue application server and used for acquiring messages produced by a message producer from the message subscription module through the message receiving interface;
the switch is configured on the message queue application server and interacts with the switch, and is used for matching with the message pushing list to route the message to the corresponding message channel and pushing the message to the corresponding message subscriber through the message channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111046838.0A CN113905089A (en) | 2021-09-06 | 2021-09-06 | Multi-user message pushing method and system based on publish-subscribe mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111046838.0A CN113905089A (en) | 2021-09-06 | 2021-09-06 | Multi-user message pushing method and system based on publish-subscribe mode |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113905089A true CN113905089A (en) | 2022-01-07 |
Family
ID=79188697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111046838.0A Pending CN113905089A (en) | 2021-09-06 | 2021-09-06 | Multi-user message pushing method and system based on publish-subscribe mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113905089A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113596150A (en) * | 2021-07-28 | 2021-11-02 | 南方电网数字电网研究院有限公司 | Message pushing method and device, computer equipment and storage medium |
CN114666292A (en) * | 2022-04-01 | 2022-06-24 | 广州大学 | Instant messaging technology method, system and medium |
CN114661720A (en) * | 2022-03-28 | 2022-06-24 | 浪潮卓数大数据产业发展有限公司 | Method and system for distributing data according to authority based on message queue |
CN115134419A (en) * | 2022-06-24 | 2022-09-30 | 杭州涂鸦信息技术有限公司 | Data transmission method, device, equipment and medium |
CN115150458A (en) * | 2022-05-20 | 2022-10-04 | 阿里云计算有限公司 | Device management system and method |
CN115189918A (en) * | 2022-06-17 | 2022-10-14 | 江苏电力信息技术有限公司 | Information distribution method based on personalized adaptation |
CN115665238A (en) * | 2022-09-21 | 2023-01-31 | 深圳市米糠云科技有限公司 | Method and system for processing data publishing and subscribing of call center |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953426A (en) * | 2005-10-19 | 2007-04-25 | 国际商业机器公司 | Publish/subscribe system and method for managing subscriptions |
CN101378403A (en) * | 2008-07-02 | 2009-03-04 | 北京航空航天大学 | System and method for processing resource notification based on aggregation |
US20090125420A1 (en) * | 2007-11-14 | 2009-05-14 | Xuefu Zhang | Web-based information delivery method, system, and apparatus |
US20110258268A1 (en) * | 2010-04-19 | 2011-10-20 | International Business Machines Corporation | Controlling message delivery in publish/subscribe messaging |
CN104092767A (en) * | 2014-07-21 | 2014-10-08 | 北京邮电大学 | Posting/subscribing system for adding message queue models and working method thereof |
WO2018077304A1 (en) * | 2016-10-31 | 2018-05-03 | 中兴通讯股份有限公司 | Service information processing method, apparatus and system |
CN110875935A (en) * | 2018-08-30 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Message publishing, processing and subscribing method, device and system |
-
2021
- 2021-09-06 CN CN202111046838.0A patent/CN113905089A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953426A (en) * | 2005-10-19 | 2007-04-25 | 国际商业机器公司 | Publish/subscribe system and method for managing subscriptions |
US20090125420A1 (en) * | 2007-11-14 | 2009-05-14 | Xuefu Zhang | Web-based information delivery method, system, and apparatus |
CN101378403A (en) * | 2008-07-02 | 2009-03-04 | 北京航空航天大学 | System and method for processing resource notification based on aggregation |
US20110258268A1 (en) * | 2010-04-19 | 2011-10-20 | International Business Machines Corporation | Controlling message delivery in publish/subscribe messaging |
CN104092767A (en) * | 2014-07-21 | 2014-10-08 | 北京邮电大学 | Posting/subscribing system for adding message queue models and working method thereof |
WO2018077304A1 (en) * | 2016-10-31 | 2018-05-03 | 中兴通讯股份有限公司 | Service information processing method, apparatus and system |
CN110875935A (en) * | 2018-08-30 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Message publishing, processing and subscribing method, device and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113596150A (en) * | 2021-07-28 | 2021-11-02 | 南方电网数字电网研究院有限公司 | Message pushing method and device, computer equipment and storage medium |
CN114661720A (en) * | 2022-03-28 | 2022-06-24 | 浪潮卓数大数据产业发展有限公司 | Method and system for distributing data according to authority based on message queue |
CN114666292A (en) * | 2022-04-01 | 2022-06-24 | 广州大学 | Instant messaging technology method, system and medium |
CN115150458A (en) * | 2022-05-20 | 2022-10-04 | 阿里云计算有限公司 | Device management system and method |
CN115189918A (en) * | 2022-06-17 | 2022-10-14 | 江苏电力信息技术有限公司 | Information distribution method based on personalized adaptation |
CN115134419A (en) * | 2022-06-24 | 2022-09-30 | 杭州涂鸦信息技术有限公司 | Data transmission method, device, equipment and medium |
CN115665238A (en) * | 2022-09-21 | 2023-01-31 | 深圳市米糠云科技有限公司 | Method and system for processing data publishing and subscribing of call center |
CN115665238B (en) * | 2022-09-21 | 2023-09-08 | 深圳市米糠云科技有限公司 | Method and system for processing call center data publish and subscribe |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113905089A (en) | Multi-user message pushing method and system based on publish-subscribe mode | |
US10594641B2 (en) | Dynamic filter generation for message management systems | |
US6292825B1 (en) | Service application with pull notification | |
US8606859B2 (en) | Method and system to communicate messages in a computer network | |
US8539030B2 (en) | System and method for managing digests comprising electronic messages | |
US20020178227A1 (en) | Routing instant messages using configurable, pluggable delivery managers | |
US20060288037A1 (en) | Queued system event notification and maintenance | |
JP2006018833A (en) | When-free messaging | |
JP2004266815A (en) | Bounded-deferral policy for guiding timing of alerting, interaction and communications using local sensory information | |
CN103944924A (en) | Ubiquitous network publish-subscribe middleware model based on RESTful | |
US6240453B1 (en) | Managing unused resources in a service application | |
WO2006039417A2 (en) | Message thread handling | |
CN101317416A (en) | Content router | |
CN101193078A (en) | Method and system for managing subscribing matching | |
JP2006236319A (en) | Method and system for aggregating communication destination information from a plurality of communication destination sources | |
CN102236715A (en) | Cooperating evaluating and filtering for e-mail message | |
US8214475B1 (en) | System and method for managing content interest data using peer-to-peer logical mesh networks | |
CN113938522B (en) | Event message transmission method, system, device and computer storage medium | |
JP2003158552A (en) | Message distribution system and method, and program for the system | |
US7870208B2 (en) | Dynamic reader-instigated categorization and distribution restriction of mailing list threads | |
WO2015030740A1 (en) | Message delivery via preferred communications applications | |
CN113839856B (en) | Office processing system based on message affairs | |
JP2005228255A (en) | System and method for processing message | |
US20220012670A1 (en) | Flexible routing of outbound contact requests | |
US20020035608A1 (en) | Automated follow-up to a request |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |