Binder Driver Buffer Threshold Control for IPC Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing electronic devices face challenges in efficiently managing inter-process communication (IPC) and remote procedure calls (RPC) between processes, leading to potential crashes and instability due to excessive messenger data sets.
Innovation Solution
The electronic device employs a binder driver to store messenger data sets in a buffer area assigned to a target process, temporarily refrains from executing the target process when the data set threshold is reached, and generates log information to manage and display visual objects indicating the source process information.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the electronic device executes inter-process communication using binder driver to enable remote procedure calls between processes, then the functionality and adaptability of the system is improved, but the stability and reliability deteriorate due to potential crashes from excessive messenger data sets
Solution Approach 1:
The patent applies preliminary action by checking the buffer area status before executing remote procedure calls. The system proactively monitors the number of messenger data sets in the buffer area and prevents execution when the threshold is reached, avoiding crashes before they occur. This is implemented through the processor checking whether the buffer area stores a threshold or more messenger data sets before initiating RPC operations.
Solution Approach 2:
The patent implements feedback mechanisms through visual notifications displayed on the display unit. When the buffer area reaches the threshold of messenger data sets, the system provides visual feedback to notify the user about the potential crash risk. This feedback loop allows the system to monitor buffer status and communicate critical states to the user, enabling timely intervention or process management.
2Productivity
If the electronic device stores messenger data sets in the buffer area for target process execution, then the productivity and efficiency of process execution is improved, but the stability deteriorates when the buffer area is overloaded with excessive data sets
Solution Approach 1:
The system performs preliminary checking of the buffer area status before storing new messenger data sets. By monitoring the current number of stored data sets against the threshold, the system prevents overload conditions from developing. This proactive approach maintains productivity by allowing buffer storage operations to proceed efficiently when capacity is available, while preventing stability issues before they occur.
3Reliability
If the electronic device refrains from executing the target process when the messenger data set threshold is reached, then the stability and reliability of the system is improved, but the productivity and response time deteriorate due to delayed process execution
Solution Approach 1:
The patent applies preliminary anti-action by preventing the accumulation of excessive messenger data sets in the first place. Through continuous monitoring and threshold-based control, the system stops the source process from generating more messenger data sets when the buffer approaches capacity. This prevents the need for execution delays by maintaining buffer health proactively, thus preserving both stability and productivity.
Solution Approach 2:
The visual notification system provides feedback to users when the buffer threshold is reached, enabling awareness of the system state. This feedback mechanism allows for informed decision-making about process management, balancing the need for stability with productivity requirements based on user priorities.
Data Source
AI summary
An electronic device according to an embodiment may comprise a display, a memory for storing instructions, and a processor. The electronic device may, on the basis of execution of a binder driver, store one or more messenger data sets for executing a function of a target process by using a source process, in a buffer area of the memory assigned to the target process. The electronic device may temporarily refrain from starting execution of the function of the target process by using the binder driver, in a first state in which a threshold quantity or more of the one or more messenger data sets are stored in the buffer area. The electronic device may control the display to display a visual object indicating information about the source process.


