Service-Side RPC Intermediary for Cross-Network IoT Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In the IoT scenario, complex network environments often prevent direct information interaction between devices, hindering real-time service collaboration and remote procedure calls.
Innovation Solution
The method involves publishing a Remote Procedure Call (RPC) message to a service-side and obtaining a response message through a service-side intermediary, using asynchronous messaging protocols and designated message paths with identifiers to facilitate communication between devices that cannot directly connect.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If devices communicate directly in IoT networks, then communication simplicity is maintained, but network complexity and connection reliability deteriorate when devices are in different networks
Solution Approach 1:
The patent introduces a service side as an intermediary component that receives RPC messages from initiating devices and forwards them to called devices. This mediator enables communication between devices in different networks without requiring direct connections, thus maintaining communication simplicity while improving connection reliability through the service side's network routing capabilities.
2Reliability
If service side intermediation is introduced for cross-network communication, then connection reliability improves, but system complexity increases
Solution Approach 1:
The service side is designed with multi-functionality, handling both message forwarding and response routing through universal message paths. By using standardized message path structures that can handle both request and response messages, the system reduces overall complexity despite introducing an intermediary component.
Solution Approach 2:
The patent uses message identifiers as parameters to track and match RPC messages with their corresponding responses. By changing the message state from request to response and using identifier matching, the system manages the complexity of bidirectional communication through the service side in a standardized way.
3Adaptability or versatility
If asynchronous messaging protocols are used for RPC communication, then communication flexibility improves, but message tracking and response matching become more difficult
Solution Approach 1:
The patent implements feedback mechanisms where the service side monitors message paths and automatically routes responses back to the original RPC initiators. The system uses message identifier feedback to match responses with requests, reducing the tracking complexity that would otherwise arise from asynchronous communication.
Solution Approach 2:
The service side acts as an intermediary that manages the complexity of message tracking in asynchronous communication. By centralizing the message routing and response matching functions in the service side, the patent reduces the tracking burden on individual devices while maintaining asynchronous communication flexibility.
Data Source
AI summary
The present disclosure provides information interaction methods, apparatuses, systems, and devices, storage media and computer programs. The method includes: publishing a remote procedure call, RPC, message to a service-side; and in response to detecting that a response message with respect to the RPC message exists on the service-side, obtaining the response message, where the response message is published to the service-side by a called device indicated in the RPC message, and the response message is acquired by the called device processing the RPC message after detecting the RPC message at the service-side.


