TWI606724B - Multimedia playing apparatus and playing method thereof - Google Patents

Multimedia playing apparatus and playing method thereof Download PDF

Info

Publication number
TWI606724B
TWI606724B TW105131873A TW105131873A TWI606724B TW I606724 B TWI606724 B TW I606724B TW 105131873 A TW105131873 A TW 105131873A TW 105131873 A TW105131873 A TW 105131873A TW I606724 B TWI606724 B TW I606724B
Authority
TW
Taiwan
Prior art keywords
multimedia
processing unit
set value
monitoring unit
playing
Prior art date
Application number
TW105131873A
Other languages
Chinese (zh)
Other versions
TW201815167A (en
Inventor
葉宸祐
Original Assignee
和碩聯合科技股份有限公司
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 和碩聯合科技股份有限公司 filed Critical 和碩聯合科技股份有限公司
Priority to TW105131873A priority Critical patent/TWI606724B/en
Application granted granted Critical
Publication of TWI606724B publication Critical patent/TWI606724B/en
Publication of TW201815167A publication Critical patent/TW201815167A/en

Links

Description

多媒體播放裝置及其播放方法 Multimedia playing device and playing method thereof

本發明是有關於一種播放裝置及其播放方法,且特別是有關於一種具有自動回復功能的多媒體播放裝置及其播放方法。The present invention relates to a playback device and a method for playing the same, and more particularly to a multimedia playback device having an automatic reply function and a playback method thereof.

機上盒(set-top box,STB)主要用以轉換電視訊號的裝置,包括有線電視(cable TV)、衛星電視(satellite TV)、地面電視廣播(terrestrial TV broadcasting)及網路電視(IP/DSL TV)等型態形態的電視訊號。以往,機上盒只具有單向的類比視訊接收功能,可提供選台、頻道解碼或鎖碼等功能。隨著人們的需求增加,以及系統廠商提供的服務的多樣化,目前的機上盒朝雙向互動及數位多媒體網路通訊應用發展,以供全新的服務內容。Set-top box (STB) is mainly used to convert TV signals, including cable TV, satellite TV, terrestrial TV broadcasting and Internet TV (IP/). DSL TV) and other types of TV signals. In the past, the set-top box only had a one-way analog video receiving function, which can provide functions such as channel selection, channel decoding or lock code. As people's needs increase and the services provided by system vendors diversify, the current set-top boxes are moving toward two-way interactive and digital multimedia network communication applications for new service content.

隨著科技日新月異,現今電子產品因為工作電壓越來越低、速度越來越快,體積也越發輕薄短小,導致靜電放電(electrostatic discharge,ESD)的問題越來越複雜。以播放多媒體內容的機上盒而言,若播放過程中發生靜電放電的現象,由於機上盒的靜電放電保護措施或其他原因,將可能導致系統突然停止運作。這時候使用者即使重啟系統,也只能回到初始的開機畫面或系統選單,使用者需要手動設定才能夠回復到先前的狀態繼續播放,如此一來,大大降低了使用者的體驗。With the rapid development of technology, today's electronic products are becoming more and more complicated because of the lower and lower operating voltages, faster and faster, and smaller and lighter, resulting in electrostatic discharge (ESD). In the case of a set-top box for playing multimedia content, if an electrostatic discharge occurs during playback, the system may suddenly stop operating due to electrostatic discharge protection measures of the set-top box or other reasons. At this time, even if the user restarts the system, the user can only return to the initial startup screen or the system menu, and the user needs to manually set to return to the previous state to continue playing, thus greatly reducing the user experience.

本發明提供一種多媒體播放裝置及其播放方法,在多媒體串流檔案不正常終止播放時,能夠重新啟動後並且回復到不正常終止前的播放狀態,提升使用者體驗。The present invention provides a multimedia playing device and a playing method thereof, which can restart the playback state after the multimedia streaming file is not normally terminated, and return to the playing state before the abnormal termination, thereby improving the user experience.

本發明的多媒體播放裝置用以播放多媒體串流檔案,其包括處理單元以及監控單元。監控單元耦接於處理單元。處理單元播放多媒體串流檔案。在播放多媒體串流檔案時每間隔一個特定週期,處理單元對設定值進行更新,初始的設定值大於預設閥值,並且記錄多媒體串流檔案的當前播放資訊。每間隔所述特定週期,監控單元將設定值減去所述增幅值,並且判斷減去增幅值的設定值是否等於或小於預設閥值。若是,則重新啟動處理單元,使其依據最後記錄的當前播放資訊播放多媒體串流檔案。The multimedia playing device of the present invention is used for playing a multimedia streaming file, which comprises a processing unit and a monitoring unit. The monitoring unit is coupled to the processing unit. The processing unit plays the multimedia stream file. The processing unit updates the set value every time a specific period is played while playing the multimedia stream file, the initial set value is greater than the preset threshold, and the current play information of the multimedia stream file is recorded. Each time the interval is specified, the monitoring unit subtracts the set value from the increase value, and determines whether the set value minus the increase value is equal to or less than a preset threshold. If yes, the processing unit is restarted to play the multimedia stream file according to the last recorded current playing information.

本發明的多媒體播放方法適用於多媒體播放裝置。所述多媒體播放裝置包括處理單元以及監控單元。所述多媒體播放方法包括以下步驟。藉由處理單元播放多媒體串流檔案。在播放多媒體串流檔案時每間隔一個特定週期,藉由處理單元對設定值進行更新,初始的設定值大於預設閥值,並且記錄多媒體串流檔案的當前播放資訊。每間隔所述特定週期,藉由監控單元將設定值減去所述增幅值,並且判斷減去增幅值的設定值是否等於或小於預設閥值。倘是,則監控單元重新啟動處理單元,並依據最後記錄的當前播放資訊播放多媒體串流檔案。The multimedia playing method of the present invention is applicable to a multimedia playing device. The multimedia playback device includes a processing unit and a monitoring unit. The multimedia playing method includes the following steps. The multimedia stream file is played by the processing unit. When the multimedia stream file is played, the set value is updated by the processing unit every time a specific period is played, the initial setting value is greater than the preset threshold, and the current playing information of the multimedia stream file is recorded. Each time the interval is specified, the set value is subtracted from the increase value by the monitoring unit, and it is determined whether the set value minus the increase value is equal to or smaller than a preset threshold. If yes, the monitoring unit restarts the processing unit and plays the multimedia stream file according to the last recorded current playing information.

基於上述,本發明提供的多媒體播放裝置及其播放方法,每間隔特定週期便記錄多媒體串流檔案播放時的當前播放資訊。因此,在發生例如是靜電放電現象或其他原因導致處理單元不正常終止時,於重新啟動後能夠自動回復到不正常終止前的播放狀態來繼續播放多媒體串流檔案,進而提升使用者體驗。Based on the above, the multimedia playing device and the playing method thereof provide the current playing information when the multimedia streaming file is played every time interval. Therefore, when the processing unit is abnormally terminated due to, for example, an electrostatic discharge phenomenon or other reasons, the playback state can be automatically resumed after the restart to resume playing the multimedia stream file, thereby improving the user experience.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

圖1是本發明一實施例之多媒體播放裝置的方塊圖。請參照圖1,多媒體播放裝置100用以播放多媒體串流檔案,其包括非揮發性記憶體元件110、處理單元130、監控單元150以及連接器170。在本實施例中,多媒體播放裝置100例如是數位機上盒。在其他實施例中,多媒體播放裝置100可為音樂播放器或影音播放器。音樂播放器例如是CD播放器、MP3播放器或其他類似的音樂播放器,而影音播放器例如為DVD播放器、藍光播放器、數位機上盒或其他類似的影音播放器等。換言之,本發明並不在此限制多媒體播放裝置100的種類或其所能播放的多媒體類型。1 is a block diagram of a multimedia playback device in accordance with an embodiment of the present invention. Referring to FIG. 1 , the multimedia playback device 100 is configured to play a multimedia stream file, including a non-volatile memory component 110 , a processing unit 130 , a monitoring unit 150 , and a connector 170 . In the present embodiment, the multimedia playback device 100 is, for example, a digital set-top box. In other embodiments, the multimedia playback device 100 can be a music player or a video player. The music player is, for example, a CD player, an MP3 player, or the like, and the video player is, for example, a DVD player, a Blu-ray player, a digital set-top box, or the like. In other words, the present invention does not limit the type of the multimedia playback device 100 or the type of multimedia that can be played.

