Cloud App Deployment via Code Template and Environment Mirror Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The inefficiency in application program development and deployment arises from the mismatch between development and operating environments, requiring manual modifications of code, which increases development and deployment time.

Innovation Solution

A method and apparatus that utilize a code template library and environment mirror library to match and deploy application program code and operating environment mirrors onto a cloud platform, eliminating the need for manual environment selection and ensuring compatibility.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If separate development and deployment phases are used with different environments, then code can be developed flexibly, but environment mismatch occurs requiring manual code modification

Engineering Contradiction:
Improvedevelopment environment flexibilityVSAvoidcode modification time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent pre-configures development environments using Docker containers with standardized templates before development begins. This preliminary setup ensures that the development environment matches the deployment environment, eliminating the need for manual code modification later. The environment is prepared in advance with all necessary dependencies and configurations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of the target operating environment as a Docker container that mirrors the actual deployment environment. Developers work in this copied environment during development, and since it's an exact replica of the target environment, no code modifications are needed after deployment. The container copy allows flexible development while ensuring environment compatibility.

Inventive Principle:
Principle #26Copying

2Reliability

If manual environment selection and code modification are performed, then environment compatibility can be achieved, but development and deployment efficiency decreases

Engineering Contradiction:
Improveenvironment compatibilityVSAvoiddevelopment and deployment efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system automatically selects and deploys the appropriate Docker container based on the project's required environment, eliminating manual environment selection. The deployment system self-determines which pre-configured container matches the project needs and automatically provisions it, improving both reliability through automated compatibility verification and productivity by removing manual intervention.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent uses parameterized Docker container configurations where environment variables, dependencies, and system parameters are defined as templates. When deploying, these parameters are automatically instantiated based on project requirements, ensuring environment compatibility without manual code modification. The parameter templates allow rapid adaptation to different environments while maintaining consistency.

Inventive Principle:
Principle #35Parameter changes

3Extent of automation

If standardized code templates are used, then deployment automation can be improved, but code customization flexibility may be reduced

Engineering Contradiction:
Improvedeployment automation levelVSAvoidcode customization flexibility
Core Design Contradiction:
Extent of automationVSEase of operation

Solution Approach 1:

The patent segments the code template into modular Docker container components, where each container represents an independent service or function. This segmentation allows automated deployment of individual containers while maintaining the ability to customize each one independently. Developers can select from standardized container templates and then customize specific parameters without affecting the entire system, thus preserving both automation and flexibility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic configuration of Docker containers where the same standardized template can adapt to different project requirements through parameter injection. The containerization framework dynamically adjusts resource allocation, environment variables, and dependency configurations based on project needs, enabling high automation while maintaining code customization flexibility through dynamic parameter modification.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11797283B2Application program development and deployment method and apparatus, and computer-readable medium
Publication Date: 2023.10.24 SIEMENS AG
  • US11797283B2 patent drawing
  • US11797283B2 patent drawing
  • US11797283B2 patent drawing

AI summary

Various embodiments described herein include an application program development and deployment method comprising: acquiring, from a code template library, a first code template matching a code structure of an application program to be developed; creating a template instance based on the first code template; filling a custom code input by a developer into the template instance to obtain a source program code matching said application program; compiling the source program code to obtain a target program code; acquiring a target operating environment mirror matching the target program code from an environment mirror library, wherein at least one operating environment mirror is stored in the environment mirror library, and different operating environment mirrors correspond to different operating environments; and deploying the target program code and the target operating environment mirror onto a target cloud platform.