PATENT DOCUMENT

Publication Number: US-7729791-B2
Application Number: US-53077306-A
Country: US
Kind Code: B2

Title: Portable media playback device including user interface event passthrough to non-media-playback processing

Abstract:
A method of operating a portable electronics device can include integrated operation of media playback processing and non-media-playback processing (such as, for example, a game). The method can include receiving an event corresponding to operation of a user interface item by a user of the portable electronics device. The received event can be provided to the non-media-playback processing. The non-media-playback processing can determine whether to cause an action corresponding to the provided received event with respect to the non-media-playback processing. For an event determined by the non-media-playback processing to not cause an action corresponding to the provided received event with respect to the non-media-playback processing, the provided received event can be provided to the media playback processing. Typically, the operating performed by the media playback processing based on the event can be the processing that would otherwise be performed by the media playback processing if the non-media-playback processing was not even occurring.

Claims:
1. A method of integrated operation of media playback processing and non-media-playback processing by a portable electronic device, the method comprising:
 receiving a user input event for selecting an operation to be performed by the portable electronic device; 
 operating in a mode by the portable electronic device suitable for processing the selected operation without further user interaction by, 
 providing the received event directly to the media playback processing; 
 passing the received event directly to the non-media playback processing by the media playback processing; 
 if the non-media playback processing determines that selected operation is to be performed by the non-media playback processing, then the non-media playback processing performs the selected operation, otherwise, automatically passing the received event to the media playback processing; and 
 performing the selected operation corresponding to the received event by the media playback processing. 
 
     
     
       2. The method of  claim 1 , wherein:
 passing the received event to the non-media-playback processing includes providing an indication of the event to a data structure associated with the non-media-playback processing. 
 
     
     
       3. The method of  claim 2 , wherein:
 the automatically passing the received event to the media playback processing includes removing the indication of the event from the data structure associated with the non-media-playback processing and providing the indication of the event to a data structure associated with the media playback processing. 
 
     
     
       4. The method of  claim 1 , wherein:
 the non-media-playback processing includes processing for a game. 
 
     
     
       5. The method of  claim 1 , wherein:
 the non-media-playback processing determines to not cause an action corresponding to the provided received event with respect to the non-media-playback processing; and 
 the method further comprises the media playback processing causing an operation to be performed on the provided received event. 
 
     
     
       6. The method of  claim 5 , wherein:
 the selected operation is performed by the media playback processing in the absence of the non-media playback processing. 
 
     
     
       7. A computer readable medium for storing program code for operating a portable electronic device including integrated operation of media playback processing and non-media-playback processing, the computer readable medium comprising:
 computer code for receiving a user input event for selecting an operation to be performed by the portable electronic device; 
 computer code for causing the portable electronic device to operate in a mode suitable for processing the selected operation without further user interaction, comprising: 
 computer code for providing the received event directly to the media playback processing; 
 computer code for passing the received event directly to the non-media playback processing by the media playback processing; 
 computer code for determining if the selected operation is to be performed by the non-media playback processing, then the non-media playback processing performs the operation, otherwise, automatically passing the received event to the media playback processing; and 
 computer code for performing the operation corresponding to the received event by the media playback processing. 
 
     
     
       8. The computer readable medium of  claim 7 , wherein:
 the computer code for determining includes computer code for providing an indication of the event to a data structure associated with the non-media-playback processing. 
 
     
     
       9. The computer readable medium of  claim 8 , further comprising:
 computer code for removing the indication of the event from the data structure associated with the non-media-playback processing and providing the indication of the event to a data structure associated with the media playback processing. 
 
     
     
       10. The computer readable medium of  claim 7 , wherein:
 the non-media-playback processing includes processing for a game. 
 
     
     
       11. The computer readable medium of  claim 7 , wherein:
 the non-media-playback processing determines to not cause an action corresponding to the provided received event with respect to the non-media-playback processing; and 
 the computer program product further comprising computer program instructions which are operable to cause the media playback processing to perform an operation on the provided received event. 
 
     
     
       12. The computer readable medium of  claim 11 , wherein:
 the selected operation is performed by the media playback processing in the absence of the non-media-playback processing. 
 
     
     
       13. A portable electronic device configured to operate media playback processing and non-media-playback processing in an integrated manner, the portable electronic device comprising:
 a user interface adapted to receive user inputs; and 
 processing circuitry, adapted to perform the media playback processing and the non-media-playback processing, the processing circuitry configured to receive from the user interface a user provided input event for selecting an operation to be performed by the portable electronic device, and cause the portable electronic device to operate in a mode suitable for processing the selected operation without further user interaction by providing the received event directly to the media playback processing, passing the received event directly to the non-media-playback processing by the media playback processing, if the selected operation is to be performed by the non-media-playback processing, then the non-playback-processing performs the operation otherwise, the received event is automatically passed to the media playback processing, and the selected operation is performed by the media playback processing. 
 
     
     
       14. The portable electronic device of  claim 13 , wherein:
 the processing circuitry being configured to cause the portable electronic device to provide the received event to the non-media-playback processing includes the processing circuitry being configured to cause the portable electronic device to provide an indication of the event to a data structure associated with the non-media-playback processing. 
 
     
     
       15. The portable electronic device of  claim 14 , wherein:
 the processing circuitry being configured to cause the portable electronic device to provide the received event to the media playback processing, the processing circuitry being configured to cause the portable electronic device to remove the indication of the event from the data structure associated with the non-media-playback processing and providing the indication of the event to a data structure associated with the media playback processing. 
 
     
     
       16. The portable electronic device of  claim 13 , wherein:
 the non-media-playback processing includes processing for a game. 
 
     
     
       17. The portable electronic device of  claim 13 , wherein:
 the non-media-playback processing determines to not cause an action corresponding to the provided received event with respect to the non-media-playback processing; and 
 the processing circuitry is further configured to cause the media playback processing to perform an operation on the provided received event. 
 
     
     
       18. The portable electronic device of  claim 17 , wherein:
 the operation caused to be performed on the provided received event, by the media playback processing, is the operation that would otherwise be cause to be performed on the provided received event in the absence of the non-media-playback processing.

