http://www.cnblogs.com/nier/archive/2012/03/18/2404836.htmlhttp://blog.csdn.net/mickey_miki/article/details/8240477