# US 2008/0307102 A1 · Techniques for communicating data between a host device and an intermittently attached mobile device

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

- Number: US 2008/0307102 A1
- Document ID: US20080307102A1
- Status: Published application
- Kind: A1
- Application number: 11/760,686
- Filed: 2007-06-08
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Inventors: Curtis C. Galloway; Sean M. Gies
- Web page: https://patentgrep.com/patent/US20080307102A1

## CPC

- H04J 3/06: Synchronising arrangements {(for television systems H04N5/04; bit-synchronisation H04L7/00)}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 69/22: Parsing or analysis of headers
- H04L 67/00: Network arrangements or protocols for supporting network services or applications (user-to-user messaging H04L51/00; network arrangements, protocols or services for supporting real-time applications in data packet communications networks H04L65/00)
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A relatively simple protocol for transferring files and other data between endpoints. The endpoints are a host electronic device and a client electronic device. The connection between the end points can utilize a reliable stream transport connection. Communication is accomplished utilizing packets that have a header and a body with information to be used in transmitting data between the end points. Various packet types are utilized to achieve data transfer.

## Claims

### Claim 1

A method for communicating between a host device and a client device comprising:
establishing a reliable stream transport connection between the host device and the client device over a communications link;
synchronizing data between the host device and the client device by transmitting packets according to the reliable stream transport over the communications link, wherein the packets include an indication of a packet type having a predetermined packet format corresponding to the packet type and a packet functionality associated with the packet type.

### Claim 2 (depends on 1)

The method of claim 1 wherein the reliable stream transport connection comprises a Transmission Control Protocol (TCP) compliant connection.

### Claim 3 (depends on 2)

The method of claim 2 wherein the communications link comprises a Universal Serial Bus (USB) compliant wired interface.

### Claim 4 (depends on 2)

The method of claim 2 wherein the communications link comprises a BLUETOOTH compliant wireless interface.

### Claim 5 (depends on 2)

The method of claim 2 wherein the communications link comprises an IEEE 802.11 compliant wireless interface.

### Claim 6 (depends on 1)

The method of claim 1 wherein the client device comprises a smartphone.

### Claim 7 (depends on 1)

The method of claim 1 wherein the client device comprises a media playback device.

### Claim 8 (depends on 1)

The method of claim 1 wherein the packet comprises a header having a packet signature field, a packet length field, a header length field, a packet serial number field and a packet type field.

### Claim 9 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a status packet comprising a header and a status field to provide status information in response to a request packet or error information in the event of an error condition.

### Claim 10 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a data packet comprising a header and a data field to provide data to be transmitted between the host device and the client device.

### Claim 11 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a read directory packet comprising a header and a directory field to indicate a directory to be read on the client device.

### Claim 12 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a read file packet comprising a header, an offset field to indicate a offset corresponding to a memory location to read, a length field to indicate an amount of the file to read from the offset and a path field to indicate a file to be read on the client device.

### Claim 13 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a write file packet comprising a header a path field to indicate a file to be written and a data field to with data to be written to the file on the client device.

### Claim 14 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a write part packet comprising a header, an offset field to indicate a offset corresponding to a memory location to write and a path field to indicate a file to be written on the client device.

### Claim 15 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file truncate packet comprising a header, a length field to indicate a file length corresponding to a target file and a path field to indicate the target file on the client device.

### Claim 16 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a remove path packet comprising a header and a path field to indicate a file to be removed from the client device.

### Claim 17 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a create directory packet comprising a header and a path field to indicate a directory to be created on the client device.

### Claim 18 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a get file information packet comprising a header and a path field to indicate a file on the client device for which information is to be gathered.

### Claim 19 (depends on 18)

The method of claim 18 wherein the information comprises key/value pairs corresponding to characteristics of the file.

### Claim 20 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a get device information packet comprising a header.

### Claim 21 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a write file atomic packet comprising a header and a path field to indicate a file to be written on the client device, wherein either the complete file is written to the client device or none of the file is written to the client device.

### Claim 22 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference open packet comprising a header, a mode field and a path field to indicate a location of a target file on the client device.

### Claim 23 (depends on 22)

The method of claim 22 wherein the mode field stores an indication of a file access mode selected from the group of: read only mode, read-write mode, write-truncate mode, read-write-truncate mode, write-append mode, and read-write-append mode.

### Claim 24 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference open result packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device.

### Claim 25 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference read packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a length field to indicate a length of data to be read from the file.

