IP location database

萝らか妹 提交于 2019-12-23 14:22:29

问题


There are some free databases on the internet. But it's interesting to know, in what way they are formed. Can you suggest some?


回答1:


MaxMind has a good description:

The idea behind GeoIP is simple but the process is complex. We employ user-entered location data from sites that ask web visitors to provide their geographic location. We then run millions of these datasets through a series of algorithms that identify, extract, and extrapolate location points for IP addresses.




回答2:


There isn't a formula to convert IP address to geographic location. You get some clue through whom the IP address is registered to. That isn't perfect, though. A block of addresses belonging to Google or HP may not tell you much since they are spread over many locations. Looking at the network path to reach an address (routers along the way) gives some more clues. Most geolocation databases are compiled in this fashion - using known information about neighboring IP addresses and making a best guess. Some providers will solicit information by asking you to correct their best guess of where your IP address is located.



来源:https://stackoverflow.com/questions/1884099/ip-location-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!