CN105515947A - Method, server and system for information intercommunication of heterogeneous terminal based on XMPP (Extensible Messaging and Presence Protocol) - Google Patents

Method, server and system for information intercommunication of heterogeneous terminal based on XMPP (Extensible Messaging and Presence Protocol) Download PDF

Info

Publication number
CN105515947A
CN105515947A CN201510883085.7A CN201510883085A CN105515947A CN 105515947 A CN105515947 A CN 105515947A CN 201510883085 A CN201510883085 A CN 201510883085A CN 105515947 A CN105515947 A CN 105515947A
Authority
CN
China
Prior art keywords
xmpp
message
routing
service
plug
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
CN201510883085.7A
Other languages
Chinese (zh)
Other versions
CN105515947B (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.)
HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING Co Ltd
Original Assignee
HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING 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 HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING Co Ltd filed Critical HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING Co Ltd
Priority to CN201510883085.7A priority Critical patent/CN105515947B/en
Publication of CN105515947A publication Critical patent/CN105515947A/en
Application granted granted Critical
Publication of CN105515947B publication Critical patent/CN105515947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a server and a system for information intercommunication of a heterogeneous terminal based on an XMPP (Extensible Messaging and Presence Protocol). An intelligent routing plug-in is added in an XMPP server; the plug-in supports service type configuration, service plug-in management, information routing rule configuration and intelligent information routing strategy, so that XMPP extensible information sent from an XMPP client can be intelligently routed to different service plug-ins according to a rule by the XMPP server, the same service can adapt to different third-party systems, and information intercommunication of the heterogeneous terminal is greatly simplified. Due to utilization of the service plug-in, adaption to access protocols of the third-party systems is relatively independent, and the system flexibility is greatly improved. Due to extension of the XMPP, the XMPP client realizes utilization of uniform information by different service functions, and information intercommunication between the XMPP client and the heterogeneous terminal is realized.

Description

