TW201608370A - Power saving system and method for media play - Google Patents

Power saving system and method for media play Download PDF

Info

Publication number
TW201608370A
TW201608370A TW103135786A TW103135786A TW201608370A TW 201608370 A TW201608370 A TW 201608370A TW 103135786 A TW103135786 A TW 103135786A TW 103135786 A TW103135786 A TW 103135786A TW 201608370 A TW201608370 A TW 201608370A
Authority
TW
Taiwan
Prior art keywords
media
playing
energy
mobile device
media playing
Prior art date
Application number
TW103135786A
Other languages
Chinese (zh)
Other versions
TWI526816B (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 英華達股份有限公司
Publication of TW201608370A publication Critical patent/TW201608370A/en
Application granted granted Critical
Publication of TWI526816B publication Critical patent/TWI526816B/en

Links

Landscapes

  • Telephone Function (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a power saving system for media play. The system includes a mobile device and a media playing device. The mobile device includes a power saving function, and the media playing device includes a power saving firmware. The power saving function and the power saving firmware control media stream transmission from the mobile device to the media playing device, and simultaneously transmitting the following media in the background to the media playing device's buffer. In this way, the mobile device streaming duration is shortened and power consumption is reduced.

Description

媒體播放節能系統及方法 Media playing energy saving system and method

本發明是關於一種媒體播放系統及方法,特別是一種媒體播放節能系統及方法。 The invention relates to a media playing system and method, in particular to a media playing energy saving system and method.

現今,使用者除使用行動裝置播放媒體(音訊或影像)外,也常使用媒體播放裝置與行動裝置連線以播放媒體,藉以增加影音品質或達到影音與他人分享的效果,例如:使用者利用手機透過無線喇叭(wireless speaker)播放音樂。其中,若使用者經一段時間沒有在行動裝置輸入動作,行動裝置會進入閒置模式(idle mode),閒置模式會產生關閉螢幕、關閉背光模組、降低處理器(CPU;Central Processing Unit)時脈或關閉閒置元件等方式以使行動裝置節能。 Nowadays, in addition to using mobile devices to play media (audio or video), users often use media playback devices to connect with mobile devices to play media, thereby increasing the quality of audio and video or achieving the effect of sharing audio and video with others. For example, users use The mobile phone plays music through a wireless speaker. If the user does not input the action in the mobile device for a period of time, the mobile device enters an idle mode, and the idle mode generates a shutdown screen, a backlight module, and a CPU (Central Processing Unit) clock. Or turn off idle components and other means to save energy in the mobile device.

惟然,行動裝置若在閒置模式下仍以串流(streaming)方式傳送媒體資料至媒體播放裝置以持續播放,例如:手機在此閒置模式下仍持續以音訊串流(audio streaming)方式傳送歌曲資料至無線喇叭播放音樂,根據量測數據顯示此時手機仍有最大約164mA的耗電流。由此可知,在行動裝置持續以串流方式透過媒體播放裝置進行媒體播放的情形下,對行動裝置的待機時間是不利的。尤其現今手機取向輕薄造型以增加攜帶性,對電池體積要求日益嚴苛,手機的待機時間長短亦是使用者購買時的重要參考因素。 However, if the mobile device still transmits the media data to the media playback device in a streaming mode for continuous playback in an idle mode, for example, the mobile phone continues to transmit the audio in an audio streaming mode in the idle mode. Data to the wireless speaker to play music, according to the measured data shows that the phone still has the most current consumption of about 164mA. From this, it can be seen that in the case where the mobile device continuously plays the media through the media playback device in a streaming manner, the standby time of the mobile device is disadvantageous. In particular, today's mobile phones are oriented in a thin and light shape to increase portability, and the battery size requirements are increasingly severe. The standby time of the mobile phone is also an important reference factor for users to purchase.

根據上述問題,本發明提出了一種媒體播放節能系統及方 法,利用於行動裝置搭載節能函式及媒體播放裝置搭載節能韌體,用以控制媒體傳輸,以降低行動裝置於長期媒體播放期間的功耗,有效提升行動裝置的續航力。 According to the above problem, the present invention proposes a media playing energy saving system and a square The mobile device and the media player are equipped with energy-saving functions for controlling the media transmission to reduce the power consumption of the mobile device during long-term media playback, thereby effectively improving the endurance of the mobile device.

根據以上目的,本發明提出了一種媒體播放節能系統,包 括:一行動裝置,具有一記憶體、一處理器以及一通訊單元,記憶體與處理器以一第一介面電性連結,處理器與通訊單元以一第二介面電性連結,記憶體內含有一媒體播放程式;一媒體播放裝置,具有一暫存區、一微控制器、一傳輸單元及一播放單元,暫存區、傳輸單元與微控制器以一匯流排電性連結,微控制器與播放單元以一輸出介面電性連結,通訊單元與傳輸單元以一通訊鏈結連接;其中,當播放單元串流播放由媒體播放程式傳來的一第一媒體時,媒體播放程式同時背景傳送一第二媒體至暫存區。 According to the above object, the present invention provides a media playing energy saving system, package The invention comprises: a mobile device, a memory, a processor and a communication unit, wherein the memory and the processor are electrically connected by a first interface, and the processor and the communication unit are electrically connected by a second interface, and the memory body comprises a media playing program; a media playing device having a temporary storage area, a microcontroller, a transmission unit and a playback unit, the temporary storage area, the transmission unit and the microcontroller being electrically connected by a bus, the microcontroller The communication unit is electrically connected to the transmission unit by a communication interface, wherein the communication unit and the transmission unit are connected by a communication link; wherein, when the playback unit streams a first medium transmitted by the media playing program, the media player simultaneously transmits the background A second medium to the temporary storage area.

本發明一較佳實施例,在上述媒體播放節能系統中,行動 裝置包含一節能函式,媒體播放裝置包含一節能韌體,節能函式及節能韌體控制第一媒體及第二媒體的傳送與播放。 In a preferred embodiment of the present invention, in the above media playing energy saving system, the action The device comprises a power saving function, and the media playing device comprises an energy saving firmware, the energy saving function and the energy saving firmware controlling the transmission and playing of the first medium and the second medium.

本發明一較佳實施例,在上述媒體播放節能系統中,節能 韌體是包含於微控制器中。 According to a preferred embodiment of the present invention, in the above media playing energy saving system, energy saving The firmware is included in the microcontroller.

本發明一較佳實施例,在上述媒體播放節能系統中,節能 函式是包含於媒體播放程式中。 According to a preferred embodiment of the present invention, in the above media playing energy saving system, energy saving The function is included in the media player.

本發明一較佳實施例,在上述媒體播放節能系統中,節能 函式及節能韌體包含一睡眠指令、一喚醒指令、一同步請求指令、一狀態同步指令、一串流播放指令或一暫存區播放指令。 According to a preferred embodiment of the present invention, in the above media playing energy saving system, energy saving The function and the energy-saving firmware include a sleep command, a wake-up command, a synchronization request command, a state synchronization command, a stream play command, or a temporary play command.

本發明一較佳實施例,在上述媒體播放節能系統中,第一 媒體及第二媒體為音訊檔案或視訊檔案。 In a preferred embodiment of the present invention, in the above media playing energy saving system, the first The media and the second media are audio files or video files.

本發明一較佳實施例,在上述媒體播放節能系統中,通訊 鏈結符合藍牙、低功耗藍牙、無線相容性認證或第三代行動通訊的通信規範。 In a preferred embodiment of the present invention, in the above media playing energy saving system, communication The link conforms to the communication specifications of Bluetooth, Bluetooth Low Energy, Wireless Compatibility, or Third Generation Mobile Communications.

本發明一較佳實施例,在上述媒體播放節能系統中,媒體播放裝置為一喇叭或視訊播放裝置,且該行動裝置為一手機。 In a preferred embodiment of the present invention, in the media playing energy saving system, the media playing device is a speaker or a video playing device, and the mobile device is a mobile phone.

根據以上目的,本發明提出了一種媒體播放節能方法,其步驟包括:初始化一行動裝置之一背景傳輸量;串流播放一第一媒體檔,同時自行動裝置背景傳輸一第二媒體檔至一媒體播放裝置之一暫存區;及當第一媒體檔播放完畢時,以媒體播放裝置播該第二媒體檔。 According to the above objective, the present invention provides a media playback energy saving method, the method comprising: initializing a background transmission amount of a mobile device; streaming a first media file, and transmitting a second media file from the mobile device background to the first a temporary storage area of the media playback device; and when the first media file is played, the second media file is broadcast by the media playback device.

本發明一較佳實施例,在上述媒體播放節能方法中,其中當第二媒體檔開始播放後,其步驟更包括:使該行動裝置進入睡眠模式;當該第二媒體檔播放完畢時,喚醒該行動裝置;以及顯示一播放狀態於該行動裝置上。 According to a preferred embodiment of the present invention, in the media playing energy saving method, after the second media file starts playing, the step further includes: causing the mobile device to enter a sleep mode; and when the second media file is played, awakening The mobile device; and displaying a play status on the mobile device.

1‧‧‧媒體播放節能系統 1‧‧‧Media Play Energy Saving System

11‧‧‧行動裝置 11‧‧‧Mobile devices

111‧‧‧記憶體 111‧‧‧ memory

1111‧‧‧多媒體播放程式 1111‧‧‧Multimedia player

11111‧‧‧節能函式 11111‧‧‧Energy saving function

112‧‧‧處理器 112‧‧‧ processor

113‧‧‧第一介面 113‧‧‧ first interface

114‧‧‧通訊單元 114‧‧‧Communication unit

115‧‧‧第二介面 115‧‧‧Second interface

12‧‧‧媒體播放裝置 12‧‧‧Media player

121‧‧‧暫存區 121‧‧‧Scratch area

122‧‧‧微控制器 122‧‧‧Microcontroller

1221‧‧‧節能韌體 1221‧‧‧Energy-saving firmware

123‧‧‧傳輸單元 123‧‧‧Transportation unit

124‧‧‧匯流排 124‧‧‧ Busbars

125‧‧‧播放單元 125‧‧‧Play unit

126‧‧‧輸出介面 126‧‧‧Output interface

13‧‧‧通訊鏈結 13‧‧‧Communication links

301~307‧‧‧步驟 301~307‧‧‧Steps

第1圖 本發明的媒體播放節能系統方塊示意圖;第2圖 本發明的媒體播放節能方法流程示意圖。 1 is a block diagram of a media playing energy saving system of the present invention; FIG. 2 is a schematic flow chart of a media playing energy saving method of the present invention.

本發明是有關於一種媒體播放節能系統及方法,本發明主要是提出一種藉由在行動裝置與媒體播放裝置搭載節能指令集的方式,實現行動裝置在媒體持續播放期間的功耗降低進而達到節能效果,至於系統與方法中所需要使用的演算法、通訊機制或機具結構,並非本發明的揭露重點,因此不在此詳述。 The present invention relates to a media playback energy-saving system and method. The present invention mainly provides a method for implementing a power-saving instruction set on a mobile device and a media playback device, thereby realizing a reduction in power consumption of the mobile device during continuous playback of the media, thereby achieving energy saving. The effect, as well as the algorithms, communication mechanisms or implement structures required in the system and method, are not the focus of the present invention and therefore will not be described in detail herein.

請先參閱第1圖,第1圖是本發明的媒體播放節能系統方塊圖。如第1圖所示,本發明的媒體播放節能系統1包括行動裝置11及媒體播放裝置12,是用以根據一個播放清單來播放複數個媒體檔。其中,行動裝置11與媒體播放裝置12間是以通訊鏈結13進行通訊連接,並用以進行資料 傳輸,進行傳輸的媒體可為音訊檔案或視訊檔案。其中,行動裝置11至少包含記憶體111、處理器112及通訊單元114,記憶體111與處理器112以第一介面113電性連結,處理器112與通訊單元114以第二介面115電性連結,記憶體111內含有多媒體播放程式1111,多媒體播放程式1111具有節能函式11111;通訊鏈結13符合藍牙(Bluetooth)、低功耗藍牙(BLE;Bluetooth Low Energy)、無線相容性認證(Wi-Fi;Wireless Fidelity)或第三代行動通訊(3G;Third Generation)等通信規範其中之一。其中,媒體播放裝置12至少包含暫存區121、微控制器122、傳輸單元123及播放單元125,暫存區121、微控制器122及傳輸單元123彼此之間是以匯流排124電性連結,微控制器122與播放單元125以輸出介面126互相電性連結,微控制器122具有節能韌體1221。其中,節能函式11111及節能韌體1221至少內含下列指令:(A)睡眠指令(CMD_SLEEP),媒體播放裝置12通過此指令,通知行動裝置11,使行動裝置11進入睡眠模式;(B)喚醒指令(CMD_WAKE),媒體播放裝置12通過此指令,以喚醒行動裝置11。行動裝置11在接收此指令後,會發出喚醒訊號給處理器112。行動裝置11被喚醒後,多媒體播放程式1111接收此指令,了解媒體播放裝置12已串流播放歌曲完畢;(C)同步請求指令(CMD_SYNC_REQUEST),多媒體播放程式1111透過此指令,向媒體播放裝置12請求媒體播放狀態;(D)狀態同步指令(CMD_SYNC_STATUS),媒體播放裝置12將當前的媒體播放狀態(例如:曲名、長度及目前播放時間位置等資訊)告知行動裝置11;(E)串流播放指令(CMD_STREAMING),行動裝置11通知媒體播放裝置12使用串流方式播放媒體;(F)暫存區播放指令(CMD_BUFFER),行動裝置11通知媒體播放裝置12使用暫存區121播放媒體。 Please refer to FIG. 1 first. FIG. 1 is a block diagram of the media playing energy saving system of the present invention. As shown in FIG. 1, the media playing energy saving system 1 of the present invention includes a mobile device 11 and a media playing device 12 for playing a plurality of media files according to a playlist. The mobile device 11 and the media playing device 12 are connected by a communication link 13 for data transmission. The media that is transmitted and transmitted may be an audio file or a video file. The mobile device 11 and the communication unit 114 are electrically connected to each other by the first interface 113, and the processor 112 and the communication unit 114 are electrically connected to each other by the second interface 115. The memory 111 includes a multimedia player 1111, the multimedia player 1111 has a power saving function 11111, and the communication link 13 is compliant with Bluetooth, Bluetooth Low Energy (Blue), and wireless compatibility authentication (Wi). -Fi;Wireless Fidelity) or one of the communication specifications such as 3G (Third Generation). The media playback device 12 includes at least a temporary storage area 121, a microcontroller 122, a transmission unit 123, and a playback unit 125. The temporary storage area 121, the microcontroller 122, and the transmission unit 123 are electrically connected to each other by a bus bar 124. The microcontroller 122 and the playback unit 125 are electrically connected to each other by the output interface 126, and the microcontroller 122 has the energy-saving firmware 1221. The energy-saving function 11111 and the energy-saving firmware 1221 include at least the following commands: (A) a sleep command (CMD_SLEEP), by which the media playback device 12 notifies the mobile device 11 to cause the mobile device 11 to enter a sleep mode; (B) The wake-up command (CMD_WAKE), through which the media playback device 12 wakes up the mobile device 11. After receiving the command, the mobile device 11 sends a wake-up signal to the processor 112. After the mobile device 11 is woken up, the multimedia player 1111 receives the command to know that the media playback device 12 has streamed the song; (C) the synchronization request command (CMD_SYNC_REQUEST), and the multimedia player 1111 transmits the command to the media playback device 12 Requesting the media play status; (D) status synchronization command (CMD_SYNC_STATUS), the media playback device 12 notifies the mobile device 11 of the current media play status (eg, track name, length, and current play time position); (E) streaming playback In the instruction (CMD_STREAMING), the mobile device 11 notifies the media playback device 12 to play the media using the streaming mode; (F) the temporary storage area playback command (CMD_BUFFER), and the mobile device 11 notifies the media playback device 12 to play the media using the temporary storage area 121.

本發明的媒體播放節能系統1是透過節能函式11111及節能 韌體1221依照播放清單來播放媒體檔,進而實施節能播放模式。在此實施方式,媒體播放裝置12可為喇叭或視訊播放裝置,因此,要播放的媒體檔可以是音訊檔案或視訊檔案,如:MP3、WAV、APE、MP4等;行動裝置11可為智慧型手機;另外,媒體播放裝置12的暫存區121至少能容納播放清單中的單一個媒體檔。 The media playing energy-saving system 1 of the present invention transmits energy saving function 11111 and saves energy The firmware 1221 plays the media file according to the playlist, thereby implementing the energy-saving play mode. In this embodiment, the media playback device 12 can be a speaker or a video playback device. Therefore, the media file to be played can be an audio file or a video file, such as MP3, WAV, APE, MP4, etc.; the mobile device 11 can be intelligent. In addition, the temporary storage area 121 of the media playback device 12 can accommodate at least one single media file in the playlist.

一個播放清單中的各個媒體檔可以依次排列,並分成奇數 項次和偶數項次,於奇數項次播放期間,行動裝置11經通訊鏈結13傳送串流播放指令告知媒體播放裝置12,行動裝置11並對應產生第一、第二執行緒(Thread)。第一執行緒負責將奇數項次的媒體檔以串流模式傳送至媒體播放裝置12播放。第二執行緒負責將偶數項次的媒體檔以背景傳輸模式傳送至媒體播放裝置12的暫存區121,背景傳輸模式可為:檔案傳輸協定(FTP;File Transfer Protocol)或媒體傳輸協定(MTP;Media Transfer Protocol)。當第二執行緒執行完畢,且第一執行緒的串流模式亦執行完畢,行動裝置11傳輸暫存區播放指令,使媒體播放裝置12播放暫存區121的偶數項次媒體檔,同時,媒體播放裝置12回傳睡眠指令給行動裝置11使行動裝置11進入睡眠模式。一實施例中,在奇數項次的媒體檔播放期間進行量測,所得最大耗電流為196mA,與先前技術的音訊串流期間的最大耗電流164mA比較,多出32mA,此乃串流播放時一併進行背景傳輸模式及相關指令傳輸所造成的額外功耗。 Each media file in a playlist can be arranged in turn and divided into odd numbers. For the item and the even number, during the odd-numbered play, the mobile device 11 transmits a streaming play command to the media playback device 12 via the communication link 13, and the mobile device 11 generates the first and second threads (Thread) correspondingly. The first thread is responsible for transmitting the odd-numbered media files to the media playback device 12 in streaming mode. The second thread is responsible for transmitting the even-numbered media files to the temporary storage area 121 of the media playback device 12 in the background transmission mode. The background transmission mode may be: File Transfer Protocol (FTP) or Media Transfer Protocol (MTP). ;Media Transfer Protocol). After the execution of the second thread is completed, and the streaming mode of the first thread is also executed, the mobile device 11 transmits the temporary storage area playing command, so that the media playing device 12 plays the even-numbered media files of the temporary storage area 121, and The media playback device 12 returns a sleep command to the mobile device 11 to cause the mobile device 11 to enter a sleep mode. In one embodiment, the measurement is performed during the playback of the odd-numbered media files, and the maximum current consumption is 196 mA, which is 32 mA more than the maximum current consumption of 164 mA during the prior art audio stream, which is during streaming playback. The additional power consumption caused by the background transmission mode and related instruction transmission is also performed.

