docs: restore mermaid architecture diagrams to both READMEs

This commit is contained in:
2569718930@qq.com
2026-02-27 02:04:00 +08:00
parent 938a98ee2c
commit 0ed26d49c0
2 changed files with 52 additions and 6 deletions
+26 -3
View File
@@ -79,9 +79,32 @@ chmod +x ~/update.sh
## 🏗️ Architecture
- **Data Layer**: Interfaces with Open-Meteo, NOAA, MGM, and other data sources.
- **Algorithm Layer**: DEB dynamic weighting system + concurrency caching mechanism.
- **Decision Layer**: Real-time trading logic analysis based on Groq API.
```mermaid
graph TD
User[User / Signal Receiver] -->|Query Command| Bot[bot_listener.py Core Scheduler]
subgraph Data Acquisition
Bot --> Collector[WeatherDataCollector]
Collector --> OM[Open-Meteo Live/Forecast]
Collector --> MM[Multi-Model Predictors ECMWF/GFS etc.]
Collector --> METAR[Live Airport Observations]
end
subgraph Logic Processing
Collector --> DEB[DEB Dynamic Weighting]
DEB --> DB[(daily_records JSON Database)]
Collector --> Logic[Settlement Analysis / Trend Detection]
end
subgraph AI Decision Layer
DEB --> AIAnalyzer[Groq/LLaMA 3.3 AI Model]
Logic --> AIAnalyzer
METAR --> AIAnalyzer
end
AIAnalyzer -->|Generates: Spread+Logic+Confidence| Bot
Bot -->|Returns Analysis Snapshot| User
```
---
+26 -3
View File
@@ -79,9 +79,32 @@ chmod +x ~/update.sh
## 🏗️ 系统架构
- **数据层**: 对接 Open-Meteo, NOAA, MGM 等多方数据源。
- **算法层**: DEB 动态权重系统 + 并发缓存机制。
- **决策层**: 基于 Groq API 的实时交易逻辑分析。
```mermaid
graph TD
User[用户 / 信号接收方] -->|查询指令| Bot[bot_listener.py 核心调度器]
subgraph 数据获取层
Bot --> Collector[WeatherDataCollector]
Collector --> OM[Open-Meteo 实时/预报]
Collector --> MM[多模型预测集 ECMWF/GFS等]
Collector --> METAR[机场实时实测]
end
subgraph 逻辑处理层
Collector --> DEB[DEB 动态权重算法]
DEB --> DB[(daily_records JSON 数据库)]
Collector --> Logic[结算分析 / 趋势判定]
end
subgraph AI 决策层
DEB --> AIAnalyzer[Groq/LLaMA 3.3 AI 模型]
Logic --> AIAnalyzer
METAR --> AIAnalyzer
end
AIAnalyzer -->|生成: 盘口+逻辑+置信度| Bot
Bot -->|返回分析快照| User
```
---