大家好,又见面了,我是你们的朋友全栈君。
geoip
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技术使网站管理员可以使用其网站来获取有关访客位置的有用信息。 它有助于确定有关特定用户的国家,城市,区号等。 它可以基于地理位置,目标广告,Web日志和统计信息,垃圾邮件检测,基于地理位置的访问以及其他一些有益的解决方案来提供内容的自定义。
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:
GeoIP如何受益? (How can GeoIP be beneficial ?)
If you are targeting a particular geographic location ie. a state, county or country, GeoIP would analyze the visitor information and present him/er 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 upto a great extent.
为了使您的网站免受攻击和黑客攻击,您可以识别全球范围内似乎不安全的不同区域,并在服务器防火墙中阻止该区域的IP。 这是避免将来出现麻烦的更明智的方法,并且可以最大程度地减少黑客尝试。
Since advertisements are one of the preferred means of online promotions, with GeoIP technology, you can run geo-targeted ads ie. 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的使用与Google在其YouTube部分中设置的限制相关联,该限制已将地球上某些国家和地区的某些视频的访问权限限制为。 这在世界范围内被称为数字版权管理(DRM)。 任何人都可以使用GeoIP技术来实现这种受限访问。
翻译自: https://www.eukhost.com/blog/webhosting/geoip-technology-an-introduction/
geoip
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/125058.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...