當偶數項次曲自暫存區121播放完畢,媒體播放裝置12發出 喚醒指令給行動裝置11以喚醒行動裝置11。接著,行動裝置11透過發出同步請求指令給媒體播放裝置12,使多媒體播放程式1111獲得媒體播放裝置12的媒體現今播放狀態,於是多媒體播放程式1111能在持續播放過程中同步更新媒體播放裝置12的媒體播放狀態。其中,當用戶主動喚醒行動裝置時(如:播/接電話、傳/收簡訊、按鈕或螢幕解鎖等動作),同步請求指令及 狀態同步指令亦可被執行。一實施例中,在偶數項次曲播放期間進行量測,所得最大耗電流僅為3mA,與先前技術的音訊串流期間的最大耗電流164mA比較,大幅減少161mA,因此在長期播放狀態及媒體播放裝置12的暫存區121至少可容納一媒體檔的情形下,與先前技術相較,以播放兩首歌曲為例,偶數項次曲及偶數項次曲各一,假設兩首歌曲撥放時間相同(t/2),則播放兩首歌曲所需時間總合為t,並納入前述奇數項次和偶數項次播放期間所量測耗電流資訊進行計算,估計節能百分比約可達1-{[(164+32)*(t/2)+3*(t/2)]/[164*(t/2)+164*(t/2)]}=39%。 When the even-numbered sub-curves are played from the temporary storage area 121, the media playback device 12 issues The wake-up command is given to the mobile device 11 to wake up the mobile device 11. Then, the mobile device 11 sends the synchronization request command to the media playback device 12, so that the multimedia player 1111 obtains the current playing state of the media of the media playback device 12, so that the multimedia player 1111 can synchronously update the media playback device 12 during the continuous playback. Media playback status. Wherein, when the user actively wakes up the mobile device (eg, broadcast/receive call, send/receive SMS, button or screen unlock, etc.), the synchronization request command and Status synchronization instructions can also be executed. In one embodiment, the measurement is performed during the even-numbered play, and the maximum current consumption is only 3 mA, which is significantly reduced by 161 mA compared with the maximum current consumption of 164 mA during the audio stream of the prior art. Therefore, in the long-term playback state and the media. In the case where the temporary storage area 121 of the playback device 12 can accommodate at least one media file, compared with the prior art, two songs are played as an example, and the even-numbered and the even-numbered songs are each one, assuming two songs are played. When the time is the same (t/2), the total time required to play two songs is t, and the current consumption information measured during the odd-numbered and even-numbered play is calculated. The estimated energy saving percentage is about 1- {[(164+32)*(t/2)+3*(t/2)]/[164*(t/2)+164*(t/2)]}=39%.

