| CPC H04L 63/0471 (2013.01) [H04L 9/0872 (2013.01); H04L 9/14 (2013.01)] | 15 Claims |

|
1. A communication method, being applicable to an Internet of Things (IoT) terminal, comprising:
acquiring first time information and a first mask;
generating a first pointer based on the first time information and the first mask;
searching for a first key from a key table based on the first pointer;
encrypting identity information of the IoT terminal using the first key, and sending the encrypted identity information of the IoT terminal and the first time information to a gateway device;
wherein the generating the first pointer based on the first time information and the first mask comprises:
performing an exclusive OR (XOR) operation on the first time information and the first mask; and
acquiring the first pointer by taking a remainder of a result of the XOR operation to N, N being a dimension parameter of the key table.
|