US 11,671,253 B2
Data processing method and device for safe data communication and processing in IoT environments
Huifeng Tang, Shenzhen (CN); and Zhengbo Ye, Shenzhen (CN)
Assigned to SHENZHEN CHENBEI TECHNOLOGY CO., LTD., Shenzhen (CN)
Filed by SHENZHEN CHENBEI TECHNOLOGY CO., LTD., Shenzhen (CN)
Filed on Nov. 17, 2020, as Appl. No. 16/950,075.
Claims priority of application No. CN202010090218 (CN), filed on Feb. 12, 2020.
Prior Publication US 2021/0250171 A1, Aug. 12, 2021
Int. Cl. H04L 9/14 (2006.01); H04L 9/06 (2006.01); H04L 9/08 (2006.01); H04L 9/32 (2006.01)
CPC H04L 9/14 (2013.01) [H04L 9/0618 (2013.01); H04L 9/0838 (2013.01); H04L 9/0861 (2013.01); H04L 9/3226 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A data processing method implemented by a terminal device, comprising:
negotiating a first key and a second key with an IoT (Internet of things) device;
negotiating a first identifier and a second identifier with the IoT device;
encrypting a target instruction and the first identifier using the first key, to obtain a first ciphertext;
sending the first ciphertext to the IoT device through an IoT platform for the IoT device to decrypt the first ciphertext using the second key to obtain the target instruction and the first identifier, and to determine whether the first identifier matches the second identifier stored locally and come to a matching result;
receiving a second ciphertext returned by the IoT device through the IoT platform, the second ciphertext being obtained by the IoT device by encrypting the matching result using the second key;
decrypting the second ciphertext using the first key to obtain a decryption result, wherein the decryption result includes a communication invalid identifier; and
performing a corresponding operation based on the communication invalid identifier included in the decryption result, comprising: adjusting the first identifier using the second identifier to obtain an adjusted first identifier.