简体   繁体   English

是否可以将GPS系统集成到asp.net Web应用程序中?

[英]Is it possible to integrate GPS system in an asp.net web application?

One of my client wants to track his cars/cabs from his own house... So i thought of getting help from our fellow users of SO... Is it possible to integrate GPS system in an asp.net web application? 我的一个客户希望从他自己的房子跟踪他的汽车/出租车......所以我想从我们的SO用户那里得到帮助......是否有可能将GPS系统集成到asp.net网络应用程序中? If so,How to get started... 如果是这样,如何开始......

EDIT: Any webservice that does it for me? 编辑:任何为我做的网络服务? Should i use google maps api? 我应该使用谷歌地图API吗? I dont know where to start.. Any suggestion.. 我不知道从哪里开始..任何建议..

Most GPRS-enabled vehicle trackers can be configured to send the position data periodically to a remote server. 大多数支持GPRS的 车辆跟踪器可以配置为定期将位置数据发送到远程服务器。 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. 但是,在大多数情况下,您应该能够使用服务器的IP地址和TCP端口配置跟踪设备,然后应在该端点设置一个应用程序,用于侦听来自跟踪设备的TCP连接。 This back-end application can then push the data it receives into a database, from where your ASP.NET web application would be able to retrieve the data. 然后,这个后端应用程序可以将它接收的数据推送到数据库中,ASP.NET Web应用程序可以从中检索数据。

The first thing you should check is the documentation of the tracking device, if this was already chosen by your client. 您应该检查的第一件事是跟踪设备的文档,如果您的客户已经选择了该文档。 The serious brands will even provide working examples and demonstrations. 严肃的品牌甚至会提供工作实例和演示。

When you solve that part, and you start getting the data in the database, it will be a matter of serving the information from the database through your ASP.NET web application. 当您解决该部分并开始获取数据库中的数据时,将通过ASP.NET Web应用程序从数据库提供信息。 To have the vehicles moving in real-time, you should probably look into AJAX or long-polling or SignalR. 要让车辆实时移动,您应该考虑使用AJAX长轮询或SignalR。

As for Google Maps, note that the you cannot use the free version for vehicle tracking. 至于谷歌地图,请注意您不能使用免费版本进行车辆跟踪。 Article 10.9.C of Google Maps API Terms and Conditions explicitly prohibits using the standard (free) Google Maps API for non-public fleet management and asset tracking. Google Maps API条款和条件第10.9.C条明确禁止使用标准(免费)Google Maps API进行非公共车队管理和资产跟踪。 You would need the Google Maps API Premier to legally use Google Maps for these kinds of applications. 您需要Google Maps API Premier合法地将Google地图用于此类应用程序。

As an additional side-note, according to one unofficial source (dated April 2008), the Premier API for vehicle tracking would cost USD 10,000 per year, which entitles you to track 100 vehicles. 根据一个非官方消息来源 (日期为2008年4月),作为额外的附注,用于车辆跟踪的Premier API每年将花费10,000美元,这使您有权追踪100辆车。 If you exceed the 100 vehicles, you would need to add USD 24 per additional vehicle per year. 如果超过100辆车,则每年每辆车需要增加24美元。

The GPS Gate server does exactly what you want I think. GPS Gate服务器正是您想要的。 Combine it with any of the compatible trackers and you can track several vehicles for no cost. 将它与任何兼容的跟踪器结合使用,您可以免费跟踪多辆车。 It's very comprehensive, well written, stable software. 它是非常全面,编写良好,稳定的软件。 It's free for up to 5 vehicles, but after that you need a commercial license. 它最多可免费提供5辆车,但之后您需要获得商业许可证。

If any functionality you need is missing, you can extend it with a plugin (lots of different types of plugin are supported), or even make your own interface to the data it collects (which is stored in a SQL database). 如果缺少您需要的任何功能,您可以使用插件扩展它(支持许多不同类型的插件),甚至可以为它收集的数据创建自己的接口(存储在SQL数据库中)。

The simple answer is yes you can ! 简单的答案是yes you can Look at this link to give you an idea how this works. 请查看此链接 ,了解其工作原理。 There are many techniques and this web page explains how you can utilise this type of technology. 有许多技术,这个网页解释了如何利用这种技术。 Howeever you are still going to need to expose some web services and then provide a Google map on webpage that updates its self via AJAX every x seconds. 然而,您仍然需要公开一些Web服务,然后在网页上提供一个Google地图,每隔x秒通过AJAX更新一次。

What Is Personal GPS Tracking? 什么是个人GPS跟踪?

Personal Tracking is a system, where a person or an commodity can be tracked using devices that are integrated with Global positioning System (GPS) and Global Service for Mobiles (GSM). 个人跟踪是一种系统,其中可以使用与全球定位系统(GPS)和全球移动服务(GSM)集成的设备来跟踪个人或商品。

You can carry it in your pocket like mobile phone or can install it in your car to get the location on SMS or web based services provided by GPS Integrated. 您可以将它放在口袋里,如手机,也可以将其安装在车内,以获得GPS Integrated提供的短信或网络服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将条形码扫描器集成到ASP.NET Web应用程序中? - How to integrate barcode scanner into an ASP.NET Web application? 将CMS集成到ASP.NET MVC Web应用程序中? - Integrate CMS into ASP.NET MVC web application? ASP.NET Core Web 应用程序集成 TcpSockets - ASP.NET Core Web Application integrate TcpSockets 将Delphi ISAPI DLL集成到ASP.NET Web应用程序中 - Integrate Delphi ISAPI DLL into an ASP.NET web application 是否可以将FingerPrint阅读器与asp.net集成? - Is it possible to integrate FingerPrint reader with asp.net? 是否将ASP.NET Razor网站(例如MiniBlog)集成为ASP.NET MVC Web应用程序的模块? - Integrate an ASP.NET Razor Web Site (e.g. MiniBlog) as a module of an ASP.NET MVC Web Application? 将ASP.Net Core集成到WPF应用程序中 - Integrate ASP.Net Core into an WPF application 是否可以使用 Roslyn 构建 ASP.Net Core Web 应用程序? - Is that possible to build an ASP.Net Core web application using Roslyn? 是否可以在C#ASP.NET Web应用程序中执行此操作? - Is it possible to do this in a C# ASP.NET Web Application? 如何将Autofac和Log4Net与ASP.NET Web API 2应用程序集成 - How to Integrate Autofac and Log4Net with ASP.NET Web API 2 Application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM