https://www.jianshu.com/p/1cd6333128a1 讲的比较清楚
https://blog.csdn.net/weixin_39646018/article/details/110415180