在上述實施方式中,為了清楚描述本發明有關節能函式 11111及節能韌體1221的操作方式,故簡易地設定媒體播放裝置12的暫存區121容量恰可容納單一媒體檔,及預設每次進行背景傳輸模式時,即傳輸單一媒體檔案至媒體播放裝置12的暫存區121,然其並非用以限定本發明。在其他的實施方式中,媒體播放裝置12的暫存區121容量可容納一個以上的媒體檔,進行背景傳輸模式時,同時參考暫存區121的現有容量、通訊鏈結13的頻寬及串流模式的媒體傳輸流量,傳輸最大容許值的媒體資料(可包含完整或部分的媒體檔)至媒體播放裝置12的暫存區121,可更進一步減少串流模式執行的時間,同時更能降低功耗;另外,在其他的實施方式中,奇數項次及偶數項次的媒體檔可以是切割自一個單獨的影音檔案的不同部分的媒體片段。 In the above embodiments, the energy saving function of the present invention is clearly described. 11111 and the operation mode of the energy-saving firmware 1221, so that the temporary storage area 121 of the media playback device 12 can be easily set to accommodate a single media file, and preset a single media file to media playback every time the background transmission mode is performed. The temporary storage area 121 of the device 12 is not intended to limit the invention. In other embodiments, the temporary storage area 121 of the media playback device 12 can accommodate more than one media file. When the background transmission mode is performed, the existing capacity of the temporary storage area 121, the bandwidth and the serialization of the communication link 13 are simultaneously referred to. The streaming mode media transmission traffic, the transmission of the maximum allowable media data (which may include a complete or partial media file) to the temporary storage area 121 of the media playback device 12, further reduces the execution time of the streaming mode, and at the same time reduces the time. Power consumption; in addition, in other embodiments, the odd-numbered and even-numbered media files may be media segments cut from different portions of a single video file.

