IP地理定位工作如何? [英] How does IP geolocating work?

查看:146
本文介绍了IP地理定位工作如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是在寻找这样做的服务。

解决方案

将IP地址映射到地理定位是通过表完成的,其中IP地图到特定的位置。但是,这个位置并不需要准确,因为IP地址不包含任何有关其位置的信息,这些都是近似的

http://en.wikipedia.org/wiki/Geolocation_software


IP地址数据的主要来源是地区互联网注册管理机构,这些注册机构在位于各自服务区域的组织之间分配和分配IP地址:

b
$ b

  • 美国互联网号码注册局(ARIN)

  • RIPE网络协调中心(RIPE NCC)

  • 亚太网络信息中心(APNIC)
  • 拉丁美洲和加勒比互联网地址注册局(LACNIC) 非洲网络信息中心(AfriNIC)


次要来源包括:


    <李>数据minin g或用户提交的地理位置数据。例如,天气网站可能会要求访问者输入城市名称以查找其当地预测。另一个例子是将用户的IP地址与其账户信息中的地址信息配对。
  • 互联网服务提供商提供的数据。

  • 合并来自不同供应商的数据库。

  • 从邻近的C类范围[2]猜测和/或从网络中获取的数据



准确性得到改善:


  • 数据清理过滤或识别异常情况。
  • 用户提交的数据的统计分析。



I'm not looking for a service that does this. I'm just curious as to how geolocation works.

解决方案

Mapping IP addresses to geolocations is done via tables, where an IP maps to a particular location. This location, however, does't need to be accurate, since IP addresses don't carry any information about their locations, these are approximated.

From http://en.wikipedia.org/wiki/Geolocation_software:

The primary source for IP address data is the regional Internet registries which allocate and distribute IP addresses amongst organizations located in their respective service regions:

  • American Registry for Internet Numbers (ARIN)
  • RIPE Network Coordination Centre (RIPE NCC)
  • Asia-Pacific Network Information Centre (APNIC)
  • Latin American and Caribbean Internet Address Registry (LACNIC)
  • African Network Information Centre (AfriNIC)

Secondary sources include:

  • Data mining or user-submitted geographic location data. For example, a weather web site might ask visitors for a city name to find their local forecast. Another example would be to pair a user's IP address with the address information in his/her account profile.
  • Data contributed by internet service providers.
  • Merging databases from different suppliers.
  • Guesstimates from adjacent Class C range[2] and/or gleaned from network hops.

Accuracy is improved by:

  • Data scrubbing to filter out or identify anomalies.
  • Statistical analysis of user submitted data.

这篇关于IP地理定位工作如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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