非揮發性記憶體元件110包括快閃記憶體等非揮發性記憶體,以外接或直接耦接方式與多媒體播放裝置100連接,用以記錄本實施例之多媒體播放方法所需的當前播放資訊。在本實施例中,非揮發性記憶體元件110例如是嵌入式多媒體卡(embedded Multi Media Card,eMMC),直接耦接於多媒體播放裝置100的基板上。然而,在其他實施例中,非揮發性記憶體元件110亦可例如是SD卡、MMC卡、記憶棒(memory stick)或CF卡等,以外接方式連接於多媒體播放裝置100的插槽中來實作,本發明並不在此限。基於其固有的特性,記錄於非揮發性記憶體元件110中的資料並不會因為斷電或其他原因的中止運作而消失。The non-volatile memory component 110 includes a non-volatile memory such as a flash memory, and is connected to the multimedia playback device 100 in an external or direct coupling manner for recording the current playback information required by the multimedia playback method of the embodiment. In this embodiment, the non-volatile memory component 110 is, for example, an embedded multi-media card (eMMC), and is directly coupled to the substrate of the multimedia playback device 100. However, in other embodiments, the non-volatile memory component 110 can also be, for example, an SD card, an MMC card, a memory stick, or a CF card, and is connected to the slot of the multimedia playback device 100 in an external manner. In practice, the invention is not limited thereto. Based on its inherent characteristics, the data recorded in the non-volatile memory element 110 does not disappear due to power outage or other reasons.

處理單元130耦接於非揮發性記憶體元件110,用以執行多媒體播放裝置100的播放功能。若處理單元130的前次運作是不正常地終止,其於啟動後能夠藉由非揮發性記憶體元件110中所記錄的當前播放資訊來回到不正常終止前的播放狀態以繼續播放。在本實施例中,處理單元130為中央處理器(central processing unit,CPU)。然而,在其他實施例中,處理單元130亦可例如是系統晶片(system-on-chip,SOC)、應用處理器(application processor)、媒體處理器(media processor)、微處理器(microprocessor)、數位信號處理器(digital signal processor)或其他類似者,本發明不在此限制實作時所使用的處理單元類型。The processing unit 130 is coupled to the non-volatile memory component 110 for performing a playback function of the multimedia playback device 100. If the previous operation of the processing unit 130 is abnormally terminated, after the startup, it can return to the playing state before the abnormal termination by the current playing information recorded in the non-volatile memory component 110 to continue playing. In this embodiment, the processing unit 130 is a central processing unit (CPU). However, in other embodiments, the processing unit 130 may also be, for example, a system-on-chip (SOC), an application processor, a media processor, a microprocessor, or the like. A digital signal processor or the like, the present invention does not limit the type of processing unit used in this implementation.

監控單元150耦接於處理單元130,用以監控處理單元130是否正常運作,並且於處理單元130不正常運作時重新啟動處理單元130。在本實施例中,監控單元150亦耦接於非揮發性記憶體元件110,並且監控單元150可藉由非揮發性記憶體元件110中所記錄的資訊來決定是否重新啟動處理單元130。詳細來說,若是處理單元130當機的話,處理單元130並不會去讀寫非揮發性記憶體元件110,表示處理單元130與非揮發性記憶體元件110之間的通訊已被中斷。此時,監控單元150需要可直接讀寫非揮發性記憶體元件110,才能得知從非揮發性記憶體元件110中所記錄的資訊得知處理單元130是否當機。監控單元150對處理單元130的監控並不僅限於上述作法,應用本實施例者並不受限於此。監控單元150例如是以重置積體電路(reset integrated circuit,reset IC)來實作。然而,在其他實施例中,監控單元150亦可以是以中央處理單元、微處理器、微控制器、數位信號處理(digital signal processing,DSP)晶片、場可程式化邏輯閘陣列(field programmable gate array,FPGA)等可程式化單元來實施,本發明並不在此限。The monitoring unit 150 is coupled to the processing unit 130 for monitoring whether the processing unit 130 is operating normally, and restarting the processing unit 130 when the processing unit 130 is not operating normally. In this embodiment, the monitoring unit 150 is also coupled to the non-volatile memory component 110, and the monitoring unit 150 can determine whether to restart the processing unit 130 by using information recorded in the non-volatile memory component 110. In detail, if the processing unit 130 is down, the processing unit 130 does not read or write the non-volatile memory element 110, indicating that communication between the processing unit 130 and the non-volatile memory element 110 has been interrupted. At this time, the monitoring unit 150 needs to directly read and write the non-volatile memory component 110 to know whether the processing unit 130 is down from the information recorded in the non-volatile memory component 110. The monitoring of the processing unit 130 by the monitoring unit 150 is not limited to the above, and the application of the embodiment is not limited thereto. The monitoring unit 150 is implemented, for example, by a reset integrated circuit (reset IC). However, in other embodiments, the monitoring unit 150 can also be a central processing unit, a microprocessor, a microcontroller, a digital signal processing (DSP) chip, or a field programmable gate array. A programmable unit such as array, FPGA, or the like is implemented, and the present invention is not limited thereto.

連接器170耦接於處理單元130,處理單元130可藉由連接器170取得播放所需的資料,例如多媒體檔案或串流等。在本實施例中,連接器170例如包括符合USB介面標準、HDMI介面標準、記憶棒(memory stick,MS)介面標準或區域網路(local area network,LAN)介面標準等各種不同介面標準的連接器。必須注意的是,本發明並不限制連接器170的數量,所屬領域具備通常知識者當可視需求於多媒體播放裝置100上增加或減少各種類型的連接器。The connector 170 is coupled to the processing unit 130. The processing unit 130 can obtain the data required for playing, such as multimedia files or streaming, by using the connector 170. In this embodiment, the connector 170 includes, for example, a connection conforming to various interface standards such as a USB interface standard, an HDMI interface standard, a memory stick (MS) interface standard, or a local area network (LAN) interface standard. Device. It should be noted that the present invention does not limit the number of connectors 170, and those skilled in the art have the ability to add or reduce various types of connectors to the multimedia playback device 100 as needed.

在本實施例中,非揮發性記憶體元件110中至少配置有計數區塊、終止判斷區塊以及備用區塊,分別用以記錄設定值、終止資訊以及播放多媒體串流檔案所需的當前播放資訊。在多媒體播放裝置100出廠或初次使用時,設定值可例如是預設為0,終止資訊可例如設定為正常終止狀態,並且不包括任何當前播放資訊。特別是,當本發明實施例之多媒體播放裝置100藉由處理單元130播放多媒體串流檔案時,每間隔一特定週期(例如,1分鐘)便會將播放多媒體串流檔案的當前播放資訊覆寫至非揮發性記憶體元件110中。此外,在本實施例中,當前播放資訊例如包括當下多媒體播放裝置100用於播放多媒體串流檔案的指標或連結、音量大小、畫面解析度以及播放進程等可用以回復播放狀態的資訊,但本發明不限於此。In this embodiment, the non-volatile memory component 110 is configured with at least a counting block, a termination determining block, and a spare block for recording a set value, terminating information, and current playback required for playing a multimedia stream file. News. When the multimedia playback device 100 is shipped or used for the first time, the set value may be, for example, preset to 0, and the termination information may be set to, for example, a normal termination state, and does not include any current playback information. In particular, when the multimedia playback device 100 of the embodiment of the present invention plays the multimedia streaming file by the processing unit 130, the current playback information of the played multimedia streaming file is overwritten every interval (for example, 1 minute). To the non-volatile memory element 110. In addition, in this embodiment, the current playing information includes, for example, information, link, volume, screen resolution, and playback process used by the multimedia playback device 100 for playing the multimedia stream file to restore the playback status, but The invention is not limited to this.

然而,在其他實施例中,上述的設定值亦可例如不使用非揮發性記憶體元件110來記錄。換句話說,此設定值可以是記錄於處理單元130以及監控單元150皆可直接存取的其他揮發性或非揮發性記憶體元件中、單獨記錄於監控單元150中,或是分別記錄於處理單元130以及監控單元150的兩個揮發性或非揮發性記憶體元件中並且透過處理單元130與監控單元150間的溝通同步地變動,本發明並不在此限。However, in other embodiments, the set values described above may also be recorded, for example, without using the non-volatile memory component 110. In other words, the set value may be recorded in other volatile or non-volatile memory components that are directly accessible to the processing unit 130 and the monitoring unit 150, separately recorded in the monitoring unit 150, or separately recorded in the processing. The unit 130 and the two volatile or non-volatile memory elements of the monitoring unit 150 are dynamically changed by the communication between the processing unit 130 and the monitoring unit 150, and the present invention is not limited thereto.