A kind of method of the heterogeneous terminals message intercommunication based on XMPP, server and system
Technical field
The invention belongs to computer network communication technology field, particularly relate to and a kind ofly realize the method for heterogeneous terminals message intercommunication, server and system based on XMPP.
Background technology
XMPP (ExtensibleMessagingandPresenceProtocol, easily extensible communication and presentation protocol) be agreement based on extend markup language (XML), can be used for XML data unit stream transmission in service class real-time communication, expression and demand response service.It is mainly used in instant message, allows the user on network mutually to transfer immediate news.XMPP is the open protocol of a good autgmentability, is easy to expand.
The outstanding feature of XMPP be can with other instantaneous communication system exchange messages and the online situation of user.Because agreement is different, XMPP and other system exchange message must be realized by the conversion of agreement, and the service end realizing this specific function is called gateway in XMPP framework.
Because XMPP is mainly used in instant messaging, mainly complete the intercommunication of instant message client message.Along with era development, enterprise, government and client etc. improve constantly communicating requirement in office, life, often require that instant message client completes the message intercommunication with heterogeneous terminals, as mobile phone, digital hand platform, Big Dipper terminal etc.Because each isomery terminal protocol is various, and same business such as SMS implementation between different enterprise is also not quite similar, and in order to satisfied different customer demand realizes the intercommunication of message between heterogeneous client, just needs to expand XMPP at this.
Summary of the invention
For the problems referred to above, the object of this invention is to provide a kind of better method, server and system supporting XMPP client and other heterogeneous client to realize message intercommunication, and further expansion has been done to XMPP.
For achieving the above object, the present invention takes following technical scheme: a kind of XMPP server, comprises messaging interface and Message routing module, it is characterized in that: also comprise Intelligent routing plug-in unit and multiple business plug-in unit;
Described messaging interface is used for the reception and the transmission that complete XMPP message between XMPP client; Meanwhile, the receipt message routing module reply message of sending;
Described Message routing module is used for XMPP message to be distributed in Intelligent routing plug-in unit; Meanwhile, the reply message that Intelligent routing plug-in unit sends is transferred to messaging interface;
Described Intelligent routing plug-in unit is used for the routing rule according to the type of service in XMPP message and routing number and Intelligent routing plug-in unit, and XMPP message is routed to corresponding business plug-in unit according to routing policy; Meanwhile, the message that business plug-in unit is replied is transferred to Message routing module;
Described multiple business plug-in unit for receiving outside adapting protocol, and externally exports after carrying out protocol adaptation according to adapting protocol to the XMPP message that Intelligent routing plug-in unit sends.
Wherein, described Intelligent routing plug-in unit comprises business plug-in management module, type of service configuration module, routing rule configuration module and information intelligent routing module,
The type of service that described business plug-in management module is supported for registering miscellaneous service plug-in unit;
Described type of service configuration module is for the failed route of the type of service that configures XMPP server and support and type of service;
Described routing rule configuration module is for configuring routing rule; Wherein, described routing rule is made up of, for representing that type of service arrives mapping relations between miscellaneous service plug-in unit numeral, branch and X letter;
According to the configuration result of type of service configuration module, described information intelligent routing module judges whether XMPP server supports the type of service in XMPP message, if supported, then according to the routing number in XMPP message and routing rule, according to longest-prefix figure place matched rule route XMPP message; If route success, be then forwarded to corresponding business plug-in unit by XMPP message; If routing failure, then according to the failed route of type of service, XMPP message is routed to corresponding business plug-in unit; Otherwise, return type of service error message to Message routing module.
Wherein, the length of routing number is identical with the length of routing rule; Further, in routing rule, the longest number prefix is identical with the prefix of routing rule the longest number prefix equal length with in routing number.
Wherein, the arbitrary XMPP server as described in claims 1 to 3, XMPP client and one or more Third party system is comprised;
XMPP message is sent to XMPP server, meanwhile, receives the message that XMPP server is replied after being used for that outer input data is generated XMPP message according to expansion XMPP by described XMPP client;
Described XMPP server, for receiving XMPP message, completes Intelligent routing and the protocol adaptation of XMPP message, and sends adaptive rear message to Third party system;
Described Third party system is for receiving the message from XMPP server, and the agreement according to Third party system is replied.
Wherein, described XMPP client comprises human-computer interaction module, protocol encapsulation parsing module and messaging interface;
Described human-computer interaction module is used for exporting outer input data to protocol encapsulation parsing module, and meanwhile, the XMPP message after the parsing of send protocol encapsulation parsing module presents;
Described protocol encapsulation parsing module is used for outer input data to carry out transferring to messaging interface after encapsulation obtains XMPP message according to expansion XMPP, meanwhile, XMPP server is returned or the XMPP message that pushes resolve after transfer to human-computer interaction module to present;
Described messaging interface, for sending the XMPP message of protocol encapsulation parsing module to XMPP server, meanwhile, receives the XMPP message that XMPP server returns or pushes.
Wherein, described expansion XMPP comprises the subtab that IQ saves message subtab and IQ joint message subtab; Wherein, IQ saves message subtab and comprises NameSpace, type of service and routing number, described NameSpace has IQ joint message for distinguishing XMPP, and type of service realizes different functions for representing XMPP server, and routing number is used for the foundation as XMPP message route; The subtab that IQ saves message subtab is expanded according to type of service.
Based on a method for the heterogeneous terminals message intercommunication of XMPP, comprise the following steps:
A.XMPP client obtains the type of service in XMPP server, to XMPP server sends after generating XMPP message according to expansion XMPP;
B.XMPP server receives XMPP message, according to the Intelligent routing plug-in unit of the NameSpace distribution XMPP message in XMPP message to XMPP server;
The Intelligent routing plug-in unit route XMPP message of C.XMPP server is to corresponding business plug-in unit;
D. XMPP message is carried out protocol adaptation according to the agreement of Third party system by business plug-in unit, the message after adaptation is sent to the heterogeneous client of Third party system.
Wherein, the expansion XMPP described in steps A comprises the subtab that IQ saves message subtab and IQ joint message subtab; Wherein, IQ saves message subtab and comprises NameSpace, type of service and routing number, described NameSpace has IQ joint message for distinguishing XMPP, and type of service realizes different functions for representing XMPP server, and routing number is used for the foundation as XMPP message route; The subtab that IQ saves message subtab is expanded according to type of service.
Wherein, described step C specifically comprises the following steps:
The first step: the XMPP message of Intelligent routing plug-in unit receipt message routing module distribution;
Second step: the type of service in information intelligent routing module parsing XMPP message and routing number;
3rd step: according to the configuration result of type of service configuration module, information intelligent routing module judges whether XMPP server supports the type of service in XMPP message, if supported, then performs the 4th step; Otherwise, proceed to the 8th step;
4th step: information intelligent routing module obtains routing rule according to type of service, during without routing rule, turns the 6th step, otherwise, perform the 5th step;
5th step: according to longest-prefix figure place matched rule, mate routing number, judge whether that the match is successful, if the match is successful, then turns the 7th step; If it fails to match, then turn the 6th step;
6th step: obtain failed route, judges whether failed route exists, if existed, turns the 7th step, otherwise turns the 8th step;
7th step: route messages to corresponding business plug-in unit;
8th step: return XMPP client message result.
The present invention is owing to taking above technical scheme, and it has the following advantages:
1., based on type of service expansion XMPP, simplify the complexity that XMPP client different business needs to define different messages form.
2. business plug-in unit is independent, and docking Third party system is all completed in business plug-in unit, and interface variation or new system docking only need upgrade plug-in unit or newly-built plug-in unit, strengthen system flexibility and extensibility.
3. by providing, routing rule configures Intelligent routing plug-in unit, information intelligent route, and achieving certain business can according to number Intelligent routing to different business plug-in unit, from different three method, system slitless connections.
Accompanying drawing explanation
Fig. 1 is heterogeneous terminals message intercommunication System's composition figure of the present invention;
Fig. 2 is XMPP server end-rack composition of the present invention;
Fig. 3 is Intelligent routing flow chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing and exemplifying embodiment, the present invention is described in detail.
As shown in Figure 1, a kind of system of the heterogeneous terminals message intercommunication based on XMPP comprises XMPP client, XMPP server and Third party system three part.Carry out two-way communication with XMPP between XMPP client and XMPP server, the agreement that XMPP server and Third party system provide with Third party system carries out two-way communication.Third party system receives the message from XMPP server, and the agreement according to Third party system is replied.
XMPP message, for after generating XMPP message, is sent to XMPP server by XMPP client, meanwhile, receives the message that XMPP server is replied.XMPP client comprises human-computer interaction module, protocol encapsulation parsing module and messaging interface;
Described human-computer interaction module is for receiving outer input data, and meanwhile, the XMPP message after the parsing of send protocol encapsulation parsing module presents;
Described protocol encapsulation parsing module is used for outer input data to encapsulate according to expansion XMPP, and meanwhile, XMPP message XMPP server being returned or push is resolved;
Described expansion XMPP comprises the subtab that IQ saves message subtab and IQ joint message subtab; Wherein, IQ saves message subtab and comprises NameSpace, type of service and routing number, described NameSpace has IQ joint message for distinguishing XMPP, and type of service realizes different functions for representing XMPP server, and routing number is used for the foundation as XMPP message route; The subtab that IQ saves message subtab is expanded according to type of service; Concrete example is as follows, it is query that the IQ of expansion XMPP saves message subtab, subtab NameSpace is uc.messageRoute, and its attribute comprises serviceType and routeNumber, and serviceType represents type of service, routeNumber represents routing number; Query label subtab is item, represents short message service type sms information needed, comprises title, content, transmit leg and recipient, specific as follows:
Described messaging interface, for sending XMPP message, meanwhile, receives the XMPP message that XMPP server returns or pushes.
XMPP server, for receiving XMPP message, completes Intelligent routing and the protocol adaptation of XMPP message, and sends adaptive rear message to Third party system.XMPP server comprises messaging interface, Message routing module, Intelligent routing plug-in unit and multiple business plug-in unit;
Described messaging interface is used for completing XMPP message between XMPP client and receives and send; Meanwhile, the receipt message routing module reply message of sending;
Described Message routing module is for distributing XMPP message; Meanwhile, reply message is transferred to messaging interface;
Described Intelligent routing plug-in unit is used for the routing rule according to the type of service in XMPP message and routing number and Intelligent routing plug-in unit, and XMPP message is routed to corresponding business plug-in unit according to routing policy; Meanwhile, the message that business plug-in unit is replied is transferred to Message routing module;
As shown in Figure 2, described Intelligent routing plug-in unit comprises business plug-in management module, type of service configuration module, routing rule configuration module and information intelligent routing module,
The type of service that described business plug-in management module is supported for registering miscellaneous service plug-in unit;
Described type of service configuration module for the type of service that configures XMPP server and support and described routing rule configuration module for configuring routing rule; Wherein, described routing rule is made up of, for representing that type of service arrives mapping relations between miscellaneous service plug-in unit numeral, branch and X letter; Specifically for type of service sms, configuration service type sms in one's hands business plug-in unit routing rule is " 2XXX; ", service class sms is " 1XXXXX to Big Dipper short data service plug-in unit routing rule; ";
According to the configuration result of type of service configuration module, described information intelligent routing module judges whether XMPP server supports the type of service in XMPP message, if supported, then according to the routing number in XMPP message and routing rule, according to longest-prefix figure place matched rule route XMPP message; If route success, be then forwarded to corresponding business plug-in unit by XMPP message; If routing failure, then according to the failed route of type of service, XMPP message is routed to corresponding business plug-in unit; Otherwise, return type of service error message to Message routing module; Specifically comprise following three kinds of situations:
The first: information intelligent routing module receives the XMPP message that type of service is facsimile service type fax, and information intelligent route returns type of service error message to Message routing module;
The second: it be short message service type sms and routing number is the XMPP message of 15933618851 that information intelligent routing module receives type of service, owing to cannot mate with the routing rule of short message service type sms, last XMPP message can be routed in the failed route short message service plug-in unit of short message service type sms;
The third: it be short message service type sms and routing number is the XMPP message of 2018 that information intelligent routing module receives type of service, and the match is successful with the routing rule 2XXX of short message service type sms, and XMPP message is routed in one's hands business plug-in unit.
Described longest-prefix figure place matched rule is specially: the length of routing number is identical with the length of routing rule; In routing rule, the longest number prefix is identical with the prefix of routing rule the longest number prefix equal length with in routing number.For routing number 2018 with routing rule for 2XXX, routing number is identical with the length of routing rule is all 4; The longest number prefix of routing rule 2XXX is 2, and its length is 1, and the prefix of routing number length 1 is also 2, and the match is successful.
The course of work of above-mentioned information intelligent routing module is described routing policy.
The agreement that described multiple business plug-in unit is used for providing according to Third party system completes and the docking of Third party system; Meanwhile, according to the agreement that Third party system provides, protocol adaptation is carried out to the XMPP message that Intelligent routing plug-in unit sends, adaptive rear message is sent to Third party system; Specifically for short message service plug-in unit, Big Dipper short data service plug-in unit and hand platform business plug-in unit, short message service plug-in unit realizes to sending short message by mobile phone function, Big Dipper short data service plug-in unit realizes sending short data to Beidou subscriber machine, the realization of hand platform business plug-in unit sends SMS message to hand platform.
Based on a method for the heterogeneous terminals message intercommunication of XMPP, specifically comprise the following steps:
A.XMPP client obtains the type of service in XMPP server, to XMPP server sends after generating XMPP message according to expansion XMPP;
B.XMPP server receives XMPP message, according to the Intelligent routing plug-in unit of the NameSpace distribution XMPP message in XMPP message to XMPP server;
The Intelligent routing plug-in unit route XMPP message of C.XMPP server is to corresponding business plug-in unit; Fig. 3 is the flow chart of this process, specifically comprises step:
The first step: the XMPP message of Intelligent routing plug-in unit receipt message routing module distribution;
Second step: the type of service in information intelligent routing module parsing XMPP message and routing number;
3rd step: according to the configuration result of type of service configuration module, information intelligent routing module judges whether XMPP server supports the type of service in XMPP message, if supported, then performs the 4th step; Otherwise, proceed to the 8th step;
4th step: information intelligent routing module obtains routing rule according to type of service, during without routing rule, turns the 6th step, otherwise, perform the 5th step;
5th step: according to longest-prefix figure place matched rule, mate routing number, judge whether that the match is successful, if the match is successful, then turns the 7th step; If it fails to match, then turn the 6th step;
6th step: obtain failed route, judges whether failed route exists, if existed, turns the 7th step, otherwise turns the 8th step;
7th step: route messages to corresponding business plug-in unit;
8th step: return XMPP client message result.
D. XMPP message is carried out protocol adaptation according to the agreement of Third party system by business plug-in unit, the message after adaptation is sent to the heterogeneous client of Third party system.
Send short message service type sms message for XMPP client, illustrate concrete implementation step:
XMPP client according to expansion XMPP structure NameSpace uc.messageRoute, type of service to be sms and routing number be 2018 short message service XMPP message;
XMPP server is distributed to Intelligent routing plug-in unit according to NameSpace uc.messageRoute after receiving short message service XMPP message;
Information intelligent routing module resolves short message service XMPP message type of service sms and routing number 2018, supports short message service type sms, obtain type of service sms routing rule (" 2XXX according to type of service configuration module configuration XMPP server; " and " 1XXXXX; "), according to longest-prefix figure place matched rule 2018, the match is successful with 2XXX, and wherein 2XXX is in one's hands business plug-in unit, last route short message service XMPP message in one's hands business plug-in unit;
Hand platform business plug-in unit completes protocol adaptation according to third party's hand platform Service Provision Agreement, sends adaptive rear in one's hands of message service and hand station terminal thereof.

