This commit is contained in:
flower_linux
2026-06-11 18:06:39 +08:00
parent f0da5cb3c3
commit 710a8c2bd3
19 changed files with 191 additions and 97 deletions

View File

@@ -206,7 +206,7 @@ Phase 2 静态 NodeSet2 XML 占位文件Phase 1 不使用。守护进程通
| 现象 | 可能原因 | 处理 |
|------|----------|------|
| 守护进程启动失败plugin load | 插件 .so 不在搜索路径 | 确认 `build/lib/libprotocol_modbus.so` 存在 |
| 守护进程启动失败plugin load | 插件 .so 不在搜索路径 | 确认 `config/lib/protocol_modbus.so``build/lib/libprotocol_modbus.so` 存在 |
| OPC UA 连接拒绝 | 端口被占用或 OPC UA 未启用 | 检查 4840 端口;确认 `SOFTBUS_WITH_OPCUA=ON` |
| Variable 值不更新 | 边缘未连接或 objectRef 不匹配 | 确认 edge 运行且 sourceId 与模型路径一致 |
| Method 调用失败 | JSON 格式错误或 objectRef 无效 | 检查入参 JSON 与五层路径 |

View File

@@ -91,7 +91,7 @@ SOFTBUS_PLUGIN_API void destroy_parser(IParser* parser);
| 子模块 | 文件 | 说明 | Phase 1 状态 |
|--------|------|------|-------------|
| logging | `Logger.h/.cpp` | 单例日志,`infoTrace(tag, traceId, ...)` | 已用 |
| logging | `Logger.h/.cpp` | 单例日志,`SB_LOG_*` 宏自动附带 `[文件::函数]` 调用位置 | 已用 |
| time | `HwClock.h/.cpp` | 纳秒级时间戳 | 已用 |
| alignment | `TimeAligner.h/.cpp` | 多通道时间对齐 | 未接入 |
| platform | `PlatformSignal.h/.cpp` | SIGINT 优雅退出 | 已用 |

View File

@@ -67,16 +67,13 @@ uaMethodBinder_->bindExecuteCommand([this](const ExecuteCommand& cmd) {
### 4.3 插件路径解析
`resolvePluginPath(pluginName)` 按以下顺序搜索
`resolvePluginPath(pluginName, profilePath)` 按以下顺序搜索(每个目录同时尝试 `lib{name}.so``{name}.so`
1. `{exeDir}/{lib}{name}.so`
2. `{exeDir}/../lib/{lib}{name}.so`
3. `build/bin/{lib}{name}.so`
4. `lib/{lib}{name}.so`
5. `bin/{lib}{name}.so`
6. `{cwd}/build/bin/{lib}{name}.so`
7. `{cwd}/lib/{lib}{name}.so`
8. `{cwd}/{lib}{name}.so`
1. `{profileDir}/lib/` — 与配置文件同目录,如 `config/lib/`
2. `{cwd}/config/lib/`
3. `{exeDir}/``{exeDir}/../lib/`
4. `build/lib/``build/bin/`
5. `lib/``bin/``{cwd}/`
## 5. PipelineEngine