CN110635994B - Heterogeneous interconnection system and method based on self-adaptive detection - Google Patents
Heterogeneous interconnection system and method based on self-adaptive detection Download PDFInfo
- Publication number
- CN110635994B CN110635994B CN201910941486.1A CN201910941486A CN110635994B CN 110635994 B CN110635994 B CN 110635994B CN 201910941486 A CN201910941486 A CN 201910941486A CN 110635994 B CN110635994 B CN 110635994B
- Authority
- CN
- China
- Prior art keywords
- service
- node
- service node
- message
- instant messaging
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a heterogeneous interconnection system and method based on self-adaptive detection, which comprises the following steps: the system comprises at least one instant messaging application, at least one service node proxy service and a central routing node, wherein each service node proxy service and other service node proxy services are used for upgrading or degrading corresponding communication protocols; when the messages are interacted, the instant messaging application of the sending party sends the heterogeneous messages to be sent to the service node proxy service of the sending party, the service node proxy service of the sending party searches the address of the service node proxy service of the destination party from the central routing node and then sends the sending information of the heterogeneous messages to the service node proxy service of the destination party; and the target party service node proxy service pushes the sending information of the heterogeneous message to the target party instant messaging application, and the target party instant messaging application searches the address of the sending party service node proxy service from the central routing node through the target party service node proxy service and then requests the sending party service node proxy service to acquire the heterogeneous message.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a heterogeneous interconnection system and method based on self-adaptive detection.
Background
With the rapid development of mobile internet, mobile terminals, especially mobile phones, have become indispensable communication tools in people's daily life, and instant communication tools in mobile phones, such as WeChat, QQ, etc., have become the mainstream communication mode at present, and can transmit messages such as voice, video, pictures, characters, etc. Corresponding special instant messaging tools are gradually popularized in various government affair gateways such as public security, inspection yards, courts, committees, prisons and the like so that relevant government affair personnel can obtain important messages in time, independent instant messaging services can be provided in the government affair system at department, province and city levels respectively, when heterogeneous interconnection systems of the instant messaging services are subjected to message interaction, interaction can be performed only based on message types of both parties, the message interaction types comprise texts, videos, voices and the like, protocols supported by various messages are various, message interaction is performed on both parties, and how to maximize the supported message types is the problem which needs to be solved urgently at present.
Disclosure of Invention
In view of the foregoing, there is a need to provide a heterogeneous interconnection system and method based on adaptive probing, which perform upgrading or downgrading processing on a communication protocol by using an adaptive probing technique between instant messaging applications, so as to ensure that both parties can support more message types and perform effective heterogeneous interconnection to ensure effective transmission of heterogeneous messages.
The invention provides a heterogeneous interconnection system based on self-adaptive detection in a first aspect, which comprises: the system comprises at least one instant messaging application, at least one service node proxy service and a central routing node, wherein each instant messaging application has a unique type, the types of different instant messaging applications are different, each service node proxy service is independently deployed, each instant messaging application is bound and connected with one service node proxy service, each service node proxy service is in communication connection with other service node proxy services, and the central routing node is in communication connection with all the service node proxy services;
the central routing node is used for providing registration addresses and addressing interfaces of all the service node proxy services, so that the registered service node proxy service addresses can be inquired;
each service node proxy service is internally stored with at least one communication protocol, and each service node proxy service in communication connection with the service node proxy service has a unique communication protocol;
each service node agent service comprises a detection interface, node data information of other service node agent services is detected and stored at regular time through the detection interface, upgrading or degrading of a corresponding communication protocol is carried out according to the acquired node data information, and the node data information comprises manufacturer information, protocol version types, version numbers and extensible type lists;
when the messages are interacted, the instant messaging application of the message to be sent is used as the instant messaging application of the sender, and the service node proxy service bound and connected with the instant messaging application of the sender is used as the service node proxy service of the sender; at least one instant messaging application except the instant messaging application is used as a target instant messaging application, and a service node proxy service bound and connected with the target instant messaging application is used as a target service node proxy service;
the instant messaging application of the sender sends the heterogeneous message to be sent to a service node proxy service of the sender, and after searching the address of the service node proxy service of the destination party from the central routing node through the service node proxy service of the sender, the instant messaging application of the sender sends the sending information of the heterogeneous message to the service node proxy service of the destination party; the target service node proxy service pushes the sending information of the heterogeneous message to the target instant messaging application, and the target instant messaging application searches the address of the sending service node proxy service from the central routing node through the target service node proxy service and then requests the sending service node proxy service to acquire the heterogeneous message so as to realize message interaction.
Based on the above, the communication protocol upgrading step includes:
each business node agent service regularly detects and stores node data information of other business node agent services, judges whether the own party meets message expansion according to the acquired node data information, if so, judges that the own party supports communication protocol upgrading, confirms a communication protocol upgrading version according to the node data information of the both parties and carries out communication protocol upgrading treatment; otherwise, no operation is performed;
the communication protocol degrading step comprises:
and each service node agent service finds that the own party does not support the upgraded communication protocol version in the message interaction process, redetects the node data information of the service node agent service of the other message interaction party, judges whether the own party supports the communication protocol upgrade and the supported communication protocol version according to the node data information of the both parties, and if the own party does not support the communication protocol upgrade and the supported communication protocol version, degrades the upgraded communication protocol version into the original communication protocol version.
Based on the above, the judgment process of the message extension is as follows: each service node proxy service judges whether the protocol type in the obtained node data information is consistent with the protocol type of the own party, if not, the service node proxy service continuously judges whether the extensible list of the own party comprises the type information supported by the protocol type in the obtained node data information, and if so, the service node proxy service judges that the own party meets the message extension; otherwise, message extensions are not satisfied.
Based on the above, each service node proxy service actively probes the service node proxy service of the destination party before sending the message, so as to complete the adaptive lifting of the protocol.
Based on the above, after being upgraded, each service node proxy service actively probes other service node proxy services to complete adaptive lifting of the protocol.
Based on the above, the central routing node also provides update and logout services for each service node proxy service.
Based on the above, the extensible list includes location information, personnel card, @ message, link, message destruction, service number card type message.
The invention also provides a heterogeneous interconnection method based on adaptive detection, which is characterized by comprising the following steps: a preparation stage, a self-adaptive upgrading and downgrading stage and a heterogeneous message interaction stage;
preparation phase
Deploying all the service node proxy services independently, and connecting each service node proxy service with the corresponding instant messaging application and the central routing node in a communication manner; each service node agent service is respectively in communication connection with other service node agent services;
at least one communication protocol is stored in each service node proxy service, and each service node proxy service in communication connection with the service node proxy service has a unique communication protocol;
each service node agent service respectively sends registration information and address information to the central routing node;
adaptive staging
Each service node agent service comprises a detection interface, node data information of other service node agent services is detected and stored at regular time through the detection interface, upgrading or degrading of a corresponding communication protocol is carried out according to the acquired node data information, and the node data information comprises manufacturer information, protocol version types, version numbers and extensible type lists;
heterogeneous message interaction phase
The instant messaging application of the message to be sent is used as the instant messaging application of the sender, and the service node proxy service bound and connected with the instant messaging application of the sender is used as the service node proxy service of the sender; at least one instant messaging application except the instant messaging application is used as a target instant messaging application, and a service node proxy service bound and connected with the target instant messaging application is used as a target service node proxy service;
the instant messaging application of the sender sends the heterogeneous message to be sent to a service node proxy service of the sender, and after searching the address of the service node proxy service of the destination party from the central routing node through the service node proxy service of the sender, the instant messaging application of the sender sends the sending information of the heterogeneous message to the service node proxy service of the destination party; the target service node proxy service pushes the sending information of the heterogeneous message to the target instant messaging application, and the target instant messaging application searches the address of the sending service node proxy service from the central routing node through the target service node proxy service and then requests the sending service node proxy service to acquire the heterogeneous message so as to realize message interaction.
Based on the above-mentioned results,
the communication protocol upgrading step comprises the following steps:
each business node agent service regularly detects and stores node data information of other business node agent services, judges whether the own party meets message expansion according to the acquired node data information, if so, judges that the own party supports communication protocol upgrading, confirms a communication protocol upgrading version according to the node data information of the both parties and carries out communication protocol upgrading treatment; otherwise, no operation is performed;
the communication protocol degrading step comprises:
and each service node agent service finds that the own party does not support the upgraded communication protocol version in the message interaction process, redetects the node data information of the service node agent service of the other message interaction party, judges whether the own party supports the communication protocol upgrade and the supported communication protocol version according to the node data information of the both parties, and if the own party does not support the communication protocol upgrade and the supported communication protocol version, degrades the upgraded communication protocol version into the original communication protocol version.
Based on the above, each service node agent service subsequently sends an update or logout request to the central routing node when updating or logout is performed on the registration information, and the central routing node performs an audit pass and then completes the update or logout process.
The invention has prominent substantive features and obvious technical progress, in particular: acquiring node data information of the instant messaging application of the opposite side through self-adaptive detection, and upgrading or degrading a protocol so that two sides can interact more types of messages through the protocol version in the subsequent heterogeneous information interaction process; the method ensures that the service node can carry out quick automatic adaptation after the service node agent service protocol version is changed by timed self-adaptive detection, the protocol is changed to be upgraded or degraded, and the message types are ensured to be identifiable in the heterogeneous message interaction process; the heterogeneous interconnection system ensures that the instant messaging application can find the instant messaging application address information to be communicated in the central routing node through the corresponding service node proxy service, and the effective interaction of heterogeneous interconnection messages is carried out.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic block diagram of an adaptive probing based heterogeneous interconnection system according to the present invention;
fig. 2 shows a flow chart of the heterogeneous interconnection method based on adaptive probing according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
As shown in fig. 1, a first aspect of the present invention provides an adaptive probing-based heterogeneous interconnection system, where the heterogeneous interconnection system includes: the system comprises at least one instant messaging application, at least one service node proxy service and a central routing node, wherein each instant messaging application has a unique type, the types of different instant messaging applications are different, each service node proxy service is independently deployed, each instant messaging application is bound and connected with one service node proxy service, each service node proxy service is in communication connection with other service node proxy services, and the central routing node is in communication connection with all the service node proxy services;
the central routing node is used for providing registration addresses and addressing interfaces of all the service node proxy services, so that the registered service node proxy service addresses can be inquired;
each service node proxy service is internally stored with at least one communication protocol, and each service node proxy service in communication connection with the service node proxy service has a unique communication protocol;
each business node agent service comprises a detection interface, node data information of other business node agent services is regularly detected and stored through the detection interface, upgrading or degrading of a corresponding communication protocol is carried out according to the acquired node data information, the node data information comprises manufacturer information, protocol version types and version numbers and an extensible type list, and the extensible list comprises positioning information, personnel name cards, @ information, links, information destruction and service name card type information;
when the messages are interacted, the instant messaging application of the message to be sent is used as the instant messaging application of the sender, and the service node proxy service bound and connected with the instant messaging application of the sender is used as the service node proxy service of the sender; at least one instant messaging application except the instant messaging application is used as a target instant messaging application, and a service node proxy service bound and connected with the target instant messaging application is used as a target service node proxy service;
the instant messaging application of the sender sends the heterogeneous message to be sent to a service node proxy service of the sender, and after searching the address of the service node proxy service of the destination party from the central routing node through the service node proxy service of the sender, the instant messaging application of the sender sends the sending information of the heterogeneous message to the service node proxy service of the destination party; the target service node proxy service pushes the sending information of the heterogeneous message to the target instant messaging application, and the target instant messaging application searches the address of the sending service node proxy service from the central routing node through the target service node proxy service and then requests the sending service node proxy service to acquire the heterogeneous message so as to realize message interaction.
Specifically, the heterogeneous message interconnection supports single chat and group chat, and the standard template of the heterogeneous message is a message of a general type of text, voice, video, file and picture; because, the extensible list includes location information, personnel's business card, @ message, link, message destruction, service number business card type message, consequently after carrying out the agreement upgrade, heterogeneous message still includes location information, personnel's business card, @ message, link, message destruction, service number business card type message.
In practical application, when single chat is carried out, chat can be realized only when users of two parties of the instant messaging application are in friend relationship; when group chat is carried out, a plurality of users of the instant messaging application needing group chat are added into the group to realize chat; before the protocol is not upgraded, the two sides communicate only to support general type messages such as text, voice, video, file and picture due to protocol limitation, after the two sides communicate to upgrade the protocol through self-adaptive detection, the two sides can interact general type messages such as text, voice, video, file and picture, and can also perform type messages such as positioning information, personnel name card, @ message, link, message destruction, service number name card and the like, thereby realizing maximization of supported message types.
In practical application, the instant messaging application can be applied to related law enforcement and government affairs services such as public security, police affairs, era committee and the like, for example, in the police affairs service, service node proxy services of the instant messaging application are respectively and independently deployed in different provinces and cities, the instant messaging application can be a plurality of, and can also be different manufacturers, different settings exist in message protocols for carrying out communication on the instant messaging application by the deployed service node proxy services, so that a complete framework system of heterogeneous interconnection is formed, and when heterogeneous message interconnection is carried out, the instant messaging applications of two parties can find address information of the other party through the central routing node, and message interaction is carried out.
In order to support the maximization of the message type, the self-adaptive upgrading and downgrading of the protocol can be carried out at regular time, so that the communication between two parties can be quickly and automatically adapted after the upgrading or downgrading, more types of messages are transmitted, and the effectiveness and the convenience of the communication are guaranteed.
Specifically, the communication protocol upgrading step includes:
each business node agent service regularly detects and stores node data information of other business node agent services, judges whether the own party meets message expansion according to the acquired node data information, if so, judges that the own party supports communication protocol upgrading, confirms a communication protocol upgrading version according to the node data information of the both parties and carries out communication protocol upgrading treatment; otherwise, no operation is performed;
specifically, the message extension determination process is as follows: each service node proxy service judges whether the protocol type in the obtained node data information is consistent with the protocol type of the own party, if not, the service node proxy service continuously judges whether the extensible list of the own party comprises the type information supported by the protocol type in the obtained node data information, and if so, the service node proxy service judges that the own party meets the message extension; otherwise, message extensions are not satisfied.
In order to facilitate understanding of determination of the upgrade version of the communication protocol, taking a service node agent service as a standard node as an example, the service node agent service supports general messages such as texts, voice, videos, files and pictures and messages supporting types such as positioning information, personnel name cards, @ messages, links, message destruction, service number name cards and the like; if the expandable type list of the second service node proxy service comprises the personnel name card type, upgrading the protocol of the second service node proxy service to a protocol version 1; and if the expandable type list of the second service node proxy service comprises the personnel name card type, the positioning information and the like, upgrading the protocol of the second service node proxy service to a protocol version 2.
The communication protocol degrading step comprises:
in the process of message interaction, each service node agent service finds that the own party does not support the upgraded communication protocol version, detects node data information of the service node agent service of another message interaction party again, judges whether the own party supports the communication protocol upgrade and the supported communication protocol version according to the node data information of the two parties, and if not, degrades the upgraded communication protocol version into the original communication protocol version so that messages in the heterogeneous interconnection system can be identified.
In practical application, when detecting that a new service node proxy service is added or added in a heterogeneous message interconnection system, self-adaptive detection interaction is required to be carried out, node data information of the other party is obtained, message expansion is met, protocol upgrading is confirmed according to a protocol version number, supportable expansion list information and the like, and in the subsequent communication interaction process of two parties, the service node proxy services of the two parties are interacted according to an upgraded protocol.
Furthermore, in order to support maximization of message types, each service node proxy service also needs to actively detect a service node proxy service of a destination party before sending a message, records manufacturers of both parties, supported protocol version types and version numbers, an extensible type list and the like, and performs upgrading or degrading processing on a protocol, so that after upgrading or degrading, communication between both parties can be rapidly and automatically adapted, more types of messages are transmitted, and effectiveness and convenience of communication are guaranteed.
After upgrading existing service node proxy services, the self-adaptive detection is actively carried out on other service node proxy services to complete the determination and upgrading of the protocol version.
Specifically, the central routing node further provides the central routing node and also provides update and logout services of each service node proxy service.
In practical application, the central routing node also supports auditors to perform content audit on sent text messages and image-text messages, and if the content audit is not satisfactory, the sending can be refused.
As shown in fig. 2, a second aspect of the present invention further provides a heterogeneous interconnection method based on adaptive probing, where the heterogeneous interconnection method includes: a preparation stage, a self-adaptive detection stage and a heterogeneous message interaction stage;
preparation phase
Deploying all the service node proxy services independently, and connecting each service node proxy service with the corresponding instant messaging application and the central routing node in a communication manner; each service node agent service is respectively in communication connection with other service node agent services;
at least one communication protocol is stored in each service node proxy service, and each service node proxy service in communication connection with the service node proxy service has a unique communication protocol;
each service node agent service respectively sends registration information and address information to the central routing node;
adaptive staging
Each service node agent service comprises a detection interface, node data information of other service node agent services is detected and stored at regular time through the detection interface, upgrading or degrading of a corresponding communication protocol is carried out according to the acquired node data information, and the node data information comprises manufacturer information, protocol version types, version numbers and extensible type lists;
heterogeneous message interaction phase
The instant messaging application of the message to be sent is used as the instant messaging application of the sender, and the service node proxy service bound and connected with the instant messaging application of the sender is used as the service node proxy service of the sender; at least one instant messaging application except the instant messaging application is used as a target instant messaging application, and a service node proxy service bound and connected with the target instant messaging application is used as a target service node proxy service;
the instant messaging application of the sender sends the heterogeneous message to be sent to a service node proxy service of the sender, and after searching the address of the service node proxy service of the destination party from the central routing node through the service node proxy service of the sender, the instant messaging application of the sender sends the sending information of the heterogeneous message to the service node proxy service of the destination party; the target service node proxy service pushes the sending information of the heterogeneous message to the target instant messaging application, and the target instant messaging application searches the address of the sending service node proxy service from the central routing node through the target service node proxy service and then requests the sending service node proxy service to acquire the heterogeneous message so as to realize message interaction.
The communication protocol upgrading step comprises the following steps:
each business node agent service regularly detects and stores node data information of other business node agent services, judges whether the own party meets message expansion according to the acquired node data information, if so, judges that the own party supports communication protocol upgrading, confirms a communication protocol upgrading version according to the node data information of the both parties and carries out communication protocol upgrading treatment; otherwise, no operation is performed;
the communication protocol degrading step comprises:
and each service node agent service finds that the own party does not support the upgraded communication protocol version in the message interaction process, redetects the node data information of the service node agent service of the other message interaction party, judges whether the own party supports the communication protocol upgrade and the supported communication protocol version according to the node data information of the both parties, and if the own party does not support the communication protocol upgrade and the supported communication protocol version, degrades the upgraded communication protocol version into the original communication protocol version.
Specifically, each service node agent service sends an update or logout request to the central routing node when subsequently updating or logout is performed on the registration information, and the central routing node performs an audit pass and then completes the updating or logout process.
The invention obtains the node data information of the instant messaging application of the other party through self-adaptive detection, and carries out protocol upgrading or degrading, so that two parties can carry out interaction of more types of messages through the protocol version in the subsequent heterogeneous information interaction process; the method ensures that the service node can carry out quick automatic adaptation after the service node agent service protocol version is changed by timed self-adaptive detection, the protocol is changed to be upgraded or degraded, and the message types are ensured to be identifiable in the heterogeneous message interaction process; the heterogeneous interconnection system ensures that the instant messaging application can find the instant messaging application address information to be communicated in the central routing node through the corresponding service node proxy service, and the effective interaction of heterogeneous interconnection messages is carried out.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. An adaptive probing based heterogeneous interconnection system, comprising: the system comprises at least one instant messaging application, at least one service node proxy service and a central routing node, wherein each instant messaging application has a unique type, the types of different instant messaging applications are different, each service node proxy service is independently deployed, each instant messaging application is bound and connected with one service node proxy service, each service node proxy service is in communication connection with other service node proxy services, and the central routing node is in communication connection with all the service node proxy services;
the central routing node is used for providing registration addresses and addressing interfaces of all the service node proxy services, so that the registered service node proxy service addresses can be inquired;
each service node proxy service is internally stored with at least one communication protocol, and each service node proxy service in communication connection with the service node proxy service has a unique communication protocol;
each service node agent service comprises a detection interface, node data information of other service node agent services is detected and stored at regular time through the detection interface, upgrading or degrading of a corresponding communication protocol is carried out according to the acquired node data information, and the node data information comprises manufacturer information, protocol version types and version numbers and an extensible message type list;
the communication protocol upgrading step comprises the following steps:
each business node agent service regularly detects and stores node data information of other business node agent services, judges whether the own party meets message expansion according to the acquired node data information, if so, judges that the own party supports communication protocol upgrading, confirms a communication protocol upgrading version according to the node data information of the both parties and carries out communication protocol upgrading treatment; otherwise, no operation is performed;
the judgment process of the message expansion comprises the following steps: each service node proxy service judges whether the protocol version type in the obtained node data information is consistent with the protocol version type of the own party, if not, the service node proxy service continuously judges whether an extensible message type list of the own party comprises a type message supported by the protocol version type in the obtained node data information, and if so, the service node proxy service judges that the own party meets message extension; otherwise, message extension is not satisfied;
the communication protocol degrading step comprises:
each business node agent service finds that the own party does not support the upgraded communication protocol upgrade version in the message interaction process, detects the node data information of the business node agent service of the other message interaction party again, judges whether the own party supports the communication protocol upgrade and the supported communication protocol upgrade version according to the node data information of the both parties, and if not, downgrades the upgraded communication protocol upgrade version to the original communication protocol version;
when the messages are interacted, the instant messaging application of the message to be sent is used as the instant messaging application of the sender, and the service node proxy service bound and connected with the instant messaging application of the sender is used as the service node proxy service of the sender; at least one instant messaging application except the instant messaging application is used as a target instant messaging application, and a service node proxy service bound and connected with the target instant messaging application is used as a target service node proxy service;
the instant messaging application of the sender sends the heterogeneous message to be sent to a service node proxy service of the sender, and after searching the address of the service node proxy service of the destination party from the central routing node through the service node proxy service of the sender, the instant messaging application of the sender sends the sending information of the heterogeneous message to the service node proxy service of the destination party; the target service node proxy service pushes the sending information of the heterogeneous message to the target instant messaging application, and the target instant messaging application searches the address of the sending service node proxy service from the central routing node through the target service node proxy service and then requests the sending service node proxy service to acquire the heterogeneous message so as to realize message interaction.
2. The heterogeneous interconnection system according to claim 1, wherein: each service node proxy service actively probes the service node proxy service of the destination party before sending the message so as to finish the self-adaptive lifting of the communication protocol.
3. The heterogeneous interconnection system according to claim 1, wherein: after being upgraded, each service node agent service actively detects other service node agent services so as to finish the self-adaptive lifting of the communication protocol.
4. The heterogeneous interconnection system according to claim 1, wherein: the central routing node also provides update and deregistration services for each service node proxy service.
5. The heterogeneous interconnection system according to claim 1, wherein: the expandable message type list comprises positioning information, personnel name cards, @ messages, links, message destruction and service number name card type messages.
6. A heterogeneous interconnection method based on adaptive detection is characterized by comprising the following steps: a preparation stage, a self-adaptive upgrading and downgrading stage and a heterogeneous message interaction stage;
preparation phase
Deploying all the service node proxy services independently, and connecting each service node proxy service with the corresponding instant messaging application and the central routing node in a communication manner; each service node agent service is respectively in communication connection with other service node agent services;
at least one communication protocol is stored in each service node proxy service, and each service node proxy service in communication connection with the service node proxy service has a unique communication protocol;
each service node agent service respectively sends registration information and address information to the central routing node;
adaptive staging
Each service node agent service regularly detects and stores node data information of other service node agent services through the detection interface, and upgrades or downgrades a corresponding communication protocol according to the acquired node data information, wherein the node data information comprises manufacturer information, protocol version types and version numbers and an extensible message type list;
the communication protocol upgrading step comprises the following steps:
each business node agent service regularly detects and stores node data information of other business node agent services, judges whether the own party meets message expansion according to the acquired node data information, if so, judges that the own party supports communication protocol upgrading, confirms a communication protocol upgrading version according to the node data information of the both parties and carries out communication protocol upgrading treatment; otherwise, no operation is performed;
the judgment process of the message expansion comprises the following steps: each service node proxy service judges whether the protocol version type in the obtained node data information is consistent with the protocol version type of the own party, if not, the service node proxy service continuously judges whether an extensible message type list of the own party comprises a type message supported by the protocol version type in the obtained node data information, and if so, the service node proxy service judges that the own party meets message extension; otherwise, message extension is not satisfied;
the communication protocol degrading step comprises:
each business node agent service finds that the own party does not support the upgraded communication protocol upgrade version in the message interaction process, detects the node data information of the business node agent service of the other message interaction party again, judges whether the own party supports the communication protocol upgrade and the supported communication protocol upgrade version according to the node data information of the both parties, and if not, downgrades the upgraded communication protocol upgrade version to the original communication protocol version;
heterogeneous message interaction phase
The instant messaging application of the message to be sent is used as the instant messaging application of the sender, and the service node proxy service bound and connected with the instant messaging application of the sender is used as the service node proxy service of the sender; at least one instant messaging application except the instant messaging application is used as a target instant messaging application, and a service node proxy service bound and connected with the target instant messaging application is used as a target service node proxy service;
the instant messaging application of the sender sends the heterogeneous message to be sent to a service node proxy service of the sender, and after searching the address of the service node proxy service of the destination party from the central routing node through the service node proxy service of the sender, the instant messaging application of the sender sends the sending information of the heterogeneous message to the service node proxy service of the destination party; the target service node proxy service pushes the sending information of the heterogeneous message to the target instant messaging application, and the target instant messaging application searches the address of the sending service node proxy service from the central routing node through the target service node proxy service and then requests the sending service node proxy service to acquire the heterogeneous message so as to realize message interaction.
7. The heterogeneous interconnection method according to claim 6, wherein each service node proxy service subsequently sends an update or deregistration request to the central routing node when updating or deregistering the registration information, and the central routing node completes the update or deregistration process after passing the audit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910941486.1A CN110635994B (en) | 2019-09-30 | 2019-09-30 | Heterogeneous interconnection system and method based on self-adaptive detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910941486.1A CN110635994B (en) | 2019-09-30 | 2019-09-30 | Heterogeneous interconnection system and method based on self-adaptive detection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110635994A CN110635994A (en) | 2019-12-31 |
CN110635994B true CN110635994B (en) | 2022-02-25 |
Family
ID=68975509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910941486.1A Active CN110635994B (en) | 2019-09-30 | 2019-09-30 | Heterogeneous interconnection system and method based on self-adaptive detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110635994B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559373B (en) * | 2020-12-24 | 2022-04-08 | 郑州信大捷安信息技术股份有限公司 | Software compatibility management method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2849310A1 (en) * | 2002-12-18 | 2004-06-25 | France Telecom | MEDIATION PLATFORM INTENDED TO BE INSTALLED IN A MESSAGE TRANSPORTATION NETWORK ACCORDING TO PROTOCOLS AND NETWORK PROVIDED WITH AT LEAST SUCH A PLATFORM |
AU2009202517A1 (en) * | 2006-09-15 | 2009-07-16 | Itron Global Sarl | Real Time Clock Distribution and Synchronization, in an Advanced Metering System Mesh Network, and a Network |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU1421799A (en) * | 1997-11-25 | 1999-06-15 | Packeteer, Inc. | Method for automatically classifying traffic in a packet communications network |
US9621252B2 (en) * | 2013-03-11 | 2017-04-11 | Nagravision S.A. | Method and apparatus for selecting an application of a device having an NFC interface |
CN105072093B (en) * | 2015-07-20 | 2018-01-09 | 北京北信源软件股份有限公司 | A kind of apparatus and method to be interconnected for instantaneous communication system |
CN107707534A (en) * | 2017-09-22 | 2018-02-16 | 深圳市盛路物联通讯技术有限公司 | A kind of data forwarding method and device |
CN109120601A (en) * | 2018-07-24 | 2019-01-01 | 深圳市天威视讯股份有限公司 | IPv4 and IPv6 interoperability methods and system based on program request signaling |
-
2019
- 2019-09-30 CN CN201910941486.1A patent/CN110635994B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2849310A1 (en) * | 2002-12-18 | 2004-06-25 | France Telecom | MEDIATION PLATFORM INTENDED TO BE INSTALLED IN A MESSAGE TRANSPORTATION NETWORK ACCORDING TO PROTOCOLS AND NETWORK PROVIDED WITH AT LEAST SUCH A PLATFORM |
AU2009202517A1 (en) * | 2006-09-15 | 2009-07-16 | Itron Global Sarl | Real Time Clock Distribution and Synchronization, in an Advanced Metering System Mesh Network, and a Network |
Non-Patent Citations (1)
Title |
---|
面向对象的数据交换协议研究与应用;郑安刚等;《电测与仪表》;20171225(第24期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110635994A (en) | 2019-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8443059B2 (en) | Configuring a client application | |
RU2297663C2 (en) | System and method for identification and accessing network services | |
US6310889B1 (en) | Method of servicing data access requests from users | |
CN110311983B (en) | Service request processing method, device and system, electronic equipment and storage medium | |
KR100898994B1 (en) | Configuration of a terminal | |
EP1517566A1 (en) | Demand-based update provisioning for a mobile communication device | |
US20090124247A1 (en) | Demand-based provisioning for a mobile communication device | |
CN102355500B (en) | Service push method and device | |
US20070281691A1 (en) | Method and System for Device Discovery | |
CN1864429A (en) | Network and method for registration of mobile devices and management of the mobile devices | |
CN103460648A (en) | Methods, systems, and computer readable media for screening Diameter messages within a Diameter signaling router (DSR) having a distributed message processor architecture | |
JP2008510207A (en) | Software program synchronization method | |
CN106210049B (en) | Cluster communication method and system based on message queue | |
CN106060797A (en) | SIM card-based information synchronization method, device, server and system | |
CN111277481B (en) | Method, device, equipment and storage medium for establishing VPN tunnel | |
CN103812900A (en) | Data synchronization method, device and system | |
CN109246762A (en) | A kind of local service shunt method and device | |
CN104683968A (en) | Machine type communication application resource management method, node and system | |
JP2007215235A (en) | Demand-based provisioning for mobile communication device | |
CN110635994B (en) | Heterogeneous interconnection system and method based on self-adaptive detection | |
CN103139041A (en) | Method for filtering information and method, device and system for processing forwarded information | |
CN105391702A (en) | Audio/video communication method, terminal, server and platform | |
JP2001256045A (en) | Method and device for checking computer virus | |
CN101686223B (en) | Feedback method of content filtering and device | |
CN101594574B (en) | Method for realizing group information management of mobile terminal |
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 |