根據前文所揭露的媒體播放節能系統1及節能函式11111及節能韌體1221運作方式,本發明提出了一種媒體播放節能方法,如第2圖所示,媒體播放節能方法包括以下步驟: According to the media playing energy saving system 1 and the energy saving function 11111 and the energy saving firmware 1221 disclosed above, the present invention provides a media playing energy saving method. As shown in FIG. 2, the media playing energy saving method includes the following steps:

步驟301:在行動裝置11與媒體播放裝置12間建立通訊鏈結13用以進行資料傳輸。 Step 301: Establish a communication link 13 between the mobile device 11 and the media playback device 12 for data transmission.

步驟302:初始化行動裝置11與媒體播放裝置12間的一背景傳輸量;其中,行動裝置11是透過通訊鏈結13取得多媒體播放裝置12之暫 存區121容量資訊,求出背景傳輸量;背景傳輸量可為單一個媒體檔,例如,一首歌曲。 Step 302: Initialize a background transmission amount between the mobile device 11 and the media playback device 12; wherein the mobile device 11 obtains the multimedia playback device 12 through the communication link 13 The storage area 121 has capacity information, and the background transmission amount is obtained; the background transmission amount can be a single media file, for example, a song.

步驟303:以媒體播放裝置12串流播放行動裝置11的一第一媒體檔,同時透過背景傳輸將行動裝置11的一第二媒體檔傳送至媒體播放裝置12的暫存區121。 Step 303: Streaming a first media file of the mobile device 11 by the media playing device 12, and transmitting a second media file of the mobile device 11 to the temporary storage area 121 of the media playing device 12 through the background transmission.