值得一提的是,多媒體播放裝置100在播放多媒體串流檔案時並非總是能夠順利將多媒體串流檔案播放完畢而使運作正常終止,其可能由於靜電放電現象等各種原因導致處理單元130發生異常而停止處理單元130的運作。由此,多媒體播放裝置100在播放多媒體串流檔案的過程中因例如靜電放電等現象所導致其播放非預期終止則定義為「不正常終止」。反之,多媒體串流檔案預期播放完畢或暫停則定義為「正常終止」。監控單元150便是用以監控處理單元130並且在處理單元130的運作不正常終止時將其重置或重啟。因此,監控單元150在多媒體播放裝置100中的設置位置與設置方式常需要特別留意。以圖1實施例來說,處理單元130例如是與連接器170連接。為了降低監控單元150發生靜電放電現象的可能性,常會將其設置於與處理單元130以及連接器170較遠的空間。舉另一例來說,在一些實施例中,多媒體播放裝置100可能設置有散熱金屬板。類似地,為了降低監控單元150發生靜電放電現象的可能性,通常在設置時會盡量使監控單元150遠離散熱金屬板,以避免監控單元150因靜電放電而導致其失去監控處理單元130的功能。It is worth mentioning that the multimedia playback device 100 does not always successfully play the multimedia streaming file when the multimedia streaming file is played, and the operation is normally terminated. The processing unit 130 may be abnormal due to various reasons such as an electrostatic discharge phenomenon. The operation of the processing unit 130 is stopped. Therefore, the multimedia playback device 100 defines "unusual termination" in the process of playing the multimedia streaming file due to, for example, electrostatic discharge or the like, due to an unexpected termination of playback. Conversely, if the multimedia stream file is expected to be played or paused, it is defined as "normal termination". The monitoring unit 150 is used to monitor the processing unit 130 and reset or restart the processing unit 130 when it is not properly terminated. Therefore, the setting position and setting manner of the monitoring unit 150 in the multimedia playback apparatus 100 often require special attention. In the embodiment of FIG. 1, processing unit 130 is coupled to connector 170, for example. In order to reduce the possibility of the electrostatic discharge phenomenon occurring in the monitoring unit 150, it is often placed in a space far from the processing unit 130 and the connector 170. As another example, in some embodiments, the multimedia playback device 100 may be provided with a heat sink metal plate. Similarly, in order to reduce the possibility of the electrostatic discharge phenomenon occurring in the monitoring unit 150, the monitoring unit 150 is usually kept away from the heat dissipation metal plate as much as possible in order to prevent the monitoring unit 150 from losing the function of the monitoring processing unit 130 due to electrostatic discharge.

圖2A與圖2B是本發明一實施例之多媒體播放方法的流程圖。請同時參照圖2A與圖2B,本實施例的多媒體播放方法適用於圖1中的多媒體播放裝置100。以下將參照圖1中多媒體播放裝置100的各組件來描述本實施例之方法的詳細流程。2A and 2B are flowcharts of a multimedia playing method according to an embodiment of the present invention. Referring to FIG. 2A and FIG. 2B simultaneously, the multimedia playing method of this embodiment is applicable to the multimedia playing device 100 in FIG. The detailed flow of the method of the present embodiment will be described below with reference to the components of the multimedia playback apparatus 100 of FIG.

在本實施例中,處理單元130的啟動可例如是反應於使用者對多媒體播放裝置100的操作,或例如是反應於來自監控單元150的重新啟動命令。首先以圖2A來說明本實施例之多媒體播放方法中,處理單元130的運作流程。In the present embodiment, the activation of the processing unit 130 may be, for example, in response to a user's operation of the multimedia playback device 100 or, for example, in response to a restart command from the monitoring unit 150. First, the operation flow of the processing unit 130 in the multimedia playing method of this embodiment will be described with reference to FIG. 2A.

在處理單元130啟動或重新啟動後,於步驟S201中,處理單元130會判斷其前次運作是否正常終止。在本實施例中,處理單元130是依據記錄於非揮發性記憶體元件110的終止判斷區塊中的終止資訊來判斷前次運作是否正常終止。在多媒體播放裝置100出廠或初次使用時,終止資訊(Normal_ShutDown)是預設為正常終止(Normal_ShutDown=True)的狀態,而隨著多媒體播放裝置100的運作,記錄於非揮發性記憶體元件110內終止資訊的設定也會有相對應的改變。舉例來說,若處理單元130前次播放多媒體串流檔案時由於發生靜電放電現象或其他原因,而導致其在運作過程中不正常終止,那麼在處理單元130重新啟動時,記錄於非揮發性記憶體元件110中的終止資訊將會是設定在不正常終止(Normal_ShutDown=False)的狀態。另一方面,若處理單元130前次運作時順利地將多媒體串流檔案播放完畢,則終止資訊會被設定為正常終止的狀態。關於終止資訊隨著多媒體播放裝置100的運作而對應改變設定的方式將於以下說明中詳細描述。After the processing unit 130 is started or restarted, in step S201, the processing unit 130 determines whether its previous operation is normally terminated. In this embodiment, the processing unit 130 determines whether the previous operation is normally terminated according to the termination information recorded in the termination determination block of the non-volatile memory element 110. When the multimedia playback device 100 is shipped or used for the first time, the termination information (Normal_ShutDown) is preset to a normal termination (Normal_ShutDown=True) state, and is recorded in the non-volatile memory component 110 as the multimedia playback device 100 operates. The setting of the termination information will also have a corresponding change. For example, if the processing unit 130 is not properly terminated during operation due to an electrostatic discharge phenomenon or other reasons when the multimedia stream file is played in the previous time, the processing unit 130 records the non-volatile when the processing unit 130 is restarted. The termination information in the memory element 110 will be set to a state of abnormal termination (Normal_ShutDown = False). On the other hand, if the processing unit 130 successfully plays the multimedia stream file after the previous operation, the termination information will be set to the normal termination state. The manner in which the termination information is changed correspondingly with the operation of the multimedia playback apparatus 100 will be described in detail in the following description.

倘若於步驟S201中判斷處理單元130的前次運作是正常終止,則進入步驟S203。在步驟S203中,處理單元130會依據使用者對多媒體播放裝置100的操作與設定來播放多媒體串流檔案,並且在開始播放多媒體串流檔案時將非揮發性記憶體元件110中的終止資訊設定為不正常終止(Normal_ShutDown= False)。如此一來,倘若處理單元130在尚未播放完畢多媒體串流檔案或在終止資訊設定為正常終止前發生了不正常終止的情形,那麼在處理單元130重新啟動時,將可以從終止資訊判斷出其前次運作是不正常終止。在本實施例中,處理單元130依據使用者對多媒體播放裝置100的操作與設定來播放多媒體串流檔案的具體方式,所屬領域具備通常知識者當可由現有技術中獲致足夠的教示,在此不再贅述。If it is determined in step S201 that the previous operation of the processing unit 130 is normally terminated, then step S203 is reached. In step S203, the processing unit 130 plays the multimedia stream file according to the operation and setting of the multimedia playback device 100 by the user, and sets the termination information in the non-volatile memory element 110 when starting to play the multimedia stream file. Is not terminated properly (Normal_ShutDown = False). In this way, if the processing unit 130 has not finished playing the multimedia stream file or the termination of the termination information is abnormally terminated, then when the processing unit 130 is restarted, it can be judged from the termination information. The previous operation was not terminated properly. In this embodiment, the processing unit 130 performs a specific manner of playing the multimedia stream file according to the operation and setting of the multimedia playback device 100 by the user, and those skilled in the art can obtain sufficient teachings from the prior art. Let me repeat.

另一方面,倘若於步驟S201中判斷處理單元130的前次運作是不正常終止,則進入步驟S205。在步驟S205中,處理單元130會依據當前播放資訊來回復播放多媒體串流檔案的狀態並繼續播放多媒體串流檔案。在本實施例中,由於多媒體串流檔案的當前播放資訊是以覆寫的方式記錄於非揮發性記憶體元件110中。因此,步驟S205中處理單元130所依據的當前播放資訊將會是最後記錄至非揮發性記憶體元件110中的最新的當前播放資訊。換言之,在本實施例中,處理單元130能夠從接近前次運作發生不正常終止的時間點,來以相同於不正常終止前的設定(例如,聲音大小或畫面解析度等)來繼續播放同一個多媒體串流檔案。On the other hand, if it is determined in step S201 that the previous operation of the processing unit 130 is abnormally terminated, the process proceeds to step S205. In step S205, the processing unit 130 replies to the state of playing the multimedia streaming file according to the current playing information and continues to play the multimedia streaming file. In this embodiment, the current playback information of the multimedia stream file is recorded in the non-volatile memory element 110 in an overwritten manner. Therefore, the current playback information on which the processing unit 130 is based in step S205 will be the latest current playback information that was last recorded to the non-volatile memory component 110. In other words, in the present embodiment, the processing unit 130 can continue to play the same as the setting before the abnormal termination (for example, the sound size or the screen resolution, etc.) from the point of time when the previous operation is abnormally terminated. A multimedia streaming file.

