The invention relates to a method for verifying the accuracy of IP address repositories. The IP address repositories are divided into multiple IP address repositories. The data in the IP address repositories are sorted out in a uniform format and used as the number of reference IP addresses for comparison. Finally, the coverage and coincidence rates of different levels in these repositories are separately determined. Statistics, storage and induction are carried out respectively, and their relative credibility is evaluated. It is found that the coincidence rate of different IP address libraries at different levels is high or low, and the relationship between the coincidence rate and the credibility of address libraries can be found. When there is no fully trusted IP address libraries, multiple IP address libraries can also be overlaid. Comparing different dimensions such as coverage rate and coincidence rate, and pointing out the differences and rules existing in these IP address libraries, this paper provides a reference method for finding relatively trusted IP address libraries and improving the accuracy of IP location through IP address libraries.
【技术实现步骤摘要】
一种验证IP地址资源库精准度的方法
本专利技术涉及数据库的数据评估技术,具体涉及一种验证IP地址资源库精准度的方法。
技术介绍
IP库(也叫IP地址数据库),是由专业技术人员经过长时间通过多种技术手段收集而来的,并且长期有专业人员进行更新、维护、补充。IP库里面存放了大量的IP地址,方便用户查询,比如,知道了某个IP,就可以查到这个电脑在哪个省那个市哪条街甚至哪个网吧反之,知道了一个地方,也可以查看这个地方有哪些IP段。用户在访问网站输入的域名,会在服务器中解析成IP,最终访问IP呈现出网站的内容,那么,把域名变成IP就是通过DNS解析来实现的。通常情况下,一个域名会解析出一个或者多个IP地址,多个IP就会形成IP地址资源库。在CDN业务中,需要根据CDN节点服务质量,将域名解析为服务质量最优的IP地址,因此IP地址库的精准性直接关系到CDN所提供服务的质量。一般来说,一条IP地址库的记录都包含了一个IP地址段,并且每个IP地址段都关联到其他用于定位的信息:包括国家编码、城市、经纬度坐标及邮政编码等。目前国内有很多个各自独立的IP地址库,各IP地址库主要存在如下几 ...
【技术保护点】
1.一种验证IP地址资源库精准度的方法,其特征在于:将IP地址资源库划分为多个IP地址库,将IP地址库内的数据均按照统一的格式进行整理,具体为,IP地址块划分成前缀为24位的IP地址段,IP地址块映射的地理位置信息按照县及县级以上行政区划代码进行标记;然后对这些IP地址库的IP地址段取并集,在取得并集后,将其用来作为对比的基准IP地址数,最后分别对这些库中不同级别的覆盖率以及重合率分别进行统计、存储和归纳,并评估他们之间的相对可信度。
【技术特征摘要】
1.一种验证IP地址资源库精准度的方法,其特征在于:将IP地址资源库划分为多个IP地址库,将IP地址库内的数据均按照统一的格式进行整理,具体为,IP地址块划分成前缀为24位的IP地址段,IP地址块映射的地理位置信息按照县及县级以上行政区划代码进行标记;然后对这些IP地址库的IP地址段取并集,在取得并集后,将其用来作为对比的基准IP地址数,最后分别对这些库中不同级别的覆盖率以及重合率分别进行统计、存储和归纳,并评估他们之间的相对可信度。2.根据权利要求1所述的一种验证IP地址资源库精准度的方法,其特征在于:当多个数据库的IP地址段进行合并操作完成以后,再用每个数据库的IP地址信息与基准IP地址数据进行比较,分别得到各个数据库在国家、身份和城市3个不同级别上的覆盖率,并评估他们之间的相对可信度。3.根据权利要求2所述的一种验证IP地址资源库精准度的方...
【专利技术属性】
技术研发人员:刘晓光,汪志武,赵子毅,温伟球,
申请(专利权)人:北京云端智度科技有限公司,
类型:发明
国别省市:北京,11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。