ProtoToolProtoTool · 协议调试实验室

面向工业和物联网团队的现代化协议调试工作台

ProtoTool 将多协议连接、规约解析、插件扩展和 AI 辅助能力整合到一个桌面工作站。通过统一的会话管理和数据存储,帮助工程团队快速排查复杂网络问题,并沉淀可复用的知识资产。

GitHub Stars
1
累计下载
22
最新版本
v0.0.13
Active SessionsProtoTool
  • MQTT · 工业网关稳定
  • WebSocket · 实时监控波动
  • TCP · 历史回放待启动

消息片段

{
  "device": "sensor-42",
  "latency": "18ms",
  "payload": {
    "status": "online",
    "metrics": ["temperature", "humidity"]
  }
}

联调待办

  • · 与 QA 确认 MQTT 异常重放脚本
  • · 拉取最新边缘节点指标数据
  • · 整理联调日报并同步至飞书

Capabilities

核心能力一览

这些能力来自 ProtoTool 主仓库的真实实现,涵盖多协议调试、规约解析、插件扩展与数据分析等场景。

多协议连接管理

同时管理 TCP、UDP、串口等会话,支持状态监控、自动重连与断线恢复。

KPT 1.1 协议编辑器

可视化协议编辑器,支持 KPT 1.1 规范的协议定义、导入导出与仓库管理。

智能因子翻译

内置 HJ212 环境监测因子代码解析与翻译,支持自定义因子码表管理。

多维日志系统

后端日志管理支持多维度过滤、实时查询,可导出 JSON、CSV、Markdown 格式。

数据库存储管理

支持 MySQL、Redis、InfluxDB 等数据库连接,提供存储规则配置与实时监控。

跨平台体验

基于 Tauri 构建,面向 Windows、macOS、Linux 的一致性桌面应用体验。

Screenshots

软件界面预览

直观了解 ProtoTool 的核心功能界面,从连接管理到协议编辑,从日志分析到数据存储。

截图即将上传

ProtoTool 主工作区界面

主工作区

统一的工作台界面,集成连接管理、消息监控与协议解析功能。

截图即将上传

KPT 1.1 协议编辑器

协议编辑器

支持 KPT 1.1 规范的可视化协议编辑器,提供语法高亮与实时预览。

截图即将上传

连接管理界面

连接管理

多协议连接管理,支持 TCP、UDP、串口等,实时显示连接状态与自动重连。

截图即将上传

日志查看器界面

日志查看器

多维度日志过滤与查询,支持按会话、级别、类别筛选,可导出多种格式。

截图即将上传

存储监控界面

存储监控

实时监控数据存储状态,支持 MySQL、Redis、InfluxDB 等多种数据库。

截图即将上传

因子翻译界面

因子翻译

HJ212 环境监测因子代码智能翻译,支持自定义因子码表管理。

💡 提示:截图正在准备中,敬请期待更多界面展示

Workflow

从接入到交付的完整闭环

ProtoTool 借助规则解析、插件扩展和数据存储能力,帮助团队快速完成从接入、调试到交付的每一个环节。

查看详细路线图
01

接入

连接目标服务或设备,自动识别协议属性并生成调试模板。

02

编排

使用可视化表单或 DSL 定义请求、断言与重放节奏。

03

协作

实时记录联调过程,插入评论、AI 辅助与自动化脚本。

04

交付

导出报告或 CI 步骤,将经验沉淀为团队资产。

Release notes

Release v0.0.13

发布于 2025年10月4日

查看 GitHub Release

Version 0.0.13

发布日期:2025年10月04日 | Release Date: October 4, 2025

🚀 主要新功能 | Major New Features

📝 协议编辑器与仓库系统 | Protocol Editor & Repository System

  • 协议编辑器功能: 新增完整的协议编辑器,支持 KPT 1.1 规范
    • Protocol Editor Feature: Added complete protocol editor with KPT 1.1 specification support
  • 协议仓库管理: 实现协议导入、导出、列举和删除功能
    • Protocol Repository Management: Implemented protocol import, export, list, and delete functionality
  • KPT 1.1 规范支持: 升级 HJ212 协议以支持 KPT 1.1 规范
    • KPT 1.1 Specification Support: Upgraded HJ212 protocol to support KPT 1.1 specification
  • 协议内容加载与编辑: 支持协议内容的实时加载和编辑
    • Protocol Content Loading & Editing: Support real-time loading and editing of protocol content

