1 Star 0 Fork 1

huying / gps-tracking-server

forked from heibaifu / gps-tracking-server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
benjamin 提交于 2018-08-01 22:39 . Update README.md

gps-tracking-server

Java and MongoDB based GPS object tracking server (TCP). This server can be used to handle TCP requests coming from GPS devices compatible with TK103 GPS data communication protocol.

Functionalities
  • Read incoming request and parse data stream.
  • Handle handshake signals and continues feedback requests.
  • Process location requests.
  • Find last known location within 30 seconds of time period and calculate distance between those two coordinates.
  • Insert processed coordinate to database.
  • Publish the coordinate to topic COO. ActiveMQ broker for live streaming, another service may subscribe to message topic /topic/COO. to retrieve data.
  • Publish message to REQSTATUS. topic (for analytics purposes).
  • Sends periodic reports about system status to given emails.
  • Sends periodic reports to given emails to notify recent offline devices.

(In order to make it work, ActiveMQ message publishing and email service must be enabled in system.yml)

Support
  • Supports for TK103 protocol.
  • Netty 4.0
  • MongoDB 3.6 as database.
  • ActiveMQ 5.14.5 as messaging server.
Installation
  • Maven clean and build project.
  • Copy gps folder to /opt directory.
  • Update system.yml file.
  • Run jar file named GpsServer2-2.0.0.
  • Additionally it is possible to use ubuntu upstart config file to run as background service, for that,
    • Rename GpsServer2-2.0.0-jar-with-dependencies.jar into GpsServer.jar.
    • Place this jar file on /opt directory.
    • Place gpsserver.conf file on /etc/init directiry, then start the service using service gpsserver start.
    • You can change this settings.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/litcas/gps-tracking-server.git
git@gitee.com:litcas/gps-tracking-server.git
litcas
gps-tracking-server
gps-tracking-server
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891