SYSTEM AND METHOD FOR MANAGING MEDIA PLAY TASKS AND STORAGE MEDIUM CONTAINING INSTRUCTIONS THEREOF
First Claim
1. A method for managing media play tasks in a handheld electronic device, the method comprising:
- (a) generating a media stack in an operating system of the handheld device;
(b) storing current media play tasks into the media stack, and setting a play priority for each of the media play tasks;
(c) reading all media play tasks having a top play priority, and further selecting a media play task having first entered the media stack from the read media play tasks having the top play priority;
(d) playing a first media file corresponding to the selected media play task;
(e) determining if a new media play task is generated during execution of the first media file;
(f) storing the new media play task into the media stack if the new media play task is generated, and setting a play priority for the new media play task according to a type of the new media play task;
(g) determining if the play priority of the new media play task is lower than the play priority of the selected media play task; and
(h) suspending execution of the first media file if the play priority of the new media play task is not lower than the play priority of the selected media play task, and playing a second media file corresponding to the new media play task.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for managing media play tasks includes generating a media stack, storing current media play tasks into the media stack, and setting a play priority for each of the media play tasks, and selecting a media play task from the media stack, and playing the selected media play task. The method further includes storing a new media play task into the media stack if the new media play task is generated, and setting a play priority for the new media play task, suspending the media play task being played if the play priority of the new media play task is not lower than the play priority of the media play task being played, and playing the new media play task. A system performing the method and storage medium supporting instructions for executing the method are also provided.
8 Citations
10 Claims
-
1. A method for managing media play tasks in a handheld electronic device, the method comprising:
-
(a) generating a media stack in an operating system of the handheld device; (b) storing current media play tasks into the media stack, and setting a play priority for each of the media play tasks; (c) reading all media play tasks having a top play priority, and further selecting a media play task having first entered the media stack from the read media play tasks having the top play priority; (d) playing a first media file corresponding to the selected media play task; (e) determining if a new media play task is generated during execution of the first media file; (f) storing the new media play task into the media stack if the new media play task is generated, and setting a play priority for the new media play task according to a type of the new media play task; (g) determining if the play priority of the new media play task is lower than the play priority of the selected media play task; and (h) suspending execution of the first media file if the play priority of the new media play task is not lower than the play priority of the selected media play task, and playing a second media file corresponding to the new media play task. - View Dependent Claims (2, 3, 4)
-
-
5. A storage medium having stored thereon instructions that, when executed by a processor of a handheld device, causes the processor to perform a method for managing media play tasks in the handheld device, the method comprising:
-
(a) generating a media stack in an operating system of the handheld device; (b) storing current media play tasks into the media stack, and setting a play priority for each of the media play tasks; (c) reading all media play tasks having a top play priority, and further selecting a media play task having first entered the media stack from the read media play tasks having top play priority; (d) playing a first media file corresponding to the selected media play task; (e) determining if a new media play task is generated during execution of the first media file; (f) storing the new media play task into the media stack if the new media play task is generated, and setting a play priority for the new media play task according to a type of the new media play task; (g) determining if the play priority of the new media play task is lower than the play priority of the selected media play task; and (h) suspending execution of the first media file if the play priority of the new media play task is not lower than the play priority of the selected media play task, and playing a second media file corresponding to the new media play task. - View Dependent Claims (6)
-
-
7. A system for managing media play tasks, comprising:
-
a generating module configured for generating a media stack in an operating system of a handheld device; a storing module configured for storing current media play tasks into the media stack; a setting module configured for setting a play priority for each of the media play tasks; a selecting module configured for reading all media play tasks having a top play priority, and further selecting a media play task first enters the media stack from the read media play tasks having the top play priority; a playing module configured for playing a first media file corresponding to the selected media play task; a determining module configured for determining if a new media play task is generated during execution of the first media file; the storing module further configured for storing the new media play task into the media stack if the new media play task is generated; the setting module further configured for setting a play priority for the new media play task according to a type of the new media play task; the determining module further configured for determining if the play priority of the new media play task is lower than the play priority of the selected media play task; and the playing module further configured for suspending execution of the first media file if the play priority of the new media play task is not lower than the play priority of the selected media play task, and playing a second media file corresponding to the new media play task. - View Dependent Claims (8, 9, 10)
-
Specification