Multi-Domain SoC File Sharing via Shared Memory Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
File sharing between cross-domain processes in a System on Chip (SOC) requires multiple links and multiple copies, leading to increased resource consumption.
Innovation Solution
A method for file sharing in a multi-domain SOC that involves acquiring a file handle, mapping a file structure to a shared memory, and synchronizing registration information through shared file systems to enable direct access across domains without multiple copies.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If file sharing uses multiple links and multiple copies across domains, then file sharing compatibility is maintained, but resource consumption increases
Solution Approach 1:
The patent merges the file structure and data into a unified shared memory space. Instead of separate copies in different domains, both Domain 1 and Domain 2 access the same memory space through mapping, eliminating redundant storage and reducing resource consumption while maintaining cross-domain file sharing capability.
Solution Approach 2:
The shared memory acts as an intermediary between Domain 1 and Domain 2. By mapping the file structure to this intermediate memory space, the system enables direct access across domains without requiring multiple transmission links, thus reducing energy consumption while preserving compatibility.
2Adaptability or versatility
If file sharing uses multiple links and multiple copies, then cross-domain access is enabled, but transmission speed decreases
Solution Approach 1:
By combining the file structure and data into a single shared memory space that both domains can access directly, the patent eliminates multiple transmission links. This direct access approach significantly improves transmission speed while maintaining cross-domain accessibility.
3Ease of operation
If file sharing uses multiple copies across domains, then data accessibility is improved, but memory usage increases
Solution Approach 1:
The patent merges file structures from different domains into a unified shared memory space. Instead of maintaining separate copies in each domain, both Domain 1 and Domain 2 reference the same memory location, improving data accessibility while significantly reducing overall memory consumption.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present application discloses a file sharing method, system, storage medium and chip applied to a multi-domain SOC, related to technical field of chips. When a first process in a first domain shares a target file to a second process in a second domain, it acquires a file handle of the target file for identifying the target file; it maps its own first file structure for operating the target file to a shared memory to obtain a first mapping address; the second process creates a second file structure, acquires the first mapping address, points the second file structure to the first mapping address and operates the target file according to the file handle through the second file structure. This application eliminates multiple links and copies during the cross-domain file sharing, which not only saves resources, but improves the transmission rate and realizes the highspeed transmission of big data.