Claims (9)

1. an XMPP server, comprises messaging interface and Message routing module, it is characterized in that: also comprise Intelligent routing plug-in unit and multiple business plug-in unit;
Described messaging interface is used for the reception and the transmission that complete XMPP message between XMPP client; Meanwhile, the receipt message routing module reply message of sending;
Described Message routing module is used for XMPP message to be distributed in Intelligent routing plug-in unit; Meanwhile, the reply message that Intelligent routing plug-in unit sends is transferred to messaging interface;
Described Intelligent routing plug-in unit is used for the routing rule according to the type of service in XMPP message and routing number and Intelligent routing plug-in unit, and XMPP message is routed to corresponding business plug-in unit according to routing policy; Meanwhile, the message that business plug-in unit is replied is transferred to Message routing module;
Described multiple business plug-in unit for receiving outside adapting protocol, and externally exports after carrying out protocol adaptation according to adapting protocol to the XMPP message that Intelligent routing plug-in unit sends.
2. a kind of XMPP server according to claim 1, is characterized in that: described Intelligent routing plug-in unit comprises business plug-in management module, type of service configuration module, routing rule configuration module and information intelligent routing module,
The type of service that described business plug-in management module is supported for registering miscellaneous service plug-in unit;
Described type of service configuration module is for the failed route of the type of service that configures XMPP server and support and type of service;
Described routing rule configuration module is for configuring routing rule; Wherein, described routing rule is made up of, for representing that type of service arrives mapping relations between miscellaneous service plug-in unit numeral, branch and X letter;
According to the configuration result of type of service configuration module, described information intelligent routing module judges whether XMPP server supports the type of service in XMPP message, if supported, then according to the routing number in XMPP message and routing rule, according to longest-prefix figure place matched rule route XMPP message; If route success, be then forwarded to corresponding business plug-in unit by XMPP message; If routing failure, then according to the failed route of type of service, XMPP message is routed to corresponding business plug-in unit; Otherwise, return type of service error message to Message routing module.
3. a kind of XMPP server according to claim 2, is characterized in that: described longest-prefix figure place matched rule is specially: the length of routing number is identical with the length of routing rule; Further, in routing rule, the longest number prefix is identical with the prefix of routing rule the longest number prefix equal length with in routing number.
4. based on a system for the heterogeneous terminals message intercommunication of XMPP, it is characterized in that: comprise the arbitrary XMPP server as described in claims 1 to 3, XMPP client and one or more Third party system;
XMPP message is sent to XMPP server, meanwhile, receives the message that XMPP server is replied after being used for that outer input data is generated XMPP message according to expansion XMPP by described XMPP client;
Described XMPP server, for receiving XMPP message, completes Intelligent routing and the protocol adaptation of XMPP message, and sends adaptive rear message to Third party system;
Described Third party system is for receiving the message from XMPP server, and the agreement according to Third party system is replied.
5. the system of a kind of heterogeneous terminals message intercommunication based on XMPP according to claim 4, it is characterized in that, described XMPP client comprises human-computer interaction module, protocol encapsulation parsing module and messaging interface;
Described human-computer interaction module is used for exporting outer input data to protocol encapsulation parsing module, and meanwhile, the XMPP message after the parsing of send protocol encapsulation parsing module presents;
Described protocol encapsulation parsing module is used for outer input data to carry out transferring to messaging interface after encapsulation obtains XMPP message according to expansion XMPP, meanwhile, XMPP server is returned or the XMPP message that pushes resolve after transfer to human-computer interaction module to present;
Described messaging interface, for sending the XMPP message of protocol encapsulation parsing module to XMPP server, meanwhile, receives the XMPP message that XMPP server returns or pushes.
6. the system of a kind of heterogeneous terminals message intercommunication based on XMPP according to claim 4 or 5, is characterized in that, described expansion XMPP comprises the subtab that IQ saves message subtab and IQ joint message subtab; Wherein, IQ saves message subtab and comprises NameSpace, type of service and routing number, described NameSpace has IQ joint message for distinguishing XMPP, and type of service realizes different functions for representing XMPP server, and routing number is used for the foundation as XMPP message route; The subtab that IQ saves message subtab is expanded according to type of service.
7., based on a method for the heterogeneous terminals message intercommunication of XMPP, it is characterized in that, comprise the following steps:
A.XMPP client obtains the type of service in XMPP server, to XMPP server sends after generating XMPP message according to expansion XMPP;
B.XMPP server receives XMPP message, according to the Intelligent routing plug-in unit of the NameSpace distribution XMPP message in XMPP message to XMPP server;
The Intelligent routing plug-in unit route XMPP message of C.XMPP server is to corresponding business plug-in unit;
D. XMPP message is carried out protocol adaptation according to the agreement of Third party system by business plug-in unit, the message after adaptation is sent to the heterogeneous client of Third party system.
8. the method for a kind of heterogeneous terminals message intercommunication based on XMPP according to claim 7, is characterized in that, the expansion XMPP described in steps A comprises the subtab that IQ saves message subtab and IQ joint message subtab; Wherein, IQ saves message subtab and comprises NameSpace, type of service and routing number, described NameSpace has IQ joint message for distinguishing XMPP, and type of service realizes different functions for representing XMPP server, and routing number is used for the foundation as XMPP message route; The subtab that IQ saves message subtab is expanded according to type of service.
9. the method for a kind of heterogeneous terminals message intercommunication based on XMPP according to claim 7, it is characterized in that, described step C specifically comprises the following steps:
The first step: the XMPP message of Intelligent routing plug-in unit receipt message routing module distribution;
Second step: the type of service in information intelligent routing module parsing XMPP message and routing number;
3rd step: according to the configuration result of type of service configuration module, information intelligent routing module judges whether XMPP server supports the type of service in XMPP message, if supported, then performs the 4th step; Otherwise, proceed to the 8th step;
4th step: information intelligent routing module obtains routing rule according to type of service, during without routing rule, turns the 6th step, otherwise, perform the 5th step;
5th step: according to longest-prefix figure place matched rule, mate routing number, judge whether that the match is successful, if the match is successful, then turns the 7th step; If it fails to match, then turn the 6th step;
6th step: obtain failed route, judges whether failed route exists, if existed, turns the 7th step, otherwise turns the 8th step;
7th step: route messages to corresponding business plug-in unit;
8th step: return XMPP client message result.
CN201510883085.7A 2015-12-03 2015-12-03 A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP Active CN105515947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510883085.7A CN105515947B (en) 2015-12-03 2015-12-03 A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510883085.7A CN105515947B (en) 2015-12-03 2015-12-03 A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP

