Architectural breakdown, performance specifications, decoupled IPC model, and enterprise protocol integration.
Uniflow is an advanced visual workflow automation, protocol ingestion, and rule-evaluation platform built specifically for Industrial IoT, physical security integration, and telemetry processing. It acts as the intelligent "nervous system" connecting disparate hardware and software ecosystems. Uniflow bridges diverse communication protocols (like Modbus, OPC UA, MQTT, SNMP, and hardware-specific APIs like Avigilon and Milestone) with a powerful, deterministic visual rule engine.
This document outlines the architectural aspects, performance considerations, and primary areas of application for the Uniflow platform.
Uniflow employs a modern, highly decoupled architecture designed for stability and real-time responsiveness. It separates the visual control plane from the background execution engine.
Uniflow is deployed as an integrated suite comprising two primary components:
.NET background service (UniflowService) that handles physical device polling, continuous data stream ingestion, and rule evaluation. It acts as the headless backend engine.Visual Control Plane (GUI) <--- Named Pipe IPC ---> Background Service (UniflowService)
Push Pipe (Async Telemetry & Traces)
Inter-Process Communication (IPC): The UI and Background Service communicate via a NamedPipeIpcServer and a PushPipeServer.
SourceValuesChanged, Heartbeat, Rule Execution Traces) out to subscribed UI clients with sub-millisecond precision.Uniflow includes a built-in internal memory registry:
The rule engine is built on a visual graph logic structure (Directed Acyclic Graph):
Uniflow implements an abstraction layer allowing rules to ingest data generically, oblivious to the underlying hardware protocol. The background service (SourceManager) dynamically loads and manages instances of various source adapters.
Instead of relying on continuous, CPU-heavy polling loops, the Uniflow rule engine is strictly event-driven. Rule execution is instantly awakened exclusively upon state mutations (when a source adapter ingests a telemetry frame or an internal storage point changes value).
Rules execute asynchronously across .NET ThreadPool workers. When multiple independent sources emit telemetry simultaneously, their bound rules are dispatched and evaluated in parallel. This guarantees high-throughput telemetry ingestion without single-threaded bottlenecks.
| Domain | Use Case | Appliance Example |
|---|---|---|
| Industrial Automation | Shop floor gateway | Relaying Modbus holding registers to OPC UA Servers for ERP ingestion. |
| Physical Security | VMS & Sensor Integration | Triggering PTZ presets via Avigilon/Milestone upon Hexagon Lidar tripwire alarms. |
| IT Monitoring | Health polling & Alerts | Polling switches via SNMP Walker and triggering Webhooks to Slack/PagerDuty. |
| Heavy Machinery | Mobile CAN Bus parsing | Parsing raw CAN frames with .DBC files and streaming diagnostic telemetry over MQTT. |