您现在的位置是:首页 > 文章详情

ip2region 2.11.0 发布 - 数据更新 & xdb 数据编辑器

日期:2022-12-08点击:432

ip2region (2.0 - xdb) 是一个离线的 IP 数据管理框架和定位库,支持亿级别的 IP 断管理,10 微秒级别的查询性能,提供了很多主流编程语言的 xdb 数据格式的生成和查询实现。

ip2region 2.11.0 具体更新:

1、增加 golang 实现的 xdb 数据编辑器,利用该编辑器可以非常方便的进行 IP 数据的修改或者批量更新,如下:

 ➜ golang git:(master) ./xdb_maker edit --src=../../data/ip.merge.txt init the editor from source @ `../../data/ip.merge.txt` ... all segments loaded, length: 683844, elapsed: 446.885102ms command list: put [segment] : put the specifield $segment put_file [file] : put all the segments from the specified $file list [offset] [size] : list the first $size segments start from $offset save : save all the changes to the destination source file quit : exit the program help : print this help menu editor>> 

使用文档可以参考 ReadMe 或者 https://mp.weixin.qq.com/s/cZH5qIn4E5rQFy6N32RCzA 中的演示视频

2、更新 xdb 的数据,这不是一个全局的更新,而是融合社区的修正数据发的版本,感谢如下三个 issue 提供的数据修正:

 https://github.com/lionsoul2014/ip2region/issues/196 ​​​​​​​https://github.com/lionsoul2014/ip2region/issues/200 https://github.com/lionsoul2014/ip2region/issues/243

3、发布利用社区数据进行一定量的数据更新方案,具体可以参考:https://mp.weixin.qq.com/s/cZH5qIn4E5rQFy6N32RCzA

4、golang / java maker 以及查询客户端的优化更新
 

ip2region 2.11.0 下载地址:

Gitee:https://gitee.com/lionsoul/ip2region/tree/v2.11.0

Github:https://github.com/lionsoul2014/ip2region/releases/tag/v2.11.0

原文链接:https://www.oschina.net/news/221024/ip2region-2-11-0-released
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章