https://www.cnblogs.com/boshen-hzb/p/9554088.html(适合集群环境) https://blog.csdn.net/noaman_wgs/article/details/80984873#commentBox(适合单机环境)