IoT Gateway Script Variable Binding for Data Format Adaptation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing IoT gateways require labor-intensive manual coding for script changes and data format adaptation, limiting flexibility and efficiency in edge computing applications.

Innovation Solution

A script variable binding method using a visual programming editing tool to generate logic scripts based on input tags, allowing flexible definition of input and output variables without manual coding, and supporting multiple data formats.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual coding is used for script changes, then the gateway can process various data formats, but the labor cost and deployment time increase significantly

Engineering Contradiction:
Improvedata format processing capabilityVSAvoiddeployment efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent uses template scripts that can be copied and reused for different data formats. Instead of writing custom scripts for each format, the system provides pre-defined template scripts that can be instantiated multiple times with different parameters, dramatically reducing the labor cost of adapting to new data formats while maintaining versatility

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent enables dynamic parameter configuration in template scripts, where users can modify parameters such as data source, data format type, and destination without changing the script structure. This allows the same template script to handle multiple data formats by simply changing parameters, improving both adaptability and deployment efficiency

Inventive Principle:
Principle #35Parameter changes

2Productivity

If single-time programming is used, then the gateway can be deployed quickly initially, but flexibility and adaptability to changing scenarios are reduced

Engineering Contradiction:
Improveinitial deployment speedVSAvoidscenario flexibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic script configuration where template scripts can be selected, modified, and reconfigured at runtime based on changing IoT scenarios. The system allows users to switch between different template scripts and adjust their parameters dynamically, maintaining fast deployment while enabling flexibility for scenario changes

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent creates universal template scripts that can serve multiple functions across different scenarios. A single template script can be configured to handle various data formats, sources, and destinations, making the gateway adaptable to changing requirements without requiring complete reprogramming, thus maintaining both deployment speed and flexibility

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

3Ease of operation

If custom code writing is required for low-code platforms, then specific functions can be implemented, but labor cost increases and simplicity is reduced

Engineering Contradiction:
Improvedevelopment simplicityVSAvoidcustomization complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent segments the script development process into two distinct layers: template script definition (handled by the system) and parameter configuration (handled by the user). This segmentation allows users to work with simple parameter settings rather than writing complex code, reducing labor cost and maintaining simplicity while still enabling customized functionality through parameter combinations

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP4592825A1IoT gateway and script variable binding method thereof
Publication Date: 2025.07.30 MOXA INC
  • EP4592825A1 patent drawingFigure 1
  • EP4592825A1 patent drawingFigure 2
  • EP4592825A1 patent drawingFigure 3

AI summary

Disclosed are a script variable binding method and an IoT gateway (110) using the same. The method includes the following steps. A data property and a data source of an input tag (Ta1, Ta2, Ta6, Ta8, Ta9) are defined. When the logic script (SC, SC2, SC3) is executed, a script input variable (32, IP1, IP6, IP7, IP8, IP9) is extracted from source data (SD1, SD2, SD3, SD4) provided by an IoT device according to the data property and the data source of the input tag (Ta1, Ta2, Ta6, Ta8, Ta9). When the logic script (SC, SC2, SC3) is executed, a script output variable (33, OP4, OP5, OP7, OP10) is generated based on computational logic of the logic script (SC, SC2, SC3) and the script input variable (32, IP1, IP6, IP7, IP8, IP9) corresponding to the input tag (Ta1, Ta2, Ta6, Ta8, Ta9).