先附上参考链接,有空再来整理

基础知识:https://www.cnblogs.com/cnjavahome/p/9029665.html

ad域的操作:https://www.cnblogs.com/qintm/articles/1338665.html