步驟304:當第一媒體檔播放完畢時,媒體播放裝置12播放第二媒體檔。 Step 304: When the first media file is played, the media playing device 12 plays the second media file.

步驟305:當第二媒體檔開始播放時,多媒體播放程式1111使行動裝置11進入睡眠模式。 Step 305: When the second media file starts playing, the multimedia player 1111 causes the mobile device 11 to enter the sleep mode.

步驟306:當第二媒體檔播放完畢後,多媒體播放程式1111喚醒行動裝置11。 Step 306: After the second media file is played, the multimedia player 1111 wakes up the mobile device 11.

步驟307:更新媒體播放狀態。多媒體播放程式1111由媒體播放裝置12獲得媒體播放狀態,將媒體播放狀態顯示在行動裝置11;當播放清單尚未播放完畢,則回到步驟303重複上述流程。 Step 307: Update the media playing status. The multimedia player 1111 obtains the media playing status by the media playing device 12, and displays the media playing status on the mobile device 11; when the play list has not been played, the process returns to step 303 to repeat the above process.

在上述的媒體播放節能方法中,第一媒體檔是播放清單中的其中一奇數項次媒體檔,第二媒體檔是播放清單中的其中一偶數項次媒體檔;在其他的實施方式中,第一媒體檔及第二媒體檔可以是分割自一個單獨的影音檔案的不同媒體片段。 In the above media playing energy saving method, the first media file is one of the odd-numbered media files in the playlist, and the second media file is one of the even-numbered media files in the playlist; in other embodiments, The first media file and the second media file may be different media segments segmented from a single audiovisual file.