Publications (2)

Publication Number Publication Date
CN105515947A true CN105515947A (en) 2016-04-20
CN105515947B CN105515947B (en) 2018-08-21

Family

ID=55723605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510883085.7A Active CN105515947B (en) 2015-12-03 2015-12-03 A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP

Country Status (1)

Country Link
CN (1) CN105515947B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107358503A (en) * 2017-07-11 2017-11-17 郑州云海信息技术有限公司 A kind of electronic order interface system and electronic order interface realizing method
CN107621987A (en) * 2017-09-21 2018-01-23 中国航空无线电电子研究所 A kind of message based unmanned plane common ground station software architecture
CN110049017A (en) * 2019-03-22 2019-07-23 口碑(上海)信息技术有限公司 Message interworking unit and method between heterogeneous platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677319A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Method, apparatus and system for service access on the basis of XMPP protocol
CN103685004A (en) * 2013-12-18 2014-03-26 华南理工大学 Protocol gateway and method supporting interconnection and interworking of enterprise-class instant messaging systems
US20140268236A1 (en) * 2013-03-15 2014-09-18 Brother Kogyo Kabushiki Kaisha Relay Apparatus, Image Processing Apparatus and Communication System
CN104219296A (en) * 2014-08-25 2014-12-17 华中科技大学 A kind of Android cloud pushing method and system
CN104683731A (en) * 2015-03-20 2015-06-03 苏州科达科技股份有限公司 Method and system for communication between heterogeneous platforms
CN105024923A (en) * 2015-07-29 2015-11-04 北京梅泰诺通信技术股份有限公司 XMPP extensible message-based method and device for realizing message classification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677319A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Method, apparatus and system for service access on the basis of XMPP protocol
US20140268236A1 (en) * 2013-03-15 2014-09-18 Brother Kogyo Kabushiki Kaisha Relay Apparatus, Image Processing Apparatus and Communication System
CN103685004A (en) * 2013-12-18 2014-03-26 华南理工大学 Protocol gateway and method supporting interconnection and interworking of enterprise-class instant messaging systems
CN104219296A (en) * 2014-08-25 2014-12-17 华中科技大学 A kind of Android cloud pushing method and system
CN104683731A (en) * 2015-03-20 2015-06-03 苏州科达科技股份有限公司 Method and system for communication between heterogeneous platforms
CN105024923A (en) * 2015-07-29 2015-11-04 北京梅泰诺通信技术股份有限公司 XMPP extensible message-based method and device for realizing message classification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张庚,陈广,杨莹,陈莹莹: "统一通信中网络通讯录关键技术实现", 《工程实践与应用技术》 *
齐幸辉,张庚,刘革,翟晓亮: "基于XMPP协议的文件传输模块设计与实现", 《信息系统与网络》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107358503A (en) * 2017-07-11 2017-11-17 郑州云海信息技术有限公司 A kind of electronic order interface system and electronic order interface realizing method
CN107621987A (en) * 2017-09-21 2018-01-23 中国航空无线电电子研究所 A kind of message based unmanned plane common ground station software architecture
CN107621987B (en) * 2017-09-21 2020-10-27 中国航空无线电电子研究所 Unmanned aerial vehicle general ground station software architecture system based on message
CN110049017A (en) * 2019-03-22 2019-07-23 口碑(上海)信息技术有限公司 Message interworking unit and method between heterogeneous platform
CN110049017B (en) * 2019-03-22 2021-11-16 口碑(上海)信息技术有限公司 Message intercommunication device and method between heterogeneous platforms

