基于IP地址或其他可能的方式在笔记本电脑上确定位置? [英] Location determination on a laptop based on IP address or other possible ways?

查看:208
本文介绍了基于IP地址或其他可能的方式在笔记本电脑上确定位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在笔记本电脑上工作时,如何确定我的确切位置?我正在设计一个Web应用程序,它根据位置返回搜索结果。我宁愿在客户端使用他的IP地址使用应用程序时自动确定位置,而不是要求客户输入他的位置。准确度必须至少在10英里以内。

How do I determine my exact location when I'm working on a laptop? I'm designing a web app which throws back search results based on location. Rather than asking the client to enter his location, I would prefer if it was possible for determine the location automatically when the client is using the app using his IP address. Level of accuracy must be within 10 miles at-least.

推荐答案

没有办法用你要求的那种分辨率可靠地做到这一点。



对于手机而言,由于在手机信号塔上使用Cell Ids,原则上是可行的 - 但是使用笔记本电脑可以使用Wifi或有线网络或连接到手机 - 所以你可能得到的最好的就是来自ISP的IP.



那里有WiFi热点的数据库(谷歌从他们的谷歌相机卡收集数据,你也可以用耳机拍打手腕)从中你可以确定笔记本电脑在WiFi上的位置(假设它是在数据库中的WiFi)
There is no way to do it reliably with the sort of resolution you're asking.

With cell phones it is in principal possible due to the use of Cell Ids on cellphone towers - but with a laptop you could be on Wifi or wired network or tethered to a phone - so the best you could probably get would be the from Ip of the ISP

There are databases of WiFi hotspots out there (Google collected data from their Google Camera Cards, for which they got slapped wrists too) from which you could determine the location of a laptop on WiFi (assuming it's WiFi is in the database)


你好b $ b

当我们使用互联网时,我们获得了IP地址,但它可以是有效或无效的地址,因此,如果您想查找,您的笔记本电脑的位置与IP地址,您需要识别ISP(互联网服务提供商)与此IP添加ress,虽然我们假设我们的IP地址是有效的,但下一步是访问有关此IP地址的一些信息,如MAC地址和路由表以及ISP数据库上的实验室实验室,但它们确实是安全性和关键信息。 ISP。

所以你可以猜测这是不可能的解决方案,我建议你使用GPS设备或相关技术;)



最好的问候。
Hi
When we used the internet we get the IP Address but it can be valid or invalid address, thus if you want to the find, position of your laptop with the IP address you need to identify ISP(Internet Service Provider) with the this IP Address,Although we assume our IP Address is the valid,so the next step is the access some information about this IP Address same as MAC Address and routing tables and lab lab lab on the ISP database however they are really security and critical information for the ISP.
So you can guess it is impossible solution for your purpose, I suggest to you used the GPS equipment or related technology ;)

Best Regards.


无法从IP地址找到物理地址,但你可以到达附近的城市。
It is impossible to find out physical address from IP address but you can get their nearby city.


这篇关于基于IP地址或其他可能的方式在笔记本电脑上确定位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