Skip to content

Commit d01e1c5

Browse files
committed
style(docs): 调整 README 文档中的架构图格式
- 更新了英文版架构图的文本框尺寸和布局 - 更新了中文版架构图的文本框尺寸和布局 - 统一了两个版本文档中架构图的视觉样式 - 保持了架构图内容和结构的一致性
1 parent 6ddf29b commit d01e1c5

2 files changed

Lines changed: 60 additions & 60 deletions

File tree

README.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -20,37 +20,37 @@ Traditional edge gateways often integrate full-stack functionality including dev
2020
**Verge adopts an "Application-Edge Separation" architecture**: Complex business logic (scene linkage, rule engines, user interfaces) is placed in the application layer, while the edge gateway only handles core device access and data acquisition. The application layer can be deployed on cloud servers or run as a local desktop application.
2121

2222
```
23-
┌─────────────────────────────────────────────────────────────┐
24-
│ Application Layer (Cloud Server / Desktop App)
25-
│ │
26-
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────
27-
│ │ Device │ │ Scene │ │ Rule │ │ User
28-
│ │ Management│ │ Linkage │ │ Engine │ │Interface │
29-
│ └──────────┘ └──────────┘ └──────────┘ └──────────
30-
│ │
31-
│ ✓ Rapid Iteration ✓ Rich Experience │
32-
└─────────────────────────────┬───────────────────────────────┘
33-
34-
│ SSE + JSON-RPC (Standard API)
35-
36-
┌─────────────────────────────▼───────────────────────────────┐
37-
│ Edge Layer (Verge Gateway) │
38-
│ │
39-
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────
40-
│ │ Device │ │ Data │ │ Protocol │ │ Cloud-Edge
41-
│ │ Access │ │Collection│ │Conversion│ │ Comm │
42-
│ └──────────┘ └──────────┘ └──────────┘ └──────────
43-
│ │
44-
│ ✓ Ultra-Lightweight ✓ High Stability │
45-
└─────────────────────────────┬───────────────────────────────┘
46-
47-
│ Modbus / MQTT / HTTP
48-
49-
┌─────────────────────────────▼───────────────────────────────┐
50-
│ Physical Devices │
51-
│ │
52-
│ Meters / HVAC / Lighting / Sensors / PV Inverters ... │
53-
└─────────────────────────────────────────────────────────────┘
23+
┌───────────────────────────────────────────────────────────────────
24+
Application Layer (Cloud Server / Desktop App) │
25+
26+
│ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐
27+
│ │ Device │ │ Scene │ │ Rule │ │ User
28+
│ │ Management │ │ Linkage │ │ Engine │ │ Interface │
29+
│ └────────────┘ └────────────┘ └────────────┘ └────────────┘
30+
31+
✓ Rapid Iteration ✓ Rich Experience
32+
└───────────────────────────────────┬───────────────────────────────┘
33+
34+
│ SSE + JSON-RPC (Standard API)
35+
36+
┌───────────────────────────────────▼───────────────────────────────┐
37+
Edge Layer (Verge Gateway)
38+
39+
│ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐
40+
│ │ Device │ │ Data │ │ Protocol │ │ Cloud-Edge
41+
│ │ Access │ │ Collection │ │ Conversion │ │ Comm │
42+
│ └────────────┘ └────────────┘ └────────────┘ └────────────┘
43+
44+
✓ Ultra-Lightweight ✓ High Stability
45+
└───────────────────────────────────┬───────────────────────────────┘
46+
47+
│ Modbus / MQTT / HTTP
48+
49+
┌───────────────────────────────────▼───────────────────────────────┐
50+
Physical Devices
51+
52+
Meters / HVAC / Lighting / Sensors / PV Inverters ...
53+
└───────────────────────────────────────────────────────────────────
5454
```
5555

5656
### Core Advantages

README_zh.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,35 @@
2020
**Verge 采用「应用与边缘分离」架构**:将复杂的业务逻辑(场景联动、规则引擎、用户界面)放在应用层,边缘网关只负责最核心的设备接入与数据采集。应用层可以部署在云端服务器,也可以作为本地桌面应用运行。
2121

2222
```
23-
┌─────────────────────────────────────────────────────────────┐
24-
│ 应用层(云端服务器 / 本地桌面应用) │
25-
│ │
26-
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────
27-
│ │ 设备管理 │ │ 场景联动 │ │ 规则引擎 │ │ 用户界面
28-
│ └──────────┘ └──────────┘ └──────────┘ └──────────
29-
│ │
30-
✓ 快速迭代 ✓ 丰富体验 │
31-
└─────────────────────────────┬───────────────────────────────┘
32-
33-
│ SSE + JSON-RPC(标准 API)
34-
35-
┌─────────────────────────────▼───────────────────────────────┐
36-
│ 边缘层(Verge 网关) │
37-
│ │
38-
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────
39-
│ │ 设备接入 │ │ 数据采集 │ │ 协议转换 │ │ 云边通信
40-
│ └──────────┘ └──────────┘ └──────────┘ └──────────
41-
│ │
42-
✓ 极致轻量 ✓ 高度稳定 │
43-
└─────────────────────────────┬───────────────────────────────┘
44-
45-
│ Modbus / MQTT / HTTP
46-
47-
┌─────────────────────────────▼───────────────────────────────┐
48-
│ 物理设备 │
49-
│ │
50-
│ 电表 / 空调 / 照明 / 传感器 / 光伏逆变器 / ... │
51-
└─────────────────────────────────────────────────────────────┘
23+
┌───────────────────────────────────────────────────────────────────
24+
应用层(云端服务器 / 本地桌面应用)
25+
26+
│ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐
27+
│ │ 设备管理 │ │ 场景联动 │ │ 规则引擎 │ │ 用户界面
28+
│ └────────────┘ └────────────┘ └────────────┘ └────────────┘
29+
30+
│ ✓ 快速迭代 ✓ 丰富体验
31+
└───────────────────────────────────┬───────────────────────────────┘
32+
33+
│ SSE + JSON-RPC(标准 API)
34+
35+
┌───────────────────────────────────▼───────────────────────────────┐
36+
边缘层(Verge 网关)
37+
38+
│ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐
39+
│ │ 设备接入 │ │ 数据采集 │ │ 协议转换 │ │ 云边通信
40+
│ └────────────┘ └────────────┘ └────────────┘ └────────────┘
41+
42+
│ ✓ 极致轻量 ✓ 高度稳定
43+
└───────────────────────────────────┬───────────────────────────────┘
44+
45+
│ Modbus / MQTT / HTTP
46+
47+
┌───────────────────────────────────▼───────────────────────────────┐
48+
物理设备
49+
50+
电表 / 空调 / 照明 / 传感器 / 光伏逆变器 / ...
51+
└───────────────────────────────────────────────────────────────────
5252
```
5353

5454
### 核心优势

0 commit comments

Comments
 (0)