CN113645576B - Unified message method and system - Google Patents

Unified message method and system Download PDF

Info

Publication number
CN113645576B
CN113645576B CN202110961772.1A CN202110961772A CN113645576B CN 113645576 B CN113645576 B CN 113645576B CN 202110961772 A CN202110961772 A CN 202110961772A CN 113645576 B CN113645576 B CN 113645576B
Authority
CN
China
Prior art keywords
message
module
channel
processing module
topic
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.)
Active
Application number
CN202110961772.1A
Other languages
Chinese (zh)
Other versions
CN113645576A (en
Inventor
王珏
徐金马
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Liangyihui Network Technology Co ltd
Original Assignee
Suzhou Liangyihui Network Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Liangyihui Network Technology Co ltd filed Critical Suzhou Liangyihui Network Technology Co ltd
Priority to CN202110961772.1A priority Critical patent/CN113645576B/en
Publication of CN113645576A publication Critical patent/CN113645576A/en
Application granted granted Critical
Publication of CN113645576B publication Critical patent/CN113645576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a unified message method and a system, wherein the method comprises the following steps: A. the service system sends the message to a message receiving module; B. the message receiving module sends a message to the message processing module through the RocktMq module; C. and different message processing modules complete the distribution of the messages by subscribing to the corresponding Topic in the RocketMq module. The unified message method and system are based on the RockettMq, and can fully utilize the characteristics of the RockettMq to replace a dispatching system of a message center. The message center changes each message processing module from independent deployment into a comprehensive message system, so that the expansion is easier, and the operation and maintenance are simpler. The message processing modules are respectively designed according to message types, and the channel selector in the message processing modules can also better facilitate the channel expansion of the same type.

Description

Unified message method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a unified message method and system.
Background
With the development of communication technology, different types of message channels are increasing, and the same type of message channels are also increasing. Taking the short message as an example, third-party short message platforms such as ali Yun Duanxin, huacheng cloud short message, tengchun cloud short message, chuanlan 253 short message and the like exist in the market.
However, in the prior art, a unified scheduling center is mostly established, and then a control module in the unified scheduling center distributes a message to an execution module according to a configuration policy, for example, in patent 200910110772.X, an execution module is also added during expansion, referring to fig. 1-2. The method is expanded in the same type of message channels, and the compatibility of interfaces is required to be considered when users switch the same type of message channels, so that the operation is inconvenient, and the integration is difficult.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a unified message method which has strong universality, simplicity, feasibility and easy expansion.
In order to solve the above problems, the present invention provides a unified messaging method, which comprises the following steps:
A. the service system sends the message to a message receiving module;
B. the message receiving module sends a message to the message processing module through the RocktMq module;
C. and different message processing modules complete the distribution of the messages by subscribing to the corresponding Topic in the RocketMq module.
As a further improvement of the invention, the method also comprises the following steps:
D. when the same type of message channels are switched, the message processing module receives the corresponding message of the Topic, selects the corresponding message channel processing module through the channel selector, and sends the message through the uniform channel executor.
As a further improvement of the invention, the switching of the message channels is controlled by channel attributes in the message protocol, and the channel selector selects the channel attributes in the protocol to select the corresponding message channel processing module.
As a further improvement of the present invention, step a specifically includes: the service system sends the message to the message receiving module through the unified message protocol.
As a further improvement of the invention, the Topic comprises a short message Topic, a mail Topic and a WeChat applet Topic.
As a further improvement of the invention, the message processing module comprises a short message processing module, a mail processing module and a wechat small program processing module.
The present invention also provides a unified message system, which includes: the service system is in communication connection with the message receiving module, the message receiving module sends messages to the message processing module through the Rockmtq module, and different message processing modules complete message distribution by subscribing corresponding topics in the Rockmtq module.
As a further improvement of the present invention, when different types of message channels are switched, after receiving a corresponding message of Topic, the message processing module selects the corresponding message channel processing module through the channel selector, and sends the message through the uniform channel executor.
As a further improvement of the invention, the switching of the message channels is controlled by channel attributes in the message protocol, and the channel selector selects the channel attributes in the protocol to select the corresponding message channel processing module.
As a further improvement of the invention, the service system is in communication connection with the message receiving module through a unified message protocol.
The invention has the beneficial effects that:
the unified message method and the unified message system are based on the RockettMq, can fully utilize the characteristics of the RockettMq and replace a dispatching system of a message center. The message center changes each message processing module from independent deployment into a comprehensive message system, so that the expansion is easier, and the operation and maintenance are simpler. The message processing modules are respectively designed according to message types, and the channel selector in the message processing modules can also better facilitate the channel expansion of the same type.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Drawings
FIG. 1 is a schematic diagram of a prior art unified messaging system;
FIG. 2 is an internal block diagram of a prior art unified messaging system;
FIG. 3 is a schematic diagram of a unified messaging system in a preferred embodiment of the present invention;
FIG. 4 is a schematic illustration of message distribution in a preferred embodiment of the present invention;
fig. 5 is a schematic diagram of the internal structure of a message processing module in the preferred embodiment of the present invention.
Detailed Description
The present invention is further described below in conjunction with the drawings and the embodiments so that those skilled in the art can better understand the present invention and can carry out the present invention, but the embodiments are not to be construed as limiting the present invention.
As shown in fig. 1, the unified messaging method in the preferred embodiment of the present invention includes the following steps:
A. the service system sends the message to a message receiving module;
B. the message receiving module sends a message to the message processing module through the RocktMq module;
C. and different message processing modules complete the distribution of the messages by subscribing to the corresponding Topic in the RocketMq module.
Optionally, the method further comprises the following steps:
D. when the same type of message channels are switched, the message processing module receives the corresponding message of the Topic, selects the corresponding message channel processing module through the channel selector, and sends the message through the uniform channel executor.
The switching of the message channels is controlled by channel attributes in the message protocol, and the channel selector selects the channel attributes in the protocol to select the corresponding message channel processing module.
The step A specifically comprises the following steps: the service system sends the message to the message receiving module through the unified message protocol.
Optionally, the Topic includes a short message Topic, a mail Topic, a WeChat applet Topic, and the like.
Correspondingly, the message processing module comprises a short message processing module, a mail processing module, a wechat applet processing module and the like.
The preferred embodiment of the present invention also discloses a unified message system, which comprises: the service system is in communication connection with the message receiving module, the message receiving module sends the message to the message processing module through the RocktMq module, and different message processing modules complete the distribution of the message by subscribing corresponding Topic in the RocktMq module.
In this embodiment, when the same type of message channels are switched, after receiving the corresponding Topic message, the message processing module selects the corresponding message channel processing module through the channel selector, and sends the message through the uniform channel executor.
The switching of the message channels is controlled by channel attributes in the message protocol, and the channel selector selects the channel attributes in the protocol to select the corresponding message channel processing module.
Optionally, the service system is in communication connection with the message receiving module through a unified message protocol.
Optionally, the Topic includes a short message Topic, a mail Topic, a WeChat applet Topic, and the like.
Correspondingly, the message processing module comprises a short message processing module, a mail processing module, a wechat applet processing module and the like.
The unified message method and the unified message system are based on the RockettMq, can fully utilize the characteristics of the RockettMq and replace a dispatching system of a message center. The message center changes each message processing module from independent deployment into a comprehensive message system, so that the expansion is easier, and the operation and maintenance are simpler. The message processing modules are respectively designed according to message types, and the channel selector in the message processing modules can also better facilitate the channel expansion of the same type.
The above embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (6)

1. A unified messaging method, comprising the steps of:
A. the service system sends the message to a message receiving module;
B. the message receiving module sends a message to the message processing module through the RocktMq module;
C. different message processing modules complete the distribution of messages by subscribing to corresponding Topic in the RocketMq module;
D. when the same type of message channels are switched, the message processing module receives the corresponding message of the Topic, selects the corresponding message channel processing module through the channel selector and sends the message through the uniform channel executor;
the switching of the message channels is controlled by channel attributes in the message protocol, and the channel selector selects the channel attributes in the protocol to select the corresponding message channel processing module.
2. The unified message method of claim 1, wherein step a specifically comprises: the service system sends the message to the message receiving module through the unified message protocol.
3. The unified messaging method according to claim 1, wherein said Topic comprises short message Topic, email Topic, wechat applet Topic.
4. A unified messaging method according to claim 3, wherein said message processing modules include a short message processing module, a mail processing module and a wechat applet processing module.
5. A unified messaging system, comprising: the service system is in communication connection with the message receiving module, the message receiving module sends the message to the message processing module through the RocktMq module, and different message processing modules complete the distribution of the message by subscribing corresponding Topic in the RocktMq module;
when the same type of message channels are switched, the message processing module receives the corresponding message of the Topic, selects the corresponding message channel processing module through the channel selector and sends the message through the uniform channel executor;
the switching of the message channels is controlled by channel attributes in the message protocol, and the channel selector selects the channel attributes in the protocol to select the corresponding message channel processing module.
6. The unified messaging system according to claim 5, wherein the business system is communicatively coupled to the message receiving module via a unified messaging protocol.
CN202110961772.1A 2021-08-20 2021-08-20 Unified message method and system Active CN113645576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110961772.1A CN113645576B (en) 2021-08-20 2021-08-20 Unified message method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110961772.1A CN113645576B (en) 2021-08-20 2021-08-20 Unified message method and system

Publications (2)

Publication Number Publication Date
CN113645576A CN113645576A (en) 2021-11-12
CN113645576B true CN113645576B (en) 2023-03-24

Family

ID=78423123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110961772.1A Active CN113645576B (en) 2021-08-20 2021-08-20 Unified message method and system

Country Status (1)

Country Link
CN (1) CN113645576B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610926A (en) * 2015-12-22 2016-05-25 广州唯品会信息科技有限公司 Message transmitting method and system and message middleware system
CN105809356A (en) * 2016-03-14 2016-07-27 浪潮软件股份有限公司 Information system resource management method based on application integrated cloud platform
CN106302817A (en) * 2016-09-29 2017-01-04 南京中新赛克科技有限责任公司 A kind of data/address bus implementation method based on Distributed Message Queue and device
CN109688200A (en) * 2018-11-30 2019-04-26 北京奇艺世纪科技有限公司 A kind of message treatment method, device and equipment
CN110086636A (en) * 2019-04-17 2019-08-02 平安科技(深圳)有限公司 A kind of message distributing method based on mqtt, server and storage medium
CN110956485A (en) * 2018-09-27 2020-04-03 千寻位置网络有限公司 Message subscription method and component based on RocktMQ and message subscription system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1193906A3 (en) * 2000-09-27 2005-05-25 Telefonaktiebolaget LM Ericsson (publ) Filter deployment method and agent for event channel networks
CN102045451A (en) * 2009-10-14 2011-05-04 中兴通讯股份有限公司 Uniform message scheduling system and business message notification method and system
CN107872494B (en) * 2016-09-28 2020-12-08 腾讯科技(深圳)有限公司 Message pushing method and device
CN107770048A (en) * 2017-10-16 2018-03-06 浪潮软件股份有限公司 A kind of application message method for pushing and device
CN111327519A (en) * 2020-02-17 2020-06-23 北京四信数字技术有限公司 Method, device, equipment and storage medium for sending multi-channel message content
CN111953579B (en) * 2020-07-15 2022-01-11 广州市玄武无线科技股份有限公司 Message generation method, system, terminal and storage medium
CN112671883A (en) * 2020-12-18 2021-04-16 浙江融象数科控股有限公司 Design method of multifunctional message notification system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610926A (en) * 2015-12-22 2016-05-25 广州唯品会信息科技有限公司 Message transmitting method and system and message middleware system
CN105809356A (en) * 2016-03-14 2016-07-27 浪潮软件股份有限公司 Information system resource management method based on application integrated cloud platform
CN106302817A (en) * 2016-09-29 2017-01-04 南京中新赛克科技有限责任公司 A kind of data/address bus implementation method based on Distributed Message Queue and device
CN110956485A (en) * 2018-09-27 2020-04-03 千寻位置网络有限公司 Message subscription method and component based on RocktMQ and message subscription system
CN109688200A (en) * 2018-11-30 2019-04-26 北京奇艺世纪科技有限公司 A kind of message treatment method, device and equipment
CN110086636A (en) * 2019-04-17 2019-08-02 平安科技(深圳)有限公司 A kind of message distributing method based on mqtt, server and storage medium

Also Published As

Publication number Publication date
CN113645576A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
JP4740328B2 (en) Messenger notification system and method using sink server
CN113259970B (en) Communication method and terminal device
US7657260B2 (en) Method of providing data redundancy for home location register
CN101571813B (en) Master/slave scheduling method in multimachine assembly
CN102238284B (en) Instant messaging method for mobile phone
CN112104720B (en) MQTT double-Broker data interaction method and system suitable for edge internet of things terminal
CN101562894A (en) Sending method of buffer state report and equipment thereof
CN108932182B (en) Message bus performance test method and system
CN113541764A (en) Ground management and control system of multi-satellite networking
CN105072145A (en) IOT (Internet of Things) communication method and system
CN101478486B (en) Method, equipment and system for switch network data scheduling
CN101631224B (en) Method for reserving and initiating wireless video conference and system thereof
CN113645576B (en) Unified message method and system
CN109474900B (en) Short message service system and service method
US8374598B2 (en) Method for drift radio network controller to report that cell does not support transmission interval
CN105721553A (en) Self-adaptive cluster message dispatcher
CN102209049B (en) Instant messaging system and method for user information processing
CN111092419B (en) Information protection substation and priority response method thereof for master station command
CN103297992A (en) Achievement system of high-level protocol stack in LTE terminal tester based on TTCN-3
CN111787494A (en) Short message sending reliable method based on micro service
CN101106739B (en) IM message forward method for IM service
CN102695142A (en) Method for all media science popularization window SMS message intelligent control
CN102447948B (en) Network television server and message sending method thereof
CN102075453A (en) Mobile phone short message and intranet mailbox communication system and implementation method thereof
CN100426884C (en) Method for transmitting short message condition report

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
GR01 Patent grant
GR01 Patent grant