🔄 文件导出功能优化 | File Export Functionality Optimization

  • 原生文件对话框: 使用 Tauri 后端实现原生文件保存对话框
    • Native File Dialog: Implemented native file save dialog using Tauri backend
  • 跨平台兼容: 支持 Windows、macOS 和 Linux 的文件导出
    • Cross-Platform Compatibility: Support file export on Windows, macOS, and Linux
  • 文件格式过滤: 支持 .kpt 和 .txt 文件格式过滤
    • File Format Filtering: Support .kpt and .txt file format filtering
  • 错误处理优化: 改进导出错误提示和用户反馈
    • Error Handling Optimization: Improved export error messages and user feedback

🔍 因子代码翻译功能 | Factor Code Translation Feature

  • 因子代码解析: 实现环境监测因子代码的解析和翻译
    • Factor Code Parsing: Implemented parsing and translation of environmental monitoring factor codes
  • HJ212 消息解析: 集成 HJ212 消息解析与因子翻译
    • HJ212 Message Parsing: Integrated HJ212 message parsing with factor translation
  • 因子定义管理: 支持因子代码定义的管理和查询
    • Factor Definition Management: Support management and query of factor code definitions

📊 日志系统增强 | Logging System Enhancement

  • 后端日志管理: 实现完整的后端日志管理系统
    • Backend Log Management: Implemented complete backend log management system
  • 日志分类过滤: 支持按类别、级别、会话等多维度过滤
    • Log Category Filtering: Support filtering by category, level, session, and more
  • 日志导出功能: 支持 JSON、CSV 和 Markdown 格式导出
    • Log Export Feature: Support export in JSON, CSV, and Markdown formats
  • 日志详情展示: 显示客户端 ID、协议、数据大小等详细信息
    • Log Details Display: Show client ID, protocol, data size, and other details

🗄️ 存储方式管理 | Storage Management

  • 数据库连接管理: 支持 MySQL、Redis、InfluxDB 等多种数据库
    • Database Connection Management: Support MySQL, Redis, InfluxDB, and more
  • 存储规则配置: 实现存储规则的增删改查功能
    • Storage Rule Configuration: Implemented CRUD operations for storage rules
  • 连接测试功能: 支持数据库连接测试和错误诊断
    • Connection Test Feature: Support database connection testing and error diagnosis
  • 存储监控: 实现存储监控页面和真实数据加载
    • Storage Monitoring: Implemented storage monitoring page with real data loading

🎨 用户界面改进 | UI/UX Improvements

🖼️ 协议编辑器界面 | Protocol Editor Interface

  • 统一消息弹窗: 实现统一的消息提示和确认对话框
    • Unified Message Modal: Implemented unified message prompts and confirmation dialogs
  • 导入导出优化: 优化协议导入导出的用户体验
    • Import/Export Optimization: Optimized user experience for protocol import/export
  • 预览显示: 添加协议内容预览功能
    • Preview Display: Added protocol content preview feature
  • 中文按钮: 所有按钮使用中文显示,提升本地化体验
    • Chinese Buttons: All buttons display in Chinese for better localization

📋 协议仓库界面 | Protocol Repository Interface

  • 协议列表管理: 优化协议列表的显示和操作
    • Protocol List Management: Optimized protocol list display and operations
  • 协议配置对话框: 添加协议配置对话框功能
    • Protocol Configuration Dialog: Added protocol configuration dialog feature
  • 按钮组件增强: 引入按钮组件以增强协议插件管理器
    • Button Component Enhancement: Introduced button components to enhance protocol plugin manager

🎯 工作区界面优化 | Workspace Interface Optimization

  • 协议类型标签: 添加协议类型标签并优化会话表格显示
    • Protocol Type Tags: Added protocol type tags and optimized session table display
  • 协议图标更新: 更新协议图标和表格列宽保护
    • Protocol Icon Update: Updated protocol icons and table column width protection
  • 会话过滤: 支持通过 URL 参数查看特定会话日志
    • Session Filtering: Support viewing specific session logs via URL parameters

🔧 技术改进 | Technical Improvements

