# US 2022/0036022 A1 · Bidirectional data exchange across devices via barcodes

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

- Number: US 2022/0036022 A1
- Document ID: US20220036022A1
- Status: Published application
- Kind: A1
- Application number: 16/942,252
- Filed: 2020-07-29
- Published: 2022-02-03
- Earliest claimed: 2020-07-29
- Inventors: Stephen U. Fedtke
- Web page: https://patentgrep.com/patent/US20220036022A1

## CPC

- G06K 7/10722: {Photodetector array or CCD scanning}
- G06K 7/1417: {2D bar codes}
- G06K 7/1095: {the scanner comprising adaptations for scanning a record carrier that is displayed on a display-screen or the like}
- G06K 7/1447: {extracting optical codes from image or text carrying said optical code}
- G06K 7/1486: {Setting the threshold-width for bar codes to be decoded}
- G06K 7/1495: {the method including an image compression step}
- G06K 19/06112: {the marking being simulated using a light source, e.g. a barcode shown on a display or a laser beam with time-varying intensity profile}
- H04B 10/116: Visible light communication
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- H04B: TRANSMISSION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

According to one embodiment, data is exchanged between two devices where the transmitting device displays a barcode (e.g., a Quick Response “QR” code) and the receiving device captures the barcode with a camera. Each of the devices may alternate between being the transmitting device and the receiving device. Therefore, bidirectional exchange of data between the devices can be achieved. No electrical or radio connections, such as Bluetooth, Wi-Fi, cables, or the Internet, etc., are required between the devices for the transmission to take place.

## Claims

### Claim 1

A computer-implemented method for bidirectional data transfer based on barcodes, the method comprising:
generating, at a first device, one or more payload barcodes, each payload barcodes corresponding to one of one or more data packages of payload data and comprising data of the corresponding data package;
capturing images by a first camera of the first device, wherein a view of the first camera covers a second display of a second device, and any barcode contained in the images captured by the first camera is detected and decoded at the first device;
displaying, at a first display of the first device, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been displayed; and
stopping displaying a previous payload barcode and proceeds to display a subsequent payload barcode, in response to detection in the images of the second display captured by the first camera an acknowledgment (ACK) barcode corresponding to the previous payload barcode,
wherein at least one of the one or more payload barcodes further comprises one or more of: a size of the corresponding data package, a checksum, a sender device identifier (ID), a receiver device ID, or a data transfer session ID,
wherein the second device refuses to partake in the data transfer when the sender device ID does not match any device ID on an allowed sender list.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second device is configured to:
capture images, using a second camera of the second device, wherein a view of the second camera covers the first display of the first device, and any barcode contained in the images captured by the second camera is detected and decoded at the second device;
capture and decode, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been decoded, wherein the second device generates and displays a corresponding ACK barcode in response to decoding each of the one or more payload barcodes in the images of the first display captured by the second camera;
store a corresponding data package upon decoding each of the one or more payload barcodes; and
recover the payload data based on the stored data packages.

### Claim 3 (depends on 2)

The method of claim 2, wherein the payload barcodes and the ACK barcodes comprise Quick Response (QR) codes.

### Claim 4 (depends on 2)

The method of claim 2, wherein each of the one or more payload barcodes comprises a payload barcode sequence number and a total quantity of the one or more payload barcodes.

### Claim 5

A computer-implemented method for bidirectional data transfer based on barcodes, the method comprising:
generating, at a first device, one or more payload barcodes, each payload barcodes corresponding to one of one or more data packages of payload data and comprising data of the corresponding data package;
capturing images by a first camera of the first device, wherein a view of the first camera covers a second display of a second device, and any barcode contained in the images captured by the first camera is detected and decoded at the first device;
displaying, at a first display of the first device, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been displayed;
stopping displaying a previous payload barcode and proceeds to display a subsequent payload barcode, in response to detection in the images of the second display captured by the first camera an acknowledgment (ACK) barcode corresponding to the previous payload barcode; and
performing at the first device operating in a sending role deadlock resolution operations in response to detecting, while displaying a first of the one or more payload barcodes, that the second device is also in a sending role.

### Claim 6 (depends on 5)

The method of claim 5, wherein the deadlock resolution operations comprise:
starting, at the first device, a countdown of a first random time period;
keeping the first device in the sending role and stopping the countdown when the first device detects that the second device has displayed an ACK barcode corresponding to the first of the one or more payload barcode before the countdown is finished; and
switching the first device into a receiving role when the countdown is finished.

### Claim 7 (depends on 2)

The method of claim 2, wherein the corresponding data package comprised in each of the one or more payload barcodes is encrypted or compressed.

### Claim 8 (depends on 2)

The method of claim 2, wherein all data comprised in each of the one or more payload barcodes is encrypted or compressed.

### Claim at position 9

9-10. (canceled)

### Claim 11 (depends on 2)

The method of claim 2, wherein prior to displaying a first of the one or more payload barcodes, the first device generates and displays an initiation barcode comprising one or more of: a password, an encryption key, or a data transfer purpose.

### Claim 12 (depends on 2)

The method of claim 2, wherein prior to detecting, in images of the second display of the second device, an ACK barcode corresponding to the first of the one more payload barcodes, the first device adjusts display of the first of the one or more payload barcodes on the first display, the adjusting comprising one or more of:
adjusting a display location of the barcode on the first display,
rotating the displayed barcode by a predetermined degree in a predetermined direction, or
temporarily disappearing the barcode from display.

### Claim 13 (depends on 2)

The method of claim 2, wherein the first device and the second device are separated by transparent solid material.

### Claim 14

A non-transitory computer-readable medium having instructions stored therein, which when executed by a computer, cause the computer to perform operations of bidirectional data transferring based on barcodes, the operations comprising:
generating, at a first device, one or more payload barcodes, each payload barcodes corresponding to one of one or more data packages of payload data and comprising data of the corresponding data package;
capturing images by a first camera of the first device, wherein a view of the first camera covers a second display of a second device, and any barcode contained in the images captured by the first camera is detected and decoded at the first device;
displaying, at a first display of the first device, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been displayed; and
stopping displaying a previous payload barcode and proceeds to display a subsequent payload barcode, in response to detection in the images of the second display captured by the first camera an acknowledgment (ACK) barcode corresponding to the previous payload barcode,
wherein at least one of the one or more payload barcodes further comprises one or more of: a size of the corresponding data package, a checksum, a sender device identifier (ID), a receiver device ID, or a data transfer session ID,
wherein the second device refuses to partake in the data transfer when the sender device ID does not match any device ID on an allowed sender list.

### Claim 15 (depends on 14)

The computer-readable medium of claim 14, wherein the second device is configured to:
capture images, using a second camera of the second device, wherein a view of the second camera covers the first display of the first device, and any barcode contained in the images captured by the second camera is detected and decoded at the second device;
capture and decode, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been decoded, wherein the second device generates and displays a corresponding ACK barcode in response to decoding each of the one or more payload barcodes in the images of the first display captured by the second camera;
store a corresponding data package upon decoding each of the one or more payload barcodes; and
recover the payload data based on the stored data packages.

### Claim 16 (depends on 15)

The computer-readable medium of claim 15, wherein the payload barcodes and the ACK barcodes comprise Quick Response (QR) codes.

### Claim 17 (depends on 15)

The computer-readable medium of claim 15, wherein each of the one or more payload barcodes comprises a payload barcode sequence number and a total quantity of the one or more payload barcodes.

### Claim 18

A non-transitory computer-readable medium having instructions stored therein, which when executed by a computer, cause the computer to perform operations of bidirectional data transferring based on barcodes, the operations comprising:
generating, at a first device, one or more payload barcodes, each payload barcodes corresponding to one of one or more data packages of payload data and comprising data of the corresponding data package;
capturing images by a first camera of the first device, wherein a view of the first camera covers a second display of a second device, and any barcode contained in the images captured by the first camera is detected and decoded at the first device;
displaying, at a first display of the first device, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been displayed;
stopping displaying a previous payload barcode and proceeds to display a subsequent payload barcode, in response to detection in the images of the second display captured by the first camera an acknowledgment (ACK) barcode corresponding to the previous payload barcode; and
performing at the first device operating in a sending role deadlock resolution operations in response to detecting, while displaying a first of the one or more payload barcodes, that the second device is also in a sending role.

### Claim 19 (depends on 18)

The computer-readable medium of claim 18, wherein the deadlock resolution operations comprise:
starting, at the first device, a countdown of a first random time period;
keeping the first device in the sending role and stopping the countdown when the first device detects that the second device has displayed an ACK barcode corresponding to the first of the one or more payload barcode before the countdown is finished; and
switching the first device into a receiving role when the countdown is finished.

### Claim 20

An electronic device operating as a first device, comprising:
a processor; and
a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to perform operations of bidirectional data transferring based on barcodes, the operations including:
generating, at the first device, one or more payload barcodes, each payload barcodes corresponding to one of one or more data packages of payload data and comprising data of the corresponding data package;
capturing images by a first camera of the first device, wherein a view of the first camera covers a second display of a second device, and any barcode contained in the images captured by the first camera is detected and decoded at the first device;
displaying, at a first display of the first device, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been displayed; and
stopping displaying a previous payload barcode and proceeds to display a subsequent payload barcode, in response to detection in the images of the second display captured by the first camera an acknowledgment (ACK) barcode corresponding to the previous payload barcode,
wherein at least one of the one or more payload barcodes further comprises one or more of: a size of the corresponding data package, a checksum, a sender device identifier (ID), a receiver device ID, or a data transfer session ID,
wherein the second device refuses to partake in the data transfer when the sender device ID does not match any device ID on an allowed sender list.

### Claim 21 (depends on 20)

The device of claim 20, wherein the second device is configured to:
capture images, using a second camera of the second device, wherein a view of the second camera covers the first display of the first device, and any barcode contained in the images captured by the second camera is detected and decoded at the second device;
capture and decode, in sequence, the one or more payload barcodes, one at a time, until all the one or more payload barcodes have been decoded, wherein the second device generates and displays a corresponding ACK barcode in response to decoding each of the one or more payload barcodes in the images of the first display captured by the second camera;
store a corresponding data package upon decoding each of the one or more payload barcodes; and
recover the payload data based on the stored data packages.

### Claim 22 (depends on 21)

The device of claim 21, wherein the payload barcodes and the ACK barcodes comprise Quick Response (QR) codes.