Description:
BACKGROUND 
     Portable electronic devices for media playback are becoming ever more popular. For example, a very popular portable media player is the line of iPod® media players from Apple Computer, Inc. of Cupertino, Calif. In addition to media playback, the iPod® media players also provide non-media-playback capabilities, including game playing capabilities. 
     SUMMARY 
     The inventors have realized that it is desirable to create an integrated media playback and non-media-playback experience. 
     Methods of operating a portable electronics device can include integrated operation of media playback processing and non-media-playback processing (such as, for example, game processing). The method can include receiving an event corresponding to operation of a user interface item by a user of the portable electronics device. The received event can be provided to the non-media-playback processing. The non-media-playback processing can determine whether to cause an action corresponding to the provided received event with respect to the non-media-playback processing. 
     For an event determined by the non-media-playback processing to not cause an action corresponding to the provided received event with respect to the non-media-playback processing, the provided received event can be provided to the media playback processing. Typically, the operating performed by the media playback processing based on the event can be the processing that would otherwise be performed by the media playback processing if the non-media-playback processing was not even occurring. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is an architecture diagram broadly illustrating an example of processing to handle UI events to a portable electronics device such that the UI events may be operated upon by media playback processing and non-media-playback processing, as appropriate. 
         FIG. 2  is a flowchart illustrating processing within a non-media-playback (e.g., game) application, and 
         FIG. 3  is a flowchart illustrating processing of a media player application. 
     
    
    
     DETAILED DESCRIPTION 
     Methods are described to handle UI events to a portable electronics device such that the UI events may be operated upon by media playback processing and non-media-playback processing, as appropriate. The media playback processing and the non-media-playback processing may occur, at least when considered at a macroscopic level, in parallel. For example, the media playback processing may include playback of songs, such as is a commonly-known function of an iPod® media player. In general, the media playback nominally occurs in a predictive manner and, while user interaction may affect the media playback audio (e.g., by a user activating a “fast forward” or other user interface item), the media playback nominally occurs in a predictive manner. 
     In one example, an event corresponding to operation of a user interface item by a user of the portable electronics device is received. The received event is provided to the non-media-playback processing. The non-media-playback processing includes processing to determine whether to cause an action corresponding to the provided received event, with respect to the non-media-playback processing. For an event determined by the non-media-playback processing to not cause an action corresponding to the received event with respect to the non-media-playback processing, the received event is provided to the media playback processing. 
     A game application is an example of non-media-playback processing. That is, the game application substantially operates responsive to game-playing actions of a user of the portable media player. In this respect, the game video is not nominally generated in a predictive manner, as is the case with media playback processing. 
       FIG. 1  is an architecture diagram broadly illustrating an example of this processing. As shown in  FIG. 1 , a user interface event  110  is received by the media player application  102  executing on a portable media player device. For example, the user interface event  110  is a result of a user interacting with a user interface (for example, a physical or virtual knob, switch etc.) of the portable media player. At step  106  of processing with the media player application  102 , the media player application  102  passes through the UI event  110  to the non-media-playback application  104  (in this example, a game playing application). 
     At step  112 , within the game playing application  104 , the game playing application  104  determines whether it is configured to act on the UI event  110  that was passed to the game playing application  104  through the media player application  102 . If the determination at step  112  is yes, then the UI event is acted upon at step  114 , within the game playing application  104 . 
     Otherwise, at step  116  within the game playing application  104 , the UI event is passed back to the media player application  102 . Then, at step  108  within the media player application  102 , the UI event is acted upon by the media player application. 
       FIGS. 2 and 3  illustrate a particular implementation of the UI event processing, wherein an input queue and an output queue are employed for handling the UI events.  FIG. 2  illustrates processing within the non-media-playback (e.g., game) application. At step  202 , a UI event is read from an input queue. At step  204 , the game application determines if it is configured to act on the UI event. If yes, the game application acts on the UI event at step  206 . If no, the game application operates to write the UI event to an output queue. 
     Meanwhile, the media player application ( FIG. 3 ) operates on a frame-by-frame basis. Within one frame of processing, step  302  (and, in some instances, discussed below), step  304  and step  306  are performed. At step  302 , it is determined if there is a UI event in the output queue. (Remember, a UI event ends up in the output queue as a result of step  208  of the game application processing, where the game application is not configured to act on the UI event.) If, at step  302 , there is not a UI event in the output queue, then processing returns to step  302 , for a subsequent frame. 
     Otherwise, if at step  302  there is a UI event in the output queue, then an operation is performed, at step  304 , corresponding to the UI event. At step  306 , the just-processed UI event is removed from the output queue. 
     As an example, the UI event may correspond to the “next button up.” For example, if a game or other non-media-playback processing is not configured to handle this event, then the media playback processing will perform a “standard” next command. This may include traversing to the next chapter, if playing a chaptered track such as a podcast or audiobook, or playing the next playable track in the “now playing” list. In other words, the typically, the operating performed by the media playback processing based on the event is the processing that would otherwise be performed by the media playback processing if the non-media-playback processing was not even occurring. 
     Thus, the non-media-playback processing can determine which events to handle, and other events can be passed back to the playback processing. 
     The following applications are incorporated herein by reference in their entirety: U.S. patent application Ser. No. 11/882,427, filed concurrently herewith, entitled “TECHNIQUES FOR INTERACTIVE INPUT TO PORTABLE ELECTRONIC DEVICES,” and U.S. patent application Ser. No. 11/530,846, filed concurrently herewith, entitled “ALLOWING MEDIA AND GAMING ENVIRONMENTS TO EFFECTIVELY INTERACT AND/OR AFFECT EACH OTHER.”

Metadata:
Filing Date: 20060911
Publication Date: 20100601
Grant Date: 20100601
Priority Date: 20060911
Inventors: BOETTCHER JESSE
Assignee: APPLE INC
CPC Classifications: [{"code": "G06F16/44", "inventive": true, "first": false, "tree": "[]"}, {"code": "G06F3/04815", "inventive": true, "first": false, "tree": "[]"}, {"code": "G06F3/0482", "inventive": true, "first": false, "tree": "[]"}, {"code": "G06F9/542", "inventive": true, "first": true, "tree": "[]"}, {"code": "G06F9/542", "inventive": true, "first": true, "tree": "[]"}, {"code": "G06F9/542", "inventive": true, "first": true, "tree": "[]"}, {"code": "G06F3/04817", "inventive": true, "first": false, "tree": "[]"}, {"code": "G06F2209/545", "inventive": false, "first": false, "tree": "[]"}, {"code": "G06F2209/545", "inventive": false, "first": false, "tree": "[]"}, {"code": "G06F2209/545", "inventive": false, "first": false, "tree": "[]"}, {"code": "G06F16/4387", "inventive": true, "first": false, "tree": "[]"}]
Family ID: 39149214