### Claim 26 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference write packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a data field to store data to be written to the file.

### Claim 27 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference seek packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device, a whence field to indicate a location from which to seek and a offset field to indicate an offset from the beginning of the target file.

### Claim 28 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference tell packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device for which an indication of a position on the client device will be returned.

### Claim 29 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference tell result packet comprising a header and an offset field to store an offset position.

### Claim 30 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference close packet comprising a header, a file reference field to store a file reference value associated with a target file to be closed on the client device.

### Claim 31 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a file reference set size packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a file size field to indicate a size of the target file.

### Claim 32 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a rename path packet comprising a header, a source path field to indicate the path on the client device to be renamed and a destination path field to indicate a new name for the path on the client device to be renamed.

### Claim 33 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a set file system block size packet comprising a header and a file system block size field to indicate the block size of data to be written to memory by the client device.

### Claim 34 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a set file reference lock packet comprising a header and a file reference lock type to be used.

### Claim 35 (depends on 1)

The method of claim 1 wherein the indication of the packet type indicates a set socket block size packet comprising a header and a socket block size field to indicate the block size for data to be communicated between the host device and the client device.

### Claim 36

An article comprising a tangible computer-readable medium having stored thereon instructions that, when executed, cause one or more processors to:
establish a reliable stream transport connection between the host device and the client device over a communications link;
synchronize data between the host device and the client device by transmitting packets according to the reliable stream transport over the communications link, wherein the packets include an indication of a packet type having a predetermined packet format corresponding to the packet type and a packet functionality associated with the packet type.

### Claim 37 (depends on 36)

The article of claim 36 wherein the client device comprises a smartphone.

### Claim 38 (depends on 36)

The article of claim 36 wherein the packet comprises a header having a packet signature field, a packet length field, a header length field, a packet serial number field and a packet type field.

### Claim 39 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a data packet comprising a header and a data field to provide data to be transmitted between the host device and the client device.

### Claim 40 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a read file packet comprising a header, an offset field to indicate a offset corresponding to a memory location to read, a length field to indicate an amount of the file to read from the offset and a path field to indicate a file to be read on the client device.

### Claim 41 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a write part packet comprising a header, an offset field to indicate a offset corresponding to a memory location to write and a path field to indicate a file to be written on the client device.

### Claim 42 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a remove path packet comprising a header and a path field to indicate a file to be removed from the client device.

### Claim 43 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a get file information packet comprising a header and a path field to indicate a file on the client device for which information is to be gathered.

### Claim 44 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a write file atomic packet comprising a header and a path field to indicate a file to be written on the client device, wherein either the complete file is written to the client device or none of the file is written to the client device.

### Claim 45 (depends on 36)

The article of claim 36 wherein the mode field stores an indication of a file access mode selected from the group of: read only mode, read-write mode, write-truncate mode, read-write-truncate mode, write-append mode, and read-write-append mode.

### Claim 46 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a file reference read packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a length field to indicate a length of data to be read from the file.

### Claim 47 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a file reference seek packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device, a whence field to indicate a location from which to seek and a offset field to indicate an offset from the beginning of the target file.

### Claim 48 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a file reference tell result packet comprising a header and an offset field to store an offset position.

### Claim 49 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a file reference set size packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a file size field to indicate a size of the target file.

### Claim 50 (depends on 36)

The article of claim 36 wherein the indication of the packet type indicates a set file system block size packet comprising a header and a file system block size field to indicate the block size of data to be written to memory by the client device.

### Claim 51

A system including a host device and a client device comprising:
means for establishing a reliable stream transport connection between the host device and the client device over a communications link;
means for synchronizing data between the host device and the client device by transmitting packets according to the reliable stream transport over the communications link, wherein the packets include an indication of a packet type having a predetermined packet format corresponding to the packet type and a packet functionality associated with the packet type.

### Claim 52 (depends on 51)

The system of claim 51 wherein the client device comprises a smartphone.

### Claim 53 (depends on 51)

The system of claim 51 wherein the client device comprises a media playback device.

### Claim 54

A method for a host device to communicate with a client device comprising:
establishing a reliable stream transport connection between the host device and the client device over a communications link in response to detecting the presence of the client device;
transmitting data from the host device to the client device via packets according to the reliable stream transport over the communications link, wherein the packets include an indication of a packet type having a predetermined packet format corresponding to the packet type and a packet functionality associated with the packet type.

### Claim 55 (depends on 54)

