参考资料:
http://www.cnblogs.com/vongang/archive/2012/04/01/2429015.html
http://wenku.baidu.com/view/bac23be1c8d376eeafaa3111.html?from=search###