CN113645576A - Unified message method and system - Google Patents

Unified message method and system Download PDF

Info

Publication number
CN113645576A
CN113645576A CN202110961772.1A CN202110961772A CN113645576A CN 113645576 A CN113645576 A CN 113645576A CN 202110961772 A CN202110961772 A CN 202110961772A CN 113645576 A CN113645576 A CN 113645576A
Authority
CN
China
Prior art keywords
message
channel
module
processing module
unified
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.)
Granted
Application number
CN202110961772.1A
Other languages
Chinese (zh)
Other versions
CN113645576B (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 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.

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 short messages as an example, third-party short message platforms such as a Aliyun short message, a Huashi cloud short message, a Tengxin cloud short message, a Chuanglan 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, the 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 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.
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 following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit 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 message channels of the same type are switched, after receiving the 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.
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 (10)

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. and different message processing modules complete the distribution of the messages by subscribing to the corresponding Topic in the RocketMq module.
2. The unified messaging method according to claim 1, further comprising the steps of:
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.
3. The unified messaging method according to claim 2, wherein switching of message channels is controlled in a message protocol by channel attributes, the channel selector selecting channel attributes in a protocol to select a corresponding message channel processing module.
4. 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.
5. The unified messaging method according to claim 1, wherein said Topic comprises short message Topic, email Topic, wechat applet Topic.
6. The unified messaging method of claim 5, wherein said message processing modules comprise a short message processing module, a mail processing module and a wechat applet processing module.
7. 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.
8. The unified messaging system according to claim 7, wherein when the message channels of the same type are switched, the message processing module receives the message of the corresponding Topic, selects the corresponding message channel processing module through the channel selector, and sends the message through the unified channel executor.
9. The unified messaging system according to claim 8, wherein switching of message channels is controlled in a message protocol by channel attributes, the channel selector selecting channel attributes in a protocol to select a corresponding message channel processing module.
10. The unified messaging system according to claim 7, 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 true CN113645576A (en) 2021-11-12
CN113645576B 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1193906A2 (en) * 2000-09-27 2002-04-03 Telefonaktiebolaget L M 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
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
CN107770048A (en) * 2017-10-16 2018-03-06 浪潮软件股份有限公司 A kind of application message method for pushing and device
CN107872494A (en) * 2016-09-28 2018-04-03 腾讯科技(深圳)有限公司 A kind of information push method 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
CN111327519A (en) * 2020-02-17 2020-06-23 北京四信数字技术有限公司 Method, device, equipment and storage medium for sending multi-channel message content
CN111953579A (en) * 2020-07-15 2020-11-17 广州市玄武无线科技股份有限公司 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1193906A2 (en) * 2000-09-27 2002-04-03 Telefonaktiebolaget L M 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
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
CN107872494A (en) * 2016-09-28 2018-04-03 腾讯科技(深圳)有限公司 A kind of information push method and device
CN106302817A (en) * 2016-09-29 2017-01-04 南京中新赛克科技有限责任公司 A kind of data/address bus implementation method based on Distributed Message Queue and device
CN107770048A (en) * 2017-10-16 2018-03-06 浪潮软件股份有限公司 A kind of application message method for pushing 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
CN111327519A (en) * 2020-02-17 2020-06-23 北京四信数字技术有限公司 Method, device, equipment and storage medium for sending multi-channel message content
CN111953579A (en) * 2020-07-15 2020-11-17 广州市玄武无线科技股份有限公司 Message generation method, system, terminal and storage medium
CN112671883A (en) * 2020-12-18 2021-04-16 浙江融象数科控股有限公司 Design method of multifunctional message notification system

Also Published As

Publication number Publication date
CN113645576B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN100534073C (en) Method and system for shielding inner group message in instant communication tool
CN101562894B (en) Sending method of buffer state report and equipment thereof
JP4740328B2 (en) Messenger notification system and method using sink server
US7657260B2 (en) Method of providing data redundancy for home location register
CN102035684B (en) A kind of failure notification method and system
CN103248561A (en) Cross-platform and cross-terminal communication method and message system
UA80958C2 (en) Method for receiving by a mobile terminal of mbms service, method for transmitting mbms service to a mobile terminal, a mobile terminal for receiving mbms service and universal mobile telecommunication system for introdusing mbms service
CN113541764B (en) Ground management and control system of multi-satellite networking
CN108932182B (en) Message bus performance test method and system
CN105072145A (en) IOT (Internet of Things) communication method and system
CN109474900B (en) Short message service system and service method
CN101478486B (en) Method, equipment and system for switch network data scheduling
CN101631224B (en) Method for reserving and initiating wireless video conference and system thereof
CN101540965A (en) Method for processing dual-card multimedia message based on Windows Mobile platform
CN113645576B (en) Unified message method and system
CN102209049B (en) Instant messaging system and method for user information processing
CN105721553A (en) Self-adaptive cluster message dispatcher
EP2139247A1 (en) Method for drift radio network controller to report that cell does not support transmission interval
CN111787494A (en) Short message sending reliable method based on micro service
CN103297992A (en) Achievement system of high-level protocol stack in LTE terminal tester based on TTCN-3
CN103338438B (en) Method and mobile terminal that a kind of information state is replied
CN102447948B (en) Network television server and message sending method thereof
WO2015184780A1 (en) Method, device, and system for processing information
CN102695142A (en) Method for all media science popularization window SMS message intelligent control
CN101998305A (en) Short message scheduling method and system

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