值得一提的是,無論多媒體播放裝置100是藉由步驟S203或步驟S205來播放多媒體串流檔案,在播放多媒體串流檔案的過程中,終止資訊皆是維持設定為不正常終止。如此一來,假如處理單元130在播放過程中出現任何不正常終止的情形,非揮發性記憶體元件110中所記錄的終止資訊將確實地記錄為不正常終止的狀態。It is worth mentioning that, regardless of whether the multimedia playback device 100 plays the multimedia stream file by using step S203 or step S205, the termination information is maintained to be abnormally terminated during the process of playing the multimedia stream file. As such, if the processing unit 130 experiences any abnormal termination during playback, the termination information recorded in the non-volatile memory component 110 will be reliably recorded as an abnormally terminated state.

在處理單元130播放多媒體串流檔案時,監控單元150會藉由設定值的大小來判斷處理單元130是否發生當機且需要重新啟動來繼續播放多媒體串流檔案。初始的設定值大於預設預設閥值。因此,於步驟S207中處理單元130會每間隔一個特定週期對設定值進行更新,來維持設定值使其大於預設閥值,並且將用於播放多媒體串流檔案的當前播放資訊覆寫記錄於非揮發性記憶體元件110中,而隨後步驟S210中監控單元150每間隔相同的週期會對設定值減去一個增幅值。如此一來,監控單元150便能夠於步驟S210中進一步依據減去增幅值的設定值是否等於或小於預設閥值來判斷處理單元130是否發生當機導致設定值無法被維持,進而在減去增幅值的設定值等於或小於預設閥值時重新啟動處理單元130。以下將搭配圖2B來舉數個實例以詳細說明監控單元150藉由設定值來判斷是否重啟處理單元130的方法。When the processing unit 130 plays the multimedia stream file, the monitoring unit 150 determines whether the processing unit 130 is down and needs to be restarted to continue playing the multimedia stream file by the size of the set value. The initial set value is greater than the preset preset threshold. Therefore, in step S207, the processing unit 130 updates the set value every interval of a certain period to maintain the set value to be greater than a preset threshold, and overwrites the current play information for playing the multimedia stream file in the In the non-volatile memory element 110, the monitoring unit 150 subsequently subtracts an increment value from the set value every interval of the same period in step S210. In this way, the monitoring unit 150 can further determine whether the processing unit 130 fails to maintain the set value according to whether the set value of the decrementing value is equal to or less than the preset threshold value in step S210, and further subtracts The processing unit 130 is restarted when the set value of the increase value is equal to or less than the preset threshold. A number of examples will be described below in conjunction with FIG. 2B to describe in detail the method by which the monitoring unit 150 determines whether to restart the processing unit 130 by using a set value.

在一實施例中,設定值例如是記錄於非揮發性記憶體元件110的計數區塊中,並且在多媒體串流檔案開始播放之前設定值被初始化為一大於預設閥值的數值。必須一提的是,只要在處理單元130啟動後,播放多媒體串流檔案前完成初始化設定值的操作,本發明並不在此限制初始化設定值的特定時點與方式。In one embodiment, the set value is, for example, recorded in the count block of the non-volatile memory element 110, and the set value is initialized to a value greater than the preset threshold before the multimedia stream file begins to play. It should be noted that, as long as the operation of initializing the set value is completed before the multimedia stream file is played after the processing unit 130 is started, the present invention does not limit the specific time and manner of initializing the set value.

於步驟S207,處理單元130每間隔一特定週期(例如但不限於,1分鐘),會將記錄於非揮發性記憶體元件110中的設定值(例如但不限於,3)增加一增幅值(例如但不限於,1),例如3+1=4。In step S207, the processing unit 130 increases the set value (such as, but not limited to, 3) recorded in the non-volatile memory element 110 by an increasing period (for example, but not limited to, 1 minute). For example, but not limited to, 1), for example 3+1=4.

另一方面,於處理單元130播放多媒體串流檔案的同時,於步驟S210中,監控單元150會以相同於處理單元130增加設定值的頻率(例如,每分鐘),來將該設定值減去相同的增幅值(例如,1),例如4-1=3。更明確地說,本實施例之多媒體播放裝置100的處理單元130與監控單元150以相同的頻率分別將設定值增加與減去一定量的增幅值。如此一來,在處理單元130持續正常運作的情形下,設定值被處理單元130先行增加增幅值後,也會在之後被監控單元150減去增幅值;設定值在被監控單元150減去增幅值後,也會在之後被處理單元130加回增幅值,並在正常情況下往復將此設定值進行加減。因此,設定值將不會持續地增加或減少,而會維持在一個穩定的範圍內,設定值例如維持在3。反之,在處理單元130不正常運作時,監控單元150所監控的設定值則會隨著經歷的週期而下降。On the other hand, while the processing unit 130 plays the multimedia stream file, in step S210, the monitoring unit 150 subtracts the set value by the same frequency (for example, every minute) that the processing unit 130 increases the set value. The same increase value (for example, 1), for example 4-1=3. More specifically, the processing unit 130 of the multimedia playback device 100 of the present embodiment and the monitoring unit 150 respectively increase and decrease the set value by a certain amount of the increment value. In this case, in the case that the processing unit 130 continues to operate normally, after the set value is first increased by the processing unit 130, the increment value is also subtracted by the monitoring unit 150; the set value is subtracted from the monitored unit 150. After the value, the processing unit 130 is also added back to the increasing value, and the setting value is added and subtracted under normal conditions. Therefore, the set value will not continuously increase or decrease, but will remain within a stable range, for example, the set value is maintained at 3. Conversely, when the processing unit 130 is not operating normally, the set value monitored by the monitoring unit 150 will decrease with the period of the experience.

詳細而言,本實施例之設定值是記錄於非揮發性記憶體元件110中,在處理單元130不正常運作或運作已不正常終止時,此設定值並不會被增加,但同時監控單元150仍然以同樣頻率將設定值減去增幅值,而使設定值隨著經歷的週期持續下降。因此,在本實施例中,監控單元150在將設定值減去增幅值後,更能夠判斷減去增幅值的設定值是否已經等於或小於預設閥值來監控處理單元130是否正常地運作。In detail, the set value of the embodiment is recorded in the non-volatile memory component 110. When the processing unit 130 is not operating normally or the operation has not been abnormally terminated, the set value is not increased, but at the same time, the monitoring unit 150 still subtracts the set value from the set value at the same frequency, and causes the set value to continue to decrease over the period of the experience. Therefore, in the present embodiment, after subtracting the set value from the set value, the monitoring unit 150 can further determine whether the set value minus the increase value is equal to or smaller than the preset threshold to monitor whether the processing unit 130 operates normally.

在另一實施例中,設定值例如是同時記錄於處理單元130與監控單元150中,並且各自在多媒體串流檔案開始播放之前被初始化為同一個大於預設閥值的數值。In another embodiment, the set values are, for example, simultaneously recorded in the processing unit 130 and the monitoring unit 150, and each is initialized to the same value greater than a preset threshold before the multimedia stream file begins to play.

於步驟S207,處理單元130每間隔一特定週期(例如但不限於,1分鐘),會將處理單元130中的設定值(以下稱之為第一設定值,例如但不限於,3)增加一增幅值(例如但不限於,1),例如3+1=4,並且將增加後的設定值(例如為4)傳送至監控單元150中,以更新記錄於監控單元150中的設定值(以下稱之為第二設定值)。In step S207, the processing unit 130 increases the set value in the processing unit 130 (hereinafter referred to as a first set value, such as, but not limited to, 3) by a specific period (for example, but not limited to, 1 minute). The increase value (for example, but not limited to, 1), for example, 3+1=4, and transmits the increased set value (for example, 4) to the monitoring unit 150 to update the set value recorded in the monitoring unit 150 (below) Called the second set value).

