Schema-Driven On-the-Fly Code Generation for Cloud Integration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face significant challenges integrating software and code elements across multiple disparate cloud computing environments due to technical incompatibilities, requiring substantial time and resources for porting, testing, and maintenance, which hinders customer choice and service provider competitiveness.

Innovation Solution

Implementing schema-driven on-the-fly code generation within a cloud-based computing environment, allowing developers to automatically generate necessary code for communication between disparate web services platforms without requiring boilerplate code, enabling seamless integration of applications across different cloud platforms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If developers manually port applications between disparate cloud computing environments, then code integration between platforms is achieved, but substantial time investment and resource consumption are required for copying, altering, testing, and maintaining multiple code bases

Engineering Contradiction:
Improvecode integration capabilityVSAvoidtime investment for porting and maintenance
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system enables self-service code generation by automatically analyzing target platform requirements and generating appropriate code snippets and integration templates, eliminating the need for developers to manually port code between disparate cloud environments

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Manual code porting and integration processes are replaced with an automated intelligent system that uses AI algorithms to analyze, generate, and adapt code between different cloud platforms, substituting mechanical developer actions with automated computational processes

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If developers maintain multiple divergent code bases for different cloud platforms, then platform-specific functionality is preserved, but ongoing maintenance costs and technical complexity increase significantly

Engineering Contradiction:
Improveplatform-specific functionalityVSAvoidmaintenance complexity of multiple code bases
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system creates a universal code generation platform that can serve multiple cloud platforms simultaneously, generating platform-specific code from a single source through intelligent adaptation, thereby reducing the need to maintain separate code bases for each platform

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

An intermediary intelligent system is introduced between the developer and multiple cloud platforms, acting as a mediator that handles platform-specific adaptations and maintenance automatically, thereby simplifying the overall system architecture and reducing maintenance complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If cloud computing environments use incompatible technical standards and syntax, then each platform maintains its unique capabilities, but integration between platforms becomes difficult and requires substantial boilerplate code

Engineering Contradiction:
Improveplatform capability uniquenessVSAvoidease of code integration
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The system dynamically changes code parameters, syntax structures, and technical standards based on the target platform requirements, automatically adapting the generated code to match each platform's unique capabilities without requiring manual intervention

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The code generation system is highly dynamic, automatically adjusting its output based on real-time analysis of target platform characteristics, enabling seamless integration between platforms with incompatible technical standards while preserving each platform's unique capabilities

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10768905B2Systems, methods, and apparatuses for implementing schema-driven on-the-fly code generation within a cloud based computing environment
Publication Date: 2020.09.08 SALESFORCE INC
  • US10768905B2 patent drawing
  • US10768905B2 patent drawing
  • US10768905B2 patent drawing

AI summary

In accordance with disclosed embodiments, there are provided systems, methods, and apparatuses for implementing schema-driven on-the-fly code generation within a cloud based computing environment. For instance, an exemplary system having at least a processor and a memory therein includes means for: designing an application having a plurality of method calls to perform functionality for the application; defining at least one of the plurality of method calls as a web service identified by a web service URL; retrieving a schema for the web service via the web service URL; parsing the schema to identify a plurality of methods provided by the web service and generating a list of all the methods for the web service; persisting the list of all the methods for the web service in a database system communicably interfaced with the system; exposing a class corresponding to each one of the plurality of methods provided by the web service, the exposed classes referencing the methods persisted in the database system; loading all classes required by the application including any of the exposed classes corresponding to the plurality of methods provided by the web service referenced by the application; and executing the application, in which any call to one of the plurality of methods provided by the web service includes initiating a network call to invoke the web service. Other related embodiments are disclosed.