Method for communication between devices and devices thereof
AssigneeSamsung Electronics Co., Ltd.
InventorsSe-il Kim, Dong-chan Kim, Mi-suk Huh
Life of this patent
Estimating the term…
Abstract
Disclosed is a method of performing, by a first device, short-range wireless communication with a second device, the method including receiving, from the second device, second authentication information encrypted using first authentication information of the first device, decrypting the encrypted second authentication information by using the first authentication information, determining a secret key based on the decrypted second authentication information, and performing communication between the first device and the second device by using the determined secret key.
Claims11
A method comprising:
- transmitting, by a first electronic device to a second electronic device, a first public key;
- encrypting, by the second electronic device, a second public key based on the first public key;
- obtaining, by the first electronic device from the second electronic device, the encrypted second public key that was encrypted using the transmitted first public key;
- decrypting, by the first electronic device, the encrypted second public key by using the first public key;
- generating, by the first electronic device, a secret key based on a first private key and the second public key;
- obtaining, by the first electronic device from the second electronic device, an encrypted network key, wherein a network key is encrypted based on a secret key generated, at the second electronic device based on the first public key and a second private key;
- decrypting, by the first electronic device, the encrypted network key by using the secret key;
- establishing an encrypted communication channel between the first electronic device and the second electronic device by using the network key;
- and
- performing communication, by the first electronic device, with the second electronic device by using the encrypted communication channel.
A first electronic device comprising:
- a communication interface configured to perform short-range wireless communication with a second electronic device;
- and
- a hardware processor configured to:
- control the communication interface to transmit a first public key to the second electronic device;
- obtain, from the second electronic device, a second public key encrypted using the transmitted first public key;
- decrypt the encrypted second public key by using the first public key;
- generate a secret key based on a first private key and the second public key;
- obtain, from the second electronic device, an encrypted network key, wherein a network key is encrypted based on a secret key generated, at the second electronic device based on the first public key and a second private key;
- decrypt the encrypted network key by using the secret key;
- establish an encrypted communication channel between the first electronic device and the second electronic device by using the network key;
- and
- control the communication interface to perform communication with the second electronic device by using the encrypted communication channel.
A second electronic device comprising:
- a communication interface configured to perform short-range wireless communication with a first electronic device;
- and
- a hardware processor configured to:
- control the communication interface to obtain a first public key from the first electronic device;
- encrypt a second public key based on the obtained first public key;
- control the communication interface to transmit, to the first electronic device, the encrypted second public key;
- generate a secret key based on the first public key and a second private key;
- encrypt a network key based on the secret key;
- control the communication interface to transmit the encrypted network key to the first electronic device;
- establish an encrypted communication channel between the first electronic device and the second electronic device by using the network key;
- and
- perform communication with the second electronic device using the encrypted communication channel.
A non-transitory computer-readable recording medium having recorded thereon computer program instructions, which when executed by a processor of a first electronic device, controls the processor to:
- control a communication interface of the first electronic device to transmit a first public key to a second electronic device;
- obtain, from the second electronic device, a second public key encrypted using the transmitted first public key;
- decrypt the encrypted second public key by using the first public key;
- generate a secret key based on a first private key and the second public key;
- obtain, from the second electronic device, an encrypted network key, wherein a network key is encrypted based on a secret key generated, at the second electronic device based on the first public key and a second private key;
- decrypt the encrypted network key by using the secret key;
- establish an encrypted communication channel between the first electronic device and the second electronic device by using the network key;
- and
- control the communication interface to perform communication with the second electronic device by using the network key.
Dependencies are inferred from the claim text.