# US 10,771,244 B2 · Method for communication between devices and devices thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,771,244 B2
- Document ID: US10771244B2
- Status: Granted
- Kind: B2
- Application number: 15/747,184
- Filed: 2016-07-18
- Published: 2018-08-09
- Granted: 2020-09-08
- Earliest claimed: 2015-07-29
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Se-il Kim; Dong-chan Kim; Mi-suk Huh
- Web page: https://patentgrep.com/patent/US10771244B2

## CPC

- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04W 4/70: Services for machine-to-machine communication [M2M] or machine type communication [MTC]
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/033: of the user plane, e.g. user's traffic
- H04W 12/041: Key generation or derivation
- H04W 12/0433: Key management protocols
- H04W 12/069: using certificates or pre-shared keys
- H04L 2209/80: Wireless
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## 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.

## Claims

### Claim 1

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.

### Claim 2

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.

### Claim 3 (depends on 2)

The first electronic device of claim 2, wherein the first public key is generated at the first electronic device and the second public key is generated at the second electronic device.

### Claim 4 (depends on 3)

The first electronic device of claim 3, wherein the hardware processor is further configured to generate the first public key by using a random number.

### Claim 5 (depends on 2)

The first electronic device of claim 2, wherein the communication interface is further configured to obtain identification information of the second electronic device together with the encrypted second public key.

### Claim 6 (depends on 2)

The first electronic device of claim 2, wherein
the second public key comprises a plurality of secret keys, and
the hardware processor is further configured to select at least one of the plurality of secret keys.

### Claim 7

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.

### Claim 8 (depends on 7)

The second electronic device of claim 7, wherein the first public key is generated by the first electronic device.

### Claim 9 (depends on 7)

The second electronic device of claim 7, wherein the communication interface is further configured to obtain identification information of the first electronic device together with the first public key.

### Claim 10 (depends on 7)

The second electronic device of claim 7, wherein
the second public key comprises a plurality of secret keys,
the communication interface is further configured to obtain at least one secret key selected by the first electronic device, and
the hardware processor is further configured to identify whether the obtained at least one secret key is comprised in the plurality of secret keys.

### Claim 11

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.