🏗️ 架构优化 | Architecture Optimization

  • Tauri API 重构: 重构 Tauri API 调用逻辑以支持 v2 版本
    • Tauri API Refactoring: Refactored Tauri API call logic to support v2
  • 全局缓存重构: 使用 OnceLock 替代静态可变全局变量
    • Global Cache Refactoring: Used OnceLock to replace static mutable global variables
  • 解析器注册表: 扩展协议解析器注册表以支持协议仓库操作
    • Parser Registry: Extended protocol parser registry to support repository operations

🛡️ 错误处理和恢复 | Error Handling & Recovery

  • 文件保存错误处理: 实现文件保存失败时的优雅错误处理
    • File Save Error Handling: Implemented graceful error handling for file save failures
  • 导出错误提示: 改进导出错误提示,显示具体错误内容
    • Export Error Messages: Improved export error messages to show specific error details
  • 连接错误诊断: 增强数据库连接错误的诊断和提示
    • Connection Error Diagnosis: Enhanced database connection error diagnosis and prompts

📦 依赖管理 | Dependency Management

  • rfd 文件对话框: 添加 rfd crate 用于原生文件对话框
    • rfd File Dialog: Added rfd crate for native file dialogs
  • Tauri 命令扩展: 新增多个 Tauri 命令用于协议管理和文件操作
    • Tauri Command Extension: Added multiple Tauri commands for protocol management and file operations

🐛 Bug 修复 | Bug Fixes

🔌 协议编辑器修复 | Protocol Editor Fixes

  • 导出功能修复: 修复协议编辑器和协议仓库的导出功能
    • Export Function Fix: Fixed export functionality in protocol editor and repository
  • 环境检测移除: 移除冗余的 Tauri 环境检测逻辑
    • Environment Detection Removal: Removed redundant Tauri environment detection logic
  • 模块导入修复: 统一动态导入模块方式以避免 Vite 静态分析问题
    • Module Import Fix: Unified dynamic module import to avoid Vite static analysis issues

🌐 网络功能修复 | Network Function Fixes

  • UDP 消息流优化: 优化 UDP 客户端消息流显示和过滤逻辑
    • UDP Message Flow Optimization: Optimized UDP client message flow display and filtering logic
  • TCP 连接处理: 优化 TCP 客户端断开连接处理逻辑
    • TCP Connection Handling: Optimized TCP client disconnect handling logic
  • 客户端连接事件: 优化客户端连接事件处理与同步方法
    • Client Connection Events: Optimized client connection event handling and sync methods

🗂️ 存储功能修复 | Storage Function Fixes

  • 数据库连接测试: 增强数据库连接测试功能和错误消息
    • Database Connection Test: Enhanced database connection test feature and error messages
  • 存储规则验证: 实现存储规则表单验证和错误提示
    • Storage Rule Validation: Implemented storage rule form validation and error prompts

📦 平台支持 | Platform Support

  • Windows: MSI 安装包、NSIS 安装包和便携版
    • 支持 x86 (32位) 和 x64 (64位) 架构
  • macOS: DMG 安装包
    • Intel x64 和 Apple Silicon (ARM64) 分别打包
  • Linux: AppImage、DEB 和 RPM 包
    • 支持 x86_64 和 ARM64 架构

📝 安装说明 | Installation Notes

  • 从下方的发布资源中下载适合您系统的安装包
    • Download the appropriate package for your platform from the release assets
  • Windows 用户推荐使用 MSI 安装包,也可选择便携版
    • Windows users can choose between MSI installer (recommended) or portable versions
  • macOS 用户请根据处理器架构选择对应的安装包
    • macOS users should download the package matching their processor architecture
  • Linux 用户可根据发行版选择 DEB、RPM 或通用的 AppImage 格式
    • Linux users can install the appropriate package for their system architecture

🔗 链接 | Links

📊 版本统计 | Version Statistics

  • 新增功能: 15+ 个主要功能模块 | New Features: 15+ major feature modules
  • 修复问题: 10+ 个关键 Bug 修复 | Bug Fixes: 10+ critical bug fixes
  • 代码提交: 50+ 次提交 | Commits: 50+ commits
  • 文件修改: 100+ 个文件更新 | Files Modified: 100+ files updated
  • 代码改进: 5000+ 行新增和优化代码 | Code Improvements: 5000+ lines of new and optimized code

