1 Star 0 Fork 16

moshang005 / JTT808 服务(基于 spring-boot-starter-jt808)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

交通标准808协议完整服务

介绍

基于 spring-boot-starter-jt808 二次开发包的完整工程

版本特性

v1.0.1

  • 支持 Mysql5 版本的数据库,启动参数 --spring.profiles.active=mysql5

v1.0.0

  • 使用内嵌数据库 HsqlDB(自动创建数据库表,理论上兼容 Mysql 数据库,如果遇到问题可以提交 ISSUE
  • 多租户数据结构
  • 完整存储 808 协议相关数据
  • 依赖 spring-boot-starter-jt808 并保持最新版本
  • 默认会添加 测试用设备和车辆

实体定义

字典和地区

  • DictionaryEntity ( uuid, key, value, type, fromDate, updateDate, thruDate )
  • DivisionEntity ( id, name )

设备、车辆、卡、以及定位数据的存储

  • GroupEntity ( uuid, parent, title, link, fromDate, updateDate, thruDate )

  • LinkEntity ( uuid, tableName, title, refUuid )

  • VehicleEntity ( uuid, license, provinceId, cityId, licenseColor, vin, fromDate, updateDate, thruDate )

  • DeviceEntity ( deviceId, manufacturer, model, rsa, fromDate, updateDate, thruDate )

  • DeviceMsgEntity ( uuid, user, vehicle, device, sim, msgId, stream, sendTime, sendData, replyId, replyTime, replyData, replyFlag)

  • VehicleDeviceSimLink ( uuid, license, device, sim, auth, fromDate, updateDate, thruDate )

  • UserGroupLink ( uuid, user, group, fromDate, updateDate, thruDate )

  • TraceEntity ( uuid, sim, traceAlarm, traceStatus, longitude, latitude, height, speed, direction, receiveTime, receiveServerTime, mileage, oilMass, recordSpeed, humanEnsureAlarmId, overSpeedPositionType, overSpeedPositionId, inOutPositionType, inOutPositionId, inOutDirection, driveTimePositionId, driveTime, driveTimeResult, traceStatusExt, ioStatus, tirePressure, partTemp, ad0, ad1, signalStrength, gnssNumber )

  • TraceAlarmEntity ( uuid, sim, alarmKey, startTime, endTime )

事件上报相关

  • EventEntity
  • EventReportEntity
  • DeviceEventEntity

信息点播相关

  • InfoEntity
  • InfoOrderEntity
  • DeviceInfoEntity

电子运单相关

  • ElectronicWaybillEntity

驾驶员信息相关

  • DriverInfoEntity

CAN总线 多媒体 透传 压缩

  • MediaEntity 多媒体信息(不含实体)
  • UploadDataEntity 包含CAN总线、多媒体实体、透传数据、压缩数据

如何使用

请确保JDK版本高于15版本,如有其他版本的需要,则应修改 spring-boot-starter-jt808 的版本支持低版本JDK,并使用低版本JDK编译此源码。

# 打包
mvn clean package
# 运行 (默认 HSQLDB)
java -jar target/jt808-server.jar
# 运行 (使用 MYSQL5)
# java -jar target/jt808-server.jar --spring.profiles.active=mysql5
# 808 服务端口默认是 10001

除了源码打包的方式还可以直接下载已经打好的jar包,要求JDK版本在15及以上。

FAQ

暂无

致谢

暂无

授权

使用 MIT 授权

MIT License Copyright (c) 2020 zhoyq Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于 spring-boot-starter-jt808 的 完整服务 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/culspa/JTT808-Server.git
git@gitee.com:culspa/JTT808-Server.git
culspa
JTT808-Server
JTT808 服务(基于 spring-boot-starter-jt808)
master

搜索帮助

14c37bed 8189591 565d56ea 8189591