Fine-Grained Code Analysis for API Implementer Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtualized computing environments and constrained computing devices, existing virtualization managers consume significant resources and interfere with performance, while security concerns are not adequately addressed, limiting the number of guest virtual machines and increasing the risk of malicious activity.

Innovation Solution

Implementing a fine-grained code analysis to identify and optimize the operating system and API-implementer programs by classifying code into retention and expendable sets, generating a space-optimized binary version that excludes unnecessary code, and deploying it as a unified package to reduce resource usage and enhance security.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a full-featured operating system and API-implementer programs are deployed in virtualized computing environments, then functional completeness and security coverage are improved, but resource consumption increases and performance is degraded

Engineering Contradiction:
Improvesecurity coverageVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts and removes unnecessary code sections from the operating system and API-implementer programs. By analyzing the code at a fine-grained level and identifying expendable sections that are not required for the virtualized environment's specific needs, the system eliminates bloat while preserving essential security and functionality. This extraction process directly reduces resource consumption while maintaining adequate security coverage.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the operating system and API-implementer code into retainable and expendable sections. Through fine-grained code analysis, the system divides the codebase into functional segments, identifying which portions are essential for security and virtualization operations and which can be safely removed. This segmentation enables selective retention of critical code while eliminating unnecessary components, resolving the contradiction between security coverage and resource consumption.

Inventive Principle:
Principle #1Segmentation

2Reliability

If comprehensive API-implementer programs are used to ensure security and functionality, then security coverage is improved, but the number of guest virtual machines that can be instantiated is reduced

Engineering Contradiction:
Improvesecurity coverageVSAvoidnumber of guest virtual machines
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

By extracting and removing unnecessary code sections from API-implementer programs, the patent reduces the resource footprint of each virtualization manager instance. This extraction enables more guest virtual machines to be instantiated on the same host while maintaining adequate security coverage, as only essential security-related code is retained.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments API-implementer code into essential security functions and non-essential operations. By retaining only the segmented security-critical code and removing other portions, the system achieves both security coverage and increased productivity through higher virtual machine density.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If administrative operations are performed by the virtualization manager to support guest virtual machines, then functional completeness is improved, but performance of time-sensitive customer applications is degraded

Engineering Contradiction:
Improvefunctional completenessVSAvoidperformance of time-sensitive applications
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The patent extracts and removes unnecessary administrative operation code from the virtualization manager. By eliminating code sections that perform non-critical administrative functions, the system reduces the overhead of supporting guest virtual machines while preserving essential functionality. This extraction improves the performance of time-sensitive customer applications by reducing interference from administrative operations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the virtualization manager's code into essential administrative functions and non-essential operations. By retaining only the segmented code that is critical for virtual machine support and removing other portions, the system maintains functional completeness for essential operations while improving performance for time-sensitive applications through reduced overhead.

Inventive Principle:
Principle #1Segmentation

4Adaptability or versatility

If unnecessary code is retained in the operating system and API-implementer programs, then adaptability to different environments is improved, but security risk increases due to larger attack surface

Engineering Contradiction:
Improveenvironmental adaptabilityVSAvoidsecurity risk
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The patent extracts and removes unnecessary code sections that expand the attack surface. By identifying and eliminating expendable code that is not required for the specific virtualized environment, the system reduces security risk while maintaining adaptability through retention of essential functionality. The fine-grained analysis enables precise removal of code that contributes to attack surface without compromising environmental adaptability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the codebase into essential adaptive functions and non-essential code that increases attack surface. By retaining only the segmented code that provides environmental adaptability and removing other portions, the system achieves both security hardening through reduced attack surface and maintained adaptability to virtualized computing environments.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9904527B1Optimizing API implementer programs using fine-grained code analysis
Publication Date: 2018.02.27 AMAZON TECH INC
  • US9904527B1 patent drawing
  • US9904527B1 patent drawing
  • US9904527B1 patent drawing

AI summary

Based on source code analysis of an API-invoker program, an expendable set of source code sections of an API-implementer program is identified. The expendable set corresponds to operations which are not expected to be performed on behalf of the API-invoker program at a particular computing environment. An optimized binary version of the API-implementer program is generated, which does not include executable code corresponding to the expendable set. The optimized binary version is transmitted to the computing environment for deployment.