Chapter 03Kernel Layer

OS Kernel — kernel layer

Unified auth, AI capability center, IoT protocol engine, and data bus — four kernel engines that keep the system running.

Four kernel engines

Unified auth · AI capability center · IoT protocol engine · data bus

Unified auth engine

Auth Engine

JWT identity passthroughMulti-tenant isolationUnified B/C identityRBACMulti-org switchingThree-end tokens

AI capability center

AI Center

OCRLLM inferenceInformation extractionAnomaly detectionGraceful fallbackOn-prem deployment

IoT protocol engine

IoT Engine

MQTTModbusHTTP/TCPRS485OPC-UAVirtual devices

Data bus

Data Bus

MySQL 5.7InfluxDBIndependent schemasDual-engine coordinationRealtime ingestUnified metrics

Kernel data flow

The full path from device collection to business dispatch

1

Device collection

The IoT protocol engine ingests physical device data

2

Identity

The unified auth engine authenticates devices and users

3

Ingest

Time-series data into InfluxDB; business data into MySQL

4

AI analysis

The AI capability center runs anomaly detection and forecasting

5

Dispatch

The data bus delivers results to upper-layer apps

Kernel design principles

Independent schema

Each microservice owns its schema to avoid coupling

Multi-tenant isolation

Tenant-level data isolation and access control in the kernel

Graceful fallback

If AI is unavailable, the system falls back to a rules engine