参考博客地址:
1.http://www.leixuesong.cn/1891
2.http://www.cnblogs.com/xiaochaohuashengmi/archive/2011/03/15/1985084.html