另一方面,於處理單元130播放多媒體串流檔案的同時,於步驟S210中,監控單元150會以相同於處理單元130增加第一設定值的頻率(例如,每分鐘),來將第二設定值減去相同的增幅值(例如,1),並且回傳給處理單元130來更新第一設定值,例如4-1=3。換句話說,本實施例中分別記錄於處理單元130與監控單元150中的第一設定值與第二設定值透過處理單元130與監控單元150間的溝通而同步地增減增幅值。On the other hand, while the processing unit 130 plays the multimedia stream file, in step S210, the monitoring unit 150 sets the second setting at the same frequency (for example, every minute) that the processing unit 130 increases the first set value. The value is subtracted from the same increment value (eg, 1) and passed back to processing unit 130 to update the first set value, such as 4-1=3. In other words, in the embodiment, the first set value and the second set value respectively recorded in the processing unit 130 and the monitoring unit 150 are synchronously increased or decreased by the communication between the processing unit 130 and the monitoring unit 150.

詳細而言,本實施例之設定值是同時記錄於處理單元130以及監控單元150中並同步地往復增減。在處理單元130不正常運作或運作已不正常終止時,監控單元150中的第二設定值並不會被增加,但同時監控單元150仍然以同樣頻率將第二設定值減去增幅值,而使第二設定值隨著經歷的週期持續下降。因此,在本實施例中,監控單元150在將第二設定值減去增幅值後,更能夠判斷此第二設定值是否已經等於或小於預設閥值來監控處理單元130是否正常地運作。In detail, the set values of the present embodiment are simultaneously recorded in the processing unit 130 and the monitoring unit 150 and are synchronously increased and decreased. When the processing unit 130 is not functioning properly or the operation has not terminated normally, the second set value in the monitoring unit 150 is not increased, but at the same time the monitoring unit 150 still subtracts the second set value from the boosted value at the same frequency, and The second set value is continuously decreased as the period of the experience. Therefore, in the embodiment, after the second set value is subtracted from the boosted value, the monitoring unit 150 can further determine whether the second set value is equal to or less than a preset threshold to monitor whether the processing unit 130 operates normally.