🎯 重点改进 | Key Improvements

  1. 协议管理系统: 完整的协议编辑、导入、导出和管理功能
    • Protocol Management System: Complete protocol editing, import, export, and management
  2. 文件操作优化: 使用原生文件对话框,提升用户体验
    • File Operation Optimization: Native file dialogs for better user experience
  3. 日志系统完善: 全面的日志记录、过滤和导出功能
    • Logging System Enhancement: Comprehensive logging, filtering, and export features
  4. 存储管理: 多数据库支持和存储规则配置
    • Storage Management: Multi-database support and storage rule configuration
  5. 因子翻译: 环境监测因子代码的智能解析和翻译
    • Factor Translation: Intelligent parsing and translation of environmental monitoring factor codes

此版本专注于协议管理和文件操作的全面提升,通过完整的协议编辑器、原生文件对话框和增强的日志系统,为用户提供更强大和便捷的协议调试体验。这是一个重要的功能增强版本。

This release focuses on comprehensive improvements to protocol management and file operations. Through a complete protocol editor, native file dialogs, and enhanced logging system, it provides users with a more powerful and convenient protocol debugging experience. This is an important feature enhancement release.

Downloads

立即下载 ProtoTool v0.0.13

文件列表实时来自 GitHub Release。我们会根据你的系统自动优先推荐最适合的安装包。

发布日期 · 2025年10月4日

Windows

支持 MSI 和 NSIS 安装包,提供 x86 (32位) 和 x64 (64位) 架构,支持中英文界面。

  • ProtoTool_0.0.13_x64-setup.exe
    大小 · 4.9 MB下载量 · 3
    立即下载
  • ProtoTool_0.0.13_x64_en-US.msi
    大小 · 7.0 MB下载量 · 2
    立即下载
  • ProtoTool_0.0.13_x64_zh-CN.msi
    大小 · 7.0 MB下载量 · 0
    立即下载建议优先安装
  • ProtoTool_0.0.13_x86-setup.exe
    大小 · 4.3 MB下载量 · 0
    立即下载
  • ProtoTool_0.0.13_x86_en-US.msi
    大小 · 6.1 MB下载量 · 0
    立即下载
  • ProtoTool_0.0.13_x86_zh-CN.msi
    大小 · 6.1 MB下载量 · 0
    立即下载

macOS

提供 Intel x64 与 Apple Silicon (ARM64) 双版本 DMG 安装包。

  • ProtoTool_0.0.13_aarch64.dmg
    大小 · 9.9 MB下载量 · 0
    立即下载建议优先安装
  • ProtoTool_0.0.13_x64.dmg
    大小 · 10.1 MB下载量 · 0
    立即下载

Linux

提供 AppImage、DEB、RPM 等多种发行版格式,支持 x86_64 和 ARM64 架构。

  • ProtoTool-0.0.13-1.x86_64.rpm
    大小 · 9.8 MB下载量 · 0
    立即下载
  • ProtoTool_0.0.13_amd64.AppImage
    大小 · 83.7 MB下载量 · 0
    立即下载建议优先安装
  • ProtoTool_0.0.13_amd64.deb
    大小 · 9.8 MB下载量 · 0
    立即下载

Use cases

覆盖多行业的落地案例

以下场景来自 ProtoTool 社区用户的真实反馈与规划,帮助团队在不同业务环境中发挥协议调试平台价值。

物联网运维

批量验证网关与终端设备状态,监控心跳、QoS 与负载策略,快速生成联调日报。

金融实时行情

追踪 FIX、WebSocket 报价链路,结合规约解析与数据脱敏保障合规调试。

边缘计算部署

在边缘节点部署协议探针,远程洞察网络波动并输出自动化分析报告。

历史版本

  1. Release v0.0.13

    2025年10月4日

    查看详情
  2. Release v0.0.12

    2025年9月22日

    查看详情
  3. Release v0.0.11

    2025年9月17日

    查看详情
  4. Release v0.0.10

    2025年9月13日

    查看详情

加入 ProtoTool 社区,构建你的协议调试工作站

预约 30 分钟深度演示,了解如何通过统一的调试平台提升跨团队协作效率,并将经验沉淀为标准化资产。