# US 2006/0156415 A1 · Accessory authentication for electronic devices

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

- Number: US 2006/0156415 A1
- Document ID: US20060156415A1
- Status: Published application
- Kind: A1
- Application number: 11/051,499
- Filed: 2005-02-03
- Published: 2006-07-13
- Earliest claimed: 2005-01-07
- Assignees: Apple Inc.
- Inventors: Jonathan Rubinstein; Anthony Fadell; Jesse Dorogusker; Mitchell Adler; John Archibald
- Web page: https://patentgrep.com/patent/US20060156415A1

## CPC

- G06F 21/44: Program or device authentication
- G06F 21/445: {by mutual authentication, e.g. between devices or programs}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 2221/2129: Authenticate client device independently of the user
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Improved techniques to control utilization of accessory devices with electronic devices are disclosed. The improved techniques can use cryptographic approaches to authenticate electronic devices, namely, electronic devices that interconnect and communicate with one another. One aspect pertains to techniques for authenticating an electronic device, such as an accessory device. Another aspect pertains to provisioning software features (e.g., functions) by or for an electronic device (e.g., a host device). Different electronic devices can, for example, be provisioned differently depending on different degrees or levels of authentication, or depending on manufacturer or product basis. Still another aspect pertains to using an accessory (or adapter) to convert a peripheral device (e.g., USB device) into a host device (e.g., USB host). The improved techniques are particularly well suited for electronic devices, such as media devices, that can receive accessory devices. One example of a media device is a media player, such as a hand-held media player (e.g., music player), that can present (e.g., play) media items (or media assets).

## Claims

### Claim 1

A portable electronic device, comprising:
a media storage device that stores media content for one or more media items;
a media presentation module that retrieves media content for at least one of the media items from said media storage and causes the media content to be presented for a user of said portable electronic device;
an authentication table that stores authentication information for various accessory devices that are authorized to couple to and interact with said portable electronic device; and
an authentication module that determines whether a particular accessory device that is coupled to said portable media device is authorized to interoperate with said portable electronic device based on at least a portion of the authentication information stored in said authentication table.

### Claim 2 (depends on 1)

A portable electronic device as recited in claim 1, wherein when said authentication module determines that the particular accessory device is not authorized to interoperate, said portable electronic device limits interoperability of said portable electronic device with the particular accessory device.

### Claim 3 (depends on 1)

A portable electronic device as recited in claim 1, wherein when said authentication module determines that the accessory device is not authorized to interoperate, said portable electronic device prevents interoperability of said portable electronic device with the accessory device.

### Claim 4 (depends on 1)

A portable electronic device as recited in claim 1,
wherein said media presentation module includes computer code, and said authentication module includes computer code, and
wherein said portable electronic device further includes a processor that executes computer code of said media presentation module and said authentication module.

### Claim 5 (depends on 4)

A portable electronic device as recited in claim 4, wherein the computer code of said authentication module includes computer code for performing an authentication algorithm.

### Claim 6 (depends on 1)

A portable electronic device as recited in claim 1, wherein the authentication information includes at least authorization information that indicates how and/or the extent to which each of the various accessory devices can interoperate with said portable electronic device.

### Claim 7 (depends on 1)

A portable electronic device as recited in claim 1, wherein the authentication information includes at least an authentication key and a device identifier for each of the various accessory devices.

### Claim 8 (depends on 7)

A portable electronic device as recited in claim 7,
wherein the particular accessory device includes a counterpart authentication key and a device identifier, and
wherein said authentication module determines whether the accessory device is authorized to interoperate with said portable electronic device further based on the counterpart authentication key and the device identifier.

### Claim 9 (depends on 8)

A portable electronic device as recited in claim 8, wherein when said authentication module determines that the accessory device is not authorized to interoperate, said portable electronic device limits interoperability of said portable electronic device with the particular accessory device.

### Claim 10 (depends on 1)

A portable electronic device as recited in claim 1, wherein said portable electronic device is a media player.

### Claim 11 (depends on 12)

A portable electronic device as recited in claim 12, wherein the media items pertain to music and the media player is a music player.

### Claim 12

An accessory device for a portable electronic device, comprising:
an input/output port for interacting with the portable electronic device;
an authentication algorithm;
an authentication key associated with said accessory device;
an authentication controller, operatively connected to said input/output port, for performing authentication operations using at least said authentication algorithm and said authentication key; and
accessory circuitry that performs operations associated with said accessory device.

