PATENT DOCUMENT

Publication Number: US-7949810-B2
Application Number: US-20898708-A
Country: US
Kind Code: B2

Title: Techniques for transferring data between a media player and an accessory having a tuner

Abstract:
A method, system, and connector interface for controlling an accessory. The method includes obtaining, by a portable media player, tuning information from the accessory; and controlling, by the portable media player, the accessory based on the tuning information. According to the system and method disclosed herein, the portable media player and accessory may utilize a plurality of commands utilized in a variety of environments such as within a connector interface system environment to control access to the portable media player.

Claims:
1. A method performed by an accessory communicatively coupled with a portable media player, the method comprising:
 sending, to the portable media player, capability information indicating that the accessory is capable of performing one or more radio-frequency (RF) tuning functions; 
 receiving, at a tuner included in the accessory, a plurality of RF signals, wherein the tuner is a terrestrial tuner or a satellite tuner; 
 converting, via the tuner, the plurality of RF signals into audio data; and 
 sending the audio data to the portable media player. 
 
     
     
       2. The method of  claim 1  further comprising:
 receiving, from the portable media player, a request for state information indicating a current state of the tuner; and 
 sending the state information to the portable media player. 
 
     
     
       3. The method of  claim 1 , wherein the accessory is powered by the portable media player. 
     
     
       4. The method of  claim 1 , wherein the one or more RF tuning functions include one or more of: a band function, resolution function, mode function, or control function. 
     
     
       5. The method of  claim 1 , wherein the portable media player is configured to verify that the accessory has been instantiated and authenticated to interoperate with the portable media player prior to receiving the capability information. 
     
     
       6. The method of  claim 2 , wherein the state information includes one or more of: current band information, current frequency information, current mode information, or current received signal strength (RSSI) information. 
     
     
       7. The method of  claim 2 , wherein the portable media player is configured to present the state information on a display of the portable media player. 
     
     
       8. The method of  claim 3  further comprising:
 receiving notification from the portable media player when the portable media player transitions between power states. 
 
     
     
       9. The method of  claim 8 , wherein the power states include a power on state and a sleep state. 
     
     
       10. An accessory for use with a portable media player, the accessory comprising:
 a radio-frequency (RF) tuner, the tuner being a terrestrial tuner or a satellite tuner; 
 an interface adapted to be coupled with a portable media player; and 
 a control module coupled to the interface, the control module being configured to:
 send, to the portable media player, capability information indicating that the accessory is capable of performing one or more RF tuning functions; 
 receive, at the tuner, a plurality of RF signals; 
 convert, via the tuner, the plurality of radio signals into audio data; and 
 send the audio data to the portable media player via the interface. 
 
 
     
     
       11. The accessory of  claim 10 , wherein the control module is further configured to:
 receive, from the portable media player, a request for state information indicating a current state of the tuner; and 
 send the state information to the portable media player. 
 
     
     
       12. The accessory of  claim 10 , wherein the accessory is powered by the portable media player. 
     
     
       13. The accessory of  claim 10 , wherein the one or more RF tuning functions include one or more of: a band function, resolution function, mode function, or control function. 
     
     
       14. The accessory of  claim 10 , wherein the portable media player is configured to verify that the accessory has been instantiated and authenticated to interoperate with the portable media player prior to receiving the capability information. 
     
     
       15. The accessory of  claim 11 , wherein the state information includes one or more of: current band information, current frequency information, current mode information, or current received signal strength (RSSI) information. 
     
     
       16. The accessory of  claim 11 , wherein the portable media player is configured to present the state information on a display of the portable media player. 
     
     
       17. The accessory of  claim 12 , wherein the control module is further configured to:
 receive notification from the portable media player when the portable media player transitions between power states. 
 
     
     
       18. The accessory of  claim 17 , wherein the power states include a power on state and a sleep state. 
     
     
       19. The accessory of  claim 10 , wherein the interface comprises a connector having a plurality of signal pins, the signal pins being arranged to mate with corresponding signal pins on a mating connector of the portable media player. 
     
     
       20. The accessory of  claim 19 , wherein the plurality of signal pins includes a pair of serial pins and wherein the audio data is sent via a transmit pin of the pair of serial pins. 
     
     
       21. The accessory of  claim 20 , wherein the plurality of signal pins further includes:
 a ground pin and a power pin adapted such that the ground pin makes contact with a corresponding ground pin in the mating connector of the portable media player before the power pin makes contact with a corresponding power pin in the mating connector of the portable media player; 
 a USB signal pin; 
 a USB power pin; 
 an accessory identify signal pin; 
 an accessory detect signal pin; 
 a video output pin; 
 an accessory power pin; and 
 a line signal pin. 
 
     
     
       22. The accessory of  claim 19 , wherein the connector comprises a keying arrangement, and wherein one set of keys are separated by one length and another set of keys are separated by another length. 
     
     
       23. A method performed by a portable media player communicatively coupled with an accessory, the method comprising:
 receiving, from the accessory, capability information indicating that the accessory is capable of performing one or more radio-frequency (RF) tuning functions; and 
 receiving audio data from the accessory, wherein the audio data is generated by a tuner included in the accessory from a plurality of RF signals received by the tuner, and wherein the tuner is a terrestrial tuner or a satellite tuner. 
 
     
     
       24. The method of  claim 23  further comprising:
 sending, to the accessory, a request for state information indicating a current state of the tuner; and 
 receiving the state information from the accessory. 
 
     
     
       25. The method of  claim 23 , wherein the one or more RF tuning functions include a band function, resolution function, mode function, and control function. 
     
     
       26. The method of  claim 23  further comprising:
 verifying that the accessory has been instantiated and authenticated to interoperate with the portable media player prior to receiving the capability information. 
 
     
     
       27. The method of  claim 24 , wherein the state information includes one or more of: current band information, current frequency information, current mode information, or current received signal strength (RSSI) information. 
     
     
       28. The method of  claim 24  further comprising:
 presenting the state information on a display of the portable media player. 
 
     
     
       29. The method of  claim 23 , wherein the portable media player powers the accessory. 
     
     
       30. The method of  claim 29  further comprising:
 sending notification to the accessory when the portable media player transitions between power states. 
 
     
     
       31. The method of  claim 30 , wherein the power states include a power on state and a sleep state. 
     
     
       32. A portable media player comprising:
 a storage device configured to store a plurality of media assets; 
 an interface adapted to be coupled with an accessory; and 
 a control module coupled to the storage device and the interface, the control module being configured to:
 receive, from the accessory, capability information indicating that the accessory is capable of performing one or more radio-frequency (RF) tuning functions; and 
 receive audio data from the accessory, wherein the audio data is generated by a tuner included in the accessory from a plurality of RF signals received by the tuner, and wherein the tuner is a terrestrial tuner or a satellite tuner. 
 
 
     
     
       33. The portable media player of  claim 32 , wherein the control module is further configured to:
 send, to the accessory, a request for state information indicating a current state of the tuner; and 
 receive the state information from the accessory. 
 
     
     
       34. The portable media player of  claim 32 , wherein the portable media player powers the accessory. 
     
     
       35. The portable media player of  claim 32 , wherein the one or more RF tuning functions include a band function, resolution function, mode function, and control function. 
     
     
       36. The portable media player of  claim 32 , wherein the control module is further configured to:
 verify that the accessory has been instantiated and authenticated to interoperate with the portable media player prior to receiving the capability information. 
 
     
     
       37. The portable media player of  claim 33 , wherein the state information includes one or more of: current band information, current frequency information, current mode information, or current received signal strength (RSSI) information. 
     
     
       38. The portable media player of  claim 33 , wherein the control module is further configured to:
 present the state information on a display of the portable media player. 
 
     
     
       39. The portable media player of  claim 34 , wherein the control module is further configured to:
 send notification to the accessory when the portable media player transitions between power states. 
 
     
     
       40. The portable media player of  claim 39 , wherein the power states include a power on state and a sleep state. 
     
     
       41. The portable media player of  claim 32 , wherein the interface comprises a connector having a plurality of signal pins, the signal pins being arranged to mate with corresponding signal pins on a mating connector of the accessory. 
     
     
       42. The portable media player of  claim 41 , wherein the plurality of signal pins includes:
 a ground pin and a power pin adapted such that the ground pin makes contact with a corresponding ground pin in the mating connector of the accessory before the power pin makes contact with a corresponding power pin in the mating connector of the accessory; 
 a USB signal pin; 
 a USB power pin; 
 an accessory identify signal pin; 
 an accessory detect signal pin; 
 a video output pin; 
 an accessory power pin; and 
 a line signal pin. 
 
     
     
       43. The portable media player of  claim 41 , wherein the connector comprises a keying arrangement, and wherein one set of keys are separated by one length and another set of keys are separated by another length.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
     The present application claims priority from and is a continuation of U.S. patent application Ser. No. 11/519,386, filed Sep. 11, 2006, entitled “METHOD AND SYSTEM FOR CONTROLLING AN ACCESSORY HAVING A TUNER,” the entire contents of which is incorporated herein by reference for all purposes. 
     The present application is related to the following commonly-assigned patent applications, the entire contents of which are incorporated herein by reference for all purposes: 
     U.S. patent application Ser. No. 11/519,278, entitled “Method and System for Controlling Power Provided to an Accessory”, filed Sep. 11, 2006; and 
     U.S. patent application Ser. No. 11/519,541, entitled “Method and System for Controlling Video Selection and Playback in a Portable Media Player”, filed Sep. 11, 2006. 
    
    
     FIELD OF THE INVENTION 
     The present invention relates generally to electrical devices and more particularly to electrical devices such as portable media players that communicate with accessory devices. 
     BACKGROUND OF THE INVENTION 
     A portable media player stores media assets, such as audio tracks, video tracks or photos that can be played or displayed on the portable media player. One example of a portable media player is the iPod® portable media player, which is available from Apple Computer, Inc. of Cupertino, Calif. Often, a portable 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 Computer, Inc. 
     A portable media player typically includes one or more connectors or ports that can be used to interface to the portable media player. For example, the connector or port can enable the portable 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 portable media player. For example, a remote control can be connected to the connector or port to allow the user to remotely control the portable media player. As another example, an automobile can include a connector and the portable media player can be inserted onto the connector such that an automobile media system can interact with the portable media player, thereby allowing the media content on the portable media player to be played within the automobile. In another example, a digital camera can be connected to the portable media player to download images and the like. 
     Numerous third-parties have developed accessories for use with portable media players. Some accessories that couple to portable media players include tuners. A tuner is an adjustable device that receives radio frequency broadcast signals (e.g., AM/FM signals) and converts them to sound and/or data. An accessory having a tuner typically couples to the portable media player via a connector or port. An accessory may be used with the portable media player as long as a compatible connector or port is utilized. It is important that the accessory and the portable media player communicate in an efficient and effective manner. The present invention addresses these issues. 
     SUMMARY OF THE INVENTION 
     A method, system, and connector interface for controlling an accessory are disclosed. The method includes obtaining, by a portable media player, tuning information from the accessory; and controlling, by the portable media player, the accessory based on the tuning information. 
     According to the system and method disclosed herein, the portable media player and accessory may utilize a plurality of commands utilized in a variety of environments such as within a connector interface system environment to control access to the portable media player. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  shows an exemplary portable media player, in accordance with an embodiment of the invention. 
         FIGS. 2A and 2B  illustrate a docking connector in accordance with the present invention. 
         FIG. 3A  is a front and top view of a remote connector in accordance with the present invention. 
         FIG. 3B  illustrates a plug to be utilized in the remote connector. 
         FIG. 3C  illustrates the plug inserted into the remote connector. 
         FIG. 4A  illustrates the connector pin designations for the docking connector. 
         FIG. 4B  illustrates the connection pin designations for the remote connector. 
         FIG. 5A  illustrates a typical FireWire connector interface for the docking connector. 
         FIG. 5B  illustrates a reference schematic diagram for an accessory power source. 
         FIG. 5C  illustrates a reference schematic diagram for a system for detecting and identifying accessories for the docking connector. 
         FIG. 5D  is a reference schematic of an electret microphone that may be within the remote connector. 
         FIG. 6  illustrates a portable media player coupled to a tuner. 
         FIG. 7  is a flow chart, which illustrates a process for controlling an accessory. 
         FIG. 8  is a flow chart, which illustrates another process for controlling an accessory. 
     
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     The present invention relates generally to electrical devices and more particularly to electrical devices such as portable 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. 
     A method and system in accordance with the present invention for controlling an accessory is disclosed. In one embodiment, the method includes obtaining tuning information from the accessory, where the accessory includes a tuner for receiving signals such as radio signals. In one embodiment, the tuning information includes capability information and state information, where the capability information may indicate what capabilities the accessory can perform, what features are present on the accessory, and the state information may indicate band information, frequency information, mode information, received signal strength indication (RSSI) information, etc. The method further includes controlling the accessory based on the tuning information by transmitting tuning information such as control information to the accessory to control the functionality of the accessory. The portable media player and accessory may utilize the plurality of commands utilized in a variety of environments to facilitate controlling access to the portable media player. To describe the features of the present invention in more detail refer now to the following discussion in conjunction with the accompanying figures. 
       FIG. 1  shows a simplified block diagram for an exemplary portable media player  10  in accordance with an embodiment of the invention. The portable media player  10  includes a processor  124  that pertains to a microprocessor or controller for controlling the overall operation of the portable media player  10 . The portable media player  10  stores media data pertaining to media assets in a file system  126  and a cache  106 . The file system  126  typically provides high capacity storage capability for the portable media player  10 . However, to improve access time to the file system  126 , the portable media player  10  can also include a cache  106 . The cache  106  may be, for example, Random-Access memory (RAM). The relative access time to the cache  106  is substantially shorter than for the file system  126 . However, the cache  106  typically does not have the large storage capacity of the file system  126 . Further, the file system  126 , when active, consumes more power than does the cache  106 . The power consumption is particularly important when the portable media player  10  is powered by a battery (not shown). The portable media player  10  also includes additional RAM  122  and a Read-Only Memory (ROM)  120 . The ROM  120  can store programs to be executed by the processor  124 . The RAM  122  provides volatile data storage, such as for the cache  106 . 
     The portable media player  10  also includes a user input device  108  that allows a user of the portable media player  10  to interact with the portable media player  10 . For example, the user input device  108  can take a variety of forms, such as a button, keypad, touch screen, dial, etc. Still further, the portable media player  10  includes a display  110  (screen display) that can be controlled by the processor  124  to display information as well as photos and video tracks to the user. A data bus  113  can facilitate data transfer between at least the file system  126 , the cache  106 , the processor  124 , and other functional blocks. The portable media player  10  also includes a bus interface  116  that couples to a data link  118 . The data link  118  allows the portable media player  10  to couple to a host computer that can be a stand alone host computer or part of an interconnected network of computers, such as the Internet or other such distributed systems. 
     In one embodiment, the portable media player  10  serves to store a plurality of media assets (e.g., songs, videos, photos) in the file system  126 . When a user desires to have the portable media player  10  play a particular media item, a list of available media assets is displayed on the display  110 . Then, using the user input device  108 , a user can select one of the available media assets. The processor  124 , upon receiving a selection of a particular media item, such as an audio file, supplies the media data for the particular media item to a coder/decoder (CODEC)  112  via bus  113 . The CODEC  112  then produces analog output signals for a speaker  114 . The speaker  114  can be a speaker internal to the portable media player  10  or external to the portable media player  10 . For example, headphones or earphones that connect to the portable media player  10  would be considered an external speaker. In other applications, media asset files stored on the host computer or in other computers coupled to the host computer by way of the network can be transferred (otherwise referred to as downloaded) to the file system  126  (or the cache  106 ). These media assets could also be, for example, videos or photos which could be provided to the display  110  via a video processor (not shown) either coupled to or within the processor  124 . In this way, the user has available any number and type of media asset files for play by the portable media player  10 . 
     For example, in a particular embodiment, the available media assets are arranged in a hierarchical manner based upon a selected number and type of groupings appropriate to the available media assets. In the case where the portable media player  10  is an MP3 type media player, the available media assets take the form of MP3 files (each of which corresponds to a digitally encoded song or other rendition) stored at least in part in the file system  126 . The available media assets (or in this case, songs) can be grouped in any manner deemed appropriate. In one arrangement, the songs can be arranged hierarchically as a list of music genres at a first level, a list of artists associated with each genre at a second level, a list of albums for each artist listed in the second level at a third level, while at a fourth level a list of songs for each album listed in the third level, and so on. 
     A method and system in accordance with the present invention can be utilized with a portable media player and its associated accessory in a variety of environments. One such environment is within a connector interface system that is described in detail hereinbelow. The connector interface system allows for the portable media player and the accessory to communicate utilizing interface signals over at least one of the pins of the connector interface system. 
     Connector Interface System Overview 
     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 
       FIGS. 2A and 2B  illustrate a docking connector  100  in accordance with the present invention. Referring first to  FIG. 2A , the keying features  102  are of a custom length  104 . In addition, a specific key arrangement where one set of keys are separated by one length are at the bottom and another set of keys are separated by another length at the top of the connector is used. 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.  FIG. 2B  illustrates the first make/last break contact  202  and also illustrates a ground pin  204  and a power pin  206  related to providing an appropriate first mate/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 . Therefore the risk of internal electrical damage to the electronics of the device is minimized. Further details of an exemplary embodiment for the docking connector  100  are described in U.S. Pat. No. 6,776,660 entitled CONNECTOR, which issued on Aug. 17, 2004 and is incorporated herein by reference in it entirety. 
     In addition, a connector interface system in accordance with the present invention uses both USB 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 portable media player. 
     Remote Connector 
     The connector interface system also includes a remote connector which provides for the ability to output audio, input audio, provides I/O serial protocol, and the ability to input video and output video.  FIG. 3A  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  222 , as well as a second receptacle  224  for remote devices.  FIG. 3B  illustrates a plug  300  to be utilized in the remote connector. The plug  300  allows these features to be provided via the remote connector.  FIG. 3C  illustrates the plug  300  inserted into the remote connector  200 . Heretofore, all 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. 
     To describe the features of the connector interface system in more detail, provided below is a functional description of the docking connector, remote connector and a command set in accordance with the present invention. 
     Docking and Remote Connector Specifications 
     For an example of the connector pin designations for both the docking connector and for the remote connector for a portable media player such as an iPod device by Apple Computer, Inc., refer now to  FIGS. 4A and 4B .  FIG. 4A  illustrates the connector pin designations for the docking connector.  FIG. 4B  illustrates the connection pin designations for the remote connector. 
     Docking Connector Specifications 
       FIG. 4A  illustrates a typical Firewire connector interface for the docking connector: 
     Firewire Power: 
     8V-30V DC IN 
     10 W Max 
     Firewire Signal: 
     Designed to IEEE 1394 A Spec (400 Mb/s) 
     USB Interface 
     In one embodiment, the portable media player provides two configurations, or modes, of USB device operation: mass storage and portable media player USB Interface (MPUI). The MPUI allows the portable media player to be controlled using an accessory protocol. What is meant by an accessory protocol is the software component of the media player that communicates with accessories over a given transport layer. 
     Accessory Power 
       FIG. 5B  illustrates the accessory power source. The portable 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 connector and the remote connector. 
     By default, the portable media player supplies a particular current such as 5 mA. An appropriate software accessory detection system can be employed to turn on high power (for example, up to 100 mA) during active device usage. When devices are inactive, they typically consume less than a predetermined amount of power such as 5 mA current. 
     Accessory power is switched off for a period of, for example, approximately 2 seconds during the powering up of the portable media player. This is done to ensure that accessories are in a known state and can be properly detected. In one embodiment, accessories are responsible for re-identifying themselves after the portable media player transitions accessory power from the off to the on state. 
     Accessory power is grounded through the Digital Ground (DGND) pins. 
       FIG. 5C  illustrates a reference schematic diagram for a system for detecting and identifying accessories for the docking connector. The system comprises: 
     A resistor (R) to ground allows the device to determine what type of accessory has been plugged into the docking connector. 
     Two identify and detect pins (Accessory Identify (pin  10 ,  FIG. 4A ) and Accessory Detect (pin  20 ,  FIG. 4A )). 
       FIG. 5D  is a reference schematic of an electret microphone that is within the remote connector. 
     Serial Protocol Communication: 
     Two pins used to communicate to and from device (Rx (pin  19 ,  FIG. 4A ) &amp; Tx (pin  18 ,  FIG. 4A )). 
     Input &amp; Output (e.g., 0V=Low, 3.3V=High) 
     As mentioned previously, portable media players connect to a variety of accessories.  FIG. 6  illustrate a portable media player  500  coupled to a tuner  502 . Although  FIG. 6  illustrates a portable media player  500  coupled directly to a tuner, the present invention may apply to any accessory that has a tuner, and still remain within the spirit and scope of the present invention. 
     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. 
     As mentioned previously, this connector interface system could be utilized with a command set for controlling an accessory having a tuner. In one embodiment, the accessory may be a host computer or any other electronic device or system that may communicate with the portable 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 and they would be within the spirit and scope of the present invention. 
     Accessories with Tuners 
     For radio reception using a portable media player, accessories having a tuner may be attached to the portable media player. In one embodiment, when the portable media player detects an accessory, the portable media player may transition into a radio tuner mode where the portable media player can display, change, and/or control the settings, music source, RF band, tuner frequency, and Radio Data System/Radio Broadcast Data System (RDS/RBDS) data of the accessory. In one embodiment, RDS/RBDS data may include traffic information, song information (e.g., artist information, song name, radio station information, traffic alert information, etc.). The portable media player may display the RDS/RBDS data as well as other types of metadata on a screen. In one embodiment, an accessory may draw power from the portable media player or may supply power to the portable media player. In one embodiment, the portable media player may store stations and other state information. In one embodiment, the portable media player may notify the an accessory if a portable media player state changes such as transitioning to power on/light sleep/hibernate/deep sleep states. 
     Tuner Protocol 
     As described in more detail below, the portable media player and the accessory exchange commands. For example, utilizing the 30-pin connector in the interface between the portable media player and the accessory, the portable media player and the accessory would exchange commands over the serial protocol pins  18  and  19  ( FIG. 4A ). The portable media player and the accessory utilize the tuner protocol to exchange tuning information such as capability, state, and control information. In one embodiment, the tuner protocol enables the portable media player to function as a master device and enables the accessory to function as a slave device, responding to commands received from the portable media player. Accordingly, the portable media player may initiate actions such as controlling the power of the accessory, setting the tuner band/frequency, and initiating up/down frequency scans, etc. 
     When the portable media player sends a command to the accessory, the accessory responds with data when the command received from the portable media player requests data (e.g., capability or state information). In one embodiment, the accessory may respond with an acknowledgment command, which includes an acknowledgment and the requested data. 
     As described in more detail below, in one embodiment, the accessory transmits capability information to the portable media player. Based on the capability information received from the accessory, the tuner protocol may change the appearance of its display based on the presence/absence of certain tuner features. Generally, in one embodiment, if the portable media player sends a command to the accessory and the command involves a capability that the accessory does not support, the accessory may respond with an acknowledgement command indicating a failure (e.g., not supported). 
     In one embodiment, the tuner protocol may verify that the accessory has been instantiated, a tuner device associated with the accessory is actually present, and the tuner device has been authenticated successfully. In one embodiment, the tuner protocol parses the payload of commands, validates the received data, and sends a message to the appropriate application with the data received from the accessory. The tuner protocol applies appropriate time out operations as needed. 
     Although the present invention disclosed herein is described in the context of accessories having terrestrial tuners such as RF tuners, the present invention may apply to accessories having other types of tuners such as satellite tuners, and still remain within the spirit and scope of the present invention. Furthermore, in one embodiment, the tuner protocol may be used in conjunction with other protocols such as remote or display protocols. The following are example processes for controlling an accessory. 
       FIG. 7  is a flow chart, which illustrates a process for controlling an accessory, in accordance with one embodiment of the present invention. As  FIG. 7  illustrates, the process begins in step  602  where the portable media player obtains tuning information from the accessory, where the accessory includes a tuner for receiving signals such as radio signals. In one embodiment, the tuning information includes capability information and state information. As described in more detail below, the capability information may indicate what capabilities the accessory can perform. For example, the capability information may indicate that the accessory can perform radio frequency (RF) tuning functions, the tuner band or mode features of the accessory, etc. Also, the state information may indicate band information, frequency information, mode information, received signal strength indication (RSSI) information, etc. Next, in step  604 , the portable media player controls the accessory based on the tuning information. More specifically, the portable media player transmits tuning information such as control information to the accessory to control the functionality of the accessory. More detailed embodiments of the capability, state, and control information, as well as their associated commands are described below in connection with  FIG. 8 . 
       FIG. 8  is a flow chart, which illustrates a process for controlling an accessory, in accordance with another embodiment of the present invention. As  FIG. 8  illustrates, the process begins in step  702  where the portable media player obtains capability information from the accessory. More specifically, the portable media player transmits a command to the accessory requesting capability information. In response, the accessory transmits a command to the portable media player providing the capability information. As described in more detail below, the capability information may indicate, for example, band, resolution, mode, and control capabilities of the accessory. 
     Next, in step  704 , the portable media player obtains state information from the accessory. More specifically, the portable media player transmits one or more commands to the accessory requesting the state information. In response, the accessory transmits one more commands to the portable media player providing the state information. As described in more detail below, the state information may include, for example, the current band, resolution, and mode of the accessory. In one embodiment, the portable media player may send commands to the accessory instructing the accessory to automatically send notifications to the portable media player indicating any state changes. 
     Next, in step  706 , the portable media player transmits control information to the accessory, wherein the control information is based on the capability information and the state information. As described in more detail below, in one embodiment, the portable media player transmits one or more control commands to the accessory to set tuning functions and to control the accessory. In one embodiment, the control commands may be based at least in part on the capability information and the state information received from the accessory. Control commands may enable the portable media player to set band settings, set frequency settings, set mode settings, and/or control the operations of the accessory. As described in more detail below, the accessory may transmit an acknowledgment command including status information to the portable media player in response to commands received from the portable media player. For example, if the portable media player transmits a command to the accessory to set a frequency, the accessory may respond with an acknowledgement command including state information (e.g., the frequency to which the tuner of the accessory is tuned). 
     A method and system in accordance with the present invention for controlling an accessory has been disclosed. In one embodiment, the method includes obtaining tuning information from the accessory, where the tuning information may include capability information and state information. The method further includes controlling the accessory based on the tuning information by transmitting tuning information such as control information to the accessory to control the functionality of the accessory. 
     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 and those variations would be within the spirit and scope of the present invention. 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 spirit and scope of the appended claims.

Metadata:
Filing Date: 20080911
Publication Date: 20110524
Grant Date: 20110524
Priority Date: 20040427
Inventors: BOLTON LAWRENCE G.
LYDON GREGORY T.
TIKALSKY TERRY
NOVOTNEY DONALD J.
FILSON JOHN B.
TUPMAN DAVID
Assignee: APPLE INC
CPC Classifications: [{"code": "H04M1/72409", "inventive": true, "first": false, "tree": "[]"}, {"code": "H04B1/205", "inventive": true, "first": false, "tree": "[]"}, {"code": "G06F13/409", "inventive": true, "first": true, "tree": "[]"}, {"code": "H04B1/205", "inventive": true, "first": false, "tree": "[]"}, {"code": "G06F13/409", "inventive": true, "first": true, "tree": "[]"}, {"code": "H04M1/72409", "inventive": true, "first": false, "tree": "[]"}]
Family ID: 39855707