Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
itbdw authored Nov 6, 2020
1 parent 057e6f0 commit 7ab3280
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# 说明
## 说明

这套识别程序的数据库是免费IP数据库、IP离线地址库。输入IP,输出结构化的国家、省、市、县、运营商、地区信息)

0,该数据库识别是离线的。

1,该数据库基于纯真IP库,IP地址纠错相关请直接去纯真官网,下面有给出地址。纯真IP地址库,不可以用作商业用途,具体见 LICENSE。

2,纯真IP识别算法来源网络。

3,结构化程序来自我2012年的脑洞。

纯真IP已从03年开始存在多年且一直免费,实属不易。因为数据存储时,并不是结构化的,因此有误差在所难免。这个结构化程序,国内 ip 可以识别出省份,基本可以识别出市。运营商、县数据看运气。
Expand Down Expand Up @@ -80,7 +83,7 @@ php tests/ip.php -i 58.196.128.0
### 附带的数据库文件更新日期
2020年9月30日更新

### 在线直接更新(暂时无效,带宽压力
### 在线直接更新(暂时无效,存在带宽压力限制了

更新到源码目录
`php ~/bin/update-ip.php`
Expand All @@ -104,14 +107,15 @@ http://www.cz88.net/ip/ 下载数据库程序(Windows 环境),执行完毕
如果这个不能满足,可以参考各种免费、收费数据库。

1,比较推荐高春辉维护的,有免费版本 http://www.ipip.net/index.html

2,阿里云昂贵的数据库 https://www.aliyun.com/product/dns/geoip

## 更新日志

```
IP 地理位置查询类
2020-11-07 赵彬言 1,只是更新文档,更新数据库。无它。自动更新暂时无法使用。
2020-11-07 赵彬言 1,只是更新文档,更新数据库。无它。自动更新暂时无法使用。
2019-07-25 赵彬言 1,增加自动更新功能,参考 https://blog.shuax.com/archives/QQWryUpdate.html 感谢 https://github.com/itbdw/ip-database/issues/10
Expand Down

0 comments on commit 7ab3280

Please sign in to comment.