protocol层 && heartbeat