Dynamic Transmission Mode Selection for Inter-Application Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current inter-application information transmission methods are inflexible and inefficient due to fixed and monotonous communication protocols, which fail to adapt to complex and dynamic application deployment scenarios, leading to suboptimal performance in various deployment environments.
Innovation Solution
An application interaction method and apparatus that dynamically selects a suitable transmission mode based on the deployment relationship and location of applications, using a transmission configuration module and global configuration node to determine the most appropriate protocol for information transmission, such as TCP/IP, RDMA, or memory sharing, depending on the deployment scenario.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a fixed and monotonous communication protocol is used for inter-application information transmission, then the system structure is simple and easy to implement, but the transmission performance is suboptimal and cannot adapt to complex and dynamic application deployment scenarios
Solution Approach 1:
The patent implements dynamic transmission mode selection by introducing a transmission configuration module that automatically determines the appropriate transmission mode based on deployment relationships between applications. The system transitions from a static, fixed protocol approach to a dynamic selection mechanism that adapts to different deployment scenarios (same physical device, different physical devices, virtualization environments, microservice architectures), thereby resolving the contradiction between adaptability and system complexity.
Solution Approach 2:
The transmission configuration module autonomously determines the suitable transmission mode by analyzing deployment relationships without requiring manual configuration or intervention. The system self-adapts to different application deployment scenarios by automatically selecting from multiple transmission modes (TCP/IP, RDMA, memory sharing, inter-process communication), eliminating the need for complex manual setup while maintaining high adaptability.
2Productivity
If multiple transmission modes are supported with dynamic selection, then the transmission performance is optimized for different deployment scenarios, but the system complexity increases
Solution Approach 1:
The patent introduces a transmission configuration module as an intermediary component that sits between the application layer and the transmission layer. This module automatically analyzes deployment relationships and selects the optimal transmission mode, thereby optimizing information transmission efficiency across different scenarios without requiring applications themselves to become complex. The intermediary handles the complexity of multi-mode selection centrally, maintaining simplicity at the application level while achieving high transmission efficiency.
3Adaptability or versatility
If the transmission mode is manually configured, then the system is simple to implement, but it cannot adapt to frequently changing deployment relationships and affects transmission performance
Solution Approach 1:
The transmission configuration module automatically detects and analyzes deployment relationships between applications, then autonomously determines the appropriate transmission mode without requiring manual configuration. The system self-adapts to frequently changing deployment scenarios (virtualization, microservice architectures, dynamic task distribution) by continuously monitoring deployment relationships and selecting optimal transmission modes, thereby achieving high adaptability while eliminating manual configuration efforts.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of the present invention provide an application interaction method, apparatus, and system. The method includes: receiving, by a transmission configuration module, a first instruction, where the first instruction includes an identifier of a first application and an identifier of a second application; determining, by the transmission configuration module, deployment information of the first application and deployment information of the second application based on the first instruction; determining, by the transmission configuration module, an information transmission mode between the first application and the second application based on the deployment information of the first application, the deployment information of the second application, and a transmission mode selection policy; and using, by the first application, the transmission mode to transmit information to the second application. In this way, the corresponding transmission mode can be determined based on the deployment information of the applications, so that inter-application information transmission is more efficient.