**原理:**http://www.cnblogs.com/JVxie/p/4854719.html https://blog.csdn.net/jeryjeryjery/article/details/52829142