(19)
(11)EP 2 985 713 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
06.05.2020 Bulletin 2020/19

(21)Application number: 15165755.8

(22)Date of filing:  26.06.2007
(51)Int. Cl.: 
G06F 21/31  (2013.01)
H01R 13/645  (2006.01)
H04L 9/32  (2006.01)
H01R 27/00  (2006.01)
G06F 21/44  (2013.01)
H01R 24/58  (2011.01)
H01R 103/00  (2006.01)
H01R 31/06  (2006.01)

(54)

METHOD AND SYSTEM FOR AUTHENTICATING AN ACCESSORY

VERFAHREN UND SYSTEM ZUR AUTHENTIFIZIERUNG EINES ZUBEHÖRS

PROCÉDÉ ET SYSTÈME D'AUTHENTIFICATION D'UN ACCESSOIRE


(84)Designated Contracting States:
AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC MT NL PL PT RO SE SI SK TR

(30)Priority: 27.06.2006 US 476999

(43)Date of publication of application:
17.02.2016 Bulletin 2016/07

(62)Application number of the earlier application in accordance with Art. 76 EPC:
07812335.3 / 2038801

(73)Proprietor: Apple Inc.
Cupertino CA 95014 (US)

(72)Inventors:
  • NOVOTNEY, Donald J.
    Cupertino, CA 95014 (US)
  • FILSON, John Benjamin
    Cupertino, CA 95014 (US)
  • TUPMAN, David John
    Cupertino, CA 95014 (US)
  • LYDON, Gregory T.
    Cupertino, CA 95014 (US)

(74)Representative: Lang, Johannes 
Bardehle Pagenberg Partnerschaft mbB Patentanwälte, Rechtsanwälte Prinzregentenplatz 7
81675 München
81675 München (DE)


