Cross-OS Memory Sharing via Dynamic Buffer Address Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies lack a method for sharing memory across different operating systems, which is necessary for efficient data transmission and resource collaboration in integrated systems like the Intelligent Cockpit and ADAS/AD in smart cars.
Innovation Solution
A method is provided for sharing memory between different operating systems by determining a first dynamic buffer area and assigning a unique address identifier in one operating system, which is sent to another operating system in the same integrated circuit, allowing direct access to the buffer area.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If memory sharing between different operating systems is implemented, then data transmission efficiency is improved, but system complexity increases
Solution Approach 1:
The patent introduces a memory management unit (MMU) as an intermediary component that facilitates memory sharing between different operating systems. The MMU manages memory allocation, address translation, and access control, allowing efficient data transmission while isolating the complexity of memory management from the individual operating systems. This mediator approach resolves the contradiction by centralizing complex operations in a dedicated component.
Solution Approach 2:
The patent segments memory into distinct regions with different access permissions and characteristics. By dividing memory into shared regions, private regions, and protected regions, the system enables efficient data transmission in shared areas while maintaining security and isolation through segmentation. This reduces overall system complexity by organizing memory management into manageable segments rather than requiring complex global coordination.
2Adaptability or versatility
If multiple operating systems share the same integrated circuit, then resource utilization is improved, but memory interference between systems increases
Solution Approach 1:
The patent applies local quality by assigning different memory access permissions and protection levels to different regions of the same memory space. Each operating system can access specific memory regions with appropriate permissions, allowing high resource utilization while preventing interference through localized access control. Critical system areas have restricted access, while shared data areas have appropriate read/write permissions.
Solution Approach 2:
The patent implements beforehand cushioning through protective mechanisms that prevent memory interference before it occurs. Memory protection bits, access control lists, and validation checks are established in advance to block potential interference from unauthorized access attempts. This proactive approach allows multiple operating systems to share the integrated circuit safely without actual interference occurring.
Data Source
AI summary
Embodiments of the present disclosure disclose a method of sharing memory cross operating systems, apparatus, a circuit, a medium, and a device. The method of sharing memory cross operating systems includes: determining a first dynamic buffer area in a first operating system according to a memory sharing message; determining an address identifier corresponding to the first dynamic buffer area; and sending the address identifier to a second operating system, wherein the first operating system and the second operating system are in a same integrated circuit.


