Interconnection and intercommunication system based on data protocol conversion and dynamic routing
By establishing a unified data protocol standard and a dynamic routing interconnection system, the problem of message incompatibility between heterogeneous instant messaging systems has been solved, achieving decoupling and efficient message interoperability between heterogeneous systems, and supporting flexible and standardized interconnection modes.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-04-07
AI Technical Summary
Due to differences in technical architecture, data standards, and communication protocols, heterogeneous instant messaging systems cannot achieve cross-system, cross-organization, and cross-network message interoperability.
An interconnection system based on data protocol conversion and dynamic routing is adopted. By formulating a unified data protocol standard and a data protocol conversion module, message interconnection between heterogeneous instant messaging systems is realized. Using a three-node (network node, management node, application node) and three-service (management service, message service, file service) architecture, unified user management and dynamic message routing are provided.
It achieves decoupling between heterogeneous instant messaging systems, supports flexible, comprehensive, and standardized interconnection modes, meets high availability and high scalability, and enables smooth message flow between heterogeneous systems.
Smart Images

Figure CN121814720A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of computers, and particularly relates to an interconnection and intercommunication system based on data protocol conversion and dynamic routing. BACKGROUND
[0002] Nowadays, computer software has become an important part of information development, especially in some important fields. In order to meet the requirements of people's work and life and improve work efficiency, developing computer software has become an important task.
[0003] However, with the continuous increase of business application systems and the gradual increase of user usage, in order to effectively improve the user communication and information transmission efficiency across systems, units and networks, it has become a key means to interconnect and intercommunicate heterogeneous instant messaging systems. The interconnection and intercommunication platform is an important carrier for realizing the interconnection and intercommunication of heterogeneous instant messaging systems, and is the core software in information construction.
[0004] At present, instant messaging systems have become one of the indispensable software for users to communicate daily in various units, industries and fields. However, in the face of cross-system, cross-unit and cross-network scenarios, different instant messaging systems cannot communicate across systems due to differences in technical architecture, data standards, communication protocols and other problems. Therefore, building a unified interconnection and intercommunication platform as a bridge to connect various heterogeneous instant messaging systems, providing an interconnection and intercommunication technology based on data protocol conversion and dynamic routing, has become an important carrier for realizing the interconnection and intercommunication of heterogeneous instant messaging systems, and is the core software in information construction.
[0005] In view of the difficulty that messages between heterogeneous instant messaging systems cannot be intercommunicated, the application proposes an interconnection and intercommunication architecture and technology of three nodes (network nodes, management nodes and application nodes) and three services (i.e. management service, message service and file service) based on data protocol conversion and message dynamic routing, with messages as the core. The architecture and technology aims to realize mutual recognition of messages between heterogeneous instant messaging systems through unified data protocol standards and data protocol conversion, and realize the transmission of messages between heterogeneous instant messaging systems through user node association and message dynamic routing. This architecture and technology not only meets the demand of heterogeneous message interconnection and intercommunication, but also easily copes with future changes and expansion. SUMMARY (I) Technical problems to be solved The technical problem to be solved by the application is how to provide an interconnection and intercommunication system based on data protocol conversion and dynamic routing to solve the problem that messages between heterogeneous instant messaging systems cannot be intercommunicated.
[0006] (II) Technical solutions In order to solve the above technical problems, the application provides an interconnection and intercommunication system based on data protocol conversion and dynamic routing, which comprises basic services, an interconnection and intercommunication platform, a unified user management platform and application nodes. The basic services: a general database, a cache and a message queue provide basic data storage, data caching, message publishing and subscribing and the like for the upper interconnection and intercommunication platform; and the cross-network exchange as a core cross-network service provides the upper interconnection and intercommunication platform with the ability of cross-network message sending and receiving. The interconnection and intercommunication platform: it is the core part of the whole architecture, depends on the underlying storage, message and cross-network service, and provides network node / management node / application node registration, user node reporting, user node management, interconnection group management, interconnection friend management, message filtering, message dynamic routing, message log and retry, file unified storage and file cross-network transmission functions; in addition, the interconnection and intercommunication platform needs to provide the upper application nodes with a unified interconnection data protocol standard and a message sending interface, so as to realize message mutual recognition and intercommunication between different instant messaging systems; the interconnection and intercommunication platform comprises three core services: interconnection management service, interconnection message service and interconnection file service. The unified user management platform: as a general service of the whole architecture, it provides the upper application nodes and the interconnection and intercommunication platform with unified user query and management functions, so that the user data has only one source. The application nodes: the application nodes are different instant messaging systems, which provide basic message communication, interconnection message conversion and interconnection message receiving functions; the different instant messaging systems need to convert data according to the unified data protocol standard provided by the interconnection and intercommunication platform, convert self-defined format data into standard format data, and send interconnection messages to the interconnection and intercommunication platform for routing and forwarding through the message sending interface; in addition, the different instant messaging systems need to provide a standard message receiving interface according to the data protocol standard, so as to receive interconnection messages.
[0007] (Three) beneficial effects The application provides an interconnection and intercommunication system based on data protocol conversion and dynamic routing, compared with the prior art, the application provides an interconnection and intercommunication architecture design of three nodes (network nodes, management nodes and application nodes) and three services (management service, message service and file service) based on message, data protocol standardization and conversion and dynamic message routing. The overall architecture of interconnection and intercommunication mainly includes four parts: basic service, interconnection and intercommunication platform, application node (i.e. each heterogeneous instant messaging system) and unified user management platform. Compared with the traditional on-demand customized interface development to realize the access permission of part data between heterogeneous instant messaging, the application provides a one-stop interconnection and intercommunication capability based on message, realizes the decoupling between heterogeneous instant messaging, supports a more flexible, comprehensive and standard interconnection and intercommunication mode, and meets high availability and high scalability. Each heterogeneous instant messaging system needs to follow a unified data protocol standard, convert the self-defined format data into standard format data, and communicate with the interconnection and intercommunication platform, so that the message is smoothly transferred between heterogeneous instant messaging through message analysis and dynamic routing of the interconnection and intercommunication platform and forwarding to other instant messaging systems. BRIEF DESCRIPTION OF DRAWINGS
[0008] Figure 1 It is the overall architecture diagram of the application; Figure 2 It is the message intercommunication architecture diagram between heterogeneous instant messaging of the application; Figure 3 It is the user node activation reporting flowchart of the application; Figure 4 It is the multi-center interconnection management service synchronization architecture diagram of the application; Figure 5 It is the asynchronous message processing model diagram of the application; Figure 6 It is the chain message processing model diagram of the application; Figure 7 It is the interconnection file flow structure diagram of the application. DETAILED DESCRIPTION
[0009] In order to make the purpose, content and advantages of the application more clear, the specific embodiments of the application are further described in detail below in combination with the drawings and examples.
[0010] The purpose of the application is to provide an interconnection and intercommunication system based on data protocol conversion and dynamic routing, which aims to realize the interconnection and intercommunication of messages between heterogeneous instant messaging through unified data protocol standard, data protocol conversion, user node association and dynamic message routing.
[0011] 1. Overall architecture Figure 1 It is the overall architecture diagram of the application, likeFigure 1 As shown, the overall architecture includes the following 4 parts: Basic service: The general database, cache, message queue provides basic data storage, data cache, message publishing and subscribing functions for the upper interconnection platform. The cross-network exchange as the core cross-network service provides the basic message cross-network sending and receiving capabilities for the upper interconnection platform.
[0012] Interconnection platform: It is the core part of the whole architecture, which depends on the underlying storage, message and cross-network service, and provides network node / management node / application node registration, user node reporting, user node management, interconnection group management, interconnection friend management, message filtering, message dynamic routing, message log and retry, file unified storage, file cross-network transmission and other functions. In addition, the interconnection platform needs to provide a unified interconnection data protocol standard and message sending interface for the upper application node, so as to realize the message mutual recognition and interconnection between different heterogeneous instant messaging. The interconnection platform mainly includes 3 core services: interconnection management service, interconnection message service and interconnection file service. The interconnection management service is responsible for the management, maintenance and audit of the interconnection basic information, and provides basic information query and management capabilities for the message service and file service. The interconnection message service is responsible for receiving, routing and forwarding interconnection messages, receiving interconnection messages sent by different heterogeneous instant messaging systems, and performing analysis, verification, filling, encapsulation and other processes according to the standard protocol, and then forwarding to the corresponding other application node through dynamic routing query. At the same time, it is responsible for identifying file data from interconnection messages, extracting and encapsulating, and forwarding the encapsulated file message to the interconnection file service. The interconnection file service is responsible for providing unified interconnection file storage function for the upper application node, as well as cross-network file sending and receiving function, realizing file cross-network transmission and storage.
[0013] Unified user management platform: As a general service of the whole architecture, it provides unified user query and management function for the upper application node and interconnection platform, so that the user data has only one source.
[0014] Application node: It is an integrated part of the whole architecture, and the application node is each heterogeneous instant messaging system, which provides basic message communication, interconnection message conversion, interconnection message receiving and other functions. Each heterogeneous instant messaging system needs to convert the data protocol according to the unified data protocol standard provided by the interconnection platform, convert the self-defined format data into standard format data, and send the interconnection message to the interconnection platform for routing and forwarding through the message sending interface. In addition, each heterogeneous instant messaging needs to provide a standard message receiving interface according to the data protocol standard, to receive interconnection messages.
[0015] 2. Unified data protocol standard and data protocol conversion The unified data protocol standard as the core standard of the interconnection platform is the key to solving the inconsistency of message types, message formats, message fields, and field types between heterogeneous instant messaging systems.
[0016] The unified data protocol standard defines message interconnection protocols, message interconnection interfaces, message interconnection logic, and specific interconnection message content. The message interconnection protocol uses http or https protocol. Http and https are commonly used application layer communication protocols on the Internet, which can effectively reduce the difficulty of connecting instant messaging to the interconnection platform. The message interconnection interface is defined in the restful style, including an interconnection message sending interface and an interconnection message receiving interface. The interconnection message sending interface is provided by the interconnection platform, and the interconnection message receiving interface is implemented and provided by each heterogeneous instant messaging system according to the standard. The message interconnection logic defines the flow and logic of user node change messages, add friend messages, new group messages, single chat messages, and group chat messages. The specific interconnection message content defines the data format, fields, and field types of each type of interconnection message. The data format is unified in json format, the fields are determined according to the content using camel case naming method, and the field types mainly include string, integer, and object.
[0017] On the basis of the unified data protocol standard provided by the interconnection platform, each heterogeneous instant messaging system needs to provide a data protocol conversion module according to the standard. Figure 2 As shown in the message interconnection structure diagram between heterogeneous instant messaging systems. Before sending interconnection messages, the data protocol conversion module is responsible for converting the data protocol, data format, fields, and field types of each heterogeneous instant messaging system into standard data protocol, data format, fields, and field types, and calling the message sending interface provided by the interconnection platform to send standard interconnection messages to the interconnection platform. In addition, each heterogeneous instant messaging system needs to provide an interconnection message receiving interface. After receiving the interconnection message, it needs to convert the interconnection message into its internal message according to the standard and push it to the user terminal for display.
[0018] 3. Interconnection management service The interconnection management service as the basic management module of the interconnection platform is responsible for the management and maintenance of the basic information of the entire interconnection platform, including: network nodes, management nodes, application nodes, user node relationships, interconnection friend relationships, interconnection group information, interconnection message logs, data synchronization, etc.
[0019] To realize the message interconnection and intercommunication between heterogeneous instant messaging across systems, across centers, and across networks, the interconnection management service builds a three-node (network node, management node, and application node) hierarchical management model. The model abstracts the real network as a network node, the management center as a management node, and the instant messaging as an application node. The network node describes the ID, name, network center node, cross-network proxy address, and cross-network message address of the network. The management node describes the ID, name, and network to which the management center belongs. The application node describes the node ID, node name, application authorization ID, and access address of the instant messaging system. Meanwhile, the model defines the hierarchical relationship and association relationship between the network node, the management node, and the application node. The top layer is the network node, the second layer is the management node, and the last layer is the application node. From top to bottom, the three nodes have a one-to-many association relationship, that is, one network node corresponds to multiple management nodes, and one management node corresponds to multiple application nodes. Each network node will specify a management node as the center node of the network. Based on the three-node hierarchical management model, the real network, center, and application can be highly abstracted and uniformly managed, providing the most basic node information for subsequent dynamic routing of interconnected messages.
[0020] To support the message dynamic routing model with user input and node output, the interconnection management service saves and maintains user node relationship, interconnection friend relationship, and interconnection group information. The user node relationship describes the registration, login, and use relationship between the user and the application node. When a user logs in to the instant messaging system for the first time, the instant messaging system will determine whether the user logs in for the first time. If so, the instant messaging system will report a user activation message to the interconnection platform. The message is received by the interconnection message service and reported to the interconnection management service. Finally, the interconnection management service analyzes the message content and saves the user node association relationship for subsequent message routing. The whole process is the user node activation reporting process, as shown in Figure 3
[0021] The interconnection friend relationship describes the friend relationship between users, and the interconnection group information describes the group relationship between groups and users, providing user-to-user and group-to-user association query capabilities for dynamic routing of single chat messages and group chat messages. In addition, the interconnection management service maintains interconnection message logs and node audits, providing audit and failure retry capabilities for interconnection message forwarding.
[0022] In a multi-center scenario, to ensure the consistency of application node, user node relationship, interconnection friend relationship, and interconnection group information, the interconnection management service provides a synchronization center function to support cross-center data synchronization between multiple interconnection management services. If there is cross-network between centers, cross-network calls need to be made through the underlying cross-network exchange service. The specific synchronization architecture diagram is as follows:Figure 4 As shown.
[0023] 4. Interconnected message service The interconnected message service is a message processing module of the interconnection platform, responsible for message receiving, parsing, verification, reporting, file identification, routing, forwarding, and other processing of the entire interconnection platform, and is the core support module of message interconnection.
[0024] In the interface layer, the interconnected message service implements and provides a message sending interface according to the interconnected message protocol standard, which serves as the entrance of interconnected messages for receiving interconnected messages sent by various heterogeneous instant messaging. At the same time, in order to more efficiently and reliably receive, respond to, and process interconnected messages sent by various heterogeneous instant messaging, the interconnected message service builds an asynchronous message processing model based on the producer-consumer pattern, as shown in Figure 5 The model achieves decoupling of message receiving, response logic, and message processing logic by using a message queue, achieving the effect of "fast receiving, fast response, and stable processing", which can effectively improve the concurrency of message receiving and response and the efficiency of message processing.
[0025] Interconnected message processing is the most critical and complex part of the interconnected message service, mainly including message parsing, verification, reporting, file identification, routing, forwarding, and other processes. In order to efficiently, stably, and orderly process messages, the interconnected message service builds a chain message processing model, as shown in Figure 6 The message consumer consumes messages from the message queue, then passes the consumed messages to the message processing manager, which organizes the processors to process the messages in order according to the processing chain, and passes the processing results to the next processor until all processors are processed. If any processor on the processing chain fails, the message processing fails, the processing chain is interrupted, and the message state is updated.
[0026] The chain message processing model adopts a "1+N" structure (i.e., 1 processing manager + multiple processors). The processing manager is responsible for organizing and maintaining the chain call and call order between multiple processors, as well as data transmission, result verification, and message storage between processors. On the processing chain, processors are divided into 6 types according to their responsibilities, namely: message parsing processor, message verification processor, data reporting processor, file identification processor, message routing processor, and message forwarding processor. Each processor is responsible for different processing tasks and cooperates to complete the processing of interconnected messages.
[0027] The message parsing processor is responsible for receiving JSON format string type message data passed by the message consumer and parsing the message data into object type.
[0028] The message check processor is responsible for checking the fields and data of the message object after receiving the message object passed by the message parsing processor, and judging whether the fields and data meet the standard requirements.
[0029] The data reporting processor, after receiving the message object meeting the standard, will judge whether the message is an interconnection friend, user node relationship, group information, etc. message according to the business type of the message. If the judgment is correct, the message needs to be reported to the interconnection management service for corresponding processing and saving. If the judgment is not correct, the message will not be processed and will be directly passed to the next processor.
[0030] The file recognition processor is responsible for analyzing the message object and recognizing the file data contained in the message. If the recognition is successful, the recognized file data will be extracted and re-encapsulated as a file message object, and the object will be passed to the interconnection file service for unified processing of the file. If no file is recognized, the message will be directly passed to the next processor without processing.
[0031] The message routing processor is responsible for the most important message dynamic routing function in the chain. According to the business type of the message, different routing strategies are used, which are divided into four strategies: single chat routing strategy, group chat routing strategy, friend routing strategy, and broadcast routing strategy. The single chat routing strategy uses the receiver as the routing key to dynamically obtain the application node associated with the receiver, i.e. the destination node. The group chat routing strategy uses the group as the routing key to dynamically obtain the personnel information of the group and the destination application node through the personnel information. The friend routing strategy uses the sender as the routing key to dynamically obtain the friend information of the sender and the destination application node through the friend information. The broadcast routing strategy dynamically obtains all application nodes of the current management center. After completing the dynamic routing, the message routing processor will pass the message and the destination application node to the message forwarding processor.
[0032] The message forwarding processor, after receiving the message and the destination application node, will judge whether the destination node is a cross-network node. If it is, it will call the cross-network forwarder for cross-network forwarding. If it is not, it will call the same network forwarder for same network forwarding.
[0033] 5. Interconnection file service The interconnection file service is a file processing module of the interconnection platform, responsible for the unified storage and cross-network transmission of files in the entire interconnection platform. In the process of heterogeneous instant messaging interconnection, files exist in the internal storage of each instant messaging as a resource. Compared with simple text messages, the interconnection of file messages requires not only the interconnection of messages themselves, but also the interconnection of files.
[0034] In order to realize the interconnection and intercommunication of files, the interconnection file service provides a unified file storage function, and realizes file uploading and access interface according to a data protocol standard. In addition, the interconnection file service provides a file cross-network transmission function through a bottom cross-network exchange, and realizes cross-network access of files. The interconnection file flow structure is as shown in Figure 7 The instant messaging system calls the uploading interface of the interconnection file service to upload the file to the unified storage service for storage. After receiving the interconnection file message, other heterogeneous instant messaging systems can call the access interface of the interconnection file service to obtain file data, and realize cross-system file access. In addition, in order to support cross-network file access, the interconnection file service will download the file stored in the unified storage from the file storage service, and transmit it to the cross-network exchange for cross-network transmission. The interconnection file service on the network side receives the file, and saves the received file to the file storage service for access by the instant messaging system, thereby realizing cross-network access of the interconnection file.
[0035] Compared with the prior art, the present application proposes an interconnection and intercommunication architecture design of three nodes (network nodes, management nodes and application nodes) and three services (i.e. management service, message service and file service) based on message core, data protocol standardization and conversion and dynamic message routing. The overall interconnection and intercommunication architecture mainly includes four parts: basic service, interconnection and intercommunication platform, application node (i.e. each heterogeneous instant messaging system) and unified user management platform. Compared with the traditional on-demand customized interface development to realize the access permission of part data between heterogeneous instant messaging systems, the present application provides a one-stop interconnection and intercommunication capability based on message core, realizes decoupling between heterogeneous instant messaging systems, supports a more flexible, comprehensive and standard interconnection and intercommunication mode, and meets high availability and high scalability. Each heterogeneous instant messaging system needs to convert self-defined format data into standard format data according to a unified data protocol standard, and communicates with the interconnection and intercommunication platform. The interconnection and intercommunication platform performs message analysis and dynamic routing, and forwards to other instant messaging systems, thereby realizing smooth flow of messages between heterogeneous instant messaging systems.
[0036] The above only describes the preferred embodiments of the present application, and it should be noted that for ordinary skilled persons in the technical field, several improvements and modifications can be made without departing from the technical principles of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.
Claims
1. An interconnection system based on data protocol conversion and dynamic routing, characterized in that, The system includes: basic services, an interconnection platform, a unified user management platform, and application nodes; Basic services: General-purpose databases, caches, and message queues provide basic data storage, data caching, and message publish / subscribe functions for the upper-layer interconnection platform; cross-network exchange, as a core cross-network service, provides the upper-layer interconnection platform with basic capabilities for sending and receiving messages across networks; The Interoperability Platform is the core of the entire architecture. Relying on underlying storage, messaging, and cross-network services, it provides functions such as network node / management node / application node registration, user node reporting, user node management, interconnection group management, interconnection friend management, message filtering, dynamic message routing, message logging and retrying, unified file storage, and cross-network file transfer. Furthermore, the Interoperability Platform must provide upper-layer application nodes with a unified interconnection data protocol standard and message sending interface to achieve message recognition and interoperability between heterogeneous instant messaging systems. The Interoperability Platform includes three core services: Interoperability Management Service, Interoperability Messaging Service, and Interoperability File Service. Unified User Management Platform: As a general service of the entire architecture, it provides unified user query and management functions for upper-layer application nodes and interconnection platforms, making user data the sole source; Application Nodes: Application nodes are the various heterogeneous instant messaging systems that provide basic message communication, interconnected message conversion, and interconnected message receiving functions. Each heterogeneous instant messaging system needs to perform data protocol conversion according to the unified data protocol standard provided by the interconnection platform, converting custom format data into standard format data, and sending interconnected messages to the interconnection platform for routing and forwarding by calling the message sending interface. In addition, each heterogeneous instant messaging system needs to provide a standard message receiving interface according to the data protocol standard to receive interconnected messages.
2. The interconnection system based on data protocol conversion and dynamic routing as described in claim 1, characterized in that, The Interconnection Management Service is responsible for the management, maintenance, and auditing of basic interconnection information, providing basic information query and management capabilities for message and file services. The Interconnection Message Service is responsible for receiving, routing, and forwarding interconnection messages. It receives interconnection messages sent by various heterogeneous instant messaging systems, parses, verifies, fills, and encapsulates them according to standard protocols, and then forwards them to other corresponding application nodes via dynamic routing queries. At the same time, it is responsible for identifying file data from interconnection messages, extracting and encapsulating it, and forwarding the encapsulated file messages to the Interconnection File Service. The Interconnection File Service is responsible for providing unified interconnection file storage functions for upper-layer application nodes, as well as cross-network file sending and receiving functions, realizing cross-network file transmission and storage.
3. The interconnection system based on data protocol conversion and dynamic routing as described in claim 1, characterized in that, The unified data protocol standard defines the message interoperability protocol, message interoperability interface, message interoperability logic, and specific interconnected message content. The message interoperability protocol adopts HTTP or HTTPS protocols. HTTP and HTTPS are common application layer communication protocols on the Internet, which can reduce the difficulty for various instant messaging systems to connect to the interconnection platform. The message interoperability interface adopts a RESTful style definition, including an interconnected message sending interface and an interconnected message receiving interface. The interconnected message sending interface is provided by the interconnection platform, and the interconnected message receiving interface is implemented and provided by each heterogeneous instant messaging system according to the standard. The message interoperability logic defines the flow and logic of various types of interconnected message transfer, processing, and response. The specific interconnected message content clarifies the data format, fields, and field types of various types of interconnected messages. The data format uniformly adopts JSON format, and the fields adopt camelCase naming according to different content. Field types include strings, integers, and objects.
4. The interconnection system based on data protocol conversion and dynamic routing as described in claim 3, characterized in that, Based on the unified data protocol standard provided by the interoperability platform, each heterogeneous instant messaging system must provide a data protocol conversion module in accordance with the standard. Before sending interoperable messages, the data protocol conversion module is responsible for converting the data protocol, data format, fields, and field types within each heterogeneous instant messaging system into the standard data protocol, data format, fields, and field types, and calling the message sending interface provided by the interoperability platform to send the standard interoperable message to the interoperability platform. Each heterogeneous instant messaging system must provide an interoperable message receiving interface. After receiving interoperable messages, it must convert the interoperable messages into its internal messages according to the standard and push them to the user terminal for display.
5. The interconnection system based on data protocol conversion and dynamic routing as described in any one of claims 1-4, characterized in that, The interconnection management service constructs a three-node hierarchical management model, consisting of network nodes, management nodes, and application nodes. This model abstracts the real-world network as network nodes, the management center as management nodes, and instant messaging as application nodes. Network nodes describe the network's ID, name, network center node, cross-network proxy address, and cross-network message address. Management nodes describe the management center's ID, name, and network to which it belongs. Application nodes describe the instant messaging system's node ID, node name, application authorization ID, and access address. Furthermore, the hierarchical and relational relationships between network nodes, management nodes, and application nodes are defined, with network nodes at the top, followed by management nodes, and finally application nodes. From top to bottom, there is a one-to-many relationship between the three, meaning one network node corresponds to multiple management nodes, and one management node corresponds to multiple application nodes. Each network node designates a management node as the network's center node. Based on this three-node hierarchical management model, the real-world network, center, and applications are highly abstracted and uniformly managed, providing the most basic node information for subsequent dynamic routing of interconnected messages.
6. The interconnection system based on data protocol conversion and dynamic routing as described in claim 5, characterized in that, The interconnection management service stores and maintains user node relationships, interconnection friend relationships, and interconnection group information data; among them, User node relationships describe the registration, login, and usage relationships between users and application nodes. When a user logs into the instant messaging system for the first time, the instant messaging system will determine whether the user is logging in for the first time. If so, the instant messaging system will report a user activation message to the interconnection platform. This message is received by the interconnection message service and reported to the interconnection management service. Finally, the interconnection management service parses the message content and saves the user node association relationship for subsequent message routing. Interconnected friend relationships describe the friend relationships between users, while interconnected group information describes the group relationships between groups and users. It provides user-to-user and group-to-user association query capabilities for dynamic routing of one-on-one and group chat messages. In addition, the interconnected management service maintains interconnected message logs and node audit data, providing auditing and failure retry capabilities for interconnected message forwarding. In a multi-center scenario, the Interconnection Management Service provides a synchronization center function, which supports cross-center data synchronization between multiple Interconnection Management Services. If there are cross-network situations between centers, cross-network calls need to be made through the underlying cross-network exchange service.
7. The interconnection system based on data protocol conversion and dynamic routing as described in claim 6, characterized in that, The interconnected messaging service is implemented according to the interconnected messaging protocol standard and provides a message sending interface as the entry point for interconnected messages, used to receive interconnected messages sent by various heterogeneous instant messaging systems; at the same time, the interconnected messaging service constructs an asynchronous message processing model based on the producer-consumer pattern. This model achieves decoupling of message receiving, response logic and message processing logic by using message queues. Interconnected message processing is the most critical and complex part of the interconnected message service, including message parsing, verification, reporting, file identification, routing, and forwarding. The interconnected message service constructs a chained message processing model. Message consumers consume messages from the message queue and then pass the consumed messages to the message processing manager. The processing manager organizes each processor to process the message sequentially according to the processing chain and passes the processing result to the next processor. The message is successfully processed and the message status is updated when all processors have completed processing. If any processor in the processing chain fails, the message processing fails, the processing chain is interrupted, and the message status is updated. The chained message processing model adopts a "1+N" structure, namely one processing manager plus multiple processors. The processing manager is responsible for organizing and maintaining the chained calls and call order between multiple processors, as well as data transfer, result verification, and message storage between processors. On the processing chain, processors are divided into six types according to their responsibilities: message parsing processor, message verification processor, data reporting processor, file recognition processor, message routing processor, and message forwarding processor. Each processor is responsible for different processing tasks and they cooperate with each other to complete the processing of interconnected messages.
8. The interconnection system based on data protocol conversion and dynamic routing as described in claim 7, characterized in that, The message parser is responsible for receiving JSON-formatted string message data from the message consumer and parsing the message data into an object type. After receiving the message object from the message parser, the message validation processor is responsible for validating the fields and data of the message object to determine whether the fields and data meet the standard requirements. After receiving a message object that meets the standard, the data reporting processor will determine whether the message is an interconnected friend, user node relationship, or group information message based on the message's business type. If the determination is correct, the message needs to be reported to the interconnected management service for appropriate processing and storage. If the determination is incorrect, no processing is required, and the message will be directly passed to the next processor. The file recognition processor is responsible for analyzing message objects and identifying the file data contained in the message. If the recognition is successful, the recognized file data is extracted, repackaged into a file message object, and passed to the Internet File Service for unified processing. If no file is recognized, no processing is required, and the message is directly passed to the next processor. The message routing processor is responsible for handling the most important dynamic message routing function in the chain. Based on the business type of the message, it uses different routing strategies, which are divided into four types: one-on-one chat routing strategy, group chat routing strategy, friend routing strategy, and broadcast routing strategy. The one-on-one chat routing strategy uses the recipient as the routing key and dynamically obtains the application node associated with the recipient, i.e., the destination node. The group chat routing strategy uses the group as the routing key, dynamically obtains the information of the group members, and obtains the destination application node through the information of the members. The friend routing strategy uses the sender as the routing key, dynamically obtains the sender's friend information, and uses the friend information to obtain the destination application node. The broadcast routing strategy dynamically obtains all application nodes in the current management center; after completing the dynamic routing, the message routing processor will pass the message and the destination application node together to the message forwarding processor. After receiving the message and the destination application node, the message forwarding processor will determine whether the destination node is a cross-network node. If it is, it will call the cross-network forwarder to perform cross-network forwarding; otherwise, it will call the same-network forwarder to perform same-network forwarding.
9. The interconnection system based on data protocol conversion and dynamic routing as described in claim 7, characterized in that, The interconnected file service provides unified file storage functionality and implements file upload and access interfaces according to data protocol standards. In addition, the interconnected file service provides cross-network file transmission functionality through underlying cross-network switching, enabling cross-network file access. Instant messaging systems can call the upload interface of the interconnected file service to upload files to the unified storage service for storage. Other heterogeneous instant messaging systems can call the access interface of the interconnected file service to obtain file data after receiving the interconnected file message, thus realizing cross-system file access.
10. The interconnection system based on data protocol conversion and dynamic routing as described in claim 9, characterized in that, The interconnected file service downloads files from the file storage service and transmits them to the cross-network exchange for cross-network transmission. The interconnected file service on the other end of the network receives the files and saves them to the file storage service for access by the instant messaging system, thus realizing cross-network access to interconnected files.