Gateway for Server-Client and Pub-Sub Communication Interworking
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems require manual configuration of pub/sub functions for each data point, making it inefficient for implementing communication between server-client systems and pub-sub systems.
Innovation Solution
A method and gateway device that enable communication conversion between server-client and pub-sub systems by defining message topics and payloads to automatically determine target services and consumers, allowing for dynamic service scanning and client creation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual configuration of pub/sub functions is performed for each data point, then communication between server-client systems and pub-sub systems can be established, but the implementation efficiency is low and the development burden is high
Solution Approach 1:
The patent introduces a gateway as an intermediary component that bridges the server-client system and the pub-sub system. The gateway automatically performs message format conversion between the two different communication models, eliminating the need for manual configuration of pub/sub functions for each data point. This intermediary handles the complexity of protocol translation and mapping, allowing seamless integration while maintaining simplicity in the endpoint systems.
Solution Approach 2:
The system enables self-service through automatic service scanning and dynamic client creation. When a service is published in the pub-sub system, the gateway automatically scans for available services, dynamically creates corresponding clients in the server-client system, and configures the necessary mappings. This self-configuration capability eliminates manual intervention and significantly improves implementation efficiency.
2Ease of operation
If automatic service scanning and dynamic client creation are implemented, then communication conversion is simplified and development burden is reduced, but system complexity increases
Solution Approach 1:
The gateway serves as an intelligent intermediary that centralizes the complexity of automatic service scanning and dynamic client creation. By consolidating these automated functions in a single intermediary component, the patent simplifies the overall system architecture - the endpoint systems (publishers and servers) remain simple and unchanged, while the gateway handles all the sophisticated automation logic.
Solution Approach 2:
The gateway is designed as a universal component that performs multiple functions: message format conversion, service scanning, dynamic client creation, and automatic mapping configuration. By making the gateway multi-functional, the patent reduces the need for separate specialized components, thereby simplifying the overall system while maintaining ease of operation.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present disclosure relates to a communication conversion method, a gateway device, a network system, and a computer medium. A method for achieving communication conversion between a server-client system and a pub-sub system, comprising: receiving a message from the pub-sub system, a subject of the message comprising information related to a target service in the server-client system to which the message is to be sent, and a payload of the message comprising identification information of a consumer of the pub-sub system, the consumer being to receive a response message from the server-client system; parsing the message, and determining a host and a service provider which provide the target service, and the consumer who is to receive the response message; sending a request message for the target service to the service provider on the determined host; receiving the response message from the service provider; and adding the identification information of the consumer to the response message, and sending same to the pub-sub system.