Merge pull request #1 from whywhom/master

更改通信层接口，分为两种工作状态：
Merge pull request #2 from cmmozcw/master

Merge pull request #1 from whywhom/master