值得一提的是,在上述實施例中,處理單元130先於步驟S207將設定値增加,爾後監控單元150才於步驟S210中將設定値減少。然而,本發明對此先後順序並沒有限制。在其他實施例中,也可例如是監控單元150先將設定値減少(例如3-1=2),然後處理單元130再將設定値增加(例如2+1=3)。換言之,圖2A中處理單元130與圖2B中監控單元150是協同的運作來執行本實施例的多媒體播放方法,惟兩者都是以特定週期來增加與減少設定値,但並不必然存在先後關係。It is worth mentioning that, in the above embodiment, the processing unit 130 increases the setting 先 prior to step S207, and then the monitoring unit 150 reduces the setting 步骤 in step S210. However, the present invention is not limited to this order. In other embodiments, for example, the monitoring unit 150 first reduces the setting ( (eg, 3-1=2), and then the processing unit 130 increases the setting 値 (eg, 2+1=3). In other words, the processing unit 130 in FIG. 2A cooperates with the monitoring unit 150 in FIG. 2B to perform the multimedia playing method of the embodiment, but both of them increase and decrease the setting in a specific cycle, but there is no inevitable existence. relationship.

在又另一實施例中,設定值例如是單獨記錄於監控單元150之中,並且在多媒體串流檔案開始播放之前,設定值被初始化為一個大於預設閥值的數值。In still another embodiment, the set value is, for example, separately recorded in the monitoring unit 150, and the set value is initialized to a value greater than a preset threshold before the multimedia stream file begins to play.

於步驟S207,處理單元130每間隔一特定週期(例如但不限於,1分鐘),會將監控單元150中的設定值重置為初始的設定值(例如,10)。In step S207, the processing unit 130 resets the set value in the monitoring unit 150 to an initial set value (for example, 10) every interval of a specific period (for example, but not limited to, 1 minute).

另一方面,於處理單元130播放多媒體串流檔案的同時,於步驟S210中,監控單元150會以相同於處理單元130更新設定值的頻率(例如,每分鐘),即將設定值減去一個增幅值(例如,1),例如10-1=9。如此一來,在處理單元130正常運作的情形下,設定值會不斷被重置為預設值,使其維持在大於預設閥值。反之,在處理單元130持續不正常運作時,監控單元150無法被重置為預設值,導致所監控的設定值則會隨著經歷的週期而下降。On the other hand, while the processing unit 130 plays the multimedia stream file, in step S210, the monitoring unit 150 updates the set value (for example, every minute) in the same manner as the processing unit 130, that is, subtracts an increase from the set value. Value (for example, 1), for example 10-1=9. As a result, in the case that the processing unit 130 is operating normally, the set value is continuously reset to a preset value to maintain it greater than a preset threshold. Conversely, when the processing unit 130 continues to operate abnormally, the monitoring unit 150 cannot be reset to a preset value, so that the monitored set value will decrease with the period of the experience.

因此,在本實施例中,監控單元150在將設定值減去增幅值後,更能夠判斷減去增幅值的設定值是否已經等於或小於預設閥值來監控處理單元130是否正常地運作。若減去增幅值的設定值已經等於或小於預設閥值,表示處理單元130並沒有正常地運作來將設定值重置,進而於步驟S218中重啟處理單元130。舉例來說,處理單元130可利用一引腳與監控單元150電性連接。雖然處理單元130並無正常地運作,但整體的多媒體播放裝置100還是繼續被供電。因此監控單元150發出重置訊號予處理單元130,處理單元則可自動地被重啟。Therefore, in the present embodiment, after subtracting the set value from the set value, the monitoring unit 150 can further determine whether the set value minus the increase value is equal to or smaller than the preset threshold to monitor whether the processing unit 130 operates normally. If the set value of the subtracted increase value is equal to or smaller than the preset threshold, it indicates that the processing unit 130 does not operate normally to reset the set value, and the processing unit 130 is restarted in step S218. For example, the processing unit 130 can be electrically connected to the monitoring unit 150 by using a pin. Although the processing unit 130 does not operate normally, the overall multimedia playback device 100 continues to be powered. Therefore, the monitoring unit 150 sends a reset signal to the processing unit 130, and the processing unit can be automatically restarted.

類似地,在上述實施例中,處理單元130先於步驟S207將設定値重置為初始値,爾後監控單元150才於步驟S210中將設定値減少。然而,本發明對此先後順序並沒有限制。在其他實施例中,也可例如是監控單元150先將初始化後的設定値減少(例如10-1=9),然後處理單元130再將設定値重置為初使値(例如,10)。換言之,圖2A中處理單元130與圖2B中監控單元150是協同的運作來執行本實施例的多媒體播放方法,惟兩者都是以特定週期來增加與減少設定値,但並不必然存在先後關係。Similarly, in the above embodiment, the processing unit 130 resets the setting 为 to the initial 先 prior to step S207, and then the monitoring unit 150 decreases the setting 步骤 in step S210. However, the present invention is not limited to this order. In other embodiments, for example, the monitoring unit 150 first reduces the initialized setting (for example, 10-1=9), and then the processing unit 130 resets the setting 为 to the initial setting (for example, 10). In other words, the processing unit 130 in FIG. 2A cooperates with the monitoring unit 150 in FIG. 2B to perform the multimedia playing method of the embodiment, but both of them increase and decrease the setting in a specific cycle, but there is no inevitable existence. relationship.

藉由上述各實例的方法,監控單元150便能夠藉由判斷減去增幅值的設定值是否等於或小於預設閥值來決定是否重啟處理單元130。必須一提的是,在上述各實施例中,預設閥值例如設定為0,但不限於此。在其他實施例中,所屬領域具備通常知識者當可依需求地依據初始設定值和增幅值來設定預設閥值。With the method of each of the above examples, the monitoring unit 150 can determine whether to restart the processing unit 130 by determining whether the set value of the subtracted increase value is equal to or less than a preset threshold. It should be noted that in the above embodiments, the preset threshold is set to, for example, 0, but is not limited thereto. In other embodiments, those skilled in the art have the ability to set preset thresholds based on initial setpoints and increments as needed.

在處理單元130對設定值進行設定,並且將用於播放多媒體串流檔案的當前播放資訊覆寫記錄於非揮發性記憶體元件110中之後,於步驟S209,處理單元130會傳送通知訊號至監控單元150,以通知監控單元150該多媒體串流檔案是否已經播放完畢。在一實施例中,通知訊號可例如為該多媒體串流檔案的播放進程,但不在此限。在另一實施例中,通知訊號也可例如是告知監控單元150該多媒體串流檔案是否已經播放完畢的二元資訊。After the processing unit 130 sets the set value and overwrites the current playback information for playing the multimedia stream file in the non-volatile memory element 110, the processing unit 130 transmits the notification signal to the monitoring in step S209. The unit 150 is configured to notify the monitoring unit 150 whether the multimedia stream file has been played. In an embodiment, the notification signal may be, for example, a playback process of the multimedia stream file, but is not limited thereto. In another embodiment, the notification signal may also be, for example, binary information that informs the monitoring unit 150 whether the multimedia stream file has been played.

接著,倘若於步驟S210中判斷設定值大於預設閥值,則進入步驟S212。在步驟S212中,監控單元150會判斷是否接收到通知訊號。若監控單元150接收到通知訊號,則於步驟S214中,依據所接收的通知訊號判斷多媒體串流檔案是否已經播放完畢,倘若判斷結果為是,則再進入步驟S216。倘若上述步驟S212或步驟S214的其中一個判斷結果為否,則回到步驟210。Next, if it is determined in step S210 that the set value is greater than the preset threshold, then step S212 is reached. In step S212, the monitoring unit 150 determines whether a notification signal is received. If the monitoring unit 150 receives the notification signal, it determines whether the multimedia stream file has been played according to the received notification signal in step S214. If the determination result is yes, the process proceeds to step S216. If one of the above steps S212 or S214 is negative, the process returns to step 210.

在本實施例中,倘若監控單元150接收到來自處理單元130的通知訊號,且此通知訊號指示處理單元130已經將多媒體串流檔案播放完畢,則表示多媒體串流檔案已經成功完成播放,且過程中並未發生處理單元130不正常終止的情形。於步驟S216中,監控單元150便會將記錄於非揮發性記憶體元件110中的終止資訊設定為正常終止。如此一來,當處理單元130下一次啟動時終止資訊便會維持在正常終止的狀態。In this embodiment, if the monitoring unit 150 receives the notification signal from the processing unit 130, and the notification signal indicates that the processing unit 130 has finished playing the multimedia streaming file, it indicates that the multimedia streaming file has successfully completed playing, and the process The situation in which the processing unit 130 does not terminate normally does not occur. In step S216, the monitoring unit 150 sets the termination information recorded in the non-volatile memory element 110 to be normally terminated. As a result, when the processing unit 130 starts up next time, the termination information is maintained in a normally terminated state.

此外,若上述步驟S212的判斷結果為否,表示在此週期中並未接收到任何通知訊號,表示處理單元130出現了不正常運作,但設定值尚未等於或小於預設閥值,則回到步驟S210,監控單元150等待下一週期的作動。若上述步驟S214判斷所接收到的通知訊號指示多媒體串流檔案尚未播放完畢,則表示處理單元130正常運作但多媒體串流檔案尚未播畢,同樣回到步驟S210,監控單元150等待下一週期的作動。In addition, if the result of the determination in the above step S212 is no, it indicates that no notification signal is received in the period, indicating that the processing unit 130 has abnormal operation, but the set value has not been equal to or less than the preset threshold, and then returns. In step S210, the monitoring unit 150 waits for the operation of the next cycle. If the step S214 determines that the received notification signal indicates that the multimedia stream file has not been played, it indicates that the processing unit 130 is operating normally but the multimedia stream file has not been broadcasted. Similarly, the process returns to step S210, and the monitoring unit 150 waits for the next cycle. Actuate.

另一方面,倘若於步驟S210中監控單元150判斷設定值等於或小於預設閥值,則進入步驟S218,重新啟動處理單元130。在本實施例中,若監控單元150判斷設定值等於或小於預設閥值,表示處理單元130連續在多個週期間不正常運作,因此於步驟S218中重新啟動處理單元130。由於處理單元130在多媒體串流檔案尚未播放完畢前便中止重啟,因此處理單元130在此次播放多媒體串流檔案的運作中發生了不正常終止。在本實施例中,在監控單元150下達重新啟動處理單元130的命令後,處理單元130會重新啟動,並且再度進入步驟S201。On the other hand, if the monitoring unit 150 determines in step S210 that the set value is equal to or less than the preset threshold, then the process proceeds to step S218 to restart the processing unit 130. In this embodiment, if the monitoring unit 150 determines that the set value is equal to or less than the preset threshold, it indicates that the processing unit 130 does not operate normally for a plurality of cycles, and therefore the processing unit 130 is restarted in step S218. Since the processing unit 130 suspends the restart before the multimedia stream file has been played, the processing unit 130 has abnormally terminated during the operation of playing the multimedia stream file. In the present embodiment, after the monitoring unit 150 issues the command to restart the processing unit 130, the processing unit 130 restarts and proceeds to step S201 again.

在本實施例中,處理單元130反應於前述監控單元150的重啟命令而重新啟動後,由於前次運作時發生了不正常終止的情形,因此在步驟S205中,處理單元130會依據記錄於非揮發性記憶體元件110的備用區塊中的當前播放資訊來回復播放多媒體串流檔案的狀態,並繼續播放多媒體串流檔案。更明確地說,由於非揮發性記憶體元件110中的當前播放資訊包括前次運作中最後記錄至非揮發性記憶體元件110的當前播放資訊,因此可以藉由此當前播放資訊來自動地將播放狀態回復到前次處理單元130發生不正常終止之前的狀態來繼續播放。In this embodiment, after the processing unit 130 is restarted in response to the restart command of the foregoing monitoring unit 150, since the abnormal termination occurs in the previous operation, in step S205, the processing unit 130 is based on the record. The current playback information in the spare block of the volatile memory component 110 replies to the state of playing the multimedia streaming file and continues to play the multimedia streaming file. More specifically, since the current playback information in the non-volatile memory component 110 includes the current playback information last recorded to the non-volatile memory component 110 in the previous operation, the current playback information can be automatically The playback state is returned to the state before the previous processing unit 130 was abnormally terminated to continue playback.

綜上所述,本發明實施例的多媒體播放裝置及其播放方法,藉由處理單元與監控單元協同地平衡設定值,能夠以低成本達到監控處理單元正常運作的功能。此外,本發明實施例更藉由非揮發性記憶體元件來以特定週期記錄多媒體串流檔案播放時的當前播放資訊。因此,在發生例如是靜電放電現象或其他原因導致處理單元不正常終止時,於重新啟動後能夠自動回復到不正常終止前的播放狀態並繼續播放多媒體串流檔案,進而提升使用者體驗。In summary, the multimedia playback device and the playing method thereof according to the embodiments of the present invention can balance the set value by the processing unit and the monitoring unit, so that the function of monitoring the normal operation of the processing unit can be achieved at low cost. In addition, the embodiment of the present invention further records the current playing information when the multimedia streaming file is played in a specific period by using the non-volatile memory component. Therefore, when the processing unit is abnormally terminated due to, for example, an electrostatic discharge phenomenon or other reasons, after the restart, the playback state before the abnormal termination can be automatically resumed and the multimedia stream file is continuously played, thereby improving the user experience.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧多媒體播放裝置100‧‧‧Multimedia playback device

110‧‧‧非揮發性記憶體元件110‧‧‧Non-volatile memory components

130‧‧‧處理單元130‧‧‧Processing unit

150‧‧‧監控單元150‧‧‧Monitoring unit

170‧‧‧連接器170‧‧‧Connector

S201、S203、S205、S207、S209、S210、S212、S214、S216、S218‧‧‧多媒體播放方法的步驟Steps of S201, S203, S205, S207, S209, S210, S212, S214, S216, S218‧‧‧ multimedia playback method

圖1是本發明一實施例之多媒體播放裝置的方塊圖。 圖2A是本發明一實施例之多媒體播放方法的流程圖。 圖2B是本發明一實施例之多媒體播放方法的流程圖。1 is a block diagram of a multimedia playback device in accordance with an embodiment of the present invention. 2A is a flow chart of a multimedia playing method according to an embodiment of the present invention. 2B is a flow chart of a multimedia playing method according to an embodiment of the present invention.

100‧‧‧多媒體播放裝置 100‧‧‧Multimedia playback device

110‧‧‧非揮發性記憶體元件 110‧‧‧Non-volatile memory components

130‧‧‧處理單元 130‧‧‧Processing unit

150‧‧‧監控單元 150‧‧‧Monitoring unit

170‧‧‧連接器 170‧‧‧Connector

Claims (20)

一種多媒體播放裝置,用以播放一多媒體串流檔案,該多媒體播放裝置包括:一處理單元,播放該多媒體串流檔案,在播放該多媒體串流檔案時每間隔一特定週期更新一設定值,且每間隔該特定週期記錄該多媒體串流檔案的當前播放資訊,其中該設定值在播放該多媒體串流檔案前大於一預設閥值;以及一監控單元,耦接於該處理單元,每間隔該特定週期將該設定值減去一增幅值,並且判斷減去該增幅值的該設定值是否等於或小於該預設閥值,若是,該監控單元則重新啟動該處理單元,且該處理單元依據最後記錄的該當前播放資訊播放該多媒體串流檔案。 A multimedia playback device for playing a multimedia stream file, the multimedia playback device comprising: a processing unit for playing the multimedia stream file, and updating a set value every certain interval when playing the multimedia stream file, and Recording the current playback information of the multimedia stream file at intervals of the specific period, wherein the set value is greater than a preset threshold before playing the multimedia stream file; and a monitoring unit coupled to the processing unit, each interval Determining the set value by an increment value, and determining whether the set value minus the increment value is equal to or less than the preset threshold, and if so, the monitoring unit restarts the processing unit, and the processing unit is based on The last recorded recorded information plays the multimedia stream file. 如申請專利範圍第1項所述的多媒體播放裝置,更包括一非揮發性記憶體元件,耦接該處理單元及該監控單元,該處理單元每間隔該特定週期記錄該多媒體串流檔案的該當前播放資訊於該非揮發性記憶體元件中。 The multimedia playback device of claim 1, further comprising a non-volatile memory component coupled to the processing unit and the monitoring unit, wherein the processing unit records the multimedia stream file every interval of the specific period. The current playback information is in the non-volatile memory component. 如申請專利範圍第2項所述的多媒體播放裝置,其中該設定值是記錄於該非揮發性記憶體元件的一計數區塊中,其中在播放該多媒體串流檔案時,該處理單元每間隔該特定週期將該設定值增加該增幅值以更新該設定值,並且該監控單元每間隔該特定週期將記錄於該計數區塊中的該設定值減少該增幅值。 The multimedia playback device of claim 2, wherein the setting value is recorded in a counting block of the non-volatile memory component, wherein the processing unit is spaced apart when the multimedia streaming file is played. The set value is increased by the set value to update the set value, and the monitoring unit reduces the set value recorded in the count block by the increment value every interval of the specific period. 如申請專利範圍第1項所述的多媒體播放裝置,其中該設定值是同時記錄於該監控單元與該處理單元中,其中在播放該多媒體串流檔案時,該處理單元每間隔該特定週期將記錄於該處理單元中的該設定值增加該增幅值以更新該設定值,並且傳送更新的該設定值至該監控單元,該監控單元每間隔該特定週期將記錄於該監控單元中的該設定值減去該增幅值,並回傳至該處理單元。 The multimedia playback device of claim 1, wherein the setting value is simultaneously recorded in the monitoring unit and the processing unit, wherein when the multimedia stream file is played, the processing unit is separated by the specific period. The set value recorded in the processing unit increases the increase value to update the set value, and transmits the updated set value to the monitoring unit, and the monitoring unit records the setting recorded in the monitoring unit every interval of the specific period The value is subtracted from the value and passed back to the processing unit. 如申請專利範圍第1項所述的多媒體播放裝置,其中該設定值是記錄於該監控單元中,其中在播放該多媒體串流檔案時,該處理單元每間隔該特定週期將已減去該增幅值的該設定值重置為播放該多媒體串流檔案前的該設定值以更新該設定值,該監控單元每間隔該特定週期將該設定值減去該增幅值。 The multimedia playback device of claim 1, wherein the setting value is recorded in the monitoring unit, wherein when the multimedia streaming file is played, the processing unit has subtracted the increase every interval of the multimedia stream The set value of the value is reset to the set value before the multimedia stream file is played to update the set value, and the monitoring unit subtracts the set value from the set value every interval of the specific period. 如申請專利範圍第1項所述的多媒體播放裝置,更包括一非揮發性記憶體元件,耦接耦接該處理單元及該監控單元,該非揮發性記憶體元件設置一終止判斷區塊以記錄一終止資訊,該處理單元在啟動或重新啟動後,依據該終止資訊來判斷該處理單元的前次運作是否正常終止。 The multimedia playback device of claim 1, further comprising a non-volatile memory component coupled to the processing unit and the monitoring unit, wherein the non-volatile memory component is provided with a termination determination block for recording Upon termination of the information, the processing unit determines whether the previous operation of the processing unit is normally terminated according to the termination information after starting or restarting. 如申請專利範圍第6項所述的多媒體播放裝置,其中該處理單元將該當前播放資訊記錄於該非揮發性記憶體元件後,該處理單元傳送一通知訊號至該監控單元,以通知該多媒體串流檔案是否播放完畢。 The multimedia playback device of claim 6, wherein the processing unit records the current playback information in the non-volatile memory component, the processing unit transmits a notification signal to the monitoring unit to notify the multimedia string. Whether the stream file is played. 如申請專利範圍第7項所述的多媒體播放裝置,其中若該監控單元判斷減去該增幅值的該設定值大於該預設閥值,則該監控單元判斷是否接收到該處理單元傳送的該通知訊號。 The multimedia playback device of claim 7, wherein if the monitoring unit determines that the set value minus the increase value is greater than the preset threshold, the monitoring unit determines whether the device unit transmits the received Notification signal. 如申請專利範圍第8項所述的多媒體播放裝置,其中若該監控單元接收到該通知訊號,則該監控單元依據該通知訊號,於該多媒體串流檔案播放完畢時將該終止資訊設定為正常終止。 The multimedia playback device of claim 8, wherein if the monitoring unit receives the notification signal, the monitoring unit sets the termination information to be normal when the multimedia stream file is played according to the notification signal. termination. 如申請專利範圍第1項所述的多媒體播放裝置,其中該多媒體串流檔案的該當前播放資訊包括該多媒體串流檔案的指標、連結、音量大小、畫面解析度及播放進程。 The multimedia playback device of claim 1, wherein the current broadcast information of the multimedia stream file includes an indicator, a link, a volume, a screen resolution, and a playback process of the multimedia stream file. 一種多媒體播放方法,適用於一多媒體播放裝置,其中該多媒體播放裝置包括一處理單元以及一監控單元,所述多媒體播放方法包括:藉由該處理單元播放一多媒體串流檔案,在播放該多媒體串流檔案時每間隔一特定週期更新一設定值,並且每間隔該特定週期記錄該多媒體串流檔案的當前播放資訊,其中該設定值在播放該多媒體串流檔案前大於一預設閥值;藉由該監控單元每間隔該特定週期將該設定值減去一增幅值;藉由該監控單元判斷減去該增幅值的該設定值是否等於或小於該預設閥值;以及若是,則重新啟動該處理單元,且該處理單元依據最後記錄的該當前播放資訊播放該多媒體串流檔案。 A multimedia playback method is applicable to a multimedia playback device, wherein the multimedia playback device includes a processing unit and a monitoring unit, and the multimedia playback method includes: playing a multimedia stream file by the processing unit, and playing the multimedia string The flow file is updated with a set value every interval of a certain period, and the current broadcast information of the multimedia stream file is recorded every interval of the specific period, wherein the set value is greater than a preset threshold before playing the multimedia stream file; The set value is subtracted from the set value by the monitoring unit every interval of the specific period; the monitoring unit determines whether the set value minus the increase value is equal to or less than the preset threshold; and if so, restarts The processing unit, and the processing unit plays the multimedia stream file according to the last recorded current playing information. 如申請專利範圍第11項所述的多媒體播放方法,其中該多媒體播放裝置更包括一非揮發性記憶體元件,該處理單元每間隔該特定週期記錄該多媒體串流檔案的該當前播放資訊於該非揮發性記憶體元件中。 The multimedia playing device of claim 11, wherein the multimedia playing device further comprises a non-volatile memory component, wherein the processing unit records the current playing information of the multimedia streaming file at the interval of the specific period. In volatile memory components. 如申請專利範圍第12項所述的多媒體播放方法,其中該設定值是記錄於該非揮發性記憶體元件的一計數區塊中,其中該處理單元在播放該多媒體串流檔案時每間隔該特定週期更新該設定值的步驟包括:該處理單元在播放該多媒體串流檔案時,該處理單元每間隔該特定週期將該設定值增加該增幅值。 The multimedia playing method of claim 12, wherein the set value is recorded in a counting block of the non-volatile memory component, wherein the processing unit intervals the specific when playing the multimedia streaming file The step of periodically updating the set value comprises: when the processing unit plays the multimedia stream file, the processing unit increases the set value by the increment value every interval of the specific period. 如申請專利範圍第11項所述的多媒體播放方法,其中該設定值是同時記錄於該監控單元與該處理單元中,其中該處理單元在播放該多媒體串流檔案時每間隔該特定週期更新該設定值、及該監控單元每間隔該特定週期將該設定值減去該增幅值的步驟分別包括:在播放該多媒體串流檔案時,該處理單元每間隔該特定週期將記錄於該處理單元中的該設定值增加該增幅值,並且將增加後的該設定值傳送至該監控單元;及該監控單元每隔該特定週期將記錄於該監控單元中的該設定值減去該增幅值,並且將減少後的該設定值回傳至該處理單元。 The multimedia playing method of claim 11, wherein the setting value is simultaneously recorded in the monitoring unit and the processing unit, wherein the processing unit updates the interval every time the specific multimedia stream file is played. The setting value and the step of the monitoring unit subtracting the set value from the set value every interval of the specific period include: when the multimedia stream file is played, the processing unit is recorded in the processing unit every interval of the processing. The set value increases the increase value, and transmits the increased set value to the monitoring unit; and the monitoring unit subtracts the set value recorded in the monitoring unit from the set value every other specific period, and The reduced set value is passed back to the processing unit. 如申請專利範圍第11項所述的多媒體播放方法,其中該設定值是記錄於該監控單元中,其中該處理單元在播放該多媒體串流檔案時每間隔該特定週期更新該設定值的步驟包括:在播放該多媒體串流檔案時,該處理單元每間隔該特定週期將該設定值重置為播放該多媒體串流檔案前的該設定值。 The multimedia playing method of claim 11, wherein the setting value is recorded in the monitoring unit, wherein the step of updating the setting value every interval of the processing unit when the processing unit plays the multimedia stream file comprises: When the multimedia stream file is played, the processing unit resets the set value to the set value before playing the multimedia stream file every interval of the multimedia stream. 如申請專利範圍第11項所述的多媒體播放方法,其中該多媒體播放裝置更包括一非揮發性記憶體元件,其中在藉由該處理單元播放該多媒體串流檔案的步驟之前,所述方法更包括:藉由該處理單元依據記錄於該非揮發性記憶體元件中的一終止資訊判斷該處理單元的前次運作是否正常終止,其中在播放該多媒體串流檔案時該終止資訊是設定為一不正常終止狀態。 The multimedia playing method of claim 11, wherein the multimedia playing device further comprises a non-volatile memory component, wherein the method further comprises the step of playing the multimedia streaming file by the processing unit The method includes: determining, by the processing unit, whether the previous operation of the processing unit is normally terminated according to a termination information recorded in the non-volatile memory component, wherein the termination information is set to one when the multimedia streaming file is played. Normal termination status. 如申請專利範圍第16項所述的多媒體播放方法,其中該處理單元將該當前播放資訊記錄於該非揮發性記憶體元件的步驟之後更包括:藉由該處理單元傳送一通知訊號至該監控單元,以通知該多媒體串流檔案是否播放完畢。 The multimedia playing method of claim 16, wherein the processing unit records the current playing information in the non-volatile memory component, further comprising: transmitting, by the processing unit, a notification signal to the monitoring unit To notify whether the multimedia stream file has finished playing. 如申請專利範圍第17項所述的多媒體播放方法,其中若該監控單元判斷減去該增幅值的該設定值大於該預設閥值,則該監控單元更判斷是否接收到該處理單元傳送的該通知訊號。 The multimedia playing method of claim 17, wherein if the monitoring unit determines that the set value minus the boosting value is greater than the preset threshold, the monitoring unit further determines whether the processing unit receives the transmission. The notification signal. 如申請專利範圍第18項所述的多媒體播放方法,其中若該監控單元接收到該通知訊號,則所述方法更包括:藉由該監控單元依據該通知訊號,判斷該多媒體串流檔案是否 播放完畢;以及若該監控單元判斷該多媒體串流檔案播放完畢,將該終止資訊設定為正常終止。 The multimedia playing method of claim 18, wherein if the monitoring unit receives the notification signal, the method further comprises: determining, by the monitoring unit, whether the multimedia streaming file is based on the notification signal After the playback is completed; and if the monitoring unit determines that the multimedia stream file is played, the termination information is set to be normally terminated. 如申請專利範圍第11項所述的多媒體播放方法,其中該多媒體串流檔案的該當前播放資訊包括該多媒體串流檔案的指標、連結、音量大小、畫面解析度及播放進程。 The multimedia playing method of claim 11, wherein the current playing information of the multimedia streaming file includes an indicator, a link, a volume, a screen resolution, and a playing process of the multimedia stream file.
TW105131873A 2016-10-03 2016-10-03 Multimedia playing apparatus and playing method thereof TWI606724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105131873A TWI606724B (en) 2016-10-03 2016-10-03 Multimedia playing apparatus and playing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105131873A TWI606724B (en) 2016-10-03 2016-10-03 Multimedia playing apparatus and playing method thereof

Publications (2)

Publication Number Publication Date
TWI606724B true TWI606724B (en) 2017-11-21
TW201815167A TW201815167A (en) 2018-04-16

Family

ID=61023043

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105131873A TWI606724B (en) 2016-10-03 2016-10-03 Multimedia playing apparatus and playing method thereof

Country Status (1)

Country Link
TW (1) TWI606724B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176341A (en) * 2005-05-18 2008-05-07 松下电器产业株式会社 Content reproduction apparatus
US20080109727A1 (en) * 2006-11-07 2008-05-08 Microsoft Corporation Timing aspects of media content rendering
CN101984583A (en) * 2010-11-23 2011-03-09 中兴通讯股份有限公司 Method and system for positioning fault of abnormal broadcast of unicast programs
US20110090305A1 (en) * 2009-02-19 2011-04-21 Wataru Ikeda Recording medium, playback device, and integrated circuit
TW201351969A (en) * 2012-06-01 2013-12-16 Wistron Corp Video streams playback method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176341A (en) * 2005-05-18 2008-05-07 松下电器产业株式会社 Content reproduction apparatus
US20080109727A1 (en) * 2006-11-07 2008-05-08 Microsoft Corporation Timing aspects of media content rendering
US20110090305A1 (en) * 2009-02-19 2011-04-21 Wataru Ikeda Recording medium, playback device, and integrated circuit
CN101984583A (en) * 2010-11-23 2011-03-09 中兴通讯股份有限公司 Method and system for positioning fault of abnormal broadcast of unicast programs
TW201351969A (en) * 2012-06-01 2013-12-16 Wistron Corp Video streams playback method and system

Also Published As

Publication number Publication date
TW201815167A (en) 2018-04-16

Similar Documents

Publication Publication Date Title
US7305460B2 (en) Initialization file downloading apparatus and method of cable modem
US20110270952A1 (en) Computer in a dongle
US20030023822A1 (en) Memory access control system, apparatus, and method
JP5032090B2 (en) Method and apparatus for controlling download speed of broadcast receiving apparatus
JP5086189B2 (en) Server, method and program for generating digest video of video content
EP2214398B1 (en) A method for processing an audio/video stream
US20180343460A1 (en) Decoder resource allocating method and associated apparatus
WO2011130027A2 (en) Media content improved playback quality
TWI582571B (en) System and method for reset to factory default, and computer program products thereof
WO2009107300A1 (en) Electronic device and connected device searching method
CN103618920A (en) Advertisement insertion method and player
US20070106915A1 (en) Reset circuit for automatically resetting an MCU upon turning on a power and the method thereof
JP5001273B2 (en) Information processing system, instruction device, processing device, and information processing method
CN103763303A (en) Method and device for drama series playing
US20110010418A1 (en) Pvr offloader
TWI606724B (en) Multimedia playing apparatus and playing method thereof
US20140099081A1 (en) Creating An Abridged Presentation Of A Media Work
CN107222741B (en) Method for testing the performance of a storage device and corresponding device
CN106961634A (en) VOD videos terminate to start method, device and the terminal device of DTV signals after playing
KR100441505B1 (en) Image recording/reproducing apparatus for improving motion picture data retrieval capability according to recording error
US20090115900A1 (en) Television and method for adding datafiles therein
US20190037251A1 (en) Playback apparatus, method of controlling playback apparatus, playback method and server apparatus
US20100215336A1 (en) Administering a time-shifting cache in a media playback device
EP1414236B1 (en) Digital TV and driving method thereof
US7444059B2 (en) Device and method for generating feedback signal