# JT808-Server **Repository Path**: justinchen/jt808-server ## Basic Information - **Project Name**: JT808-Server - **Description**: JT808-Server ,recv msg and parse forward httpServer, 解析 JT808 并转发到http 服务 - **Primary Language**: Java - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-10-12 - **Last Updated**: 2023-10-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JT808 Server ## 开发技术框架 网上关于jt808 协议解析有很多种,大多数都想着基于注解方式,进行了高度封装, 因为我比较喜欢基于netty 原始的进行编码,所以直接使用netty 进行代码编写。
- netty - springboot ## 技术架构 tcpServer ---> 异步线程 ---> 平台 - netty 实现tcp server 接受终端消息 - 异步的线程收到消息 发送到平台 ## 消息解析 - 查看 hex.txt - 经过查看发现扩展消息是固定顺序,目前只需要01 所以使用了固定读方法 ## 使用文档 - 配置配置文件,配置参数如下 ``` netty: port: 8010 // tcp server 启动端口 read-timeout: 15 // 读写超时时间 threads: boss: 1 // netty boss 线程数,一般是cpu core worker: 4 // netty worker 线程数 forward: url: https://1g5430z342.yicp.fun/LQQ-CLDD/gps/tbReceiveGpsInfo/add // 转发地址,方法默认是post,json 格式 ``` - 启动SpringBoot 项目