From e6527ff59162b8046d6c273f664d752e0859e3ad Mon Sep 17 00:00:00 2001 From: charles Date: Tue, 10 Feb 2026 21:27:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a974590..d6c1713 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -结构图(如有误请纠正) +结构图(如有误请纠正) ```mermaid graph TD %% 用户和网关 @@ -7,7 +7,6 @@ graph TD %% Gateway 调度逻辑 Gateway -->|"1. 存储原始数据"| Folder1 Gateway -->|"2. 创建任务记录"| SQLite[(SQLite
任务状态数据库)] - Gateway -->|"3. 数据切片分发"| TaskQueue{任务队列} %% 共享存储子图 subgraph Storage["Docker Shared Volume (/app/data)"] @@ -18,8 +17,7 @@ graph TD end %% 任务分发到 Matting - TaskQueue -->|"4. POST /matting {task_id}"| MattingAPI[统一 Matting API] - + Gateway -->|"4. POST /matting {task_id}"| MattingAPI[统一 Matting API] %% Matting 服务集群 MattingAPI -->|"5. 分发任务"| MattingCluster subgraph MattingCluster["Matting Service 集群
(共享 GPU)"] @@ -35,9 +33,10 @@ graph TD MattingCluster -->|"9. 更新状态
(matting_done)"| SQLite %% Gateway 轮询调度 - SQLite -.->|"10. 轮询检测
matting_done"| Gateway - Gateway -->|"11. POST /compare {task_id}"| ComparisonAPI[统一 Comparison API] - + %% SQLite -.->|"10. 轮询检测
matting_done"| Gateway + M1 -->|"11. POST /compare {task_id}"| ComparisonAPI[统一 Comparison API] + M2 -->|"11. POST /compare {task_id}"| ComparisonAPI[统一 Comparison API] + M3 -->|"11. POST /compare {task_id}"| ComparisonAPI[统一 Comparison API] %% Comparison 服务集群 ComparisonAPI -->|"12. 分发任务"| ComparisonCluster subgraph ComparisonCluster["Comparison Service 集群
(共享 GPU)"] @@ -58,7 +57,6 @@ graph TD %% 样式美化 - 黑色背景优化 style Gateway fill:#1e88e5,stroke:#64b5f6,stroke-width:3px,color:#fff - style TaskQueue fill:#ffa726,stroke:#ffb74d,stroke-width:2px,color:#000 style SQLite fill:#ab47bc,stroke:#ce93d8,stroke-width:2px,color:#fff style MattingAPI fill:#26c6da,stroke:#4dd0e1,stroke-width:2px,color:#000 style ComparisonAPI fill:#ff7043,stroke:#ff8a65,stroke-width:2px,color:#fff