http://www.cnblogs.com/chenkai/archive/2009/04/14/1435830.html
http://www.cnblogs.com/renrenqq/archive/2006/08/16/478198.html
感谢上面的高手提供的文章