(56)References cited: : 
WO-A-2004/112311
US-A1- 2003 185 395
US-B1- 6 697 944
US-A- 5 949 877
US-B1- 6 394 905
  
      
    Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


    Description

    FIELD OF THE INVENTION



    [0001] The present invention relates generally to electrical devices and more particularly to electronic devices such as media players that communicate with accessory devices.

    BACKGROUND OF THE INVENTION



    [0002] A media player stores media assets, such as audio tracks or photos that can be played or displayed on the media player. One example of a media player is the iPod™ media player, which is available from Apple Inc. of Cupertino, CA. Often, a media player acquires its media assets from a host computer that serves to enable a user to manage media assets. As an example, the host computer can execute a media management application to manage media assets. One example of a media management application is iTunes®, version 6.0, produced by Apple Inc.

    [0003] A media player typically includes one or more connectors or ports that can be used to interface to the media player. For example, the connector or port can enable the media player to couple to a host computer, be inserted into a docking system, or receive an accessory device. There are today many different types of accessory devices that can interconnect to the media player. For example, a remote control can be connected to the connector or port to allow the user to remotely control the media player. As another example, an automobile can include a connector and the media player can be inserted onto the connector such that an automobile media system can interact with the media player, thereby allowing the media content on the media player to be played within the automobile.

    [0004] Numerous third parties have developed accessories for use with media players. An accessory may be used with the media player as long as a compatible connector or port is utilized. Accessories interact with the media player using an accessory protocol. One example of an accessory protocol is referred to as iPod Accessory Protocol (iAP), which is available from Apple Inc. of Cupertino, CA. The accessory protocol includes commands which have been typically been made freely accessible to accessory developers. A problem with the commands being freely accessible is that they can be used by unauthorized or counterfeit accessory devices.

    [0005] One solution is to perform authentication operations on an accessory device. Accordingly, the accessory devices would not have any access to the media player until after the authentication process is complete.

    [0006] Thus, there is a need for improved techniques to control the nature and extent to which accessory devices can be utilized with other electronic devices.

    BRIEF SUMMARY OF THE INVENTION



    [0007] A method, system, and connector interface for authenticating an accessory are disclosed. In one aspect, the method includes performing an authentication operation and allowing the accessory to access the media player during the authentication operation; if the authentication operation fails, the accessory is locked out from any further access to the media player. The authentication operation can include, e.g., validating authentication information included in an authentication certificate provided by the accessory and/or validating a digital signature provided by the accessory.

    [0008] According to the system and method disclosed herein, the media player and accessory may utilize a plurality of commands in a variety of environments such as within a connector interface system environment to control access to the media player. The invention is defined by independent apparatus claims 1 and 8, respectively directed to a media player and an accessory. Further embodiments are defined by the dependent claims.

    BRIEF DESCRIPTION OF THE DRAWINGS



    [0009] 

    Figures 1A and 1B illustrate a docking connector in accordance with the present invention.

    Figure 2A is a front and top view of a remote connector in accordance with the present invention.

    Figure 2B illustrates a plug that can be utilized in the remote connector of Figure 2A.

    Figure 2C illustrates the plug of Figure 2B inserted into the remote connector of Figure 2A.

    Figure 3A illustrates connector pin designations for the docking connector.

    Figure 3B illustrates connection pin designations for the remote connector.

    Figure 4A illustrates a typical FireWire connector interface for the docking connector.

    Figure 4B illustrates a reference schematic diagram for an accessory power source.

    Figure 4C illustrates a reference schematic diagram for a system for detecting and identifying accessories for the docking connector.

    Figure 4D is a reference schematic of an electret microphone that may be connected to the remote connector.

    Figure 5A illustrates a media player coupled to different accessories.

    Figure 5B illustrates the media player coupled to a computer.

    Figure 5C illustrates the media player coupled to a car or home stereo system.

    Figure 5D illustrates the media player coupled to a dongle that communicates wirelessly with other accessories.

    Figure 5E illustrates the media player coupled to a speaker system.

    Figure 6 is a flow chart that illustrates a process for controlling access to a media player.

    Figure 7 is a flow chart that illustrates a process for authenticating an accessory.


    DETAILED DESCRIPTION OF THE INVENTION



    [0010] The present invention relates generally to electrical devices and more particularly to electrical devices such as media players that communicate with accessory devices. The following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements. Various modifications to the preferred embodiment and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the present invention is not intended to be limited to the embodiment shown but is to be accorded the widest scope consistent with the principles and features described herein.

    [0011] A method in accordance with the present invention for authenticating an accessory includes performing a first authentication operation on the accessory by the media player, wherein an authentication certificate is validated. In one embodiment, the authentication operations are handled in the background such that the media player is operative to process commands after authentication has begun but before the authentication has completed. This allows the media player and the accessory to interact immediately rather than waiting until after the authentication process has completed successfully. The method also includes performing a second authentication operation on the accessory by the media player, wherein an authentication signature is validated. In one embodiment, the media player verifies the authentication signature using a public key provided in the certificate. The media player and accessory may utilize a plurality of commands in a variety of environments to facilitate controlling access to the media player. One such environment is within a connector interface system environment such as described in detail hereinbelow.

    [0012] Although the authentication of an accessory is described hereinbelow, one of ordinary skill in the art recognizes that the procedures described below may be applied to the authentication of the media player.

    Connector Interface System Overview



    [0013] To describe the features of the connector interface system in accordance with the present invention in more detail, refer now to the following description in conjunction with the accompanying drawings.

    Docking Connector



    [0014] Figures 1A and 1B illustrate a docking connector 100 in accordance with the present invention. Referring first to Figure 1A, the keying features 102 are of a custom length 104. In addition, a specific key arrangement is used where one set of keys is separated by one length at the bottom of the connector and another set of keys is separated by another length at the top of the connector. The use of this key arrangement prevents noncompliant connectors from being plugged in and causing potential damage to the device. The connector for power utilizes a Firewire specification for power. The connector includes a first make/last break contact to implement this scheme. Figure 1B illustrates the first make/last break contact 202 and also illustrates a ground pin and a power pin related to providing an appropriate first make/last break contact. In this example, the ground pin 204 is longer than the power pin 206. Therefore, the ground pin 204 would contact its mating pin in the docking accessory before the power pin 206, minimizing internal electrical damage of the electronics of the device.

    [0015] In addition, a connector interface system in accordance with the present invention uses universal serial bus (USB), universal asynchronous receiver-transmitter (UART), and Firewire interfaces as part of the same docking connector alignment, thereby making the design more compatible with different types of interfaces, as will be discussed in detail hereinafter. In so doing, more remote accessories can interface with the media player.

    Remote Connector



    [0016] The connection interface system also includes a remote connector which provides for the ability to output and input audio, provides I/O serial protocol, and provides an output for video. Figure 2A is a front and top view of a remote connector 200 in accordance with the present invention. As is seen, the remote connector 200 includes a top headphone receptacle 202, as well as a second receptacle 204 for remote devices. Figure 2B illustrates a plug 300 to be utilized in the remote connector. The plug 300 allows the functions to be provided via the remote connector. Figure 2C illustrates the plug 300 inserted into the remote connector 200. Heretofore, all of these features have not been implemented in a remote connector. Therefore, a standard headphone cable can be plugged in, but also special remote control cables, microphone cables, and video cables could be utilized with the remote connector.

    [0017] To describe the features of the connector interface system in more detail, please find below a functional description of the docking connector, remote connector and a command set in accordance with the present invention.

    Docking and Remote Connector Specifications



    [0018] For an example of the connector pin designations for both the docking connector and for the remote connector for a media player such as an iPod™ device by Apple Inc., refer now to Figures 3A and 3B. Figure 3A illustrates the connector pin designations for the docking connector. Figure 3B illustrates the connection pin designations for the remote connector.

    Docking Connector Specifications



    [0019] Figure 4A illustrates a typical Firewire connector interface for the docking connector. The following are some exemplary specifications: Firewire power (8V - 30V DC IN, 10W Max). In one embodiment, Firewire may be designed to the IEEE 1394 A Spec (400 Mb/s).

    USB Interface



    [0020] The media player provides two configurations, or modes, of USB device operation: mass storage and media player USB Interface (MPUI). The MPUI allows the media player to be controlled using a media player accessory protocol (MPAP) which will be described in detail later herein, using a USB Human Interface Device (HID) interface as a transport mechanism.

    Accessory 3.3 V Power



    [0021] Figure 4B illustrates the accessory power source. The media player accessory power pin supplies voltages, for example, 3.0 V to 3.3V+/-5% (2.85 V to 3.465 V) over the docking connector and remote connector (if present). A maximum current is shared between the docking and remote connectors.

    [0022] By default, the media player supplies a particular current such as 5mA. Proper software accessory detection is required to turn on high power (for example, up to 100 mA) during active device usage. When devices are inactive, they must consume less than a predetermined amount of power such as 5mA current.

    [0023] Accessory power is grounded through the Digital GND pins.

    [0024] Figure 4C illustrates a reference schematic diagram for a system for detecting and identifying accessories for the docking connector. The system comprises a resistor to ground that allows the device to determine what has been plugged into the docking connector. There is an internal pullup on Accessory Identify within the media player. Two pins (Accessory Identify & Accessory Detect) are used.

    [0025] Figure 4D is a reference schematic of an electret microphone that may be connected to the remote connector.

    [0026] Serial Protocol Communication:
    1. a) Two pins used to communicate to and from device (Rx & Tx)
    2. b) Input & Output (0V=Low, 3.3V=High)


    [0027] As mentioned previously, media players connect to a variety of accessories. Figures 5A-5E illustrate a media player 500 coupled to different accessories. Figure 5A illustrates a media player 500 coupled to a docking station 502. Figure 5B illustrates the media player 500' coupled to a computer 504. Figure 5C illustrates the media player 500" coupled to a car or home stereo system 506. Figure 5D illustrates the media player 500"'coupled to a dongle 508 that communicates wirelessly with other devices. Figure 5E illustrates the media player 500"" coupled to a speaker system 510. As is seen, what is meant by accessories includes but is not limited to docking stations, chargers, car stereos, microphones, home stereos, computers, speakers, and accessories which communicate wirelessly with other accessories.

    [0028] As mentioned previously, this connector interface system could be utilized with a command set for authenticating an accessory. In one embodiment, the accessory may be a host computer or any other electronic device or system that may communicate with the media player. It should be understood by one of ordinary skill in the art that although the above-identified connector interface system could be utilized with the command set, a variety of other connectors or systems could be utilized.

    [0029] As described above, accessories interact with the media player using a media player accessory protocol. An example of such a media player accessory protocol is the iPod Accessory Protocol (iAP). The media player accessory protocol refers to the software component executing on the media player that communicates with accessories over a given transport layer. The application of the media player may be, for example, a media player application framework that presents menus/screens to the user. Media player commands are associated with the processing of voice, video, and other data between the media player and the accessory. For example, commands may be associated with read operations and write operations to transfer and store information between the media player and the accessory. Accordingly, in one embodiment, for each command related to the media player, there is a reciprocal command for the accessory. In one embodiment, commands may be grouped and associated with specific accessory functionality.

    Command Functionality



    [0030] Although a plurality of commands is described hereinbelow, one of ordinary skill in the art recognizes that many other commands could be utilized. Accordingly, the list of commands below is representative, but not exhaustive, of the types of commands that could be utilized to authenticate an accessory. Furthermore, it is also readily understood by one of ordinary skill in the art that a subset of these commands could be utilized by a media player or an accessory. A description of the functionality of some of these commands is described below.

    Authentication of an Accessory



    [0031] In previous authentication methods, the accessory transmits an identification message to the media player, where the identification message indicates that the accessory supports certain commands and supports authentication. The media player then transmits an acknowledgment message to the accessory. The media player blocks access by the accessory until the entire authentication process completes. The media player may display a "Connecting..." screen. The media player then confirms that the authentication version number that the accessory provides is the correct version number. If so, the media player transmits a challenge to be signed by the device. The media player then validates the authentication signature using a public key based on a device ID from the accessory. The following describes improvements over the previous authentication methods, in accordance with the present invention.

    [0032] Figure 6 is a flow chart that illustrates a process for controlling access to a media player in accordance with the present invention. As Figure 6 illustrates, the process begins in step 602 where the media player performs a background authentication operation on the accessory, in which the authentication certificate is validated. More specifically, during the background authentication operation, the accessory transmits authentication information to the media player, and the media player receives and validates the certificate contained in the authentication information. In one embodiment, the authentication information may also include an authentication version number. Authentication certificates are described in more detail below. As described in more detail below, the media player does not wait until the entire authentication process completes but instead allows certain access before the authentication process completes. Next, in step 604, the media player performs a second authentication operation on the accessory, in which an authentication signature is validated. More specifically, during the second authentication operation, the accessory transmits an authentication signature to the media player, and the media player receives and validates the authentication signature. In one embodiment, the media player verifies the authentication signature using a public key. More detailed embodiments of the background authentication and second authentication operations are described below with reference to Figure 7.

    [0033] Although the authentication of an accessory is described herein, one of ordinary skill in the art recognizes that the procedures described herein may be applied to the authentication of the media player. For example, the same or similar steps described in Figure 6 above and/or in Figure 7 below may be utilized by an accessory to authenticate the media player.

    Authentication Certificates



    [0034] Standard authentication certificates function as containers for data such as the certificate creator (issuer, country, etc.), certificate type, valid certificate date ranges, and other metadata. Authentication certificates, also referred to as certificates or certs, are generated and signed by one or more certificate authorities (CAs) and have a unique serial number. In one embodiment, the certificate may be stored in an authentication coprocessor chip on the accessory. Authentication certificates in accordance with the present invention contain not only the metadata as in a standard authentication certificate but also device class information and a public key, which are described in more detail below.

    [0035] As described in more detail below, the media player verifies certificates using a public key that is issued by the CA. The media player may also use the public key to verify a signed challenge. Certificates are used to transfer the public key and other accessory-specific information to the media player. Such accessory-specific information may contain, for example, device class information about the accessory. The device class determines what commands the accessory is permitted to use with respect to the media player. In one embodiment, the media player may add permissible commands to existing classes or add new device classes by means of a media player firmware update. New accessories may be supported by the media player when the CA issues new certificates to the accessory vendor.

    [0036] In one embodiment, if a certificate is somehow compromised and cloned in counterfeit devices, the compromised serial number may be added to a certificate revocation list (or CRL) on the media player to prevent devices using the certificate from authenticating successfully. If the certificate parser of the media player does not recognize the cert's device class, the media player rejects the certificate. In one embodiment, a certificate to be used for device authentication may have a preset lifespan (e.g., in the range of 1-5 years, etc.), which may be set, for example, by a date. In one embodiment, certificate expiration could be accomplished by adding device serial numbers to the CRL after the expiration date has passed.

    [0037] Figure 7 is a flow chart that illustrates a process for authenticating an accessory in accordance with the present invention. As Figure 7 illustrates, the process begins in step 702 where the media player and accessory exchange messages to determine whether the accessory supports certain commands and supports immediate authentication. More specifically, in one embodiment, the accessory transmits an identification message to the media player. The identification message includes a device identification (ID) and an indication that the accessory supports certain commands and supports authentication. In some embodiments, support for immediate authentication is required. The media player then transmits an acknowledgment message to the accessory. In one embodiment, the media player notifies the application of the media player that the accessory is attempting to access the media player.

    [0038] As described above, in one embodiment, the authentication operations are handled in the background to allow multiple cryptography options (e.g., RSA or SFEE) with/without hardware acceleration to be used. As a result, the media player is operative to process device commands after authentication has begun, before the authentication has completed, and through its successful completion. When device authentication fails (e.g., retry count and/or maximum time has been exhausted), the media player can lockout processing of incoming commands and prevent the device from interacting with media player. Media player applications can permit non-risky device use once authentication has started. Risky behavior is defined as anything that could permanently alter the media player behavior or download unsafe media. Examples of risky behavior to be avoided include download executable media or firmware updates to the media player. If authentication fails at some later point, the application of the media player could cancel any device-related activities and possibly report an error message to the user (e.g., "Device is not supported").

    [0039] Referring still to Figure 7, in step 704, during the background authentication operation, the media player transmits an authentication information request to the accessory. In one embodiment, the media player starts a timeout timer. Next, in step 706, the accessory transmits the authentication information to the media player. In one embodiment, the authentication information includes an authentication major version, an authentication minor version, and a public certificate, where the certificate may be divided up into sections if it is large (e.g., greater than 500 bytes). If the certificate is divided up into sections, upon receipt of the authentication information the media player reassembles the certificate. When the certificate is fully assembled, the certificate is parsed for device class information. The media player then converts a class number from the device class information into an allowed command mask. This mask is used to validate that the commands identified by the device are allowed by the certificate. In other words, the media player validates the certificate based at least in part on the device class information.

    [0040] Next, in step 708, the media player validates the authentication information. The authentication information may be invalid for a number of reasons. For example, the authentication information may be invalid if the authentication version is not valid, if the public certificate has expired, or if the public certificate is on the certificate revocation list (CRL). If any of the authentication information is invalid, the background authentication operation fails. A failure will restart the authentication process (if a retry count and timeout limits have not been exceeded). The background authentication operation passes if the authentication version is validated and if the certificate class commands have been determined to match or exceed those requested by an identify command of the media player, and if a certification chain has been verified. In one embodiment, non-risky media player command application functions and command processing are enabled while authentication process continues. In one embodiment, the media player may transmit a message to the accessory indicating a version information status.

    [0041] Next, in step 710, during a second authentication operation, the media player transmits an authentication signature request to the accessory. The authentication signature request includes a random nonce/challenge to be signed by the device. The specific nonce/challenge length may vary and will depend on the specific implementation. Next, in step 712, the accessory transmits an authentication signature (i.e., a message with a signed challenge/signature) to the media player. Next, in step 714, upon receipt of the authentication signature, the media player validates the authentication signature (i.e., the signed challenge). In one embodiment, the media player verifies the signed nonce/challenge using a public key based on a device ID from the accessory. In a preferred embodiment, the media player verifies the signed nonce/challenge using a public key from the certificate provided by the accessory.

    [0042] In one embodiment, an accessory authentication process is based on a public key/private key system where the accessory has a private key and the media player has the associated public key. The accessory authentication process is closely integrated with accessory protocol commands.

    [0043] Before completing the authentication process, the media player transmits an authentication status message to the accessory indicating signature status and authentication process completion. The authentication passes if the media player verifies the authentication signature. Otherwise, the authentication process fails. If authentication passes, the application of the media player unblocks to allow user access to the device.

    [0044] If the authentication process fails, the device port of the media player will lock out the accessory. Also, upon a failure, the media player de-authorizes the accessory to prevent the accessory from utilizing the media player resources. In one embodiment, the media player may also transmit an authentication status to the application of the media player. For example, if the authentication fails, the application of the media player may display a "Connection Failed" message.

    [0045] In one embodiment, the authentication operations may utilize a retry count and maximum timeout. Accordingly, in one embodiment, the authentication can also fail if the retry counter or maximum timeout is exceeded. Locking out a port prevents an accessory from simulating a detach or re-identifying in order to reset the authentication retry/timeout counters. In one embodiment, incoming packets may be deleted if a device port authentication state is set to "lockout." This will prevent any locked out device packets from being processed. In one embodiment, if the failure is due to an accessory identifying more commands than allowed by the certificate, the device lockout is not activated at authentication failure and the accessory may be permitted to re-identify.

    [0046] A method, system, and connector interface for authenticating an accessory has been disclosed. The method includes performing a first authentication operation on the accessory by the media player, where an authentication certificate is validated. The method also includes performing a second authentication operation on the accessory by the media player, where an authentication signature is validated. According to the system and method disclosed herein, the media player and accessory may utilize a plurality of commands in a variety of environments such as within a connector interface system environment to control access to the media player.

    [0047] Although the present invention has been described in accordance with the embodiments shown, one of ordinary skill in the art will readily recognize that there could be variations to the embodiments. For example, the present invention can be implemented using hardware, software, a computer readable medium containing program instructions, or a combination thereof. Software written according to the present invention is to be either stored in some form of computer-readable medium such as memory or CD-ROM, or is to be transmitted over a network, and is to be executed by a processor. Consequently, a computer-readable medium is intended to include a computer readable signal, which may be, for example, transmitted over a network. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the scope of the appended claims.


    Claims

    1. A media player comprising:

    a processor; and

    an accessory interface coupled to the processor and configured to communicate with an accessory;

    wherein the processor is configured to:

    send a request for an authentication certificate to the accessory; and

    receive an authentication certificate from the accessory;

    determine a validity of the authentication certificate; and, if the authentication certificate is not valid, then prevent the accessory from further interacting with the media player; otherwise the processor is configured to then

    receive a non-risky application command from the accessory and send a request for an authentication signature;

    in response to the received non-risky application command, enable an associated media player application function while the authentication process continues; and

    receive an authentication signature from the accessory; then determine a validity of the authentication signature.


     
    2. The media player of claim 1 further comprising:
    if the authentication signature is not valid, then the processor is configured to ignore any subsequent application command received from the accessory, otherwise the processor is configured to invoke corresponding media player application functions in response to subsequent application commands received from the accessory.
     
    3. The media player of claim 2, wherein the processor is configured to communicate with an accessory according to a media player accessory protocol that defines a plurality of application commands to invoke a plurality of media player application functions.
     
    4. The media player of claim 3, wherein the processor is configured to determine the validity of the authentication signature by:

    extracting a public key from the authentication certificate; and

    using the public key to validate the authentication signature.


     
    5. The media player of claim 1, wherein the process is further configured to:

    after determining a validity of the authentication certificate, receive an application command from the accessory and send a request for an authentication signature; and

    in response to the received application command, not invoke an associated media player application function, if the received application command can either permanently alter the media player behavior or download unsafe media, and otherwise invoke the associated media player application function.


     
    6. The media player of claim 5, wherein, if the processor determines that the authentication signature is valid, the processor is configured to determine that the authentication operation completed successfully.
     
    7. The media player of claim 6, wherein the authentication certificate includes authentication major version information and an authentication minor version information.
     
    8. An accessory comprising:

    a controller; and

    a media player interface coupled to the controller to communicate with a media player,

    wherein the controller is configured to:

    receive a request for an authentication certificate from the media player, the request for an authentication certificate initiating an authentication operation;

    send an authentication certificate to the media player in response to the request for an authentication certificate, wherein the media player determines the validity of the authentication certificate; then

    receive a request for an authentication signature and send an application command to the media player, wherein, if the media player determines that the authentication certificate is not valid, the media player prevents the accessory from further interacting with the media player, and otherwise the media player allows the accessory to invoke a corresponding media player application function; then

    transmit an authentication signature to the media player for validation.


     
    9. The accessory of claim 8, wherein the media player interface is configured to communicate with the accessory according to a media player accessory protocol that defines a plurality of application commands to invoke a plurality of media player application functions.
     
    10. The accessory of claim 9, wherein the accessory is configured to provide the authentication signature by:
    receiving a challenge as part of the request for an authentication signature; and signing the received challenge.
     
    11. The accessory of claim 8, wherein the controller is further configured to:
    send an application command to the media player, wherein if the media player determines that the authentication certificate is not valid, the media player prevents the accessory from further interacting with the media player, and if the authentication certificate is valid, the media player does not process the application command if the application command can either permanently alter the media player behavior or download unsafe media, otherwise the media player processes the application command thereby allowing the accessory to invoke a corresponding media player application function.
     
    12. The accessory of claim 11, wherein the authentication certificate includes authentication major version information and an authentication minor version information.
     
    13. The accessory of claim 12, wherein the accessory is configured to provide the authentication signature by:
    receiving a challenge as part of the request for an authentication signature; and signing the received challenge.
     


    Ansprüche

    1. Medienspieler umfassend:

    einem Prozessor; und

    eine Zubehörschnittstelle, die an den Prozessor gekoppelt und konfiguriert ist, um mit einem Zubehörteil zu kommunizieren;

    wobei der Prozessor konfiguriert zum:

    Senden einer Anforderung für ein Authentifizierungszertifikat an das Zubehör; und

    Empfangen eines Authentifizierungszertifikats vom Zubehör;

    Bestimmen einer Gültigkeit des Authentifizierungszertifikats; und, wenn das Authentifizierungszertifikat nicht gültig ist, Verhindern, dass das Zubehör weiter mit dem Medienspieler interagiert; andernfalls ist der Prozessor konfiguriert zum

    Empfangen eines nicht risikobehafteten Anwendungsbefehls vom Zubehör und Senden einer Anforderung für eine Authentifizierungssignatur;

    als Antwort auf den empfangenen nicht-risikobehafteten Anwendungsbefehl, Ermöglichen einer zugehörige Medienspieler-Anwendungsfunktion, während der Authentifizierungsprozess fortgesetzt wird; und

    Empfangen einer Authentifizierungssignatur vom Zubehör; dann

    Bestimmen einer Gültigkeit der Authentifizierungssignatur.


     
    2. Medienspieler nach Anspruch 1 ferner umfassend:
    wenn die Authentifizierungssignatur nicht gültig ist, der Prozessor dann so konfiguriert ist, dass er jeden nachfolgenden Anwendungsbefehl, der vom Zubehör empfangen wird, ignoriert, andernfalls ist der Prozessor so konfiguriert, dass er als Antwort auf nachfolgende Anwendungsbefehle, die vom Zubehör empfangen werden, entsprechende Anwendungsfunktionen des Medienspieler aufruft.
     
    3. Medienspieler nach Anspruch 2, wobei der Prozessor so konfiguriert ist, dass er mit einem Zubehörteil gemäß einem Medienspieler-Zubehör-Protokoll kommuniziert, das eine Vielzahl von Anwendungsbefehlen definiert, um eine Vielzahl von Medienspieler-Anwendungsfunktionen aufzurufen.
     
    4. Medienspieler nach Anspruch 3, wobei der Prozessor so konfiguriert ist, dass er die Gültigkeit der Authentifizierungssignatur bestimmt durch:

    Extrahieren eines öffentlichen Schlüssels aus dem Authentifizierungszertifikat; und

    Verwenden des öffentlichen Schlüssels zur Validierung der Authentifizierungssignatur.


     
    5. Medienspieler nach Anspruch 1, wobei der Prozess weiter konfiguriert zum:

    nach der Bestimmung einer Gültigkeit des Authentifizierungszertifikats, Empfangen eines Anwendungsbefehls vom Zubehör und Senden einer Anforderung für eine Authentifizierungssignatur; und

    als Antwort auf den empfangenen Anwendungsbefehl, Nichtaufrufen einer zugehörigen Medienspieler-Anwendungsfunktion, wenn der empfangene Anwendungsbefehl entweder das Verhalten des Medienspielers dauerhaft ändern oder unsichere Medien herunterladen kann, und andernfalls Aufrufen der zugehörigen Medienspieler-Anwendungsfunktion.


     
    6. Medienspieler nach Anspruch 5, wobei der Prozessor, wenn er bestimmt, dass die Authentifizierungssignatur gültig ist, konfiguriert zum Bestimmen, dass der Authentifizierungsvorgang erfolgreich abgeschlossen wurde.
     
    7. Medienspieler nach Anspruch 6, wobei das Authentifizierungszertifikat Informationen über eine Hauptversion der Authentifizierung und eine Information über eine Nebenversion der Authentifizierung enthält.
     
    8. Zubehör, das Folgendes umfasst:

    eine Steuerung; und

    eine an die Steuerung gekoppelte Medienspieler-Schnittstelle zur Kommunikation mit einem Medienspieler,

    wobei die Steuerung konfiguriert ist zum:

    Empfangen einer Anforderung für ein Authentifizierungszertifikat vom Medienspieler, wobei die Anforderung für ein Authentifizierungszertifikat einen Authentifizierungsvorgang einleitet;

    Senden eines Authentifizierungszertifikats an den Medienspieler als Antwort auf die Anforderung eines Authentifizierungszertifikats, wobei der Medienspieler die Gültigkeit des Authentifizierungszertifikats bestimmt; dann

    Empfangen einer Anforderung für eine Authentifizierungssignatur und Senden eines Anwendungsbefehls an den Medienspieler, wobei, wenn der Medienspieler bestimmt, dass das Authentifizierungszertifikat nicht gültig ist, der Medienspieler das Zubehör daran hindert, weiter mit dem Medienspieler zu interagieren, und andernfalls dem Zubehör erlaubt, eine entsprechende Anwendungsfunktion des Medienspielers aufzurufen; dann

    Übertragen einer Authentifizierungssignatur zur Validierung an den Medienspieler.


     
    9. Zubehör nach Anspruch 8, wobei die Schnittstelle des Medienspielers konfiguriert ist zum Kommunizieren mit dem Zubehör gemäß einem Medienspieler-Zubehör-Protokoll, das eine Vielzahl von Anwendungsbefehlen definiert, um eine Vielzahl von Anwendungsfunktionen des Medienspielers aufzurufen.
     
    10. Zubehör nach Anspruch 9, wobei das Zubehör konfiguriert ist zum Bereitstellen der Authentifizierungssignatur durch:

    Empfangen einer Herausforderung als Teil der Anforderung einer Authentifizierungssignatur; und

    Signieren der empfangenen Herausforderung.


     
    11. Zubehör nach Anspruch 8, wobei die Steuerung weiter konfiguriert ist zum:
    Senden eines Anwendungsbefehls an den Medienspieler, wobei, wenn der Medienspieler bestimmt, dass das Authentifizierungszertifikat nicht gültig ist, der Medienspieler das Zubehör daran hindert, weiter mit dem Medienspieler zu interagieren, und wenn das Authentifizierungszertifikat gültig ist, der Medienspieler den Anwendungsbefehl nicht verarbeitet, wenn der Anwendungsbefehl entweder das Verhalten des Medienspielers dauerhaft ändern oder unsichere Medien herunterladen kann, andernfalls verarbeitet der Medienspieler den Anwendungsbefehl und erlaubt dem Zubehör, eine entsprechende Anwendungsfunktion des Medienspielers aufzurufen.
     
    12. Zubehör nach Anspruch 11, wobei das Authentifizierungszertifikat Informationen über eine Hauptversion der Authentifizierung und eine Information über eine Nebenversion der Authentifizierung enthält.
     
    13. Zubehör nach Anspruch 12, wobei das Zubehör konfiguriert ist zum Bereitstellen der Authentifizierungssignatur durch:

    Empfangen eine Herausforderung als Teil der Anforderung für eine Authentifizierungssignatur; und

    Signieren der empfangenen Herausforderung.


     


    Revendications

    1. Un lecteur de media comprenant:

    un processeur; et

    une interface d'accessoire couplée au processeur et configurée pour communiquer avec un accessoire;

    dans lequel le processeur est configuré pour:

    envoyer à l'accessoire une requête d'un certificat d'authentification; et

    recevoir de l'accessoire un certificat d'authentification;

    déterminer une validité du certificat d'authentification; et, si le certificat d'authentification n'est pas valide, alors empêcher l'accessoire d'interagir dorénavant avec le lecteur de media; dans le cas contraire, le processeur est alors configuré pour

    recevoir de l'accessoire une commande applicative sans risque et envoyer une requête d'une signature d'authentification;

    en réponse à la commande applicative sans risque reçue, activer une fonction applicative associée du lecteur de media tandis que le processus d'authentification se poursuit; et

    recevoir de l'accessoire une signature d'authentification; puis déterminer une validité de la signature d'authentification.


     
    2. Le lecteur de media de la revendication 1, comprenant en outre:
    si la signature d'authentification n'est pas valide, le processeur est alors configuré pour ignorer toute commande applicative ultérieure reçue de l'accessoire, dans le cas contraire le processeur est configuré pour faire appel à des fonctions applicatives correspondantes du lecteur de media en réponse à des commandes applicatives ultérieures reçues de l'accessoire.
     
    3. Le lecteur de media de la revendication 2, dans lequel le processeur est configuré pour communiquer avec un accessoire selon un protocole d'accessoire de lecteur de media qui définit une pluralité de commandes applicatives pour faire appel à une pluralité de fonctions applicatives du lecteur de media.
     
    4. Le lecteur de media de la revendication 3, dans lequel le processeur est configuré pour déterminer la validité de la signature d'authentification par:

    extraction d'une clé publique à partir du certificat d'authentification; et

    utilisation de la clé publique pour valider la signature d'authentification.


     
    5. Le lecteur de media de la revendication 1, dans lequel le processeur est en outre configuré pour:

    après détermination d'une validité du certificat d'authentification, recevoir de l'accessoire une commande et envoyer une requête d'une signature d'authentification; et

    en réponse à la commande applicative reçue, ne pas faire appel à une fonction applicative associée du lecteur de media, si la commande applicative reçue peut soit altérer de façon permanente le comportement du lecteur de media soit télécharger des media non sécurisés, et dans le cas contraire faire appel à la fonction applicative associée du lecteur de media.


     
    6. Le lecteur de media de la revendication 5, dans lequel, si le processeur détermine que la signature d'authentification est valide, le processeur est configuré pour déterminer que l'opération d'authentification s'est achevée avec succès.
     
    7. Le lecteur de media de la revendication 6, dans lequel le certificat d'authentification inclut une information de version majeure d'authentification et une information de version mineure d'authentification.
     
    8. Un accessoire comprenant:

    un contrôleur; et

    une interface de lecteur de media couplée au contrôleur pour communiquer avec un lecteur de media,

    dans lequel le contrôleur est configuré pour:

    recevoir du lecteur de media une requête d'un certificat d'authentification, la requête d'un certificat d'authentification déclenchant une opération d'authentification;

    envoyer au lecteur de media un certificat d'authentification en réponse à la requête d'un certificat d'authentification, le lecteur de media déterminant la validité du certificat d'authentification; puis

    recevoir une requête d'une signature d'authentification et envoyer au lecteur de media une commande applicative, où, si le lecteur de media détermine que le certificat d'authentification n'est pas valable, le lecteur de media empêche l'accessoire d'interagir dorénavant avec le lecteur de media, et dans le cas contraire le lecteur de media autorise l'accessoire à faire appel à une fonction applicative correspondante du lecteur de media; puis

    transmettre une signature d'authentification au lecteur de media pour validation.


     
    9. L'accessoire de la revendication 8, dans lequel l'interface de lecteur de media est configurée pour communiquer avec l'accessoire suivant un protocole d'accessoire de lecteur de media qui définit une pluralité de commandes applicatives pour faire appel à une pluralité de fonctions applicatives du lecteur de media.
     
    10. L'accessoire de la revendication 9, dans lequel l'accessoire est configuré pour produire la signature d'authentification par:

    réception d'un défi en tant que partie de la requête d'une signature d'authentification; et

    signature du défi reçu.


     
    11. L'accessoire de la revendication 8, dans lequel le contrôleur est en outre configuré pour:
    envoyer une commande applicative au lecteur de media, où si le lecteur de media détermine que le certificat d'authentification n'est pas valide, le lecteur de media empêche l'accessoire d'interagir dorénavant avec le lecteur de media et, si le certificat d'authentification est valide, le lecteur de media ne traite pas la commande applicative si la commande applicative peut soit altérer de façon permanente le comportement du lecteur de media soit télécharger des media non sécurisés, dans le cas contraire le lecteur de media traite la commande applicative en permettant ainsi à l'accessoire de faire appel à une fonction applicative correspondante du lecteur de media.
     
    12. L'accessoire de la revendication 11, dans lequel le certificat d'authentification comprend une information de version majeure d'authentification et une information de version mineure d'authentification.
     
    13. L'accessoire de la revendication 12, dans lequel l'accessoire est configuré pour produire la signature d'authentification par:

    réception d'un défi en tant que partie de la requête d'une signature d'authentification; et

    signature du défi reçu.


     




    Drawing