Also Published As

Publication number Publication date
CN105515947B (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN107018147B (en) Internet of things communication method and system and gateway module
CN101317474B (en) Message conversion equipment, system and conversion method
CN101374118B (en) A kind of method, system and device of information interconnect
CN101674255B (en) Method, server and system for forwarding messages of enterprise service bus
CN203206476U (en) Data content generating and sharing system based on dual-network
CN101778053A (en) Inter-instant messenger communication method and device
CN100586113C (en) Method of Realizing Instant Messaging Software Interoperability Based on Mobile Phone Short Messages
CN101136943A (en) System and method for implementing extended Diameter protocol application
CN1953386B (en) A method to manage the session, universal information client side and server
CN101754124A (en) Information transfer processing device, system and method
CN106027534A (en) System for implementing financial message processing based on Netty
CN101370159B (en) Method, device and system for recognizing service
CN101156386A (en) Method, system and terminal for implementing information transmission service
CN105515947A (en) Method, server and system for information intercommunication of heterogeneous terminal based on XMPP (Extensible Messaging and Presence Protocol)
CN101599921A (en) A kind of enterprise instant communication system and document transmission method thereof
CN102413071A (en) Extended mailbox server, system and extended mailbox service implementation method
CN110365790B (en) Message transmission method and device, cascade networking equipment and readable storage medium
CN102209048B (en) Instant communication system and method for realizing user information sharing
CN101483834B (en) Method and system for multimedia message communication using short number
CN102447724B (en) Method, server and system for controlling peer-to-peer (P2P) download
AU2010350106B2 (en) System and method for improving service subscription or unsubscription speed for wireless application protocol (WAP) roaming users
CN101465783A (en) Connection method, device and connection network bridge for isomery household network appliances
CN101790137A (en) Forwarding method and system fused with IP message
US20090319626A1 (en) Method for networking a plurality of convergent messaging systems and corresponding network system
CN1901595B (en) Method for sending fax to radio fax device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant