Secure localized connectionless handoffs of data
A connectionless system for handing off data, content or information includes a proximity detection component that allows devices to detect other local devices within range. Devices within range may use advertisement and scanning to exchange communications so that one device can handoff data, content, or information to another device without having to connect, e.g., pair, with the other device(s).
1. A method for secure connectionless data communications, comprising:
receiving, by a first device, from a computing device a locally generated second key of a second device, the second key associated with a user account with which the first device and the second device are registered;
scanning, by the first device, for encrypted data broadcasted by the second device;
decoding, by the first device, using the second key, the encrypted data broadcasted by the second device to produce decrypted data; and
processing, by the first device, the decrypted data for display on the first device.
2. The method of claim 1 , wherein the first device comprises a device with a larger screen than the second device.
3. The method of claim 1 , wherein the first device stores the second key as part of a tuple that further comprises user account information, a device ID associated with the second device, an old encryption key associated with the second device, a TTL (time to live) of the old encryption key.
4. The method of claim 1 , comprising registering, by the computing device, the first device and second device with the user account.
5. The method of claim 1 , comprising generating, by the second device, the second key using a hash function or randomly generated string generated by the second device.
6. The method of claim 1 , comprising sensing, by the first device, the presence of the second device.
7. The method of claim 6 , wherein sensing comprises determining a distance between the first device and the second device using round trip delay.
8. The method of claim 7 , wherein determining comprises using wireless technology to detect the distance.
9. The method of claim 1 , wherein the decrypted data comprises one or more of video content or health statistics.
10. The method of claim 1 , wherein the computing device comprises a server coupled to the first device and second device over a first network.
11. The method of claim 10 , wherein scanning is performed by the first device over a second network different than the first network.
12. A method for secure connectionless data communications, comprising:
sending, by a first device, a locally generated first key to a computing device, the first device registered with a user account;
sharing, by the computer device, the first key with a second device registered with the user account;
sensing, by the first device, a location of the second device within a predetermined distance of the first device;
periodically broadcasting, by the first device, content encrypted using the first key; and
decoding, by the second device, the content using the first key.
13. The method of claim 12 , wherein the first device comprises a device with a smaller screen than the second device.
14. The method of claim 12 , wherein the second device stores the first key as part of a tuple that further comprises user account information, a device ID associated with the first device, an old encryption key associated with the first device, a TTL (time to live) of the old encryption key.
15. The method of claim 12 , comprising associating, by the computing device, the first key and second key with the user account.
16. The method of claim 12 , comprising generating, by the first device, the first key using a hash function or randomly generated string generated by the first device.
17. The method of claim 12 , wherein sensing comprises determining a distance between the first device and the second device using round trip delay.
18. The method of claim 17 , wherein determining comprises using one or more wireless signals to detect the distance.
19. The method of claim 12 , wherein the encrypted content comprises one or more of video content or health statistics.
20. The method of claim 12 , wherein the computing device comprises a server coupled to the first device and second device over a first network.
21. The method of claim 20 , wherein scanning is performed by the first device over a second network different than the first network.
22. The method of claim 21 , comprising periodically broadcasting the content encrypted using the first key over the second network.