Method for dynamically restoring customer machine/server session and its system
本发明公开一种用来在客户机/服务器环境中建立和维持连接的方法和系统。客户机向服务器请求连接,并且客户机和服务器协商环境选项以便建立包含恢复位置的连接,该恢复位置包括,在一个示例中,一个IP地址和端口。服务器将从客户机接收到的恢复位置存储于恢复信息文件中。响应于失掉与服务器连接,客户机检查恢复位置是否存在发自服务器的恢复通知。当服务器重起时,由服务器向存储于恢复信息文件中的恢复位置发送恢复通知。客户机接收这一恢复通知,并且无需客户机查询服务器就可以在客户机和服务器之间重建连接。 A method and system for establishing and maintaining a conn...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | 本发明公开一种用来在客户机/服务器环境中建立和维持连接的方法和系统。客户机向服务器请求连接,并且客户机和服务器协商环境选项以便建立包含恢复位置的连接,该恢复位置包括,在一个示例中,一个IP地址和端口。服务器将从客户机接收到的恢复位置存储于恢复信息文件中。响应于失掉与服务器连接,客户机检查恢复位置是否存在发自服务器的恢复通知。当服务器重起时,由服务器向存储于恢复信息文件中的恢复位置发送恢复通知。客户机接收这一恢复通知,并且无需客户机查询服务器就可以在客户机和服务器之间重建连接。
A method and system for establishing and maintaining a connection in a client/server environment is disclosed. A client requests a connection from a server, and the client and server negotiate environment options to establish the connection including a recovery location comprising, in one example, an IP address and port. The server stores the recovery location received from the client in a recovery information file. In response to losing the connection with the server, the client checks the recovery location for a recovery notification sent by the server. When the server is re-started, a recovery notification is sent by the server to the recovery location that was stored in the recovery information file. The client receives this recovery notification, and the connection between the client and the server is re-established without the need for the client to query the server. |
---|