IP Library Granted Patent US 8,639,929
Granted Patent B2
US 8,639,929 · App. 13/729,576 · Granted Jan 28, 2014

Method, device and system for authenticating gateway, node and server

Inventors: Yonggang Bian (Shenzhen, CN); Lunjian Mu (Shenzhen, CN); Jue Wang (Shenzhen, CN); Yongjing Zhang (Shenzhen, CN); Cheng Huang (Shenzhen, CN); Chuansuo Ding (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,639,929
App. No.
13/729,576
Granted
Jan 28, 2014
Kind
B2
Abstract

A method, device and system for authenticating gateway, node and server are provided in this invention. The node receives a message sent by a gateway, wherein the message comprises a number T 3 shared by the gateway and a server, and a gateway identification. The node encrypts data with a key K 1 shared by the node and the server, the data including T 3 , the gateway identification, and a random number T 1 generated by the node, and then sends the encrypted data and a node identification to the server through the gateway. The node decrypts data encrypted by the server and forwarded by the gateway with the key, determines that the server is a valid server according to a T 1 -related number obtained by decryption, and establishes a security channel with the gateway according to a new key obtained through the decryption.

Claims (51)

1. A method for authenticating a gateway, a node and a server, comprising:

receiving, by the node, a request message from the gateway, the request message comprising a number T 3 shared by the gateway and the server, and a gateway identification;

encrypting, by the node with a key K 1 shared by the node and the server, first data to be encrypted, including the number T 3 , the gateway identification, an indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection and a random number T 1 generated by the node, and sending the encrypted first data and a node identification to the server through the gateway;

decrypting second data, by the node, with the key K 1 , wherein the second data is data encrypted by the server and forwarded to the node by the gateway, determining, by the node, that the server is a valid server according to a T 1 -related number obtained by the decryption, and establishing a security channel with the gateway according to a new key K 2 obtained through the decryption;

generating, by the node, a key K 3 which is required by the one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection according to a random number T 2 obtained through the decryption, wherein the random number T 2 is generated by the server based on the indication of requiring one of the group consisting of (a) end-to-end confidentially and (b) integrity protection in the encrypted first data.

2. The method according to claim 1 , further comprising:

determining, by the node, that the gateway has applied a security strategy according to the gateway identification, and in response thereto, adding the indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection into the first data to be encrypted.

3. A method for authenticating a gateway, a node and a server, comprising:

receiving, by the server, first data encrypted by the node and a node identification which are forwarded through the gateway;

determining, by the server, a key shared by the node and the server according to the node identification, and decrypting the first data encrypted by the node with the key;

determining, by the server, that the node is a valid node according to a number T 3 shared by the server and the gateway, and a gateway identification obtained through the decryption, and generating a new key; and

generating a random number T 2 based on an indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection in the first data, encrypting, by the server, second data the second data comprising the new key, the random number T 2 and a T 1 -related number, with the key shared by the node and the server, and sending the encrypted second data to the node through the gateway such that the node is able to generate a key required for the one of the group consisting of (a) end-to-end confidentiality and (b) the integrity protection according to the random number T 2 .

4. A system for authenticating a gateway, a node and a server, comprising:

the node, configured to:

receive a request message sent by the gateway, the message comprising a number T 3 shared by the gateway and the server, and a gateway identification;

encrypt first data with a key K 1 shared by the node and the server, the first data including the number T 3 , the gateway identification, an indication of requiring one of the group consisting of (a confidentiality and (b) integrity protection, and a random number T 1 generated by the node;

send the encrypted first data and a node identification to the server through the gateway;

decrypt second data encrypted by the server and forwarded through the gateway with the key K 1 ;

determine that the server is a valid server according to a T 1 -related number T 1 +1 obtained by the decryption, and

establish a security channel with the gateway according to a new key K 2 obtained through the decryption;

generate a key K 3 which is required by the one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection according to a random number T 2 obtained through the decryption, wherein the random number T 2 is generated by the server based on the indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection in the encrypted first data;

the server, configured to:

receive the first data encrypted by the node and the node identification which are forwarded through the gateway;

determine the key K 1 shared by the node and the server according to the node identification;

decrypt the first data encrypted by the node with the key K 1 ;

determine that the node is a valid node according to a number T 3 shared by the server and the gateway, and the gateway identification obtained through the decryption;

generate the new key K 2 ;

generate the random number T 2 according to the indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection in the first data;

encrypt the second data with the key K 1 shared by the node and the server, the second data comprising the new key K 2 , the random number T 2 and the T 1 -related number T 1 +1; and

send the encrypted data to the node through the gateway;

the gateway, configured to:

send the request message to the node;

receive and forward the encrypted first data sent by the node; and

receive and forward the second data encrypted by the server.

5. A node, comprising a non-transitory computer-readable medium having instructions thereon for authentication, the computer-executable instructions, when executed by a processor, causing the following steps to be performed:

receiving a request message from a gateway, the request message comprising a number T 3 shared by the gateway and a server, and a gateway identification;

encrypting, with a key K 1 shared by the node and the server, first data to be encrypted, including T 3 , the gateway identification, an indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection, and a random number T 1 generated by the node;

sending the encrypted first data and a node identification to the server through the gateway;

decrypting second data, by the node, with the key K 1 , wherein the second data is data encrypted by the server and forwarded to the node by the gateway;

determining that the server is a valid server according to a T 1 -related number obtained by the decryption; and

establishing a security channel with the gateway according to a new key K 2 obtained through the decryption;

generating a key K 3 which is required by the one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection according to a random number T 2 obtained through the decryption, wherein the random number T 2 is generated by the server based on the indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection in the encrypted first data.

6. The node according to claim 5 , wherein the steps further comprise:

determining that the gateway has applied a security strategy according to the gateway identification, and in response thereto, adding the indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection into the first data to be encrypted.

7. A server, comprising a non-transitory computer-readable medium having instructions thereon for authentication, the computer-executable instructions, when executed by a processor, causing the following steps to be performed:

receiving first data encrypted by a node and a node identification which are forwarded through a gateway;

determining a key shared by the node and the server according to the node identification, and decrypting the first data encrypted by the node with the key;

determining, by the server, that the node is a valid node according to a number T 3 shared by the server and the gateway, and a gateway identification obtained through the decryption, and generating a new key; and

generating a random number T 2 according to an indication of requiring one of the group consisting of (a) end-to-end confidentiality and (b) integrity protection in the first data;

encrypting, by the server, second data, the second data comprising the new key, the random number T 2 and a T 1 -related number, with the key shared by the node and the server; and

sending the encrypted second data to the node through the gateway such that the node is able to generate a key required for the one of the group consisting of (a) end-to-end confidentiality and (b) the integrity protection according to T 2 .

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Reel/Frame 059267/0088 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 29, 2013
From: BIAN, YONGGANG; MU, LUNJIAN; WANG, JUE; ZHANG, YONGJING; HUANG, CHENG; DING, CHUANSUO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 030113/0910 →
Priority Claims (1)
CN 2010 1 0219330 · Jun 30, 2010 · national
Continuity (2)
Continuation PCTCN2011073427 · Apr 28, 2011
Related Publication 20130151852A1 · Jun 13, 2013