IP本地化:映射IP->位置固定的时间? [英] IP localization: mapping ip->location fixed over time?

查看:158
本文介绍了IP本地化:映射IP->位置固定的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在管理一个网络平台,并希望获得一些统计数据,我的用户来自哪里。我可以存储远程IP,并且我知道有本地化服务可将IP映射到地理位置。



这个映射是如何完成的?是否有固定的表格,哪个IP地址被分配到哪个区域?



我必须在访问时请求映射吗,还是可以请求它的日/月/年后来?换句话说:从IP到位置的映射是固定的还是随时间变化的?随着时间的推移而变化。我已经读过,数据库每个月都会变化5%,尽管很难知道它们是否真的改变了那么多,或者数据库提供商是否会更频繁地出售更新。但事实是这些数据库发生了变化。所以你应该尽快获得IP地址的位置,至少不要晚于捕获IP地址一个月后。


I'm administering a web platform and want to get some statistical data, where my users come from. I can store the remote IP and I know that there are localization services that map an IP to a geolocation.

How is this mapping done? Are there fixed tables, which IP address was given to which region?

Must I request the mapping in the moment of the access or can I request it days/months/years later? In other words: Is the mapping from IP to location fixed or does it change over time?

解决方案

The mapping from IP to location change over time. I have read that the databases change 5% each month, even though its hard to know if they really change that much or if the database providers lie to sell their updates more often. But its a fact that these databases change. So you should obtain the location of an IP address asap, at least not later that a month after you captured the IP address.

这篇关于IP本地化:映射IP->位置固定的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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