Dynamic Custom Code Loading in BaaS Runtime

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Backend-as-a-Service (BaaS) solutions are inflexible, limiting developers' ability to customize functionalities, forcing them to either forego desired features or manually create their own backend services.

Innovation Solution

Implementing backend custom code extensibility by automatically loading custom code dynamically into a runtime hosted by a BaaS module, allowing developers to provide custom backend features in response to application requests.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If conventional BaaS solutions provide predetermined functionalities, then the system is simple to operate, but the adaptability is poor

Engineering Contradiction:
Improveease of operationVSAvoidadaptability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The BaaS module dynamically loads custom code at runtime without requiring system restart or reconfiguration. The runtime environment automatically detects and executes uploaded custom code, allowing the system to adapt its functionality dynamically based on user needs while maintaining operational simplicity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The BaaS module serves multiple functions: it provides predetermined functionalities for common needs while simultaneously accepting and executing custom code for specialized requirements. This multi-functionality allows a single platform to serve both standard and customized application needs.

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

2Adaptability or versatility

If developers manually create custom backend services, then the adaptability improves, but the device complexity increases

Engineering Contradiction:
ImproveadaptabilityVSAvoiddevice complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges the custom backend service creation process into the BaaS module itself. Developers upload custom code directly to the BaaS module, which then executes it within its runtime environment. This eliminates the need for separate manual backend service creation and integration, reducing overall system complexity while maintaining adaptability.

Inventive Principle:
Principle #5Merging (Combining)

3Productivity

If custom code is loaded dynamically in runtime, then the productivity improves, but the reliability may worsen

Engineering Contradiction:
ImproveproductivityVSAvoidreliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The runtime environment acts as an intermediary layer between the uploaded custom code and the BaaS module's core functions. This intermediary provides a controlled execution context that isolates custom code from the core system, allowing dynamic code execution to improve productivity while the intermediary layer maintains system reliability through controlled access and execution monitoring.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9342333B2Backend custom code extensibility
Publication Date: 2016.05.17 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9342333B2 patent drawing
  • US9342333B2 patent drawing
  • US9342333B2 patent drawing

AI summary

Techniques are described herein that are capable of providing backend custom code extensibility. Such extensibility allows custom code to be automatically loaded dynamically (e.g., on-demand) in a runtime that is hosted by a backend-as-a-service (BaaS) module while the runtime is running to provide custom backend features that are defined by the custom code to an application in response to receipt of a request from the application.