One-to-One Messaging Broker for Low-Latency Device Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing publish-subscribe (pub-sub) messaging systems are inefficient for direct communication between computing devices, leading to scalability issues and message transmission delays due to unnecessary processing and lack of tracking of connected devices.
Innovation Solution
A messaging system that allows direct communication between computing devices by using virtual entities and load balancers to establish network connections, enabling efficient message transmission and reducing unnecessary processing by forwarding messages only to nodes connected to subscribed devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If publish-subscribe messaging systems are used for device communication, then message broadcasting capability is provided, but message transmission efficiency deteriorates due to unnecessary processing and lack of direct communication
Solution Approach 1:
The messaging system is segmented into two distinct modes: publish-subscribe mode for broadcasting to multiple devices, and direct communication mode for one-to-one messaging. This segmentation allows the system to optimize for different communication scenarios independently, resolving the contradiction between broadcasting capability and transmission efficiency.
Solution Approach 2:
The messaging system dynamically switches between pub-sub mode and direct communication mode based on the communication requirements. The system can adapt its behavior in real-time, routing messages through the broker when broadcasting is needed and establishing direct connections when efficiency is prioritized, thus resolving the contradiction between versatility and productivity.
2Quantity of substance
If publish-subscribe systems forward messages to all subscribed devices, then message delivery coverage is improved, but processing time increases due to unnecessary message processing
Solution Approach 1:
The system implements partial action by selectively processing messages only for devices that need them. In direct communication mode, the system sends messages only to the specific target device rather than processing and delivering to all subscribed devices. This partial delivery approach reduces processing time while maintaining complete coverage for the intended recipient.
3Speed
If direct communication between devices is implemented, then message transmission speed is improved, but system complexity increases due to connection management requirements
Solution Approach 1:
The messaging broker serves as an intermediary that manages the complexity of direct communication connections. The broker handles connection establishment, authentication, and message routing between devices, abstracting away the complexity from the communicating devices themselves. This allows direct communication to achieve high speed while the system manages the complexity centrally.
4Ease of operation
If all connected devices are tracked in the messaging system, then direct communication capability is enabled, but system scalability deteriorates due to increased tracking requirements
Solution Approach 1:
The system segments device tracking into two separate mechanisms: the subscription topic tree for pub-sub messaging and the direct connection tracker for one-to-one communication. This segmentation allows direct communication tracking to be isolated and managed independently, reducing the impact on overall system scalability while enabling direct communication capability.
Data Source
AI summary
A messaging system is provided to communicate messages between computing devices. The computing devices can include vehicles and service computers. The messaging system includes nodes and virtual entities that may forward messages between computing devices. The messaging system may be a publish-subscribe system. The messaging system may provide one-to-one communication.