### Claim 13 (depends on 12)

An accessory device as recited in claim 12, wherein the authentication operations serve to authenticate said accessory device to the portable electronic device.

### Claim 14 (depends on 13)

An accessory device as recited in claim 13, wherein said accessory device further comprises:
a device identifier associated with said accessory device.

### Claim 15 (depends on 12)

An accessory device as recited in claim 12, wherein at least said authentication key, said authentication algorithm and said authentication controller are within a single integrated circuit chip.

### Claim 16 (depends on 12)

An accessory device as recited in claim 12, wherein said authentication key is a private key, and wherein said authentication controller encrypts a value using said private key.

### Claim 17 (depends on 16)

An accessory device as recited in claim 16, wherein the encrypted value is provided to said portable electronic device via said input/output port.

### Claim 18 (depends on 16)

An accessory device as recited in claim 16, wherein the encrypted value is a digital signature.

### Claim 19 (depends on 12)

An accessory device as recited in claim 12, wherein said accessory device is a peripheral adapter, and
wherein said accessory circuitry includes at least a voltage booster to receive a first voltage level and to output a second voltage level, the first voltage level is received from said portable electronic device when said accessory device is connected to said portable electronic device, and the second voltage level is output when said accessory device has been authenticated by said portable electronic device.

### Claim 20 (depends on 12)

An accessory device as recited in claim 12, wherein said accessory device is a peripheral device for said portable electronic device.

### Claim 21 (depends on 20)

An accessory device as recited in claim 20, wherein the peripheral device is a media device.

### Claim 22 (depends on 12)

An accessory device as recited in claim 12, wherein the portable electronic device is a media player capable of storing and playing media items.

### Claim 23 (depends on 22)

An accessory device as recited in claim 22, wherein the media items pertain to music and the media player is a music player.

### Claim 24

A connector for connecting an accessory device to a media player, comprising:
a connector body;
a plurality of electrical contacts attached within the connector body and serving to provide electrical connections between the accessory device and the media player; and
a controller disposed in said connector body and providing an authentication key that allows the accessory device to be authenticated by the media player.

### Claim 25 (depends on 24)

A connector as recited in claim 24, wherein said controlled enables at least one specific function of the media player for use by the accessory device when said controller determines the accessory device to be authentic.

### Claim 26

A method for authorizing an accessory device for use with an electronic device, said method comprising:
(a) receiving a device identifier from the accessory device;
(b) receiving an authentication value from the accessory device;
(c) determining whether the accessory device is authentic based on the authentication value; and
(d) authorizing usage of the accessory device with the electronic device when said determining (c) determines that the accessory device is authentic.

### Claim 27 (depends on 26)

A method as recited in claim 26, wherein said authorizing (d) authorizes the accessory device for usage of one or more features of the electronic device only when said determining (b) determines that the accessory device is authorized.

### Claim 28 (depends on 27)

A method as recited in claim 27, wherein the one or more features of the electronic device are determined based on the device identifier.

### Claim 29 (depends on 27)

A method as recited in claim 27, wherein the one or more features of the electronic device are commands or groups of commands available on the electronic device.

### Claim 30 (depends on 27)

A method as recited in claim 27, wherein when said authorizing (d) authorizes usage of the one or more features of the accessory device with the electronic device over only certain interface mechanisms.

### Claim 31 (depends on 26)

A method as recited in claim 26, wherein the authentication value is a digital signature.

### Claim 32 (depends on 26)

A method as recited in claim 26, wherein said method further comprises:
(e) subsequently deauthorizing usage of the accessory device with the electronic device when the accessory device is detached from the electronic device.

### Claim 33

A method for authorizing an accessory device for use with an electronic device, said method comprising:
(a) detecting attachment of the accessory device with the electronic device;
(b) sending a random number to the accessory device after said detecting (a) detects attachment of the accessory device;
(c) subsequently receiving an encoded value from the accessory device;
(d) receiving a device identifier from the accessory device;
(e) obtaining a cryptographic key based on the device identifier;
(f) decoding the encoded value using the cryptographic key to produce a decoded value;
(g) determining whether the decoded value corresponds to the random number; and
(h) authorizing usage of the accessory device with the electronic device when said determining (g) indicates that the decoded value corresponds to the random number.

