参考链接:
http://blog.csdn.net/acm_cxlove/article/details/8565309
http://www.cnblogs.com/Rlemon/archive/2013/05/24/3096264.html
http://seter.is-programmer.com/posts/31907.html
http://blog.csdn.net/metalseed/article/details/8045038