## Positioning

FastBee is an integrated platform for IoT scenarios. It covers device access, product and thing models, data collection, rule automation, alarm notifications, visual dashboards, Web configuration, video monitoring, and multi-tenant permissions. The platform uses a frontend-backend separated architecture and a modular backend, making it suitable for demos, standalone deployment, production delivery, and cluster deployment.

::: tip Version Reading Guide
Professional edition documentation focuses on standalone delivery, secondary development, device access, and platform operations. For cluster deployment, load balancing, FMQ clusters, and benchmark optimization, read [Cluster Edition Docs](https://www.fastbee.cn/doc/en/cluster/v2.md).
:::

## Overall Layers

```mermaid
%%{init: {"flowchart": {"htmlLabels": false}}}%%
graph TB
  Device["Devices and edge nodes"] --> Access["Protocol access layer"]
  User["Web / H5 / mobile"] --> Web["Frontend application layer"]
  Web --> API["OpenAPI and controller layer"]
  Access --> Message["Message and event layer"]
  API --> Service["Business service layer"]
  Message --> Rule["Rule engine and scene automation"]
  Service --> Data["Data access layer"]
  Rule --> Data
  Data --> RDB["Relational database"]
  Data --> TSDB["Time-series database"]
  Service --> Cache["Redis cache"]
  Service --> Media["Video and media services"]
```

## Core Capabilities

| Domain | Main Content | Key Concerns |
| --- | --- | --- |
| Device and product management | Device lifecycle, product thing model, device assignment, command delivery | Permissions, tenant isolation, device status |
| Protocol access | MQTT, CoAP, HTTP, Modbus, SIP, JT808, and more | Authentication, topic rules, protocol extension |
| Data processing | Device reporting, history data, rule calculation, message bridge | Throughput, time-series storage, data consistency |
| Rules and notifications | Rule engine, scene automation, alarm recovery, SMS/email/WeCom/DingTalk notifications | Trigger conditions, templates, retry |
| Visualization and configuration | Dashboards, components, animations, public APIs, dynamic data | Data binding, interaction events, rendering performance |
| Video monitoring | RTSP/RTMP/HLS/FMP4, voice intercom, recording | Media ports, callbacks, storage |
| Permissions and tenants | Organization, roles, menus, data permissions | Least privilege, data scope, audit |

## Typical Flow

```mermaid
%%{init: {"theme": "base", "themeVariables": {"background": "transparent", "primaryColor": "#edf4ff", "primaryTextColor": "#1f2937", "primaryBorderColor": "#536dfe", "lineColor": "#334155", "textColor": "#1f2937", "actorBkg": "#edf4ff", "actorBorder": "#536dfe", "actorTextColor": "#1f2937", "signalColor": "#334155", "signalTextColor": "#1f2937", "sequenceNumberColor": "#1f2937", "activationBkgColor": "#dbeafe", "activationBorderColor": "#536dfe", "noteBkgColor": "#fff7ed", "noteTextColor": "#1f2937", "noteBorderColor": "#f59e0b"}}}%%
sequenceDiagram
  participant D as Device
  participant M as MQTT/HTTP/CoAP Access
  participant B as Message Processing
  participant R as Rule Engine
  participant S as Business Service
  participant DB as Database/TSDB
  participant UI as Frontend
  D->>M: Report properties/events
  M->>B: Parse protocol and generate platform message
  B->>R: Trigger rules or scenes
  B->>S: Update device status and business data
  S->>DB: Write business or time-series data
  UI->>S: Query devices, alarms, and history
  S-->>UI: Return page data
```

## Reading Path

* To understand technology dependencies, read [Technology Stack and Modules](https://www.fastbee.cn/doc/en/business/v2/architecture/technology-stack.html).
* To develop backend capabilities, read [Backend Architecture](https://www.fastbee.cn/doc/en/business/v2/architecture/backend.html).
* To adjust the admin UI, visualization, or Web configuration, read [Frontend Architecture](https://www.fastbee.cn/doc/en/business/v2/architecture/frontend.html).
* To design data, cache, and database solutions, read [Data and Database Architecture](https://www.fastbee.cn/doc/en/business/v2/architecture/data.html).
* To plan production deployment, read [Deployment and Operations Architecture](https://www.fastbee.cn/doc/en/business/v2/architecture/deployment.html).
