改善消息处理逻辑.

Signed-off-by: jack <jack.wgm@gmail.com>