Master-Slave Virtual Machine Communication Control for ECU
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In integrated ECUs, existing communication methods do not facilitate CAN communication between virtual machines, leading to increased overhead due to arbitration processing and limitations in communication efficiency between multiple ECUs.
Innovation Solution
A communication control device that includes a master virtual machine directly accessing a communication device and slave virtual machines communicating through the master via shared memory, eliminating the need for access arbitration between virtual machines, and utilizing a relay unit to manage communication with external devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If arbitration processing is performed within a virtual device for CAN transmission requests from virtual machines, then access control to the CAN controller is achieved, but communication overhead increases and communication efficiency decreases
Solution Approach 1:
The system segments virtual machines into a master virtual machine and slave virtual machines. The master virtual machine directly accesses the CAN controller without arbitration, while slave virtual machines communicate through the master via shared memory. This segmentation eliminates the need for arbitration processing among multiple virtual machines, reducing communication overhead and waiting time while maintaining access control through the master-slave hierarchy.
Solution Approach 2:
The master virtual machine acts as an intermediary between slave virtual machines and the CAN controller. Slave virtual machines do not directly access the CAN controller but instead communicate their requests through the master virtual machine using shared memory. This intermediary approach eliminates arbitration processing while maintaining controlled access to the communication device.
2Ease of operation
If multiple virtual machines directly access the CAN controller, then communication autonomy is improved, but device complexity and arbitration overhead increase
Solution Approach 1:
The system divides virtual machines into master and slave roles, with only the master virtual machine having direct access autonomy to the CAN controller. Slave virtual machines communicate through the master via shared memory, eliminating the need for complex arbitration mechanisms while maintaining operational simplicity for the master virtual machine.
3Reliability
If arbitration processing is implemented between virtual machines, then fair access to communication resources is achieved, but processing speed and communication efficiency decrease
Solution Approach 1:
The master-slave segmentation provides fair access by allowing the master virtual machine unrestricted direct access to the CAN controller for high-speed communication, while slave virtual machines access through the master via shared memory. This hierarchy maintains fairness in resource allocation while maximizing overall communication speed by eliminating arbitration overhead.
Data Source
AI summary
A communication control device controls communication by a plurality of virtual machines operating on a computer. The plurality of virtual machines includes a master virtual machine and at least one slave virtual machine other than the master virtual machine. The communication control device is configured to access a communication device for communicating with an external device, and transmit and receive communication data that relates to the communication between the master virtual machine and the external device, transmit and receive the communication data between each of the plurality of virtual machines, and relay communication between each of the plurality of virtual machines and the external device.


