Movatterモバイル変換


[0]ホーム

URL:


CN113612796B - Multi-channel communication protocol unification method and system - Google Patents

Multi-channel communication protocol unification method and system
Download PDF

Info

Publication number
CN113612796B
CN113612796BCN202110961759.6ACN202110961759ACN113612796BCN 113612796 BCN113612796 BCN 113612796BCN 202110961759 ACN202110961759 ACN 202110961759ACN 113612796 BCN113612796 BCN 113612796B
Authority
CN
China
Prior art keywords
message
attribute
channel
extension
communication protocol
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
CN202110961759.6A
Other languages
Chinese (zh)
Other versions
CN113612796A (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 ltdfiledCriticalSuzhou Liangyihui Network Technology Co ltd
Priority to CN202110961759.6ApriorityCriticalpatent/CN113612796B/en
Publication of CN113612796ApublicationCriticalpatent/CN113612796A/en
Application grantedgrantedCritical
Publication of CN113612796BpublicationCriticalpatent/CN113612796B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a method and a system for unifying multi-channel communication protocols, wherein the method comprises the following steps: A. the client selects a channel corresponding to the message and a platform or account body corresponding to the channel; B. the client acquires different extension attribute generators through different message channel attributes, and adds the extension attributes into a message extension module; C. the client assembles the extension attribute, the message channel definition attribute and the general message attribute through a message protocol generator to generate a unified communication protocol; D. the message center acquires the unified communication protocol and analyzes the message channel attribute through a message protocol analyzer; E. the message center selects a corresponding extended attribute analyzer to analyze the corresponding attribute through the message channel attribute; F. the message center generates message attributes corresponding to the message channels and invokes logic processing of the corresponding channels. The method has high feasibility and strong applicability, solves the problem of integration of the third party information, and greatly reduces the difficulty of information integration and use.

Description

Multi-channel communication protocol unification method and system
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for unifying multi-channel communication protocols.
Background
There are many channels of messages on the market today, for example: short messages, mails, weChats (public numbers, applets), aurora and the like, and each message channel is different in platform or corresponding account number main body, so that communication protocols are different and complex, and are difficult to unify. In the prior art, communication of different channels adopts APIs (application program interfaces) provided by different platforms, and when a plurality of message channels need to be called in a system, communication is required to be carried out through different agreements, so that agreements for interfacing the different message channels are required, and the user experience is poor.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a multi-channel communication protocol unification method with high feasibility and strong applicability.
In order to solve the above problems, the present invention provides a unified method of multi-channel communication protocol, comprising the steps of:
A. the client selects a channel corresponding to the message and a platform or account body corresponding to the channel;
B. the client acquires different extension attribute generators through different message channel attributes, and adds the extension attributes into a message extension module;
C. the client assembles the extension attribute, the message channel definition attribute and the general message attribute through a message protocol generator to generate a unified communication protocol;
D. the message center acquires the unified communication protocol and analyzes the message channel attribute through a message protocol analyzer;
E. the message center selects a corresponding extended attribute analyzer to analyze the corresponding attribute through the message channel attribute;
F. the message center generates message attributes corresponding to the message channels and invokes logic processing of the corresponding channels.
As a further development of the invention, step a is preceded by the step of: the same message channel attribute is configured for the client and the message center.
As a further improvement of the invention, the generic message attributes include the content of the message, the sender and receiver of the message, the title of the message, the content of the message.
As a further improvement of the invention, the message channel comprises a short message and a mail.
The invention also provides a system for unifying the multi-channel communication protocols, which comprises:
the client is used for selecting a channel corresponding to the message and a platform or account body corresponding to the channel; acquiring different extension attribute generators through different message channel attributes, and adding the extension attributes into a message extension module; the extended attribute, the message channel definition attribute and the general message attribute are assembled through a message protocol generator to generate a unified communication protocol;
the message center is used for acquiring the unified communication protocol and analyzing the message channel attribute through the message protocol analyzer; selecting a corresponding extended attribute analyzer to analyze the corresponding attribute through the message channel attribute; and generating message attributes of the corresponding message channels and calling logic processing of the corresponding channels.
As a further improvement of the invention, the method also comprises a message channel attribute configuration module which is used for configuring the same message channel attribute for the client and the message center.
As a further improvement of the invention, the generic message attributes include the content of the message, the sender and receiver of the message, the title of the message, the content of the message.
As a further improvement of the invention, the message channel comprises a short message and a mail.
The invention has the beneficial effects that:
the unified method and the unified system for the multi-channel communication protocol have high feasibility and strong applicability, so that the system for sending the message is decoupled from a third party message channel, the problem of integration of the third party message is solved, and the difficulty of message integration and use is greatly reduced.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention, as well as the preferred embodiments thereof, together with the following detailed description of the invention, given by way of illustration only, together with the accompanying drawings.
Drawings
FIG. 1 is a schematic diagram of a protocol in a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of a generator and parser in a preferred embodiment of the present invention;
fig. 3 is a schematic diagram of a unified approach to a multi-channel communication protocol in a preferred embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and specific examples, which are not intended to be limiting, so that those skilled in the art will better understand the invention and practice it.
The present invention adopts a unified communication protocol, as shown in fig. 1, and in this embodiment, the protocol is divided into a message object definition module, a message general module and a message extension module,
the message object definition module: the message channel of the message is mainly distinguished, and a platform or an account body corresponding to the channel is mainly distinguished. The attributes common to all message channels are shown in table 1.
Figure BDA0003222284100000031
TABLE 1
The message universal module: mainly the content of the message and the transmission object and reception object of the message are defined as shown in table 2.
templateCodeDefining message templates, the templates being managed by Unified Message Service (UMS)
fromMessage sender
toMessage receiver
titleHeader of message
contentMessage content
TABLE 2
The message expansion module: the method mainly aims at supporting attributes in cooperation with different message channels. The generation and analysis of the expansion module are completed by the corresponding generator and analyzer, and referring to fig. 2, user customization is not required.
Referring to fig. 2, the message channel attribute is configured as an integrated third party message channel definition and corresponding account password attribute, and the client and the message center are configured by using the same set of attribute. The message protocol generator is a processor that generates a unified message protocol. The message protocol parser is a processor that parses a unified message protocol. The message protocol parser and generator each attribute corresponds to an attribute in the unified message protocol. The message channel extension attribute generator is different from other attribute processors in the general attribute, each channel has a corresponding processor, and the processors add different attributes to the extension attribute. If the alicloud short message processor adds the signature of the extended attribute SignName to the extended attribute object extds. The message channel extended attribute parser functions in opposition to the extended attribute generator, extracts and assembles extended attributes into message attributes for the corresponding message channel.
Referring to fig. 3, the unified method of the multi-channel communication protocol in the preferred embodiment of the present invention comprises the following steps:
A. the client selects a channel corresponding to the message and a platform or account body corresponding to the channel;
B. the client acquires different extension attribute generators through different message channel attributes, and adds the extension attributes into a message extension module;
C. the client assembles the extension attribute, the message channel definition attribute and the general message attribute through a message protocol generator to generate a unified communication protocol;
D. a message center (UMS) acquires the unified communication protocol, and analyzes the message channel attribute through a message protocol analyzer;
E. the message center selects a corresponding extended attribute analyzer to analyze the corresponding attribute through the message channel attribute;
F. the message center generates message attributes corresponding to the message channels and invokes logic processing of the corresponding channels.
Wherein, the step A further comprises the following steps: the same message channel attribute is configured for the client and the message center. The general message attributes include the content of the message, the sender and receiver of the message, the title of the message, the content of the message, etc. The message channel comprises short messages, mails and the like.
The preferred embodiment of the invention also discloses a multi-channel communication protocol unification system, which comprises:
the client is used for selecting a channel corresponding to the message and a platform or account body corresponding to the channel; acquiring different extension attribute generators through different message channel attributes, and adding the extension attributes into a message extension module; the extended attribute, the message channel definition attribute and the general message attribute are assembled through a message protocol generator to generate a unified communication protocol;
the message center is used for acquiring the unified communication protocol and analyzing the message channel attribute through the message protocol analyzer; selecting a corresponding extended attribute analyzer to analyze the corresponding attribute through the message channel attribute; and generating message attributes of the corresponding message channels and calling logic processing of the corresponding channels.
The system also comprises a message channel attribute configuration module which is used for configuring the same message channel attribute for the client and the message center. The general message attributes include the content of the message, the sender and receiver of the message, the title of the message, the content of the message, etc. The message channel comprises short messages, mails and the like.
The unified method and the unified system for the multi-channel communication protocol have high feasibility and strong applicability, so that the system for sending the message is decoupled from a third party message channel, the problem of integration of the third party message is solved, and the difficulty of message integration and use is greatly reduced.
The above embodiments are merely preferred embodiments for fully explaining the present invention, and the scope of the present invention is not limited thereto. Equivalent substitutions and modifications will occur to those skilled in the art based on the present invention, and are intended to be within the scope of the present invention. The protection scope of the invention is subject to the claims.

Claims (8)

1. A method for unifying multi-channel communication protocols, comprising the steps of:
A. the client selects a channel corresponding to the message and a platform or account body corresponding to the channel;
B. the client acquires different extension attribute generators through different message channel attributes, wherein the extension attribute generators add extension attribute SignName signatures to an extension attribute object extds and add extension attributes to a message extension module;
C. the client assembles the extension attribute, the message channel definition attribute and the general message attribute through a message protocol generator to generate a unified communication protocol;
D. the message center acquires the unified communication protocol and analyzes the message channel attribute through a message protocol analyzer;
E. the message center selects a corresponding extended attribute analyzer to analyze the corresponding attribute through the message channel attribute;
F. the message center generates message attributes corresponding to the message channels and invokes logic processing of the corresponding channels.
2. The multi-channel communication protocol unification method according to claim 1, wherein the step a is preceded by the step of: the same message channel attribute is configured for the client and the message center.
3. The multi-channel communication protocol unification method of claim 1, wherein the common message attributes include content of a message, sender and receiver of a message, title of a message, content of a message.
4. The unified method of multi-channel communication protocol according to claim 1, wherein the message channel comprises a short message, a mail.
5. A multi-channel communication protocol unification system, comprising:
the client is used for selecting a channel corresponding to the message and a platform or account body corresponding to the channel; different extension attribute generators are obtained through different message channel attributes, the extension attribute generators add extension attribute SignName signatures to an extension attribute object extds, and extension attributes are added to a message extension module; the extended attribute, the message channel definition attribute and the general message attribute are assembled through a message protocol generator to generate a unified communication protocol;
the message center is used for acquiring the unified communication protocol and analyzing the message channel attribute through the message protocol analyzer; selecting a corresponding extended attribute analyzer to analyze the corresponding attribute through the message channel attribute; and generating message attributes of the corresponding message channels and calling logic processing of the corresponding channels.
6. The multi-channel communication protocol unification system of claim 5, further comprising a message channel attribute configuration module for configuring the same message channel attributes for the client and the message center.
7. The multi-channel communication protocol unification system as recited in claim 5, wherein the generic message attributes include content of a message, sender and receiver of a message, title of a message, content of a message.
8. The unified system for multi-channel communication protocol as recited in claim 5, wherein the message channel comprises a short message, a mail.
CN202110961759.6A2021-08-202021-08-20Multi-channel communication protocol unification method and systemActiveCN113612796B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110961759.6ACN113612796B (en)2021-08-202021-08-20Multi-channel communication protocol unification method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110961759.6ACN113612796B (en)2021-08-202021-08-20Multi-channel communication protocol unification method and system

Publications (2)

Publication NumberPublication Date
CN113612796A CN113612796A (en)2021-11-05
CN113612796Btrue CN113612796B (en)2023-06-06

Family

ID=78309021

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110961759.6AActiveCN113612796B (en)2021-08-202021-08-20Multi-channel communication protocol unification method and system

Country Status (1)

CountryLink
CN (1)CN113612796B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102045451A (en)*2009-10-142011-05-04中兴通讯股份有限公司Uniform message scheduling system and business message notification method and system
CN112116438A (en)*2020-07-312020-12-22福建亿能达信息技术股份有限公司Multi-channel payment integration method, platform, equipment and medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20030004822A1 (en)*2001-06-292003-01-02Internatioanl Business Machines CorporationMethod and apparatus for integrated multi-channel retailing
TWI252025B (en)*2004-12-082006-03-21Via Tech IncMethod and system for uniform message interchange
CN102006563A (en)*2009-09-012011-04-06中兴通讯股份有限公司Information file processing method and device
CN105024904A (en)*2014-04-172015-11-04上海米思软件科技有限公司Message sending processing method
CN108768837A (en)*2018-05-312018-11-06中国建设银行股份有限公司Message treatment method and relevant apparatus
CN110601952B (en)*2018-06-122022-12-27北京京东尚科信息技术有限公司Multi-channel message notification sending method and device
CN111327519A (en)*2020-02-172020-06-23北京四信数字技术有限公司Method, device, equipment and storage medium for sending multi-channel message content
CN111800434A (en)*2020-07-222020-10-20睿智合创(北京)科技有限公司Multi-channel asset docking platform and working method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102045451A (en)*2009-10-142011-05-04中兴通讯股份有限公司Uniform message scheduling system and business message notification method and system
CN112116438A (en)*2020-07-312020-12-22福建亿能达信息技术股份有限公司Multi-channel payment integration method, platform, equipment and medium

Also Published As

Publication numberPublication date
CN113612796A (en)2021-11-05

Similar Documents

PublicationPublication DateTitle
CN108021710B (en)Dynamic interface conversion method, device, terminal equipment and storage medium
US8312093B2 (en)E-mail messaging system and method for enhanced rich media delivery
US20080126491A1 (en)Method for Transmitting Messages from a Sender to a Recipient, a Messaging System and Message Converting Means
US20160277907A1 (en)Web gateway multi-carrier support
CN101741759B (en)Instant communication-based intelligent interactive system and interactive method
CA2678352A1 (en)System and method for unified messaging service
CN114979984B (en)Message transmission method and device
CN1802826B (en)Method for transmitting messages in an MMS-based communication system
CN109684114A (en)Message distributing method, device, terminal and medium based on iOS system
CN105656754A (en)Method for increasing efficiency of searching contact person and viewing information, and mobile terminal
US20060036728A1 (en)Systems and methods for categorizing network traffic content
US20100248758A1 (en)Message service method and message service system
CN113612796B (en)Multi-channel communication protocol unification method and system
CN112039754A (en)Message processing system, method, sending method, device and electronic equipment
CN111343201A (en)Analysis method, device and system for rapidly adapting to protocol change
EP2323087A1 (en)System and method for acknowledging calendar appointments using a mobile device
EP1555791A1 (en)Client provisioning with flag parameters
CN114095365A (en) Method and device for processing Internet of Things services based on 5G messages
US9160811B2 (en)Client provisioning with enhanced linking
WO2007050647A2 (en)System and method for accelerated dynamic data message generation and transmission
CN116489209A (en)Method and system for designing general message service
CN101925021B (en)Method/system for processing messages and convergence service system
CN109428803A (en)A kind of method for sending voice message and system
CN102073923A (en)Message processing method, device and system for integrated management information system
KR100629037B1 (en) Method and apparatus for transmitting multimedia message to mobile communication terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp