Skip to main content

Product Introduction

Product Positioning

ThingsGatewayRuntime is designed for industrial site data collection, edge processing, alarm judgment, and data forwarding scenarios, providing three types of management entries: GatewayRuntime, Studio, and Watchdog, used respectively for runtime configuration, engineering maintenance, and operation protection.

This document is organized by configuration items and web interface according to GatewayRuntime 2.1.22; If different field packages have changed ports, plugins, or menu permissions, please refer to the actual operating environment.

When using it for the first time, first understand the division of labor among the three entry points: Studio, Watchdog, and GatewayRuntime, then read Collection Configuration, Device Debugging, Data Forwarding or System Settingsaccording to on-site tasks. No need to read from all pages in order.

ThingsGatewayRuntime is a Industrial IoT Edge Gateway Runtime Platform focused on data acquisition, processing, and forwarding at the edge. The platform is deployed at industrial sites, directly communicating with PLCs, sensors, instruments, and other devices, completing real-time data collection, conversion, alarm detection, and business processing.

What is an Edge Gateway?

Edge gateways are intelligent devices deployed on industrial sites, located between the field device layer and the upper-level management system. Its core function is to process data at the source, rather than transmitting all raw data to the cloud for processing.

product consists of three web management interfaces: Studio, Watchdog, and GatewayRuntime, covering engineering maintenance, runguard, and gateway configuration respectively.

Traditional Mode vs Edge Computing Mode

Comparison ItemsTraditional Mode (Cloud Processing)Edge Computing Mode (Local Processing)
Data FlowField Devices → All Data → Cloud Server → Data ProcessingField Devices → Edge Gateway → Processed Data → Cloud Server
Network BandwidthHighLow Usage
Response LatencyHighLow
CostHighLow
ReliabilityNetwork-dependentLocal processing for high reliability

Core functions of edge gateways

FeaturesDescription
Data CollectionObtain raw data from devices
Data processingFilter, transform, aggregate
Alarm detectionReal-time anomaly detection
Data forwardingUploading only valid data

Application scenarios for edge gateways

Typical application scenarios include local device collection, edge-side alarm judgment, runtime rule handling, data forwarding to the upper-level system, and remote deployment and recovery via Watchdog.

Core Value

Value PointsExplanationReturns
Edge IntelligenceData processing on the field sideReduces network transmission and latency
Protocol ConversionSupports multiple industrial protocolsBreaks down device communication barriers
Real-time responseMillisecond-level data acquisitionMeets real-time monitoring needs
High reliabilityRedundancy and automatic recovery mechanismsEnsures business continuity
Flexible scalabilityExpandable capabilities through plugins, scripts, and rulesAdapts to different business scenarios
Easy to deployReady to useReduces implementation costs
** Visual Management**Web Interface ManagementLowers the Barrier to Use

Product Composition

ThingsGatewayRuntime consists of three core components that work together, Jointly accomplishing edge computing tasks.

PartialPurposeOperating Location
Studio Project ManagementProject Management, Local Operation Verification, Remote Deployment, Tunnel Broker and Watchdog Connection ManagementProject Maintenance Computer
Watchdog ServiceProcess Management, Health Check, Auto-Recovery, Backup ManagementGateway Device
GatewayRuntimeData collection, alarm handling, rule execution, script compilation, data forwardingGateway Device

Studio Project Management

Studio is ThingsGateway's engineering maintenance and deployment tool, used to manage local projects, start local runtime environments, upload or download gateway projects, and maintain the tunnel broker connection with Watchdog.

Studio Project Management Interface:

Studio Project Management Interface

Studio Main Features

Functional ModulesDescription
Project ManagementCreate, import, and export local projects, start or stop the local runtime environment
Project PublishingUpload projects to Watchdog, select release type, target environment, runtime, and plugins
Project ReturnDownload project packages from Watchdog-managed gateways back to Studio
Intranet TunnelingConfigure the Studio Tunnel Broker to expose intranet services with the Watchdog client
Watchdog ManagementSave Watchdog connections, test status, view backups, and use them as upload and download targets

Studio Use Cases

  • Project maintenance personnel create, import, and back up projects on management computers
  • Start the local runtime environment to verify collection, forwarding, and permission configuration
  • Upload verified projects to the Watchdog of the production gateway

Watchdog Service

Watchdog is the daemon process at the gateway runtime, responsible for managing and monitoring the runtime process.