The method of claim 54 wherein the packet comprises a header having a packet signature field, a packet length field, a header length field, a packet serial number field and a packet type field.

### Claim 56 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a data packet comprising a header and a data field to provide data to be transmitted between the host device and the client device.

### Claim 57 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a read file packet comprising a header, an offset field to indicate a offset corresponding to a memory location to read, a length field to indicate an amount of the file to read from the offset and a path field to indicate a file to be read on the client device.

### Claim 58 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a write part packet comprising a header, an offset field to indicate a offset corresponding to a memory location to write and a path field to indicate a file to be written on the client device.

### Claim 59 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a remove path packet comprising a header and a path field to indicate a file to be removed from the client device.

### Claim 60 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a get file information packet comprising a header and a path field to indicate a file on the client device for which information is to be gathered.

### Claim 61 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a file reference open packet comprising a header, a mode field and a path field to indicate a location of a target file on the client device.

### Claim 62 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a file reference read packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a length field to indicate a length of data to be read from the file.

### Claim 63 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a file reference tell packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device for which an indication of a position on the client device will be returned.

### Claim 64 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a file reference set size packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a file size field to indicate a size of the target file.

### Claim 65 (depends on 54)

The method of claim 54 wherein the indication of the packet type indicates a set file reference lock packet comprising a header and a file reference lock type to be used.

### Claim 66

An article comprising a tangible computer-readable medium having stored thereon instructions to cause a host device to communicate with a client device comprising instructions that, when executed, cause the host device to:
establish a reliable stream transport connection between the host device and the client device over a communications link in response to detecting the presence of the client device;
transmit data from the host device to the client device via packets according to the reliable stream transport over the communications link, wherein the packets include an indication of a packet type having a predetermined packet format corresponding to the packet type and a packet functionality associated with the packet type.

### Claim 67 (depends on 66)

The article of claim 66 wherein the client device comprises a smartphone.

### Claim 68 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a read directory packet comprising a header and a directory field to indicate a directory to be read on the client device.

### Claim 69 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a write file packet comprising a header a path field to indicate a file to be written and a data field to with data to be written to the file on the client device.

### Claim 70 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a file truncate packet comprising a header, a length field to indicate a file length corresponding to a target file and a path field to indicate the target file on the client device.

### Claim 71 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a get file information packet comprising a header and a path field to indicate a file on the client device for which information is to be gathered.

### Claim 72 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a write file atomic packet comprising a header and a path field to indicate a file to be written on the client device, wherein either the complete file is written to the client device or none of the file is written to the client device.

### Claim 73 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a file reference read packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a length field to indicate a length of data to be read from the file.

### Claim 74 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a file reference seek packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device, a whence field to indicate a location from which to seek and a offset field to indicate an offset from the beginning of the target file.

### Claim 75 (depends on 66)

The article of claim 66 wherein the indication of the packet type indicates a file reference set size packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device and a file size field to indicate a size of the target file.

### Claim 76

A method for a client device to communicate with a host device comprising:
establishing a reliable stream transport connection between the host device and the client device over a communications link in response to detecting the presence of the client device;
receiving data from the host device to the client device via packets according to the reliable stream transport over the communications link, wherein the packets include an indication of a packet type having a predetermined packet format corresponding to the packet type and a packet functionality associated with the packet type.

### Claim 77 (depends on 76)

The method of claim 76 wherein the indication of the packet type indicates a status packet comprising a header and a status field to provide status information in response to a request packet or error information in the event of an error condition.

### Claim 78 (depends on 76)

The method of claim 76 wherein the indication of the packet type indicates a file reference tell result packet comprising a header and an offset field to store an offset position.

### Claim 79

An article comprising a tangible computer-readable medium having stored thereon instructions to cause a client device to communicate with a host device comprising instructions that, when executed, cause the client device to:
establish a reliable stream transport connection between the host device and the client device over a communications link in response to detecting the presence of the client device;
receive data from the host device to the client device via packets according to the reliable stream transport over the communications link, wherein the packets include an indication of a packet type having a predetermined packet format corresponding to the packet type and a packet functionality associated with the packet type.

### Claim 80 (depends on 79)

The article of claim 79 wherein the packet comprises a header having a packet signature field, a packet length field, a header length field, a packet serial number field and a packet type field.

### Claim 81 (depends on 79)

The article of claim 79 wherein the indication of the packet type indicates a file reference open result packet comprising a header, a file reference field to store a file reference value associated with a target file on the client device.
