CPC H04L 67/60 (2022.05) [H04L 67/51 (2022.05); H04L 67/55 (2022.05); H04L 67/56 (2022.05)] | 9 Claims |
5. A gateway device comprising:
a publish-subscribe (pub-sub) system message receiving interface configured to receive a message from the pub-sub system, a topic 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 in the pub-sub system, and the consumer is to receive a response message from the server-client system;
a parsing processor configured to parse the message to determine a host and a service provider that provide the target service and the consumer who is to receive the response message;
a request message sending interface unit configured to send a request message for the target service to the service provider on the determined host;
a response message receiving interface configured to receive the response message from the service provider; and
a server-client system message sending processor configured to add the identification information of the consumer to the response message, and send the response message to the pub-sub system.
|