Shared Memory API for Direct Application Data Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Network cameras face complexity and increased processing time in data communication between applications due to the need for socket communication through a main controller, which complicates the structure and prolongs data transfer.
Innovation Solution
Implementing a shared memory system that allows direct data communication between applications using an API, where a master application transfers shared information to a shared memory, and a slave application receives it, with an event handler ensuring data validity and accuracy, thereby bypassing the main controller.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If socket communication through a main controller is used for data sharing between applications, then data communication can be achieved, but the structure becomes complicated and processing time increases
Solution Approach 1:
The patent extracts the data communication function from the main controller by introducing a shared memory region that applications can access directly. This removes the main controller as an intermediary, simplifying the communication structure while maintaining reliable data sharing between applications.
Solution Approach 2:
The shared memory acts as an intermediary mechanism between applications, replacing the main controller's socket communication function. This mediator enables direct data access between applications without requiring complex socket programming or main controller intervention.
2Reliability
If socket communication through a main controller is used for data sharing between applications, then data communication can be achieved, but processing time increases
Solution Approach 1:
By extracting the communication function from the main controller and implementing direct shared memory access, the patent eliminates the processing delays associated with socket communication through the main controller, significantly reducing processing time while maintaining reliable data sharing.
Solution Approach 2:
The shared memory enables continuous and direct data access between applications without the interruptions and overheads of socket communication protocols, maintaining continuous useful action and reducing processing time.
3Productivity
If direct data communication between applications is implemented using shared memory, then processing time is reduced and structure is simplified, but data validity and transfer accuracy must be verified
Solution Approach 1:
The patent implements feedback mechanisms through event handlers that notify applications when data is written to shared memory, and validation routines that check data integrity. This feedback system ensures data transfer accuracy while maintaining high productivity through direct communication.
Solution Approach 2:
The system performs preliminary actions by validating data before it enters the shared memory and checking data integrity upon retrieval. This preliminary validation ensures accuracy is maintained without slowing down the high-speed direct communication process.
Data Source
AI summary
The present disclosure relates to a computing device for performing data communication between a plurality of applications by using an application programming interface (API). According to the present disclosure, a computing device includes a first application memory storing a master application that transfers shared information to a shared memory by using a first memory function, a second application memory storing a slave application that receives the shared information from the shared memory by using a second memory function, and the shared memory connected between the first application memory and the second application memory and configured to transfer the shared information between the master application and the slave application.


