Process Termination Logic for Memory Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current memory-saving techniques in electronic apparatuses often terminate important processes unnecessarily or re-execute terminated processes due to lack of situational consideration, leading to inefficient memory utilization and increased system load.

Innovation Solution

An electronic apparatus that identifies running processes based on their relationship with available functions and terminates irrelevant processes, inhibits restarts of terminated processes with restart options, and controls partial process execution to optimize memory usage by releasing storage areas for other processes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If processes are terminated based on priority to secure memory, then available memory capacity increases, but important processes may be terminated unnecessarily

Engineering Contradiction:
Improveavailable memory capacityVSAvoidprocess execution reliability
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent applies local quality by differentiating process termination decisions based on specific situations. Instead of uniform priority-based termination, the system identifies situations where processes are important and prevents termination in those contexts, while allowing termination in situations where processes are less critical. This localized differentiation resolves the contradiction by preserving important processes while still freeing memory when appropriate.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent employs preliminary action by determining whether a process has a redo option before terminating it. The system checks in advance if a terminated process can be re-executed, and if so, prevents termination to avoid overhead. This preliminary check ensures that processes critical to system functionality are protected from unnecessary termination, thereby maintaining reliability while managing memory capacity.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If processes with redo option are allowed to restart after termination, then process functionality is maintained, but memory capacity is not substantially secured and system load increases

Engineering Contradiction:
Improveprocess functionalityVSAvoidavailable memory capacity
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent applies preliminary action by checking whether a process has a redo option before termination. The system determines in advance if a process can be re-executed, and if so, prevents termination to avoid the overhead of re-execution. This preliminary check ensures that processes with redo options are protected, maintaining functionality while preventing unnecessary memory usage and system load.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent employs preliminary anti-action by preventing the termination of processes that have redo options. Instead of allowing termination and subsequent re-execution (which would increase system load), the system takes counter-action by blocking termination in the first place. This prevents the harmful effect of repeated process startup and maintains both functionality and memory efficiency.

Inventive Principle:
Principle #9Preliminary anti-action

3Device complexity

If priority-based process termination is implemented, then memory management is simplified, but situational importance of processes is not considered

Engineering Contradiction:
Improvememory management complexityVSAvoidsituational adaptability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by making termination decisions context-dependent rather than uniform. The system evaluates each process termination request based on the specific situation, including whether the process has a redo option and its importance in the current context. This localized evaluation maintains adaptability while managing memory effectively.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent employs feedback by continuously monitoring process characteristics and system state to make informed termination decisions. The system uses information about process redo options, current memory capacity, and situational importance to dynamically adjust termination policies. This feedback mechanism ensures that memory management adapts to changing conditions while maintaining system reliability.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11726821B2Electronic apparatus and control method thereof
Publication Date: 2023.08.15 SAMSUNG ELECTRONICS CO LTD
  • US11726821B2 patent drawing
  • US11726821B2 patent drawing
  • US11726821B2 patent drawing

AI summary

An electronic apparatus includes: a memory; a storage; and a processor, wherein: the electronic apparatus is configured to execute a plurality of processes as data of the plurality of processes is loaded into the memory based on execution of at least one program stored in the storage, the processor is configured to: identify a function currently running among a plurality of functions providable by the electronic apparatus, and based on a relationship between the plurality of processes and the identified function, terminate at least one process among the plurality of running processes, and allow a storage area of the memory loaded with the data of the terminated process to be available for another process.