根據本發明所提出的媒體播放節能系統及方法,相較於先前技術,本發明是以串流播放過程於背景傳輸後續播放媒體至目標播放裝置的暫存區,所以本發明的媒體播放節能系統及方法於長期播放期間能減少串流播放時間而有更少的耗電流,以增長行動裝置的待機時間。另外,由於媒體播放裝置通常具備較高的電池容量,本發明減少行動裝置耗能,亦能有效延長行動裝置利用媒體播放裝置進行媒體分享的時間。 According to the media playing energy-saving system and method of the present invention, compared with the prior art, the present invention transmits a subsequent playing medium to a temporary storage area of the target playing device in a background streaming process, so the media playing energy-saving system of the present invention And the method can reduce the streaming time and have less current consumption during long-term playback to increase the standby time of the mobile device. In addition, since the media playback device generally has a high battery capacity, the present invention can reduce the energy consumption of the mobile device, and can effectively extend the time for the mobile device to use the media playback device for media sharing.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當 可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the scope of the invention. The invention may be modified and modified, and the scope of the invention is defined by the scope of the patent application attached to the specification.

1‧‧‧媒體播放節能系統 1‧‧‧Media Play Energy Saving System

11‧‧‧行動裝置 11‧‧‧Mobile devices

111‧‧‧記憶體 111‧‧‧ memory

