Architecture Overview
Less than 1 minute
Architecture Overview
FastBee uses a layered architecture for extensibility and maintainability.
Layers
| Layer | Purpose | Components |
|---|---|---|
| Access | Protocol adaptation & connection | MQTT Broker (Netty), SIP Server |
| Business | Core IoT logic | Product/Device/ThingModel/Scene/Rule |
| Service | Common capabilities | Auth, cache, messaging |
| Data | Persistence & storage | MySQL, Redis, TDengine |
| Presentation | User interfaces | Vue Web, UniApp Mobile |
Core Flows
- Data Report: Device → MQTT Broker → Routing → Rule Script → Business → Storage
- Command Dispatch: User/API → Business → MQTT Broker → Device
- Video: Camera → SIP → ZLMediaKit → Web/APP
Deployment
- Single-node: All services on one server (< 1000 devices)
- Distributed: Separate web/API/database servers (1000-5000 devices)
