问题描述
我正处于头脑风暴阶段,以开发客户要求的 GPS 汽车跟踪系统.我自己知道在手机等上建立一些 GPS 系统的方向.但说实话,我不知道如何开始那个项目.就是这样的场景:
I'm in the brainstorming phase to develop a GPS car tracking system requested by a customer. I myself know the directions to build some GPS system to mobile phones and etc. But sincerely I don't know how to start in that project. That is the scenario:
1) 汽车将获得一个带有 SIM 卡的设备,该设备会发出 GPS 信号.
2) 我的客户将在任何有网络连接的地方(家、工作场所等)都会在地图上看到汽车所在的位置.
1) The cars will get a device with a SIM CARD that will emit GPS signals.
2) My customer will in any place (home, work, etc) with a web connection will see in the map where the car is located.
对我来说,我在获取 GPS 数据、转换为可用信息并在某些地图系统(例如 Google 地图或 MS Bing 地图)中显示位置方面没有问题.我的问题是,如何从车内设备中检索GPS 信号"?我需要某种接收器设备"连接到网络服务器机器,以便我的应用程序使用那个数据?
For me, I have not problems at get the GPS data, convert to usable info and show the position in some map system (like Google Maps or MS Bing Maps, by example). My problem is, how I do to retrieve that "GPS Signal" from device in the car? I will need some kind of "Receiver Device" connected to a web server machine in order to my application to consume that data?
推荐答案
大多数支持 GPRS 的车辆跟踪器都可以配置为定期将数据发送到远程服务器.不同制造商之间的协议和连接细节会有很大差异.但是,在大多数情况下,您应该能够使用服务器的 IP 地址和 TCP 端口配置跟踪设备,然后您应该在该端点设置一个应用程序来侦听来自跟踪设备的 TCP 连接.
Most GPRS-enabled vehicle trackers can be configured to send the data periodically to a remote server. The protocol and the details of the connection will vary a lot between different manufacturers. However in most cases, you should be able to configure the tracking device with the IP address and TCP port of your server, and then you should set up an application at that endpoint that listens for TCP connections from the tracking devices.
您首先应该检查的是跟踪设备的文档.它应该揭示所有这些细节.严肃的品牌甚至会提供工作示例和演示.
The first thing you should check is the documentation of the tracking device. It should reveal all these details. The serious brands will even provide working examples and demonstrations.
这篇关于开发GPS汽车跟踪系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!