Files
starcodedoc-demo-go-sequenc…/README.md
2026-09-25 11:58:40 +08:00

31 lines
648 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 地面站遥测序列审计
语言:Go 1.22
## 项目目标
对地面站收到的多设备遥测序列进行乱序、重复和丢帧审计,生成单设备统计与告警摘要
## 模块
- 帧模型:设备、序号与接收时刻
- 序号跟踪器:按设备维护窗口
- 审计器:识别边界与异常
- 命令入口:输出审计摘要
## 构建或运行
`go run .`
## 验收重点
输入两个设备交错的正常、重复、回退、跳变与回卷帧;各设备统计独立且异常计数正确
## 文件
- `go.mod`
- `audit/frame.go`
- `audit/window.go`
- `audit/tracker.go`
- `main.go`