# US 2019/0377703 A1 · Methods and apparatus for reduced-latency data transmission with an inter-processor communication link between independently operable processors

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

- Number: US 2019/0377703 A1
- Document ID: US20190377703A1
- Status: Published application
- Kind: A1
- Application number: 16/450,767
- Filed: 2019-06-24
- Published: 2019-12-12
- Earliest claimed: 2018-01-09
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Vladislav Petkov; Saurabh Garg; Karan Sanghi; Haining Zhang
- Web page: https://patentgrep.com/patent/US20190377703A1

## CPC

- G06F 15/17: using an input/output type connection, e.g. channel, I/O port
- G06F 13/4221: {being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus}
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- Y02D 30/70: in wireless communication networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Methods and apparatus for data transmissions over an inter-processor communication (IPC) link between two (or more) independently operable processors. In one embodiment, the IPC link is configured to enable an independently operable processor to transact data to another independently operable processor, while obviating transactions (such as via direct memory access) by encapsulating a payload within a data structure. For example, a host processor may insert the payload into a transfer descriptor (TD), and transmit the TD to a peripheral processor. The host processor may also include a head index and/or a tail index within a doorbell message sent to the peripheral processor, obviating another access of memory. The peripheral processor may perform similar types of transactions via a completion descriptor (CD) sent to the host processor. In some variants, the peripheral may be a Bluetooth-enabled device optimized for low-latency, low-power, and/or low-throughput transactions.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A method of transferring a payload via an inter-processor communication (IPC) link between a first independently operable processor apparatus and a second independently operable processor apparatus, the method comprising:
based on at least a portion of the payload to be transmitted to the second independently operable processor apparatus, determine one or more application constraints associated with transmission of the payload;
based on the determined one or more application constraints, selecting a transaction mode from a plurality of transaction modes; and
using the selected transaction mode, enabling transfer of the at least portion of the payload from the first independently operable processor apparatus to the second independently operable processor apparatus via the IPC link.

### Claim 22 (depends on 21)

The method of claim 21, further comprising, based on the selected transaction mode, causing the at least portion of the payload to be placed within (i) a data structure or (ii) a location of memory described by the data structure.

### Claim 23 (depends on 22)

The method of claim 22, wherein each of the different transaction modes comprises one of: (i) Host-Control Interface (HCI) transaction mode, (ii) an Asynchronous Connection-Less (ACL) transaction mode, or (iii) a Synchronous Connection-Oriented (SCO) transaction mode.

### Claim 24 (depends on 21)

The method of claim 21, further comprising inspecting the at least portion of the payload, the inspecting comprising identifying one or more of: (i) a wireless communication protocol, (ii) a media application, and/or (iii) a metadata field associated with the payload.

### Claim 25 (depends on 24)

The method of claim 24, wherein the wireless communication protocol comprises one of: (i) a cellular protocol or (ii) WLAN-based protocol.

### Claim 26 (depends on 24)

The method of claim 24, wherein the wireless communication protocol comprises a Bluetooth Low Energy (BTLE) protocol.

### Claim 27 (depends on 21)

The method of claim 21, further comprising determining a predefined set of transmission settings based on the determined one or more application constraints;
wherein the selecting of the transaction mode is further based on the predefined set of transmission settings.

### Claim 28

A device configured to enable data communication between a first and a second independently operable processor apparatus, the device comprising:
an inter-processor communication (IPC) data link configured to transmit data between the first and second independently operable processor apparatus; and
a non-transitory computer-readable apparatus comprising a storage medium having a computer program stored therein, the computer program comprising a plurality of instructions configured to, when executed by the first processor apparatus, cause the first independently operable processor apparatus to:
determine a size of a payload to be transmitted to the second independently operable processor apparatus;
based on the size of the payload exceeding a threshold, place the payload within a memory location indicated by a data structure; and
based on the size of the payload not exceeding the threshold, place the payload within the data structure.

### Claim 29 (depends on 28)

The device of claim 28, wherein the plurality of instructions are further configured to, when executed by the first independently operable processor apparatus, cause the first independently operable processor apparatus to:
responsive to the payload being placed within the memory location indicated by the data structure, cause retrieval of the payload by the second independently operable processor apparatus from an external memory module associated with the memory location; and
responsive to the payload being placed within the data structure, transmit the data structure to the second independently operable processor apparatus via at least the IPC link.

### Claim 30 (depends on 29)

The device of claim 29, wherein the data structure comprises a transfer descriptor, the transfer descriptor describing at least a region of a shared memory accessible by both the first and second independently operable processor apparatus.

### Claim 31 (depends on 29)

The device of claim 29, wherein the plurality of instructions are further configured to, when executed by the first independently operable processor apparatus, cause the first independently operable processor apparatus to, based on the size of the payload being determined to be at most 280 bytes, place the payload into the data structure, and transmit the data structure to the second processor apparatus via at least the IPC link.

### Claim 32 (depends on 31)

The device of claim 31, wherein the payload comprises an HCI command configured to either initiate a connection to a Bluetooth-enabled device, or to terminate a connection to a Bluetooth-enabled device.

### Claim 33 (depends on 29)

The device of claim 29, wherein the placement of the payload within the data structure comprises placement of the payload within at least one of (i) an optional footer component of the data structure, or (ii) an optional header component of the data structure.

### Claim 34 (depends on 29)

The device of claim 29, wherein:
the device comprises a user device having the first independently operable processor, the first independently operable processor comprising an applications processor configured to perform data communication with the second independently operable processor via the IPC link, the data communication comprising at least transmission of the data structure; and
the second independently operable processor is configured to perform at least wireless data communication with a peripheral device external to the user device.

### Claim 35

An independently operable processor apparatus, comprising:
computerized logic executable by the independently operable processor apparatus, the computerized logic being configured to:
identify one of a plurality of communication protocols to be used for transaction of data;
based on the identified communication protocol corresponding to a first communication protocol, retrieve from a first data structure array a first data structure, the first data structure containing a payload, the first data structure having been written to the first data structure array by another independently operable processor;
based on the identified communication protocol corresponding to a second communication protocol, retrieve from the first data structure array a second data structure, the second data structure not having the payload, the second data structure having been written to the first data structure array by the another independently operable processor, and obtain the payload based on information in the retrieved second data structure; and
cause transmission of the payload to an external device.

### Claim 36 (depends on 35)

The independently operable processor apparatus of claim 35, further configured to transmit a third data structure to a second data structure array, the second data structure indicating completion of the transmission of the payload.

### Claim 37 (depends on 36)

The independently operable processor apparatus of claim 36, wherein the retrieval of the first data structure from the first data structure array comprises a read of the first data structure array.

### Claim 38 (depends on 35)

The independently operable processor apparatus of claim 35, wherein the second data structure not having the payload comprises data indicative of a location of shared memory to which the payload has been written by the another independently operable processor apparatus, the shared memory being accessible by the independently operable processor apparatus and the another independently operable processor apparatus.

### Claim 39 (depends on 35)

The independently operable processor apparatus of claim 35, wherein the independently operable processor apparatus comprises a baseband (BB) processor apparatus configured to perform data communication with a peripheral device via an air interface associated with a modem.

### Claim 40 (depends on 35)

The independently operable processor apparatus of claim 35, wherein the second communication protocol corresponds to a Host-Control Interface (HCI) transaction mode associated with Bluetooth-based communication.