Watchdog Main Features

Watchdog Web Dashboard

FeaturesDescription
Process ManagementStart, stop, and restart the gateway runtime process
Health CheckRegularly check process status and API availability
Automatic recoveryAutomatically restart when processes exit abnormally
Project managementManage multiple project configurations and switchovers
Backup managementProject backup and restore functions

Watchdog Use Cases

  • Deployed on gateway devices to run as a system service
  • Monitor gateway runtime status 7x24 hours
  • Automatically restores services in case of exceptions
  • supports remote project upload and deployment
Explanation

Watchdog provides a web management interface on port 6200 by default and can be managed in a browser at http://<gateway-ip>:6200. The gateway Web interface is provided by GatewayRuntime on port 6100.

Studio uses http://<studio-server-ip>:5100 by default, while Watchdog uses http://<gateway-ip>:6200. Both bundled configurations support standard HTTP access by IP address. Login passwords are encrypted with a one-time RSA-OAEP-SHA256 public-key challenge, but Bearer tokens, project packages, and other administrative data should still use HTTPS for complete transport protection.

GatewayRuntime Gateway Runtime

GatewayRuntime is the core runtime engine, responsible for executing data collection, alarm detection, rule processing, and other core business logic.

Gateway Runtime Interface:

System Overview

Main Features of GatewayRuntime

Function ModulesFunction Description
Data CollectionData Collected from Devices via Communication Plugins
Alarm DetectionDetects anomalies based on configured alarm rules
Rule EngineExecutes business processes for visual orchestration
Script ExecutionRuns user-defined C# scripts
Data forwardingPush data to the upper-layer system
Web managementProvide a web interface for configuration and management
GatewayRuntime Use Cases
  • Automatically started and managed by the watchdog
  • Performs data collection and business processing
  • Provides a web management interface
  • Enables data interaction with the upper-layer system

GatewayRuntime Runtime Runtime Mode

  • Automatically started by the watchdog
  • Or run manually ThingsGatewayRuntime
  • Default port: 6100 (web management interface)

Product Features

High Reliability

FeaturesDescription
Process GuardiansWatchdog automatically monitors and recovers processes
redundancy supportautomatic switching between primary and backup stations
exception handlingcomprehensive exception capture and handling mechanisms
data persistenceConfiguration and automatic data saving

High performance

FeaturesDescription
High concurrency acquisitionSupports simultaneous collection by a large number of devices
Low latency processingMillisecond-level data processing latency
Efficient storageOptimized Data Storage Mechanism
Low resource usageMinimum 256MB memory to run

Ease of Use

FeaturesDescription
Web ManagementManage via browser, no client installation required
Visual configurationGraphical configuration interface
Online debuggingReal-time view of collected data and logs
Fast deploymentReady to use and quickly launch

Extensibility

FeaturesDescription
Plugin architectureExtensible communication plugins
Script extensionsC# script customization features
Custom nodesrule engine nodes extensible
Open APIProvide permission-controlled web API Interfaces

Technical Specifications

Studio System Requirements

ProjectRequirements
Operating SystemWindows 10/11, Linux
Runtime.NET 10.0 SDK Or the operating environment required by the product release package
CPUx64 architecture, recommended 2 cores or more
MemoryRecommended 2GB or more
StorageRecommended 4GB or more

GatewayRuntime Runtime

ProjectRequirements
Operating SystemWindows 10/11, Windows Server 2016+, Linux
Runtime.NET 10.0 Runtime or AOT standalone deployment
CPUx64 architecture, 1 core is
memoryminimum 256MB, recommended 512MB or more
storage2GB or more

Capacity Planning

The actual number of variables, acquisition cycles, and processing latency depend on communication protocols, device response times, point table scale, script complexity, forwarding targets, historical storage, and gateway hardware. Before project commissioning, real point lists and real communication links should be used for stress verification, and reserves should be reserved for CPU, memory, disk, and offline cache, without directly applying test results from other sites.

Network Port

ServiceDefault PortDescription
Studio5100Web Management Interface
GatewayRuntime6100Web Management Interface
Watchdog6200Web Management Interface

Studio and Watchdog default listeners 0.0.0.0. When accessing via device IP, the remote management switch, firewall, and standard HTTP permission configuration should be confirmed simultaneously; For detailed steps, see Quick Start.