发明名称 Method and apparatus providing connection recovery for a chat client
摘要 A method, apparatus and computer program product for providing connection recovery for a chat client is presented. A chat session connection is established between a chat client and a server. Heartbeat messages are exchanged between the chat client and the server at predetermined time intervals. When a failure to receive a heartbeat message for longer than one of the predetermined time intervals, then a lost connection message is provided to at least one of the server and client. Messages for client are queued at the server while the connection is lost; and messages for the server are queued at the client while the connection is lost. If the connection can be re-established the queued messages are sent, otherwise the session is terminated.
申请公布号 US9591083(B1) 申请公布日期 2017.03.07
申请号 US200511287105 申请日期 2005.11.23
申请人 Avaya Inc. 发明人 Gumbula Srinivasa R.;Madisetti Sumesh
分类号 G06F15/16;H04L29/08;H04L12/26;H04L12/24;H04L29/14 主分类号 G06F15/16
代理机构 代理人
主权项 1. A computer-implemented method in which a computer system running a chat client performs operations providing connection recovery, the method comprising: requesting by said computer system a chat session connection with a server; sending, from said computer system, heartbeat messages from the computer system to said server at a predetermined time interval in a first hidden frame, keeping the heartbeat messages transparent from said chat client, wherein said sending heartbeat messages comprises sending, by said computer system, a serverPoll message to said server; receiving a return heartbeat message from the server in response to each of the heartbeat messages sent from the computer system, wherein the return heartbeat message comprises a serverPolled function callback in a second hidden frame; detecting, by said computer system, a failure to receive a serverPolled function callback for longer than one of said predetermined time intervals, indicating said chat client connection is lost; and queuing messages at said computer system while said chat session connection is lost.
地址 Basking Ridge NJ US