Application Code Tampering Detection via Segment Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for determining tampering of application code in electronic devices are inefficient, leading to increased processing time and system resource burden as they divide and analyze the entire code, which can impact performance.
Innovation Solution
An electronic device divides the application code into segments, selects specific segments, creates unique information for these segments, and compares it with pre-stored information to determine tampering, reducing the need to process the entire code.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the entire application code is divided into multiple segments and unique information is generated for each segment to detect tampering, then the security and accuracy of tampering detection is improved, but the processing time and system resource burden increase
Solution Approach 1:
The application code is divided into multiple segments, but only specific segments are selected for generating unique information. This segmentation approach allows the system to focus computational resources on critical code portions while maintaining comprehensive tampering detection capability.
Solution Approach 2:
The patent extracts and selects only specific segments from the divided application code that are most critical for security verification. By taking out only the essential segments for processing, the system reduces the overall processing time and resource consumption while maintaining detection accuracy.
2Reliability
If the entire application code is divided into multiple segments and unique information is generated for each segment to detect tampering, then the security and accuracy of tampering detection is improved, but the system resource burden increases
Solution Approach 1:
The application code is divided into multiple segments, but only specific segments are selected for generating unique information. This segmentation approach allows the system to focus computational resources on critical code portions while maintaining comprehensive tampering detection capability.
Solution Approach 2:
Instead of processing all segments of the application code, the system performs partial action by selecting and processing only the most critical segments. This reduces the system resource burden while maintaining sufficient detection accuracy through strategic selection of key code segments.
3Productivity
If selective segment processing is used instead of processing entire code, then the processing time and system resource burden are reduced, but the complexity of selecting which segments to process increases
Solution Approach 1:
The system performs preliminary action by pre-dividing the application code into segments and pre-selecting which segments require unique information generation. This preparation work is done in advance, allowing the actual tampering detection to proceed more efficiently without complex real-time decision-making.
Solution Approach 2:
The patent changes the parameter of segment selection from a complex dynamic process to a more manageable set of criteria based on segment importance, size, or other predefined parameters. This simplifies the selection process while maintaining processing efficiency.
Data Source
AI summary
An electronic device is provided. The electronic device includes a memory configured to store an application and first unique information of the application, and at least one processor operatively connected with the memory. The at least one processor is configured to divide code of the application into a plurality of segments, select at least one segment among the plurality of segments, create second unique information in relation to the at least one segment, compare the first unique information and the second unique information, and determine whether the code of the application has been tampered with, based on a result of the comparison of the first unique information and the second unique information.


