参照连接:http://blog.csdn.net/wangjinyu501/article/details/8763552
http://yuanzhifei89.iteye.com/blog/1009139