TWI425416B - System and method for controlling to play audio requests - Google Patents

System and method for controlling to play audio requests Download PDF

Info

Publication number
TWI425416B
TWI425416B TW97124170A TW97124170A TWI425416B TW I425416 B TWI425416 B TW I425416B TW 97124170 A TW97124170 A TW 97124170A TW 97124170 A TW97124170 A TW 97124170A TW I425416 B TWI425416 B TW I425416B
Authority
TW
Taiwan
Prior art keywords
play request
audio play
audio
sound
media stack
Prior art date
Application number
TW97124170A
Other languages
Chinese (zh)
Other versions
TW201001275A (en
Inventor
Chien Hsun Chu
Original Assignee
Chi Mei Comm Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chi Mei Comm Systems Inc filed Critical Chi Mei Comm Systems Inc
Priority to TW97124170A priority Critical patent/TWI425416B/en
Publication of TW201001275A publication Critical patent/TW201001275A/en
Application granted granted Critical
Publication of TWI425416B publication Critical patent/TWI425416B/en

Links

Description

音頻播放管理系統及方法Audio playback management system and method

本發明涉及一種音頻播放管理系統及方法,特別涉及一種手持行動電子裝置上的音頻播放管理系統及方法。The present invention relates to an audio playback management system and method, and more particularly to an audio playback management system and method on a handheld mobile electronic device.

目前,許多手持行動電子裝置,包括手機、個人數位助理(Personal Digital Assistant,PDA)、MP3及MP4等,都具有音頻播放功能。其能夠根據系統內音頻播放軟體的音頻播放請求來播放相應音樂。Currently, many handheld mobile electronic devices, including mobile phones, personal digital assistants (PDAs), MP3s, and MP4s, have audio playback capabilities. It can play the corresponding music according to the audio playback request of the audio playing software in the system.

而目前手持行動電子裝置中對於音頻播放功能都不支持多工操作,同一時間內只能播放一種音頻播放請求所對應的聲音。當有一個新的音頻播放請求產生時,就會強迫將系統內當前播放的聲音關掉,來播放該新的音頻播放請求。而當該新的音頻播放請求播放完畢後卻不能返回至系統原先未播放完畢的聲音繼續播放。At present, the handheld mobile electronic device does not support multiplex operation for the audio playback function, and only one audio corresponding to the audio playback request can be played at the same time. When a new audio play request is generated, it will force the current playing sound in the system to be turned off to play the new audio play request. When the new audio playback request is played, it cannot be returned to the original unplayed sound of the system to continue playing.

鑒於以上內容,有必要提供一種音頻播放管理系統及方法,其可在當前音頻播放請求播放完畢後,返回至原先系統未播放完畢而暫停的音頻播放請求繼續播放。In view of the above, it is necessary to provide an audio playback management system and method, which can return to the audio playback request that the original system has not been played and paused after the current audio playback request is played.

一種音頻播放管理系統,該系統包括:生成模組,用於生成一個媒體堆疊;儲存模組,用於將系統中當前各音頻播放請求儲存至媒體堆疊中;設定模組,用於根據各音頻播放請求的類型設定相應的優先順序;選取模組,用於從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從所選擇的各 音頻播放請求中選取一個最先進入媒體堆疊的音頻播放請求;播放模組,用於播放該所選取的音頻播放請求所對應的聲音;判斷模組,用於判斷是否產生新的音頻播放請求;所述之儲存模組還用於當產生新的音頻播放請求時,將該新的音頻播放請求儲存至媒體堆疊中;所述之設定模組還用於根據該新的音頻播放請求的類型設定相應的優先順序;所述之判斷模組還用於判斷該新的音頻播放請求的優先順序是否低於當前播放的聲音所對應的音頻播放請求的優先順序;及所述之播放模組還用於當該新的音頻播放請求的優先順序不低於當前播放的聲音所對應的音頻播放請求的優先順序時,暫停當前播放的聲音,並播放該新的音頻播放請求所對應的聲音。An audio playback management system, the system comprising: a generation module for generating a media stack; a storage module for storing current audio playback requests in the system to the media stack; and a setting module for each audio The type of the play request is set to a corresponding priority order; the module is selected to select each audio play request with the highest priority from the media stack, and from the selected each The audio play request selects an audio play request that first enters the media stack; the play module is configured to play the sound corresponding to the selected audio play request; and the determination module is configured to determine whether a new audio play request is generated; The storage module is further configured to store the new audio play request into the media stack when a new audio play request is generated; the setting module is further configured to set according to the type of the new audio play request Corresponding priority order; the determining module is further configured to determine whether the priority order of the new audio play request is lower than a priority order of the audio play request corresponding to the currently played sound; and the playing module is further used When the priority order of the new audio play request is not lower than the priority order of the audio play request corresponding to the currently played sound, the currently played sound is paused, and the sound corresponding to the new audio play request is played.

一種音頻播放管理方法,該方法包括如下步驟:生成一個媒體堆疊;將系統中當前各音頻播放請求儲存至媒體堆疊中,並根據各音頻播放請求的類型設定相應的優先順序;從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從所選擇的各音頻播放請求中選取一個最先進入媒體堆疊的音頻播放請求;播放該所選取的音頻播放請求所對應的聲音;判斷是否產生新的音頻播放請求;當產生新的音頻播放請求時,將該新的音頻播放請求儲存至媒體堆疊中,並根據該新的音頻播放請求的類型設定相應的優先順序;判斷該新的音頻播放請求的優先順序是否低於當前播放的聲音所對應的音頻播放請求的優先順序;及當該新的音頻播放請求的優先順序不低於當前播放的聲音所對應的音頻播放請求的優先 順序時,暫停當前播放的聲音,並播放該新的音頻播放請求所對應的聲音。An audio playback management method, the method comprising the steps of: generating a media stack; storing the current audio play request in the system into the media stack, and setting a corresponding priority order according to the type of each audio play request; selecting from the media stack Each audio play request having the highest priority, and selecting an audio play request that first enters the media stack from the selected audio play requests; playing the sound corresponding to the selected audio play request; determining whether new audio is generated a play request; when a new audio play request is generated, the new audio play request is stored in the media stack, and a corresponding priority order is set according to the type of the new audio play request; determining the priority of the new audio play request Whether the order is lower than the priority order of the audio play request corresponding to the currently played sound; and when the priority order of the new audio play request is not lower than the priority of the audio play request corresponding to the currently played sound In the order, the currently playing sound is paused and the sound corresponding to the new audio playback request is played.

相較於習知技術,所述之音頻播放管理系統及方法利用媒體堆疊存儲各音頻播放請求,在當前音頻播放請求播放完畢後,返回至原先系統未播放完畢而暫停的音頻播放請求繼續播放,直至播放完畢媒體堆疊中所有音頻播放請求。Compared with the prior art, the audio play management system and method use the media stack to store each audio play request, and after the current audio play request is played, return to the audio play request that the original system has not been played and paused to continue playing. All audio playback requests in the media stack are played until playback.

如圖1所示,係本發明音頻播放管理系統的較佳實施例的應用環境架構圖。該音頻播放管理系統10應用於手持行動電子裝置1上。該音頻播放管理系統10包括生成模組110、儲存模組111、設定模組112、選取模組113、播放模組114、判斷模組115及刪除模組116。As shown in FIG. 1, it is an application environment architecture diagram of a preferred embodiment of the audio playback management system of the present invention. The audio playback management system 10 is applied to the handheld mobile electronic device 1. The audio playback management system 10 includes a generation module 110, a storage module 111, a setting module 112, a selection module 113, a playback module 114, a determination module 115, and a deletion module 116.

所述之生成模組110,用於生成一個媒體堆疊。所述之媒體堆疊是一種先進先出格式的資料結構。The generating module 110 is configured to generate a media stack. The media stack is a data structure of a first-in-first-out format.

所述之儲存模組111,用於將系統中當前各音頻播放請求儲存至媒體堆疊中。例如,可以將手持行動電子裝置1內音樂播放器當前所要播放的第一首音樂、第二首音樂、第三首音樂所對應的各音頻播放請求,將手持行動電子裝置1內鬧鐘鈴聲、資訊鈴聲所對應的各音頻播放請求,將手持行動電子裝置1內鍵盤聲音所對應的音頻播放請求均儲存至媒體堆疊中。The storage module 111 is configured to store current audio playback requests in the system into the media stack. For example, the audio playback request corresponding to the first music, the second music, and the third music currently to be played by the music player in the handheld mobile electronic device 1 may be an alarm clock ringtone and information in the handheld mobile electronic device 1 Each audio play request corresponding to the ringtone stores the audio play request corresponding to the keyboard sound in the handheld mobile electronic device 1 in the media stack.

所述之設定模組112,用於根據各音頻播放請求的類型設定相應的優先順序。例如,可以將手持行動電子裝置1內音樂播放器所要播放的第一首音樂、第二首音樂、第三首音 樂所對應的各音頻播放請求的優先順序均設定為最高優先順序,將手持行動電子裝置1內鬧鐘鈴聲、資訊鈴聲所對應的各音頻播放請求的優先順序均設定為次高優先順序,將手持行動電子裝置1內鍵盤聲音所對應的音頻播放請求的優先順序均設定為第三高優先順序。The setting module 112 is configured to set a corresponding priority order according to the type of each audio play request. For example, the first music, the second music, and the third first sound to be played by the music player in the mobile electronic device 1 can be The priority order of each audio play request corresponding to the music is set to the highest priority order, and the priority order of each audio play request corresponding to the alarm ringtone and the information ringtone in the handheld mobile electronic device 1 is set to the next highest priority order, and the hand is held. The priority order of the audio play request corresponding to the keyboard sound in the mobile electronic device 1 is set to the third highest priority order.

所述之選取模組113,用於從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從所選擇的各音頻播放請求中選取一個最先進入媒體堆疊的音頻播放請求。在本較佳實施例中,所述之選取模組113首先從媒體堆疊中選擇優先順序高的音頻播放請求進行播放,當媒體堆疊中優先順序最高的音頻播放請求有多個時,則從該多個音頻播放請求中選取最先進入媒體堆疊中的音頻播放請求。例如,當第一首音樂、第二首音樂、第三首音樂所對應的各音頻播放請求以第二首音樂、第一首音樂、第三首音樂的進入順序分別儲存至媒體堆疊中時,則的選取模組113先選取第二首音樂。The selection module 113 is configured to select each audio playback request with the highest priority from the media stack, and select an audio play request that first enters the media stack from the selected audio play requests. In the preferred embodiment, the selection module 113 first selects an audio play request with a high priority from the media stack to play, and when there are multiple audio play requests with the highest priority in the media stack, Among the plurality of audio play requests, the audio play request that first enters the media stack is selected. For example, when each audio play request corresponding to the first music, the second music, and the third music is separately stored in the media stack in the order in which the second music, the first music, and the third music are entered, Then, the selection module 113 first selects the second piece of music.

所述之播放模組114,用於播放該所選取的音頻播放請求所對應的聲音。The playing module 114 is configured to play a sound corresponding to the selected audio playing request.

所述之判斷模組115,用於判斷系統中是否產生新的音頻播放請求。The determining module 115 is configured to determine whether a new audio play request is generated in the system.

所述之儲存模組111還用於當系統中產生新的音頻播放請求時,將該新的音頻播放請求儲存至媒體堆疊中。The storage module 111 is further configured to store the new audio play request into the media stack when a new audio play request is generated in the system.

所述之設定模組112還用於根據該新的音頻播放請求的類型設定相應的優先順序。The setting module 112 is further configured to set a corresponding priority order according to the type of the new audio play request.

所述之判斷模組115還用於判斷該新的音頻播放請求的 優先順序是否低於當前播放的聲音所對應的音頻播放請求的優先順序。The determining module 115 is further configured to determine the new audio play request. Whether the priority order is lower than the priority order of the audio play request corresponding to the currently played sound.

所述之播放模組114還用於當該新的音頻播放請求的優先順序不低於當前播放的聲音所對應的音頻播放請求的優先順序時,暫停當前所播放的聲音,並播放該新的音頻播放請求所對應的聲音。The playing module 114 is further configured to pause the currently played sound and play the new one when the priority order of the new audio play request is not lower than the priority order of the audio play request corresponding to the currently played sound. The sound corresponding to the audio playback request.

所述之判斷模組115還用於判斷當前播放的聲音是否播放完畢。The determining module 115 is further configured to determine whether the currently played sound is played.

所述之刪除模組116,用於在當前播放的聲音播放完畢時,從媒體堆疊中刪除該當前播放的聲音對應的音頻播放請求。The deletion module 116 is configured to delete an audio play request corresponding to the currently played sound from the media stack when the currently played sound is played.

所述之判斷模組115還用於判斷媒體堆疊中是否還有音頻播放請求。當媒體堆疊中還有音頻播放請求,則繼續讓選取模組113選取媒體堆疊中的音頻播放請求。The determining module 115 is further configured to determine whether there is an audio play request in the media stack. When there is an audio play request in the media stack, the selection module 113 continues to select the audio play request in the media stack.

如圖2所示,係本發明音頻播放管理方法較佳實施例的流程圖。首先,步驟S10,生成模組110生成一個媒體堆疊。2 is a flow chart of a preferred embodiment of the audio playback management method of the present invention. First, in step S10, the generation module 110 generates a media stack.

步驟S11,儲存模組111儲存系統中各音頻播放請求至媒體堆疊中,且設定模組112根據各音頻播放請求的類型設定相應的優先順序。In step S11, the storage module 111 stores each audio play request in the system into the media stack, and the setting module 112 sets a corresponding priority order according to the type of each audio play request.

步驟S12,選取模組113從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從所選擇的各音頻播放請求中選取一個最先進入媒體堆疊的音頻播放請求,且播放模組114播放該所選取的音頻播放請求所對應的聲音。In step S12, the selection module 113 selects each audio playback request with the highest priority from the media stack, and selects an audio play request that first enters the media stack from the selected audio play requests, and the play module 114 plays the audio play request. The sound corresponding to the selected audio playback request.

步驟S13,判斷模組115判斷系統中是否產生新的音頻播 放請求。In step S13, the determining module 115 determines whether a new audio broadcast is generated in the system. Put the request.

步驟S14,當系統中產生新的音頻播放請求時,儲存模組111將該新的音頻播放請求儲存至媒體堆疊中,並且設定模組112根據該新的音頻播放請求的類型設定相應的優先順序。Step S14, when a new audio play request is generated in the system, the storage module 111 stores the new audio play request in the media stack, and the setting module 112 sets the corresponding priority order according to the type of the new audio play request. .

步驟S15,判斷模組115判斷該新的音頻播放請求的優先順序是否低於當前播放的聲音所對應的音頻播放請求的優先順序。In step S15, the determining module 115 determines whether the priority order of the new audio play request is lower than the priority order of the audio play request corresponding to the currently played sound.

步驟S16,當該新的音頻播放請求的優先順序不低於當前播放的聲音所對應的音頻播放請求的優先順序時,播放模組114暫停當前播放的聲音,並播放該新的音頻播放請求所對應的聲音。In step S16, when the priority order of the new audio play request is not lower than the priority order of the audio play request corresponding to the currently played sound, the play module 114 pauses the currently played sound and plays the new audio play request. Corresponding sound.

步驟S17,判斷模組115判斷當前播放的聲音是否播放完畢。In step S17, the determining module 115 determines whether the currently played sound is played.

步驟S18,在當前播放的聲音播放完畢時,刪除模組116從媒體堆疊中刪除該當前播放的聲音對應的音頻播放請求。In step S18, when the currently played sound is played, the deletion module 116 deletes the audio play request corresponding to the currently played sound from the media stack.

步驟S19,判斷模組115判斷媒體堆疊中是否還有音頻播放請求。當媒體堆疊中還有音頻播放請求時,則返回至步驟S12繼續選取並播放媒體堆疊中的音頻播放請求;當媒體堆疊中沒有音頻播放請求時,則結束本流程。In step S19, the determining module 115 determines whether there is an audio play request in the media stack. When there is an audio play request in the media stack, the process returns to step S12 to continue to select and play the audio play request in the media stack; when there is no audio play request in the media stack, the process ends.

在步驟S13中,當系統中沒有產生新的音頻播放請求時,則直接轉到步驟S17。In step S13, when a new audio play request is not generated in the system, it proceeds directly to step S17.

在步驟S15中,當該新的音頻播放請求的優先順序低於當前播放的聲音所對應的音頻播放請求的優先順序時,則直 接轉到步驟S17。In step S15, when the priority order of the new audio play request is lower than the priority order of the audio play request corresponding to the currently played sound, then Go to step S17.

在步驟S17中,在當前播放的聲音沒有播放完畢,則返回至步驟S13中。In step S17, when the currently played sound has not been played, the process returns to step S13.

以上實施例僅用以說明本發明的技術方案而非限制,儘管參照以上較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換都不應脫離本發明技術方案的精神和範圍。The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments thereof, and those skilled in the art should understand that the technical solutions of the present invention may be modified or substituted. Neither should the spirit and scope of the technical solutions of the present invention be deviated.

手持行動電子裝置‧‧‧1Handheld mobile electronic device ‧‧1

音頻播放管理系統‧‧‧10Audio playback management system ‧‧10

生成模組‧‧‧110Generating module ‧ ‧ 110

儲存模組‧‧‧111Storage module ‧‧11

設定模組‧‧‧112Setting module ‧‧‧112

選取模組‧‧‧113Select module ‧‧‧113

播放模組‧‧‧114Playback module ‧‧‧114

判斷模組‧‧‧115Judgment module ‧‧‧115

刪除模組‧‧‧116Delete module ‧‧‧116

生成一個媒體堆疊‧‧‧S10Generate a media stack ‧‧‧S10

儲存系統中各音頻播放請求至媒體堆疊中,且根據各音頻播放請求的類型設定相應的優先順序‧‧‧S11Store each audio play request in the system to the media stack, and set the corresponding priority according to the type of each audio play request. ‧‧S11

從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從中選取一個最先進入媒體堆疊的音頻播放請求,且播放該所選取的音頻播放請求所對應的聲音‧‧‧S12Selecting the highest priority audio play request from the media stack, and selecting an audio play request that first enters the media stack, and playing the sound corresponding to the selected audio play request ‧‧‧S12

是否產生新的音頻播放請求‧‧‧S13Whether to generate a new audio playback request ‧‧‧S13

將該新的音頻播放請求儲存至媒體堆疊中,並根據該新的音頻播放請求的類型設定相應的優先順序‧‧‧S14The new audio play request is stored in the media stack, and the corresponding priority order is set according to the type of the new audio play request. ‧‧‧S14

判斷該新的音頻播放請求的優先順序是否低於當前播放的聲音所對應的音頻播放請求的優先順序‧‧‧S15Determining whether the priority order of the new audio play request is lower than the priority order of the audio play request corresponding to the currently played sound ‧‧‧S15

暫停當前播放的聲音,並播放該新的音頻播放請求所對應的聲音‧‧‧S16Pause the currently playing sound and play the sound corresponding to the new audio playback request ‧‧‧S16

判斷當前播放的聲音是否播放完畢‧‧‧S17Determine if the currently playing sound has finished playing.‧‧S17

從媒體堆疊中刪除該當前播放的聲音對應的音頻播放請求‧‧‧S18Delete the audio playback request corresponding to the currently playing sound from the media stack ‧‧‧S18

媒體堆疊中是否還有音頻播放請求‧‧‧S19Is there still an audio playback request in the media stack?‧‧S19

圖1係本發明音頻播放管理系統的較佳實施例的應用環境架構圖。1 is a diagram showing an application environment architecture of a preferred embodiment of the audio playback management system of the present invention.

圖2係本發明音頻播放管理方法較佳實施例的流程圖。2 is a flow chart of a preferred embodiment of the audio playback management method of the present invention.

生成一個媒體堆疊‧‧‧S10Generate a media stack ‧‧‧S10

儲存系統中各音頻播放請求至媒體堆疊中,且根據各音頻播放請求的類型設定相應的優先順序‧‧‧S11Store each audio play request in the system to the media stack, and set the corresponding priority according to the type of each audio play request. ‧‧S11

從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從中選取一個最先進入媒體堆疊的音頻播放請求,且播放該所選取的音頻播放請求所對應的聲音‧‧‧S12Selecting the highest priority audio play request from the media stack, and selecting an audio play request that first enters the media stack, and playing the sound corresponding to the selected audio play request ‧‧‧S12

是否產生新的音頻播放請求‧‧‧S13Whether to generate a new audio playback request ‧‧‧S13

將該新的音頻播放請求儲存至媒體堆疊中,並根據該新的音頻播放請求的類型設定相應的優先順序‧‧‧S14The new audio play request is stored in the media stack, and the corresponding priority order is set according to the type of the new audio play request. ‧‧‧S14

判斷該新的音頻播放請求的優先順序是否低於當前播放的聲音所對應的音頻播放請求的優先順序‧‧‧S15Determining whether the priority order of the new audio play request is lower than the priority order of the audio play request corresponding to the currently played sound ‧‧‧S15

暫停當前播放的聲音,並播放該新的音頻播放請求所對應的聲音‧‧‧S16Pause the currently playing sound and play the sound corresponding to the new audio playback request ‧‧‧S16

判斷當前播放的聲音是否播放完畢‧‧‧S17Determine if the currently playing sound has finished playing.‧‧S17

從媒體堆疊中刪除該當前播放的聲音對應的音頻播放請求‧‧‧S18Delete the audio playback request corresponding to the currently playing sound from the media stack ‧‧‧S18

媒體堆疊中是否還有音頻播放請求‧‧‧S19Is there still an audio playback request in the media stack?‧‧S19

Claims (8)

一種音頻播放管理系統,運行於手持行動電子裝置中,該系統包括:生成模組,用於生成一個媒體堆疊;儲存模組,用於將系統中當前各音頻播放請求儲存至媒體堆疊中;設定模組,用於根據各音頻播放請求的類型設定相應的優先順序;選取模組,用於從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從所選擇的各音頻播放請求中選取一個最先進入媒體堆疊的音頻播放請求;播放模組,用於播放該所選取的音頻播放請求所對應的聲音;判斷模組,用於判斷是否產生新的音頻播放請求;所述之儲存模組還用於當產生新的音頻播放請求時,將該新的音頻播放請求儲存至媒體堆疊中;所述之設定模組還用於根據該新的音頻播放請求的類型設定相應的優先順序;所述之判斷模組還用於判斷該新的音頻播放請求的優先順序是否低於當前播放的聲音所對應的音頻播放請求的優先順序;及所述之播放模組還用於當該新的音頻播放請求的優先順序不低於當前播放的聲音所對應的音頻播放請求的優先順序時,暫停當前播放的聲音,並播放該新的音頻播放請求所對 應的聲音。An audio playback management system, running in a handheld mobile electronic device, the system comprising: a generating module for generating a media stack; and a storage module for storing current audio playback requests in the system to the media stack; setting The module is configured to set a corresponding priority order according to the type of each audio play request; the module is selected to select each audio play request with the highest priority from the media stack, and select one of the selected audio play requests. The first to enter the audio play request of the media stack; the play module is configured to play the sound corresponding to the selected audio play request; the determining module is configured to determine whether a new audio play request is generated; the storage module The method further includes: when generating a new audio play request, storing the new audio play request in the media stack; the setting module is further configured to set a corresponding priority order according to the type of the new audio play request; The judging module is further configured to determine whether the priority order of the new audio play request is lower than the currently played sound. The priority of the audio play request; and the playing module is further configured to pause the currently playing sound when the priority order of the new audio play request is not lower than the priority order of the audio play request corresponding to the currently played sound And play the new audio playback request The sound that should be. 如申請專利範圍第1項所述之音頻播放管理系統,其中該系統還包括刪除模組,其中:所述之判斷模組還用於判斷當前播放的聲音是否播放完畢;及所述之刪除模組,用於當當前播放的聲音播放完畢時,從媒體堆疊中刪除該當前播放的聲音對應的音頻播放請求。The audio playback management system of claim 1, wherein the system further comprises a deletion module, wherein: the determining module is further configured to determine whether the currently played sound is played; and the deleting mode The group is configured to delete an audio play request corresponding to the currently played sound from the media stack when the currently played sound is played. 如申請專利範圍第2項所述之音頻播放管理系統,其中所述之判斷模組還用於判斷媒體堆疊中是否還有音頻播放請求,以及當媒體堆疊中還有音頻播放請求,則讓選取模組繼續選取媒體堆疊中的音頻播放請求。The audio play management system of claim 2, wherein the determining module is further configured to determine whether there is an audio play request in the media stack, and when there is an audio play request in the media stack, let the selection The module continues to select audio play requests in the media stack. 一種音頻播放管理方法,該方法包括如下步驟:生成一個媒體堆疊;將系統中當前各音頻播放請求儲存至媒體堆疊中,並根據各音頻播放請求的類型設定相應的優先順序;從媒體堆疊中選擇優先順序最高的各音頻播放請求,並從所選擇的各音頻播放請求中選取一個最先進入媒體堆疊的音頻播放請求;播放該所選取的音頻播放請求所對應的聲音;判斷是否產生新的音頻播放請求;當產生新的音頻播放請求時,將該新的音頻播放請求儲存至媒體堆疊中,並根據該新的音頻播放請求的類型設定相應的優先順序;判斷該新的音頻播放請求的優先順序是否低於當前播放的 聲音所對應的音頻播放請求的優先順序;及當該新的音頻播放請求的優先順序不低於當前播放的聲音所對應的音頻播放請求的優先順序時,暫停當前播放的聲音,並播放該新的音頻播放請求所對應的聲音。An audio playback management method, the method comprising the steps of: generating a media stack; storing the current audio play request in the system into the media stack, and setting a corresponding priority order according to the type of each audio play request; selecting from the media stack Each audio play request having the highest priority, and selecting an audio play request that first enters the media stack from the selected audio play requests; playing the sound corresponding to the selected audio play request; determining whether new audio is generated a play request; when a new audio play request is generated, the new audio play request is stored in the media stack, and a corresponding priority order is set according to the type of the new audio play request; determining the priority of the new audio play request Is the order lower than the currently playing The priority order of the audio play request corresponding to the sound; and when the priority order of the new audio play request is not lower than the priority order of the audio play request corresponding to the currently played sound, the currently played sound is paused, and the new play is played. The sound corresponding to the audio playback request. 如申請專利範圍第4項所述之音頻播放管理方法,其中在暫停當前播放的聲音,並播放該新的音頻播放請求所對應的聲音之後還包括:判斷當前播放的聲音是否播放完畢;當當前播放的聲音播放完畢時,從媒體堆疊中刪除該當前播放的聲音對應的音頻播放請求;及判斷媒體堆疊中是否還有音頻播放請求。The audio playback management method of claim 4, wherein after the currently playing sound is paused and the sound corresponding to the new audio play request is played, the method further includes: determining whether the currently played sound is played; When the played sound is played, the audio play request corresponding to the currently played sound is deleted from the media stack; and whether there is an audio play request in the media stack. 如申請專利範圍第5項所述之音頻播放管理方法,其中當媒體堆疊中還有音頻播放請求,則返回至播放媒體堆疊中優先順序最高且順序靠前的音頻播放請求所對應的聲音的步驟。The audio play management method according to claim 5, wherein, when there is an audio play request in the media stack, the step of returning to the sound corresponding to the audio play request having the highest priority and the highest order in the play media stack is returned. . 如申請專利範圍第5項所述之音頻播放管理方法,其中當系統中沒有產生新的音頻播放請求時,則轉至判斷當前播放的聲音是否播放完畢的步驟。The audio play management method according to claim 5, wherein when a new audio play request is not generated in the system, the process proceeds to a step of determining whether the currently played sound is played. 如申請專利範圍第5項所述之音頻播放管理方法,其中在當前播放的聲音沒有播放完畢時則返回至判斷是否產生新的音頻播放請求的步驟。The audio playback management method of claim 5, wherein the step of determining whether a new audio play request is generated is returned when the currently played sound is not played.
TW97124170A 2008-06-27 2008-06-27 System and method for controlling to play audio requests TWI425416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97124170A TWI425416B (en) 2008-06-27 2008-06-27 System and method for controlling to play audio requests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97124170A TWI425416B (en) 2008-06-27 2008-06-27 System and method for controlling to play audio requests

Publications (2)

Publication Number Publication Date
TW201001275A TW201001275A (en) 2010-01-01
TWI425416B true TWI425416B (en) 2014-02-01

Family

ID=44824803

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97124170A TWI425416B (en) 2008-06-27 2008-06-27 System and method for controlling to play audio requests

Country Status (1)

Country Link
TW (1) TWI425416B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004043029A2 (en) * 2002-11-08 2004-05-21 Aliope Limited Multimedia management
TW200502854A (en) * 2003-07-07 2005-01-16 Inventec Appliances Corp Method and device combining schedule management and periodically playing function, and storage medium for storing computer program for executing the method
TW200739533A (en) * 2005-08-30 2007-10-16 Toshiba Kk Information playback system using information storage medium
CN101141269A (en) * 2006-09-07 2008-03-12 王金双 Music spread and management system for realizing music download, playing
WO2008041896A1 (en) * 2006-10-02 2008-04-10 Telefonaktiebolaget Lm Ericsson (Publ) Multimedia management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004043029A2 (en) * 2002-11-08 2004-05-21 Aliope Limited Multimedia management
TW200502854A (en) * 2003-07-07 2005-01-16 Inventec Appliances Corp Method and device combining schedule management and periodically playing function, and storage medium for storing computer program for executing the method
TW200739533A (en) * 2005-08-30 2007-10-16 Toshiba Kk Information playback system using information storage medium
CN101141269A (en) * 2006-09-07 2008-03-12 王金双 Music spread and management system for realizing music download, playing
WO2008041896A1 (en) * 2006-10-02 2008-04-10 Telefonaktiebolaget Lm Ericsson (Publ) Multimedia management

Also Published As

Publication number Publication date
TW201001275A (en) 2010-01-01

Similar Documents

Publication Publication Date Title
JP4875149B2 (en) Smart random playback of media objects
US20080046820A1 (en) Apparatus and method for controlling media player in portable terminal
JP5707647B2 (en) Method and mobile phone for capturing audio or video files
CN101600015A (en) Audio playing management system and method
WO2009024035A1 (en) Playing method for audio file and device thereof
JP2006228098A (en) Data processing method, portable reproducing apparatus and computer
TWI425416B (en) System and method for controlling to play audio requests
JP2007095155A (en) Method and apparatus for choosing content
JP6142488B2 (en) Content playback apparatus, content playback method, and content playback program
CN101290785A (en) Method of managing playlist by using key
JP2007179604A (en) Music player, reproduction control method, and program
JP2005196833A (en) Data reproducing apparatus and management method of reproduced data in data reproducing apparatus
CN102833394A (en) Mobile phone capable of generating ring of the mobile phone, and method for generating ring thereof
US7640393B2 (en) Signal reproducing device
JP2005235365A (en) Information reproducing device, and voice recording/reproducing device
TWI287739B (en) Method of editing indication for a portable device
JP2008097257A (en) Adaptor
JP2010171762A (en) Speech processing device, speech processing method, and program
JP2015025842A (en) Sound reproduction apparatus
KR100665816B1 (en) Mobile telecommunication apparatus having sound file playing functions, and sound file playing method
TW200811706A (en) Media data playing system and method
JP2009200948A (en) Mobile phone terminal, music reproduction method, and music reproduction program
JP2009032379A (en) Digital content player and semiconductor integrated circuit
JP2017126347A (en) Content reproduction device, content reproduction method, and content production program
JP2007193941A (en) Reproduction device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees