IP Library › Granted Patent US 12,074,978
Granted Patent B2
US 12,074,978 · App. 18/132,636 · Granted Aug 27, 2024

Device pairing with optical codes

Inventors: Peter Brook (Marina del Rey, CA); Nicolas Dahlquist (Venice, CA); Matthew Hanover (Los Angeles, CA)
Assignee: SNAP INC.
H04L9/3226G06K7/10762G06K19/10H04B10/114H04L9/0844H04L9/14H04L9/3066H04L63/18H04W4/80H04W12/04H04W12/06H04W12/50G06K7/1413G06K7/1417H04L2209/80H04W12/77
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,074,978
App. No.
18/132,636
Granted
Aug 27, 2024
Kind
B2
Abstract

Embodiments for device pairing using optical codes are described. One embodiment is a wearable device with an image sensor configured to capture an image including a first optical code from a first host device. The wearable device decodes the first optical code, and in response to the first optical code, initiates broadcast of a pairing advertisement. The host device displays a second optical code in response to the pairing advertisement, and the wearable device captures and processes the second optical code to determine a host pairing advertisement code. The wearable device then, in response to the second optical code, initiate broadcast of a second pairing advertisement including the host pairing advertisement code. In various embodiments, a secure wireless channel is then established and used for further secure communications.

Claims (53)

1. An apparatus of a host device comprising:

one or more processors; and

one or more memories storing instructions that, when executed by the one or more processors, configure the apparatus of the host device to perform operations comprising:

causing an indication of an optical code to be displayed on a display of the host device, the optical code indicating a host pairing advertisement code;

receiving a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code;

in response to a determination that the pairing advertisement comprises the indication of the host pairing advertisement code, sending to the mobile device, a first key; and

receiving a second key from the mobile device, the second key based on the first key.

2. The apparatus of claim 1 wherein the receiving further comprises:

receiving, via a first wireless communication, a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.

3. The apparatus of claim 1 , wherein the optical code is a first optical code, and wherein before the causing the operations further comprise:

causing an indication of a second optical code to be displayed on the display of the host device.

4. The apparatus of claim 3 , wherein the causing the indication of the second optical code further comprises:

in response to receiving a user input to initiate pairing with the mobile device, causing, the indication of the second optical code to be displayed on the display of the host device, the second optical code soliciting a generic pairing advertisement from the mobile device.

5. The apparatus of claim 3 , wherein the pairing advertisement is a first pairing advertisement, and wherein the operations further comprise:

receiving a second pairing advertisement from the mobile device.

6. The apparatus of claim 1 , wherein the operations further comprise:

establishing an encrypted connection using the first key and the second key.

7. The apparatus of claim 6 wherein the operations further comprise:

transmitting a wireless communication to the mobile device soliciting transmission of content from the mobile device to the host device via the encrypted connection.

8. The apparatus of claim 6 , wherein the encrypted connection is established using an elliptic curve Diffie-Hellman (ECDH) exchange with the first key and the second key to establish a shared secret.

9. The apparatus of claim 8 , wherein the operations further comprise:

generating a first keyed-hash message authentication code (HMAC) based on the shared secret, wherein the shared secret comprises a Diffie-Hellman Key (DHKey);

transmitting the first HMAC to the mobile device; and

processing a second HMAC based on the DHKey received from the mobile device.

10. The apparatus of claim 1 , wherein the operations further comprise:

an antenna coupled to the one or more memories, and wherein the receiving further comprises:

receiving, via the antenna, the pairing advertisement from the mobile device, the pairing advertisement comprising the indication of the host pairing advertisement code.

11. The apparatus of claim 1 , wherein the optical code comprises a custom reference shape associated with a shape feature rule.

12. The apparatus of claim 1 , wherein the mobile device is a first mobile device and the pairing advertisement is a first pairing advertisement, and wherein the operations further comprise:

receiving a second pairing advertisement from a second mobile device; and

in response to a determination that the second pairing advertisement does not indicate the host pairing advertisement code, refraining from initiating a secure communication with the second mobile device.

13. The apparatus of claim 1 further comprising:

an image sensor coupled to the one or more memories and configured to capture images, and wherein the receiving the pairing advertisement from the mobile device, further comprises:

capturing an image comprising the pairing advertisement from a display of the mobile device; and

determining the pairing advertisement from the image.

14. A non-transitory computer-readable storage medium including instructions that, when processed by an apparatus of a host device, configure the apparatus to perform operations comprising:

causing an indication of an optical code to be displayed on a display of the host device, the optical code indicating a host pairing advertisement code;

receiving a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code;

in response to a determination that the pairing advertisement comprises the indication of the host pairing advertisement code, sending to the mobile device, a first key; and

receiving a second key from the mobile device, the second key based on the first key.

15. The non-transitory computer-readable storage medium of claim 14 wherein the receiving further comprises:

receiving, via a first wireless communication, a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.

16. The non-transitory computer-readable storage medium of claim 14 , wherein the optical code is a first optical code, and wherein before the causing, the operations further comprise:

causing an indication of a second optical code to be displayed on the display of the host device.

17. A method performed on an apparatus of a host device, the method comprising:

causing an indication of an optical code to be displayed on a display of the host device, the optical code indicating a host pairing advertisement code;

receiving a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code;

in response to a determination that the pairing advertisement comprises the indication of the host pairing advertisement code, sending to the mobile device, a first key; and

receiving a second key from the mobile device, the second key based on the first key.

18. The method of claim 17 wherein the receiving further comprises:

receiving, via a first wireless communication, a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.

19. The apparatus of claim 1 , wherein the mobile device is a wearable device.

20. The method of claim 17 , wherein the mobile device is a wearable device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 10, 2023
From: BROOK, PETER; DAHLQUIST, NICOLAS; HANOVER, MATTHEW
To: SNAP INC.
Reel/Frame 063275/0462 →
Continuity (4)
Continuation 16947339 · Jul 29, 2020
Continuation 15716124 · Sep 26, 2017
Provisional Application 62399901 · Sep 26, 2016
Related Publication 20230299961A1 · Sep 21, 2023