| CPC H04L 63/08 (2013.01) [H04L 63/061 (2013.01); H04L 63/18 (2013.01); H04L 67/141 (2013.01)] | 20 Claims |

|
1. A method implemented by a first device, wherein the method comprises:
establishing a data channel with a second device;
updating a current session key based on a preset period;
receiving an obtaining request from the second device through the data channel;
sending, in response to the obtaining request, a first session key to the second device through the data channel, wherein the first session key is the current session key at the time the first device receives the obtaining request;
establishing a first network channel with the second device;
identifying whether a second session key is received through the first network channel within a first preset duration;
when the second session key is received within the first duration, detecting whether the second session key is the same as the first session key;
sending response information to the second device through the first network channel when the second session key is the same as the first session key and responsive to a request from the second device; and
closing the first network channel when the second session key is not received within the first preset duration.
|