The GeoIP technology enables a webmaster to grab useful information about the location of the visitors using their website. It helps in determining the country, city, area code etc. about a specific user. It can deliver customization of content based on the geographical location, targeted advertisements, web logs and statistics, spam detection, geo-location based access and some other beneficial solutions.
GeoIP 技术使网站管理员能够利用他们的网站获取有关访问者位置的有用信息。它有助于确定国家,城市,地区代码等特定用户。它可以根据地理位置、有针对性的广告、网络日志和统计数据、垃圾邮件检测、基于地理位置的访问和其他一些有益的解决方案提供定制内容。
Though, there can be multiple methods of implementing it, but its usage as an Apache module is one of the widely used alternatives. An enhanced functionality can be achieved with the installation of Apache module for GeoIP mod_geoip.
虽然可以有多种方法来实现它,但是将它作为 Apache 模块使用是广泛使用的替代方法之一。通过为 GeoIP mod _ GeoIP 安装 Apache 模块,可以实现增强的功能。
GeoIP is basically a paid database that is capable of mapping IP addresses to their respective locations which includes the country, ISP and city. The APIs offered by MaxMind can be integrated with C, Java and PHP for accessing the GeoIP database, which can further simplify your process of using the data in your applications.
GeoIP 基本上是一个付费数据库,能够将 IP 地址映射到各自的位置,包括国家、 ISP 和城市。MaxMind 提供的 api 可以与 c、 Java 和 PHP 集成,用于访问 GeoIP 数据库,这可以进一步简化在应用程序中使用数据的过程。
More information on GeoIP can be found at its site here.
更多关于 GeoIP 的信息可以在这里找到。
Leaving out the technical details, lets see where GeoIP can be used:
去掉技术细节,让我们看看 GeoIP 可以在哪里使用:
If you are targeting a particular geographic location i.e.. a state, county or country, GeoIP would analyze the visitor information and present him/her with the appropriate webpage. For example: if you have a business website which sells products of services to consumers in the UK and the US, then using the GeoIP technology, you’ll be able to show the relevant pages to the visitors browsing your website with the correct sort of pages. Choosing an affordable web hosting provider offering servers in the targeted geographic location or nearer should be a better choice to suffice your needs as well.
如果你的目标是一个特定的地理位置。无论是州、县还是国家,GeoIP 都会分析访问者的信息,并提供相应的网页。例如: 如果你有一个商业网站,向英国和美国的消费者销售服务产品,然后使用 GeoIP 技术,你就能够向浏览你网站的访问者显示相关的页面和正确的页面排序。选择一个负担得起的网络托管提供商提供服务器在目标地理位置或更近应该是一个更好的选择,以满足您的需要以及。
In order to keep your website secure from attacks and hacks, you can identify different regions on the globe which you seem insecure and block the IP’s from there in your server firewall. This can be a smarter way to avoid any future hassles and hacking attempts can be reduced up to a great extent.
为了保证你的网站免受攻击,你可以在全球范围内找到你看起来不安全的不同区域,然后在你的服务器防火墙中阻止 IP 的访问。这是一个更聪明的方法,可以避免任何未来的麻烦和黑客攻击企图可以在很大程度上减少。
Since advertisements are one of the preferred means of online promotions, with GeoIP technology, you can run geo-targeted ads i.e. displaying ads that are relevant to providers of the region closer to the user. Hence allowing you to achieve a better click-through rate.
由于广告是在线促销的首选手段之一,利用 GeoIP 技术,你可以运行定位广告,即显示与该地区的供应商更接近用户的相关广告。因此,让你实现一个更好的点进率。
Moreover, GeoIP is smart enough to detect proxy servers, a service known as minFraud can be useful in such detections. It monitors the behavior of a user using a particular IP and keeps a history in its database.
此外,GeoIP 足够智能,可以检测代理服务器,一种名为 minFraud 的服务可以在这种检测中发挥作用。它监视使用特定 IP 的用户的行为,并在其数据库中保存历史记录。
One can relate the use of GeoIP to the restriction set by Google in its YouTube section, where it has restricted the access to certain videos to certain countries and regions on the planet. This is world over referred as Digital Rights Management (DRM). Such a restricted access can be achieved by anyone by using the GeoIP technology.
我们可以把 GeoIP 的使用和谷歌在 YouTube 上设置的限制联系起来,谷歌在 YouTube 上限制某些国家和地区访问某些视频。这就是全世界所说的数字版权管理(DRM)。任何人都可以通过使用 GeoIP 技术实现这种受限制的访问。