Multi-core Communication via Publish-Subscribe Layer
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing multi-core communication systems face challenges in effective communication and data-sharing between cores due to the proprietary nature of existing technologies like QMI, which limits open application and promotion, resulting in inefficient communication mechanisms.
Innovation Solution
A method for multi-core communication using a publish-subscribe layer and a communication layer, enabling cores to establish communication connections, publish and subscribe to topic messages, and share data through interfaces like uORB and OpenAMP architecture, facilitating efficient data transfer and interaction between multiple cores.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If proprietary communication technologies like QMI are used for multi-core communication, then communication functionality is provided, but openness and ease of application are limited
Solution Approach 1:
The patent introduces a publish-subscribe layer as an intermediary between the communication layer and application layer. This layer provides standardized interfaces (orb_advertise, orb_publish, orb_subscribe, orb_copy) that enable open and flexible multi-core communication without being constrained by proprietary technologies like QMI. The intermediary layer abstracts the communication mechanism, making it easily applicable and promotable across different systems.
2Productivity
If existing communication mechanisms are used, then basic communication is achieved, but communication efficiency and data-sharing speed are insufficient
Solution Approach 1:
The patent implements preliminary action by pre-establishing communication connections between cores through the publish-subscribe layer before actual data sharing occurs. The orb_subscribe interface allows cores to pre-register their interest in specific topics, and the system maintains ready-to-use communication channels. This preliminary setup eliminates connection establishment delays during actual data sharing, significantly improving communication efficiency and reducing data-sharing time.
3Productivity
If multi-core systems are implemented to improve performance, then system performance increases, but communication complexity between cores increases
Solution Approach 1:
The patent segments the communication mechanism into distinct layers: the communication layer (handling low-level message transmission using OpenAMP) and the publish-subscribe layer (handling high-level topic-based communication). This segmentation allows each layer to independently manage its complexity. The publish-subscribe layer provides simple, standardized interfaces for topic publishing and subscribing, while the communication layer handles the complex inter-core message routing. This layered segmentation reduces the perceived complexity for developers while supporting multi-core performance.
Data Source
AI summary
The present disclosure relates to a method for multi-core communication, an electronic device and a storage medium. The method includes controlling a plurality of cores to run; establishing a communication connection between a publishing core and a receiving core in the plurality of cores based on a communication layer; performing, by the publishing core, an operation on a topic message through calling a preset interface of the communication layer via a publish-subscribe layer; and accessing the topic message in response to the receiving core calling a preset interface of the publish-subscribe layer.