1111‧‧‧媒體播放程式 1111‧‧‧Media Player

11111‧‧‧節能指令集 11111‧‧‧Energy Saving Instruction Set

112‧‧‧處理器 112‧‧‧ processor

113‧‧‧第一介面 113‧‧‧ first interface

114‧‧‧通訊單元 114‧‧‧Communication unit

115‧‧‧第二介面 115‧‧‧Second interface

12‧‧‧無線多媒體播放裝置 12‧‧‧Wireless multimedia player

121‧‧‧暫存區 121‧‧‧Scratch area

122‧‧‧微控制器 122‧‧‧Microcontroller

1221‧‧‧節能指令集韌體 1221‧‧‧Energy Saving Instruction Set Firmware

123‧‧‧傳輸單元 123‧‧‧Transportation unit

124‧‧‧匯流排 124‧‧‧ Busbars

125‧‧‧播放單元 125‧‧‧Play unit

126‧‧‧輸出介面 126‧‧‧Output interface

13‧‧‧通訊鏈結 13‧‧‧Communication links

Claims (10)

一種媒體播放節能系統,包括:一行動裝置,具有一記憶體、一處理器以及一通訊單元,該記憶體與該處理器以一第一介面電性連結,該處理器與該通訊單元以一第二介面電性連結,該記憶體內含有一媒體播放程式;及一媒體播放裝置,具有一暫存區、一微控制器、一傳輸單元及一播放單元,該暫存區、該傳輸單元與該微控制器以一匯流排電性連結,該微控制器與該播放單元以一輸出介面電性連結,該通訊單元與該傳輸單元以一通訊鏈結連接;其中,當該播放單元串流播放由該媒體播放程式傳來的一第一媒體時,該媒體播放程式同時背景傳送一第二媒體至該暫存區。 A media playing energy-saving system includes: a mobile device having a memory, a processor, and a communication unit, the memory and the processor being electrically connected by a first interface, the processor and the communication unit The second interface is electrically connected, and the memory body comprises a media playing program; and a media playing device has a temporary storage area, a microcontroller, a transmission unit and a playing unit, the temporary storage area, the transmission unit and the The microcontroller is electrically connected to the bus, and the microcontroller is electrically connected to the playback unit by an output interface, and the communication unit is connected to the transmission unit by a communication link; wherein, when the playback unit is streamed When playing a first media sent by the media player, the media player simultaneously transmits a second media to the temporary storage area. 根據申請專利範圍第1項所述的媒體播放節能系統,其中該行動裝置包含一節能函式,該媒體播放裝置包含一節能韌體,該節能函式及該節能韌體控制該第一媒體及該第二媒體的傳送與播放。 The media playing energy-saving system according to claim 1, wherein the mobile device comprises a power saving function, the media playing device comprises an energy-saving function, and the energy-saving function and the energy-saving firmware control the first medium and The transmission and playback of the second medium. 根據申請專利範圍第2項所述的媒體播放節能系統,其中該節能韌體是包含於該微控制器中。 The media playing energy saving system according to claim 2, wherein the energy saving firmware is included in the microcontroller. 根據申請專利範圍第2項所述的媒體播放節能系統,其中該節能函式是包含於該媒體播放程式中。 The media playing energy saving system according to claim 2, wherein the energy saving function is included in the media playing program. 根據申請專利範圍第2項所述的媒體播放節能系統,其中該節能函式及該節能韌體包含一睡眠指令、一喚醒指令、一同步請求指令、一狀態同步指令、一串流播放指令或一暫存區播放指令。 The media playing energy-saving system according to claim 2, wherein the energy-saving function and the energy-saving firmware comprise a sleep command, a wake-up command, a synchronization request command, a state synchronization command, a streaming play command, or A temporary storage area playback command. 根據申請專利範圍第1項所述的媒體播放節能系統,其中該第一媒體及該第二媒體為音訊檔案或視訊檔案。 The media playing energy saving system according to claim 1, wherein the first medium and the second medium are audio files or video files. 根據申請專利範圍第1項所述的媒體播放節能系統,其中該通訊鏈結符合藍牙、低功耗藍牙、無線相容性認證或第三代行動通訊的通信規範。 The media playing energy saving system according to claim 1, wherein the communication link conforms to a communication specification of Bluetooth, Bluetooth low energy, wireless compatibility authentication or third generation mobile communication. 根據申請專利範圍第1項所述的媒體播放節能系統,其中該媒體播放裝置為喇叭或視訊播放裝置,且該行動裝置為一手機。 The media playing energy saving system according to claim 1, wherein the media playing device is a speaker or a video playing device, and the mobile device is a mobile phone. 一種媒體播放節能方法,包括下列步驟:初始化一行動裝置之一背景傳輸量;串流播放一第一媒體檔,同時自該行動裝置背景傳輸一第二媒體檔至一媒體播放裝置之一暫存區;及當該第一媒體檔播放完畢時,以該媒體播放裝置播放該第二媒體檔。 A media playing energy saving method includes the steps of: initializing a background transmission amount of a mobile device; streaming a first media file, and transmitting a second media file from the mobile device background to a media playback device for temporary storage; And playing the second media file with the media playing device when the first media file is played. 根據申請專利範圍第9項所述的媒體播放節能方法,其中當該第二媒體檔開始播放後,更包括:使該行動裝置進入睡眠模式;當該第二媒體檔播放完畢時,喚醒該行動裝置;以及顯示一播放狀態於該行動裝置上。 The media playing energy saving method according to claim 9, wherein when the second media file starts playing, the method further comprises: bringing the mobile device into a sleep mode; and when the second media file is played, awakening the action a device; and displaying a play status on the mobile device.
TW103135786A 2014-08-18 2014-10-16 Power saving system and method for media play TWI526816B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410405962.5A CN104159143B (en) 2014-08-18 2014-08-18 Media play energy conserving system and method

