Namespace Organization Framework for Continuation-Based Runtime

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Building continuation-based, declarative applications of various scales and complexities is challenging due to the difficulty in managing and executing workflows with imperative code, as existing technologies lack a robust framework for creating and executing such applications efficiently.

Innovation Solution

A namespace organization framework is implemented to enable the creation and execution of continuation-based runtimes, using a hierarchy of APIs organized into common namespaces for logical grouping, balancing utility, usability, extensibility, and versionability, which includes APIs for writing, hosting, managing, and validating workflows, as well as modeling communication and tracking events.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If imperative code is used to directly control hardware operations, then execution precision and control capability are improved, but code complexity and difficulty in managing workflows increase

Engineering Contradiction:
Improveexecution precisionVSAvoidcode complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent segments the monolithic imperative code into modular workflow components with distinct responsibilities. Workflows are divided into discrete activities that can be independently defined, executed, and managed, reducing overall code complexity while maintaining execution precision through structured organization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces workflow definitions as intermediary layers between high-level declarative specifications and low-level imperative hardware operations. This mediator layer translates declarative workflow descriptions into executable imperative code, preserving execution precision while shielding developers from code complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of manufacture

If declarative statements are used to declare workflow structure, then code maintainability and separation of business rules from code are improved, but execution control precision and flexibility decrease

Engineering Contradiction:
Improvecode maintainabilityVSAvoidexecution control precision
Core Design Contradiction:
Ease of manufactureVSManufacturing precision

Solution Approach 1:

The patent employs workflow definitions as intermediary structures that bridge declarative workflow declarations and imperative execution logic. The declarative workflow structure defines the control flow and business rules, while the intermediary workflow definition layer translates these into precise executable commands, maintaining both maintainability and execution precision.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces direct mechanical control of imperative code with a declarative workflow system. Instead of manually coding each control flow decision, the system uses declarative workflow definitions that automatically generate the necessary control logic, improving maintainability while preserving execution precision through systematic translation.

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

3Productivity

If a robust framework for continuation-based runtimes is implemented, then productivity and ease of creating declarative applications are improved, but device complexity and namespace organization requirements increase

Engineering Contradiction:
Improvedevelopment efficiencyVSAvoidframework complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the continuation-based runtime framework into distinct namespace categories (workflow definitions, activity definitions, execution context, etc.). Each namespace encapsulates specific functionality, making the overall framework more manageable despite its complexity. This segmentation enables developers to work with smaller, well-defined components, improving productivity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal namespace organization structure that serves multiple purposes: organizing APIs, defining workflows, managing execution context, and handling continuations. This multi-functional namespace system reduces the need for separate organizational structures, managing framework complexity while enhancing productivity through unified access patterns.

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

Data Source

PatentUS9916136B2Interface infrastructure for a continuation based runtime
Publication Date: 2018.03.13 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9916136B2 patent drawing
  • US9916136B2 patent drawing
  • US9916136B2 patent drawing

AI summary

Interfaces for a continuation-based runtime. Some embodiments described herein are directed to a framework using continuation based runtime interface that pertain to an infrastructure for enabling the creation of a wide variety of continuation-based programs that perform a wide-array of tasks. The infrastructure provides a foundation for building continuation-based, declarative applications of various scale and complexity.