通过 Wi-Fi 确定位置
有没有办法可以确定通过无线网络接入点连接到路由器的笔记本电脑/手机的位置? (我不想使用 GPS...只想使用接入点)。
Is there a way that I can determine a location of a laptop/phone connected to my router via a wireless network access point? (I do not want to use GPS... only the access point).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不。但是让我们来看看原因。
如果您可以从路由器获取指标(这可能或不可能),您就可以获得信号强度。这会给你一个圆圈。但是,这是有限的,因为您还需要知道 WiFi 卡的强度来确定大致距离。但是,您可能知道路由器工作的粗略距离或最大圆,所以这不是很有用。
但是,如果您有多个接入点,则可以使用三角测量。如果有两个,信息就有限;三个或更多将为您提供更准确的距离,并允许您推断信号的强度。
No. But let's examine why.
If you can get the metrics from the router, which might or might not be possible, you can get the signal strength. This will give you a circle. But, this is limited, as you also need to know how strong the WiFi card is to determine rough distance. But, you probably know the rough distance your router works under, or the max circle, so this is not very useful.
If you have more than one access point, however, you can use triangulation. With two, the information is limited; three or more will give you a more accurate distance and allow you to extrapolate the strength of the signal.
没有。您也许能够估计出它的距离,但如果您在建筑物内,即使这样也是不可能的。各种建筑材料都会衰减信号,因此响应是非线性的。如果您的路由器有两个独立的天线,并且您可以独立测量每个天线的信号强度,那么您可能有机会了解方向,但我怀疑信号分辨率是否足够高为您提供任何有意义的数据。
Nope. You might be able to estimate its distance away, but even that is not likely if you're inside a building. Various building materials attenuate the signal, so the response is non-linear. If your router has two separate antennas, and you can measure the signal strengh from each independently, then you might have a chance of getting a feel for the direction, but I doubt the signal resolution will be high enough to give you any meaningful data.
是的。然而,您将需要多个接入点和一些重要的软件。
Wi-Fi 网络中基于位置的服务有许多可用和正在开发的解决方案。正如 Gregory 上面提到的,单个 AP 除了糟糕的范围估计之外什么都做不了,但是多个 AP 通常不使用三角测量来确定位置解决方案,它们使用经过训练的隐马尔可夫模型。
Yes. However you'll need more than one Access Point and some serious software.
There are a number of solutions available and in-development for Location Based Services in Wi-Fi Networks. As Gregory mentioned above a single AP is not enough to do anything but poor range estimation, however multiple APs do not typically use triangulation to determine the location solution, they use a trained Hidden Markov Model.