http://hi.baidu.com/moveable_feast/item/b586c53a10f02e48023edcab
实现
http://www.oschina.net/code/snippet_54334_882