### Claim 34 (depends on 33)

A method as recited in claim 33, wherein said authorizing (h) authorizes the accessory device for usage of a determined set of features of the electronic device.

### Claim 35 (depends on 34)

A method as recited in claim 34, wherein the determined set of features of the electronic device are determined based on the device identifier.

### Claim 36 (depends on 35)

A method as recited in claim 35, wherein at least one of the determined set of features are authorize for usage over only a certain interface mechanism.

### Claim 37 (depends on 35)

A method as recited in claim 35, wherein said method further comprises:
(i) subsequently determining whether the accessory device is detached from the electronic device; and
(j) disabling usage of the accessory device with the electronic device when said determining (i) determines that the accessory device is detached from the electronic device.

### Claim 38

A method for authorizing an accessory device for use with an electronic device, said method comprising:
(a) detecting attachment of the accessory device with the electronic device;
(b) sending an authentication request to the accessory device after said detecting (a) detects attachment of the accessory device, the authentication request including at least a random number;
(c) subsequently receiving an authentication response from the accessory device, the authentication response being in response to the authentication request, and the authentication response including at least an encoded value and a device identifier for the accessory device;
(d) obtaining a cryptographic key based on the device identifier;
(e) decoding the encoded value using the cryptographic key to produce a decoded value; and
(f) authorizing usage of the accessory device with the electronic device based on a correspondence between the decoded value and the random number.

### Claim 39 (depends on 38)

A method as recited in claim 38, wherein said authorizing (f) comprises:
(f1) comparing the decoded value to the random number;
(f2) authorizing usage of the accessory device with the electronic device when said comparing (f1) indicates that the decoded value matches the random number.

### Claim 40 (depends on 38)

A method as recited in claim 38, wherein said authorizing (g) authorizes the accessory device for usage of a determined set of features of the electronic device.

### Claim 41 (depends on 40)

A method as recited in claim 40, wherein at least one of the determined set of features are authorize for usage over only a certain interface mechanism.

### Claim 42 (depends on 40)

A method as recited in claim 40, wherein the determined set of features of the electronic device are determined based on the device identifier.

### Claim 43 (depends on 40)

A method as recited in claim 40, wherein said method further comprises:
(h) subsequently determining whether the accessory device is detached from the electronic device; and
(i) disabling usage of the accessory device with the electronic device when said determining (h) determines that the accessory device is detached from the electronic device.

### Claim 44

A method for authorizing an accessory device for use with an electronic device, said method comprising:
(a) receiving a random number from the electronic device;
(b) encoding the random number using at least a cryptographic key provided within the accessory device, thereby producing an encoded value; and
(c) sending the encoded value and a device identifier to the electronic device.

### Claim 45 (depends on 44)

A method as recited in claim 44, wherein said method further comprises:
(d) authorizing the accessory device to operate with the electronic device with respect to one or more features of the electronic device, provided the accessory device is authorized by the electronic device based on the encoded value.

### Claim 46 (depends on 44)

A method as recited in claim 44, wherein said method further comprises:
(d) operating of the accessory device with the electronic device in a limited manner when the accessory device is not authorized by the electronic device.

### Claim 47 (depends on 44)

A method as recited in claim 44, wherein the electronic device is a portable electronic device.

### Claim 48 (depends on 44)

A method as recited in claim 44, wherein the portable electronic device is a media player.

### Claim 49

A method for controlling interaction between a media player and an accessory device, comprising:
determining a classification of the accessory device;
identifying an authorization level for the accessory device; and
selectively activating features of the media device that are available to be used in conjunction with the accessory device based on the classification and authorization level of the accessory device.

### Claim 50

A media player system, comprising:
a media player storing media content and supporting a plurality of predetermined functions; and
an accessory device capable of connecting to said media player,
wherein said media player and said accessory device interact to perform an authentication process,
wherein, based on the authentication process, specific functions of said media device are selectively activated and thus available for use by said accessory device.

### Claim 51 (depends on 50)

A media player system as recited in claim 50, wherein said media process provides a cryptographic key to said media player, and said media player determines an activation level of said accessory device using the cryptographic key.

### Claim 52 (depends on 51)

A media player system as recited in claim 51, wherein the specific functions of said media device being activated are based on the authorization level of the accessory device.
