METHOD AND APPARATUS FOR RECOVERING SESSIONS
First Claim
1. A method for recovering sessions, comprising:
- when a session needs to be recovered upon interruption, sending, by a client, all state information before the interruption of the session and session information of the session to a server; and
recovering, by the server, the session upon the session information and all the state information before the interruption of the session.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for recovering sessions includes storing, by a client, session information after a session is established between the server and the client. When the session needs to be recovered upon interruption, the client sends all state information before interruption of the session and the session information to the server, and the server recovers the session upon the received session information and all state information before interruption of the session. After a session is interrupted, the server does not need to store any session-related information, thus saving the resources of the server, and all information about the previous session can be recovered completely.
-
Citations
17 Claims
-
1. A method for recovering sessions, comprising:
-
when a session needs to be recovered upon interruption, sending, by a client, all state information before the interruption of the session and session information of the session to a server; and recovering, by the server, the session upon the session information and all the state information before the interruption of the session. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for recovering sessions, comprising:
-
encrypting, by a server, session information of a client to generate first encrypted information through a local key when a session is established between the server and the client, wherein the first encrypted information comprises the session information and a first key shared between the client and the server; and
sending the first encrypted information to the client;receiving the first encrypted information and second encrypted information sent by the client when the session needs to be recovered upon interruption, wherein the second encrypted information is generated, by the client, through encrypting all state information before the interruption of the session with the first key; decrypting the first encrypted information with the local key to obtain the first key and the session information; and decrypting the second encrypted information with the first key to obtain the state information before the interruption of the session and recover the session. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. An apparatus for recovering sessions, comprising:
-
a first encrypting unit, configured to;
encrypt session information of a session with a first key to generate first encrypted information when the session is established between the apparatus and a client, wherein the first encrypted information comprises a second key shared by the apparatus and the client, the first key is privately owned by the apparatus, and the client is unaware of the first key;a first sending unit, configured to send the first encrypted information to the client; a first receiving unit, configured to receive second encrypted information and the first encrypted information when the session between the apparatus and the client needs to be recovered upon interruption, wherein the second encrypted information is generated by encrypting all state information before interruption of the session with the second key; a first decrypting unit, configured to decrypt the first encrypted information received by the first receiving unit through the first key and obtain the second key; and a second decrypting unit, configured to decrypt the second encrypted information with the second key to obtain all state information before interruption of the session and recover the session. - View Dependent Claims (17)
-
Specification