Precompiled Plug-in Code Execution in Electronic Devices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The plug-in architecture in electronic devices experiences a slowdown in execution speed due to the loading of plug-in modules during the execution of the main application, which reduces the utilization of this architecture.

Innovation Solution

An electronic apparatus is designed with a processor that compiles and stores codes related to the execution of a second application within a first application before the first application is executed, allowing for faster execution and improved extensibility of the plug-in architecture.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the plug-in module is loaded during the execution of the main application and code is compiled based on the loaded plug-in module, then the extensibility of the system is improved, but the execution speed of the main application is slowed down

Engineering Contradiction:
ImproveextensibilityVSAvoidexecution speed
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The patent applies preliminary action by pre-compiling the code related to the second application (plug-in application) before the main application is executed. The processor compiles the code during the installation phase and stores the compiled code in storage, so that when the main application runs, the plug-in code is already ready and does not need to be compiled during runtime, thus avoiding execution speed slowdown while maintaining extensibility.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If the plug-in module is loaded during the execution of the main application, then the extensibility of the system is improved, but the utilization of the plug-in architecture is decreased

Engineering Contradiction:
ImproveextensibilityVSAvoidutilization
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent pre-compiles and stores the plug-in application code during the installation phase, making it ready for immediate execution. This preliminary preparation ensures that the plug-in architecture can be fully utilized during runtime without performance degradation, thereby improving both extensibility and utilization simultaneously.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12340235B2Electronic device and control method thereof
Publication Date: 2025.06.24 SAMSUNG ELECTRONICS CO LTD
  • US12340235B2 patent drawing
  • US12340235B2 patent drawing
  • US12340235B2 patent drawing

AI summary

An electronic apparatus including a display; a storage; and a processor. The processor is configured to control the storage to store codes of a first application including codes related to execution of a second application that are compiled before a request to execute the first application is received, based on the request to execute the first application being received. The processor is configured to execute the codes of the first application and the compiled codes related to the second application, and control the display to display a first menu item of the first application and a second menu item of the second application.