A communication device and its method and system for negotiating a key with a terminal
A technology of a communication device and terminal, applied in the field of communication security, can solve the problems of low security, easy to be stolen or monitored, and the basic security of smart home is not highly valued, and achieve the effect of improving security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Embodiment 1 of the present invention provides a method for negotiating a key between a communication device and a terminal; the communication device is used for interactive communication between the smart door lock and the terminal. Before this method, the terminal and the communication device perform an initialization process. During the initialization process, the terminal Generate a second symmetric key and store it corresponding to the symmetric key ID, the communication device generates a first symmetric key and store it correspondingly to the symmetric key ID, the first symmetric key is the same as the second symmetric key; the method is as follows figure 1 shown, including the following steps:
[0057] Step 101: the terminal generates a first random number; sends the first random number and the preset symmetric key ID to the communication device;
[0058] Optionally, before step 101, the following steps are also included:
[0059] Step A1: The terminal connects...
Embodiment 2
[0118] The second embodiment provides a method for negotiating a key between a terminal and a communication device. The communication device is used for interactive communication between the smart door lock and the terminal, such as figure 2 shown, including the following steps:
[0119] Step E1: The communication device receives the first random number and the symmetric key ID sent by the terminal, retrieves the first symmetric key stored corresponding to the symmetric key ID according to the received symmetric key ID; generates a second random number; A symmetric key, the second random number and the received first random number to obtain the first ciphertext data; sending the second random number and the first ciphertext data to the terminal;
[0120] Optionally, in step E1, the first ciphertext data is obtained according to the first symmetric key, the second random number and the received first random number, specifically:
[0121] The communication device calculates th...
Embodiment 3
[0148] The third embodiment provides a method for negotiating a key between a communication device and a terminal. The communication device is used for interactive communication between the smart door lock and the terminal, such as image 3 shown, including the following steps:
[0149] Step 301: The terminal performs a Bluetooth connection with the communication device, and when the Bluetooth connection is successful, execute step 302;
[0150] Optionally, the terminal and the communication device can also be connected through other communication methods, such as ZigBee;
[0151] Step 302: the terminal generates and saves the first private key and the first public key; generates a key exchange request according to the first public key, and sends the key exchange request to the communication device;
[0152] For example, the first private key includes 32 bytes, which is A8992255B6CB2276A8CFDB786FD6FBCABFE20D355787914327D8E717BB43FCFE;
[0153] The first public key includes 6...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


