Google 如何计算我在桌面上的位置? [英] How does Google calculate my location on a desktop?

查看:26
本文介绍了Google 如何计算我在桌面上的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,这让我很困惑,我不确定你们中是否有人注意到或使用您的桌面(或没有 GPS/没有移动设备)在谷歌地图上使用我的位置"功能.如果您有一个带有谷歌齿轮的浏览器(最容易使用的是谷歌浏览器),那么当您使用标准 Wi Fi 连接到我自己的个人时,在谷歌地图的缩放功能上方会出现一个蓝色圆圈(没有登录到我的谷歌帐户)路由器和与我的 ISP 的正常互联网连接,它以某种方式设法以 100% 的准确度(此时此刻)查明我的确切位置.

Right this is confusing me quite a bit, i'm not sure if any of you have noticed or used the "my location" feature on google maps using your desktop (or none GPS/none mobile device). If you have a browser with google gears (easiest to use is Google Chrome) then you will have a blue circle above the zoom function in Google Maps, when clicked (without being logged into my Google Account) using standard Wi Fi to my own personal router and a normal internet connection to my ISP, it somehow manages to pinpoint my exact location with a 100% accuracy (at this moment in time).

它是如何做到的?他们简短地提到它这里但它并没有完全解释它,它说我的浏览器知道我在哪里......

How does it do it? they breifly mention it here but it doesn't quite explain it, it says that my browser knows where i am...

...我很困惑,怎么办?

...i am baffled, how?

我很感兴趣,因为我很想将它集成到我未来的编程项目中,就像一些背景知识一样,目前似乎还没有很好的文档记录.

I am intrigued because I would love to integrate it in the future of my programming projects, just like some background understanding and it doesn't seem too well documented at the moment.

推荐答案

我现在在东京,以前在瑞士.然而,直到几天前,我的位置并没有准确地确定,除了在广阔的东京地区.今天我试过了,我似乎在瑞士.怎么样?

I am currently in Tokyo, and I used to be in Switzerland. Yet, my location until some days ago was not pinpinted exactly, except in the broad Tokyo area. Today I tried, and I appear to be in Switzerland. How?

秘密是我现在通过无线连接,并且我的无线路由器已在瑞士的一个非常准确的区域识别(感谢当时与我周围的其他 wifis 的关联).现在,我的wifi搬到了东京,但是被查询的系统仍然认为wifi路由器在瑞士,因为要么它现在没有关于我周围的其他wifi的信息,要么它无法整理出冲突的信息(即具体信息关于我的 wifi 路由器与我的 ip 地理位置的对比,这将我定位在远东).

Well the secret is that I am now connected through wireless, and my wireless router has been identified (thanks to association to other wifis around me at that time) in a very accurate area in Switzerland. Now, my wifi moved to Tokyo, but the queried system still thinks the wifi router is in Switzerland, because either it has no information about the additional wifis surrounding me right now, or it cannot sort out the conflicting info (namely, the specific info about my wifi router against my ip geolocation, which pinpoints me in the far east).

所以,为了回答你的问题,谷歌或他的某人,做了战争驾驶",映射了 wifi 的存在.每次对系统执行查询时(可能符合 W3C 草案geolocation API)您的计算机发送它看到的 wifi 标识符,系统会做两件事:

So, to answer your question, google, or someone for him, did "wardriving" around, mapping the wifi presence. Every time a query is performed to the system (probably in compliance with the W3C draft for the geolocation API) your computer sends the wifi identifiers it sees, and the system does two things:

  1. 如果您通过的某些 wifi 的地理位置存在,则查询其数据库,如果找到,则返回导向"位置,如果存在强度,则最终使用三角测量.周围的 wifi 网络越多,定位的准确性就越高.
  2. 将您看到的当前不在数据库中的其他网络添加到其数据库中,以便以后重复使用.

如您所见,系统自行构建.您唯一需要的是良好的播种.之后,它以50 米的块"(新发现的 wifi 连接的范围)扩展.

As you see, the system builds up by itself. The only thing you need is good seeding. After that, it extends in "50 meters chunks" (the range of a newly found wifi connection).

当然,如果您真的希望系统发挥作用,您可以开始在全球范围内与无全球定位运动的革命者们交换 wifi 路由器.

Of course, if you really want the system go banana, you can start exchanging wifi routers around the globe with fellow revolutionaries of the no-global-positioning movement.

这篇关于Google 如何计算我在桌面上的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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