Dynamic Shared Memory Buffering for Mobile Processor Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In mobile terminals with multiple processors, existing inter-processor communication methods using Static Random Access Memory (SRAM) face performance degradation due to bus arbitration, leading to reduced data transfer rates when data imbalance occurs between processors.
Innovation Solution
A method and apparatus for inter-processor communication that involves determining the size of data to be sent, comparing it with the buffer area size, rearranging the shared memory if necessary, and sending data through the rearranged shared memory to enhance data transfer rates between processors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If equal-sized buffer areas are assigned to processors in shared memory, then memory allocation is simple and balanced, but data transfer rate decreases when data amounts are unbalanced between processors
Solution Approach 1:
The patent implements dynamic buffer area allocation in shared memory, where buffer sizes are adjusted based on the actual data transmission needs of each processor. Instead of fixed equal-sized buffers, the system dynamically allocates larger buffer areas to processors that need to transmit more data, thereby maintaining high data transfer rates while adapting to varying data loads between processors.
Solution Approach 2:
The patent changes the parameter of buffer area size from a fixed value to a variable that can be adjusted based on data transmission requirements. By modifying the buffer size parameter dynamically according to the data amounts each processor needs to exchange, the system optimizes data transfer performance without requiring complex additional hardware structures.
2Adaptability or versatility
If multiple data transmission operations with segmentation are performed, then data can be transmitted when buffer size is exceeded, but data transfer rate is reduced
Solution Approach 1:
The patent performs preliminary allocation of sufficiently large buffer areas based on predicted or declared data transmission requirements. By pre-allocating adequate buffer space before data transmission begins, the system eliminates the need for segmentation and multiple transmission operations, thereby maintaining high data transfer rates while still providing flexible data transmission capabilities.
Data Source
AI summary
A method for inter-processor communication in a mobile terminal is disclosed. The method of inter-processor communication for a mobile terminal having a first processor, a second processor, and a shared memory includes determining, by the first processor, the size of data to be sent to the second processor, comparing the determined size of the data with the size of one of multiple buffer areas in the shared memory to be used for transmission, rearranging the shared memory according to the data size when the size of the data is greater than the size of the buffer area to be used, and sending the data to the second processor through the rearranged shared memory. It is possible to increase data transfer rates between processors when inter-processor communication is performed through a shared memory in a mobile terminal having multiple processors.


