Mixed-Reality Scripting Framework for Cross-Platform Native API Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing mixed reality (MR) software applications require expertise in less human-readable programming languages and are mostly platform-specific, limiting their portability and deployment across multiple platforms.

Innovation Solution

A scripting framework that enables the creation of cross-platform MR software applications by exposing native APIs, using a declarative framework, and generating packages with a declarative markup language, allowing execution on both server-side and client-side instances without compiling native code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If native programming languages are used for MR software applications, then functionality and performance are improved, but portability across multiple platforms deteriorates

Engineering Contradiction:
ImprovefunctionalityVSAvoidportability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent introduces a scripting framework that acts as an intermediary layer between the developer and platform-specific native APIs. This framework provides a unified scripting interface that can be executed across multiple platforms without requiring platform-specific programming knowledge, thereby resolving the contradiction between maintaining functionality and achieving cross-platform portability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The scripting framework is designed to be universal and platform-agnostic, allowing the same script to run across different MR platforms. The framework exposes native APIs in a unified manner, enabling a single codebase to serve multiple platforms, thus achieving both functionality and portability simultaneously.

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

2Reliability

If platform-specific programming is used, then optimization for specific platforms is improved, but ease of development and deployment deteriorates

Engineering Contradiction:
Improveplatform optimizationVSAvoidease of development
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The framework serves as an intermediary that abstracts away platform-specific complexities while maintaining the ability to access native optimizations. Developers write scripts in a unified language, and the framework handles platform-specific optimizations automatically, improving ease of development without sacrificing platform optimization.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the mechanical process of writing platform-specific code with an automated system. The scripting framework automatically translates high-level scripts into platform-specific optimizations, eliminating the need for manual platform-specific programming while maintaining optimization benefits.

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

3Speed

If native code compilation is required, then execution performance is improved, but device complexity and deployment difficulty increases

Engineering Contradiction:
Improveexecution performanceVSAvoiddeployment complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The framework replaces the traditional compilation mechanism with an interpretation or just-in-time compilation approach. Scripts are executed without requiring full native compilation, reducing device complexity and deployment difficulty while maintaining acceptable execution performance through efficient script interpretation or selective compilation of critical paths.

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

Solution Approach 2:

The patent changes the execution parameter from compiled binary to interpretable script, fundamentally altering how code is executed. This parameter change reduces the complexity requirements for device deployment while maintaining execution performance through optimized interpretation or selective compilation strategies.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12375567B2Methods, systems, and computer program products for implementing cross-platform mixed-reality applications with a scripting framework
Publication Date: 2025.07.29 MAGIC LEAP INC
  • US12375567B2 patent drawing
  • US12375567B2 patent drawing
  • US12375567B2 patent drawing

AI summary

Disclosed are methods and systems for a scripting framework and implementations therefor for mixed reality software applications of heterogeneous systems. These methods or systems create a mixed-reality software application that executes across heterogeneous platforms on a server-side instance of a scripting framework and manage a change in the mixed-reality software application using the server-side instance of the scripting framework. Moreover, the change in the mixed-reality software application using a client-side instance of the scripting framework; and the mixed-reality software application may be interactively executed on a mixed-reality device.