Update architecture.md
This commit is contained in:
parent
40b8256cad
commit
83f6b19865
@ -1,81 +1,68 @@
|
||||
# Cognitive AI Manufacturing Agent (IoT Industry Automation)
|
||||
|
||||
```mermaid
|
||||
graph TB
|
||||
%% IoT Sensors
|
||||
subgraph "IoT Sensors"
|
||||
A1[Temp/Pressure/Vibration<br/>Flow/Speed/Level]
|
||||
A[Temp/Pressure/Vibration<br/>Flow/Speed/Level/Current]
|
||||
end
|
||||
|
||||
%% Edge Processing
|
||||
subgraph "Edge Layer"
|
||||
B1[Edge Gateway<br/>Data Validation]
|
||||
B2[MQTT Broker<br/>Protocol Convert]
|
||||
B[Edge Gateway & MQTT<br/>Data Validation/Protocol Convert]
|
||||
end
|
||||
|
||||
%% Stream Processing
|
||||
subgraph "DataStreamX"
|
||||
C1[Real-time Ingestion]
|
||||
C2[Pattern Detection]
|
||||
C3[Data Enrichment]
|
||||
C[Stream Processing<br/>Pattern Detection/Enrichment]
|
||||
end
|
||||
|
||||
%% Event Streaming
|
||||
subgraph "Kafka"
|
||||
D1[Event Topics<br/>sensor-data/alerts]
|
||||
D2[Consumer Groups]
|
||||
subgraph "Kafka Streaming"
|
||||
D[Event Topics & Consumers<br/>sensor-data/alerts/commands]
|
||||
end
|
||||
|
||||
%% AI Engine
|
||||
subgraph "AI Processing"
|
||||
E1[Anomaly Detection]
|
||||
E2[Predictive Maintenance]
|
||||
E3[Decision Engine]
|
||||
subgraph "AI Engine"
|
||||
E[Node.js/Python Agents<br/>Anomaly/Predictive/ML]
|
||||
F[Decision & Rule Engine<br/>Action Classification]
|
||||
end
|
||||
|
||||
%% Actions
|
||||
subgraph "Actions"
|
||||
F1{Critical?}
|
||||
F2[Emergency Stop]
|
||||
F3[Auto-Fix]
|
||||
F4[Optimization]
|
||||
G{Critical Alert?}
|
||||
H[Emergency Shutdown]
|
||||
I[Auto-Fix & Control]
|
||||
J[Optimization]
|
||||
end
|
||||
|
||||
%% Notifications
|
||||
subgraph "HookPilot"
|
||||
G1[Workflow Engine]
|
||||
G2[Multi-channel<br/>Telegram/Email/Slack]
|
||||
subgraph "HookPilot Automation"
|
||||
K[Webhook Receiver<br/>Workflow Engine]
|
||||
L[Multi-channel Dispatch<br/>Template/Retry/APIs]
|
||||
end
|
||||
|
||||
subgraph "Notifications"
|
||||
M[Telegram/Email/Slack<br/>SMS/WhatsApp/Push]
|
||||
end
|
||||
|
||||
%% Dashboard
|
||||
subgraph "React Dashboard"
|
||||
H1[Real-time Monitor]
|
||||
H2[Analytics]
|
||||
H3[Control Panel]
|
||||
N[Real-time Monitor<br/>Analytics/Control Panel]
|
||||
end
|
||||
|
||||
%% Storage
|
||||
subgraph "Storage"
|
||||
I1[Time Series DB]
|
||||
I2[Event Store]
|
||||
subgraph "Storage & Analytics"
|
||||
O[Time Series/Event Store<br/>Config/User/ML Models]
|
||||
end
|
||||
|
||||
%% Learning Loop
|
||||
subgraph "ML Loop"
|
||||
J1[Performance Metrics]
|
||||
J2[Model Retraining]
|
||||
subgraph "Learning Loop"
|
||||
P[Performance Metrics<br/>Model Retraining/Tuning]
|
||||
end
|
||||
|
||||
%% Connections
|
||||
A1 --> B1 --> B2 --> C1
|
||||
C1 --> C2 --> C3 --> D1
|
||||
D1 --> D2 --> E1
|
||||
E1 --> E2 --> E3 --> F1
|
||||
F1 -->|Yes| F2
|
||||
F1 -->|No| F3 --> F4
|
||||
F2 --> G1
|
||||
F3 --> G1
|
||||
F4 --> G1
|
||||
G1 --> G2
|
||||
D2 --> H1 --> H2
|
||||
H3 --> F3
|
||||
C3 --> I1
|
||||
E3 --> I2
|
||||
H2 --> J1 --> J2 --> E1
|
||||
A --> B --> C --> D
|
||||
D --> E --> F --> G
|
||||
G -->|Yes| H
|
||||
G -->|No| I --> J
|
||||
H --> K
|
||||
I --> K
|
||||
J --> K
|
||||
K --> L --> M
|
||||
D --> N
|
||||
F --> N
|
||||
N --> I
|
||||
C --> O
|
||||
F --> O
|
||||
N --> P --> E
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user