sequenceDiagram client->>server: connect, current infos server->>status: add connection, store infos client->>server: disconnect server->>status: remove connection, clear infos client->>server: rpc server->>server: check connection exist server->>status: get connection status->>server: return connection alt exist server->>client: rpc success else not exist server->>client: rpc failed, due to connection is not exist client->>server: connect, current infos end