Publications (2)

Publication Number Publication Date
TW201608370A true TW201608370A (en) 2016-03-01
TWI526816B TWI526816B (en) 2016-03-21

Family

ID=51884533

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103135786A TWI526816B (en) 2014-08-18 2014-10-16 Power saving system and method for media play

Country Status (2)

Country Link
CN (1) CN104159143B (en)
TW (1) TWI526816B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479194B (en) * 2019-01-23 2022-02-15 瑞昱半导体股份有限公司 Method for controlling audio playing device and related control circuit

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457538A (en) * 2010-10-18 2012-05-16 宇瞻科技股份有限公司 Media playing method and media playing system
CN102917275A (en) * 2011-08-02 2013-02-06 英华达(上海)科技有限公司 Streaming media playing system and playing method thereof
CN103581859A (en) * 2012-07-20 2014-02-12 中兴通讯股份有限公司 User equipment and method for transmitting auxiliary information of user equipment
CN103595748B (en) * 2012-08-16 2016-12-07 耀登科技股份有限公司 Document transmission method and the mobile memory device applying the method
US8781294B2 (en) * 2012-11-30 2014-07-15 Seagate Technology Llc Media content caching
TW201427463A (en) * 2012-12-20 2014-07-01 Wistron Corp Broadcasting system and method for multimedia bitstream
TW201429232A (en) * 2013-01-08 2014-07-16 Compal Electronics Inc Multimedia playback apparatus and multimedia file prefetching method
US20140204278A1 (en) * 2013-01-24 2014-07-24 Hewlett-Packard Development Company, L.P. Initiating the playing of media stored on a media source device while in power saving mode

Also Published As

Publication number Publication date
CN104159143B (en) 2018-02-23
TWI526816B (en) 2016-03-21
CN104159143A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
TWI426740B (en) Ad-hoc network power save system and method
US9668204B2 (en) Collaborative demand-based dual-mode Wi-Fi network control to optimize wireless power and performance
WO2018152679A1 (en) Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system
JP4977774B2 (en) Data processing device
US8027559B2 (en) Image reproducing apparatus and control method therefor
US11310735B2 (en) Apparatus to save power smartly from Bluetooth audio visual remote control protocol notifications
JP2018518872A (en) Scheduled universal serial bus (USB) low power operation
KR20140021829A (en) Multimedia processing system and operating method thereof
US20140293135A1 (en) Power save for audio/video transmissions over wired interface
JP2023541467A (en) Glitchless switching without GPU blanking or artifacts at the multiplexer
CN114258003A (en) Audio playing control method, system, device and storage medium
TWI526816B (en) Power saving system and method for media play
TWI632816B (en) Continuous data delivery with energy conservation
WO2015074623A1 (en) Video playback method, apparatus and intelligent terminal
KR101804799B1 (en) Apparatus and method and reproducing audio data by low power
US20190369706A1 (en) Burst-responsive wireless download packet management for reducing processing workload latency and power consumption
TWI569598B (en) Dynamic adjusting method of a bluetooth speaker
CN103856811A (en) Multimedia data decoding control method, device and apparatus
TW201711452A (en) Videos playback speed adjustment method and electronic apparatus using the same
CN113891124A (en) Audio and video playing method and device, electronic equipment, server and storage medium
TW201918058A (en) An information processing system and method
WO2016107116A1 (en) Internet protocol television play control method, device and computer storage medium
JP2005216116A (en) Information processing system and method, information processor and method, and program
KR20140118528A (en) Method and apparatus for selecting a power control mode in a wireless communication system
JP2014045240A (en) Communication system, external storage apparatus, data transmission method for external storage apparatus, and data processing program for external storage apparatus