TWI539800B - Method and electronic device for multimedia data transmission - Google Patents

Method and electronic device for multimedia data transmission Download PDF

Info

Publication number
TWI539800B
TWI539800B TW103133511A TW103133511A TWI539800B TW I539800 B TWI539800 B TW I539800B TW 103133511 A TW103133511 A TW 103133511A TW 103133511 A TW103133511 A TW 103133511A TW I539800 B TWI539800 B TW I539800B
Authority
TW
Taiwan
Prior art keywords
playing
period
current
multimedia
processor
Prior art date
Application number
TW103133511A
Other languages
Chinese (zh)
Other versions
TW201613363A (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 TW103133511A priority Critical patent/TWI539800B/en
Publication of TW201613363A publication Critical patent/TW201613363A/en
Application granted granted Critical
Publication of TWI539800B publication Critical patent/TWI539800B/en

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Selective Calling Equipment (AREA)

Description

多媒體資料傳輸的方法及其電子裝置 Method for transmitting multimedia data and electronic device thereof

本發明是有關於一種資料傳輸的技術,且特別是有關於一種多媒體資料傳輸的方法及其電子裝置。 The present invention relates to a technique for data transmission, and more particularly to a method for transmitting multimedia data and an electronic device therefor.

近年來,隨著網際網路的快速發展以及軟硬體技術的提升,使用者對於資訊服務的需求日益俱增,雲端技術因而發展壯大。雲端技術代表規模龐大的運算能力以及儲存能力,其可在本地端資源有限的情況下,利用網路取得遠方的運算資源、儲存資源或服務。 In recent years, with the rapid development of the Internet and the improvement of software and hardware technologies, users' demand for information services has increased, and cloud technology has grown. Cloud technology represents a large computing power and storage capacity, which can use the network to obtain remote computing resources, storage resources or services when the local resources are limited.

目前所發展出的雲端服務可讓使用者透過雲端網路平台,串連使用個人電腦、平板電腦、智慧型手機等產品,讓使用者得以在安全的環境下在不同裝置間分享以及管理個人使用的各項產品。舉例而言,此技術可讓使用者於行動裝置上播放或瀏覽儲存在家中或辦公室的個人電腦中的影音檔案或文件,即使出門在外,仍可享受個人喜愛的影片、音樂及相片,或是即時查詢及瀏覽重要文件。 The cloud service developed so far allows users to use PCs, tablets, smart phones and other products in tandem through the cloud network platform, allowing users to share and manage personal use among different devices in a secure environment. Various products. For example, this technology allows users to play or browse audio and video files or files stored on a personal computer at home or in the office, and enjoy their favorite movies, music and photos, even when they are away from home. Instantly query and browse important files.

然而,行動裝置在多媒體播放的情境下會因為取得多媒體資料前需要一些等待時間來喚醒遠端裝置、等待遠端裝置被喚醒以及下載足夠份量的多媒體資料後,才能夠開始享受多媒體娛樂。上述額外的等待時間將會影響使用者的使用體驗。 However, in the context of multimedia playback, the mobile device can start enjoying multimedia entertainment after waiting for the multimedia device to wait for the remote device to wake up, wait for the remote device to wake up, and download a sufficient amount of multimedia data. The above additional waiting time will affect the user experience.

有鑑於此,本發明提供一種多媒體資料傳輸的方法及其電子裝置,其可預先自遠端裝置下載所需播放的多媒體資料,以在實際播放時達到流暢的使用者體驗。 In view of the above, the present invention provides a method for transmitting multimedia data and an electronic device thereof, which can download multimedia materials to be played in advance from a remote device to achieve a smooth user experience during actual playback.

本發明提出一種多媒體資料傳輸的方法,適用於行動裝置,其中行動裝置得以透過網路與儲存多個多媒體資料的遠端裝置建立連線。此方法包括下列步驟。當接收到關聯於所述多媒體資料中的目前多媒體資料的播放訊號時,判斷目前時間點是否位於學習資料庫中所記錄的至少一播放時段之其中一者。當目前時間點位於所述播放時段中的第一播放時段時,利用多媒體播放器播放關聯於目前多媒體資料的預載資料,並且判斷預載資料的目前預載量是否達到第一播放時段所對應的第一估測資料使用量。當目前預載量尚未達到第一估測資料使用量時,發送預載需求至遠端裝置,以使目前預載量達到第一估測資料使用量。當目前預載量已達到第一估測資料使用量時,於多媒體播放器停止播放時,將第一播放時間長度記錄於學習資料庫。當目前時間點不位於所述播放時段時,利用多媒體播放器播放關聯於目前多媒體資 料的預載資料,並且記錄對應於目前時間點的新增播放時段於學習資料庫,而於多媒體播放器停止播放時,將對應於新增播放時段的新增播放時間長度記錄於學習資料庫。 The invention provides a method for transmitting multimedia data, which is suitable for a mobile device, wherein the mobile device can establish a connection with a remote device storing a plurality of multimedia materials through a network. This method includes the following steps. When receiving the play signal associated with the current multimedia material in the multimedia material, determining whether the current time point is located in one of the at least one play time period recorded in the learning database. When the current time point is located in the first playing period in the playing period, the multimedia player is used to play the preloaded data associated with the current multimedia material, and it is determined whether the current preload amount of the preloaded data reaches the first playing period. The first estimate of the amount of data used. When the current preload amount has not reached the first estimated data usage amount, the preload demand is sent to the remote device, so that the current preload amount reaches the first estimated data usage amount. When the current preload amount has reached the first estimated data usage amount, when the multimedia player stops playing, the first playing time length is recorded in the learning database. When the current time point is not located in the playing period, the multimedia player is used to play the related multimedia resources. Preloading data of the material, and recording the new playing time corresponding to the current time point in the learning database, and when the multimedia player stops playing, recording the new playing time length corresponding to the newly added playing time in the learning database .

本發明另提出一種電子裝置,其包括記憶體以及耦接於記憶體的處理器,其中記憶體包括學習資料庫。處理器得以透過網路以使電子裝置與儲存多個多媒體資料的遠端裝置建立連線。當處理器接收到關聯於所述多媒體資料中的目前多媒體資料的播放訊號時,處理器判斷目前時間點是否位於學習資料庫中所記錄的至少一播放時段之其中一者。當目前時間點位於所述播放時段中的第一播放時段時,處理器利用多媒體播放器播放關聯於目前多媒體資料的預載資料,並且判斷預載資料的目前預載量是否達到第一播放時段所對應的第一估測資料使用量。當目前預載量尚未達到第一估測資料使用量時,處理器發送預載需求至遠端裝置,以使目前預載量達到第一估測資料使用量。當目前預載量已達到第一估測資料使用量時,於多媒體播放器停止播放時,處理器將第一播放時間長度記錄於學習資料庫中。當目前時間點不位於所述播放時段時,利用多媒體播放器播放關聯於目前多媒體資料的預載資料,處理器記錄對應於目前時間點的新增播放時段於學習資料庫,並且於多媒體播放器停止播放時,處理器將對應於新增播放時段的新增播放時間長度記錄於學習資料庫。 The invention further provides an electronic device comprising a memory and a processor coupled to the memory, wherein the memory comprises a learning database. The processor is able to connect the electronic device to the remote device storing the plurality of multimedia materials through the network. When the processor receives the play signal associated with the current multimedia material in the multimedia material, the processor determines whether the current time point is located in one of the at least one play time period recorded in the learning database. When the current time point is located in the first playing period in the playing period, the processor uses the multimedia player to play the preloaded data associated with the current multimedia material, and determines whether the current preload amount of the preloaded data reaches the first playing period. The corresponding first estimated data usage. When the current preload amount has not reached the first estimated data usage amount, the processor sends the preload demand to the remote device so that the current preload amount reaches the first estimated data usage amount. When the current preload amount has reached the first estimated data usage amount, when the multimedia player stops playing, the processor records the first playing time length in the learning database. When the current time point is not located in the playing time period, the multimedia player is used to play the preloaded data associated with the current multimedia material, and the processor records the new playing time period corresponding to the current time point in the learning database, and is in the multimedia player. When the playback is stopped, the processor records the length of the new playback time corresponding to the new playback period in the learning database.

基於上述,本發明所提出的多媒體資料傳輸的方法及其電子裝置,係根據多媒體播放器播放的播放時段以及對應於各所 述播放時段的平均播放時間長度來估算預載資料所需的資料使用量。多媒體播放器在播放完預載資料前,可先估算下一次播放所需的預載量,以提前進行下載。藉此,當使用者欲播放多媒體資料時,使用者無須花費時間來等待多媒體資料的下載,即可開始享受多媒體娛樂,達到流暢的使用者體驗。 Based on the above, the method for transmitting multimedia data and the electronic device thereof according to the present invention are based on a playing period played by a multimedia player and corresponding to each The average playing time of the playing period is used to estimate the amount of data used for the preloaded data. Before the multimedia player plays the preloaded data, it can estimate the preload amount required for the next playback to download in advance. In this way, when the user wants to play the multimedia material, the user does not need to spend time waiting for the download of the multimedia material, and then can enjoy the multimedia entertainment to achieve a smooth user experience.

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

100‧‧‧系統 100‧‧‧ system

110‧‧‧遠端裝置 110‧‧‧Remote device

150‧‧‧網路 150‧‧‧Network

200‧‧‧行動裝置 200‧‧‧ mobile device

210‧‧‧記憶體 210‧‧‧ memory

220‧‧‧處理器 220‧‧‧ processor

S302~S314、S402~S412‧‧‧多媒體資料傳輸的方法流程 S302~S314, S402~S412‧‧‧ Method flow of multimedia data transmission

401‧‧‧學習資料庫 401‧‧‧Learning database

405‧‧‧預載資料 405‧‧‧Preloaded information

圖1是根據本發明一實施例所繪示之多媒體資料傳輸的系統方塊圖。 FIG. 1 is a block diagram of a system for transmitting multimedia data according to an embodiment of the invention.

圖2是根據本發明一實施例所繪示之行動裝置的方塊圖。 FIG. 2 is a block diagram of a mobile device according to an embodiment of the invention.

圖3是根據本發明一實施例所繪示之多媒體資料傳輸的方法流程圖。 FIG. 3 is a flow chart of a method for transmitting multimedia data according to an embodiment of the invention.

圖4是根據本發明一實施例所繪示之多媒體資料傳輸的方法的功能方塊圖。 FIG. 4 is a functional block diagram of a method for transmitting multimedia data according to an embodiment of the invention.

本發明的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本發明的一部份,並 未揭示所有本發明的可實施方式。更確切的說,這些實施例只是本發明的專利申請範圍中的裝置與方法的範例。 The components of the present invention will be described in detail in the following description in conjunction with the accompanying drawings. These embodiments are only a part of the present invention, and Not all embodiments of the invention are disclosed. Rather, these embodiments are merely examples of devices and methods within the scope of the patent application of the present invention.

圖1是根據本發明一實施例所繪示之多媒體資料傳輸的系統方塊圖,圖2是根據本發明一實施例所繪示之行動裝置的方塊圖,但此僅是為了方便說明,並不用以限制本發明。首先圖1以及圖2先分別介紹多媒體資料傳輸的系統之整體架構以及電子裝置的構件配置,詳細功能將配合圖3一併揭露。 1 is a block diagram of a multimedia data transmission according to an embodiment of the invention, and FIG. 2 is a block diagram of a mobile device according to an embodiment of the invention, but this is for convenience of explanation and is not used. To limit the invention. First, FIG. 1 and FIG. 2 first introduce the overall architecture of the multimedia data transmission system and the component configuration of the electronic device, and the detailed functions will be disclosed together with FIG.

請先參照圖1,多媒體資料傳輸的系統100包括遠端裝置110、網路150以及行動裝置200。 Referring first to FIG. 1, the multimedia data transmission system 100 includes a remote device 110, a network 150, and a mobile device 200.

遠端裝置110可以為桌上型電腦、一體成型電腦、伺服器電腦等具有較大儲存空間但較不便於攜帶的電子裝置,然而本發明仍不以此為限。遠端裝置110儲存多個多媒體資料,其中所述多媒體資料可以是音樂、影片等多媒體影音檔案。 The remote device 110 can be a desktop computer, an integrated computer, a server computer, or the like, which has a large storage space but is less portable, but the invention is not limited thereto. The remote device 110 stores a plurality of multimedia materials, wherein the multimedia materials may be multimedia audio and video files such as music and movies.

在本實施例中,行動裝置200可以為筆記型電腦、智慧型手機、平板電腦、個人數位助理、車用電腦、可攜式影音播放器等便於攜帶的電子裝置,然而本發明不以此為限。 In this embodiment, the mobile device 200 can be a portable electronic device such as a notebook computer, a smart phone, a tablet computer, a personal digital assistant, a car computer, a portable video player, etc., but the present invention does not limit.

行動裝置200可經由網路150與遠端裝置110建立連線,以使行動裝置200可存取遠端裝置110中的多媒體資料。也就是說,行動裝置200可利用WiMAX通訊協定、Wi-Fi通訊協定、2G通訊協定、3G通訊協定或4G通訊協定、ADSL寬頻或光纖網路等通訊方式與遠端裝置110建立連線,然而本發明不以此為限。 The mobile device 200 can establish a connection with the remote device 110 via the network 150 to enable the mobile device 200 to access the multimedia material in the remote device 110. In other words, the mobile device 200 can establish a connection with the remote device 110 by using a communication method such as WiMAX protocol, Wi-Fi protocol, 2G protocol, 3G protocol or 4G protocol, ADSL broadband or fiber network. The invention is not limited thereto.

請再參照圖2,行動裝置200包括記憶體210以及一或多 個處理器220。 Referring again to FIG. 2, the mobile device 200 includes a memory 210 and one or more Processor 220.

記憶體210可以例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合,其係用以記錄可由處理器220執行多媒體資料傳輸所須的資料。 The memory 210 can be, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory (flash memory), A hard disk or other similar device or combination of these devices is used to record the data necessary for the multimedia data transmission to be performed by the processor 220.

處理器220可以例如是中央處理器(Central Processing Unit,CPU),以及/或其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合。處理器220耦接記憶體210,可存取記錄在記憶體210中的資料,並且執行多媒體資料的傳輸。 The processor 220 can be, for example, a central processing unit (CPU), and/or other programmable general purpose or special purpose microprocessors, digital signal processors (DSPs), Programmable controllers, Application Specific Integrated Circuits (ASICs), Programmable Logic Devices (PLDs), or other similar devices or combinations of these devices. The processor 220 is coupled to the memory 210, and can access the data recorded in the memory 210 and perform the transmission of the multimedia material.

在進行圖3的多媒體資料傳輸的方法流程之前,在此先說明此方法的前置流程。在本實施例中,行動裝置200的記憶體210包括學習資料庫(未繪示),而處理器220可將行動裝置200的使用者之播放習慣記錄於學習資料庫中。 Before proceeding with the method flow of the multimedia data transmission of FIG. 3, the pre-flow of the method will be described here first. In this embodiment, the memory 210 of the mobile device 200 includes a learning database (not shown), and the processor 220 can record the playing habits of the user of the mobile device 200 in the learning database.

詳言之,處理器220可利用多媒體播放器播放的時間區段記錄下來。舉例來說,當多媒體播放器開始播放多媒體資料時,處理器220會記錄播放當下所屬的時間區段(在此定義為「播放時段」)。假設以1小時做為1個播放時段,則1天將有24個播放 時段。每當處理器220記錄一個播放時段時,可先檢查學習資料庫中是否已有該播放時段的資料。若無,則處理器220會將會新建立此播放時段的記錄。接著,處理器220會計算此播放時段中多媒體播放器連續播放多媒體資料的時間(在此定義為「播放時間長度」),以取得此播放時段的資料使用量。假使播放時間長度跨越了一個以上的播放時段時,則處理器220仍將以多媒體播放器開始播放多媒體資料時所屬的播放時段為記錄標準。此外,處理器220將計算學習資料庫中各個播放時段的平均播放時間長度,以供多媒體資料在進行傳輸時使用。簡言之,學習資料庫將記錄各個播放時段及其所對應的平均播放時間長度。然而,本發明不限於此。在一實施例中,學習資料庫更記錄各個播放時段多媒體播放器所播放的影片類型或者是學習更多使用者的播放行為。 In particular, the processor 220 can record using the time zone played by the multimedia player. For example, when the multimedia player starts playing the multimedia material, the processor 220 records the time zone (herein defined as "playing time period") to which the playback belongs. Suppose 1 hour is used as 1 play time, then there will be 24 play in 1 day. Time period. Whenever the processor 220 records a play period, it may first check whether the data of the play period exists in the learning database. If not, the processor 220 will newly create a record of the play period. Then, the processor 220 calculates the time (hereinafter defined as "play time length") of the multimedia player continuously playing the multimedia material in the playing period to obtain the data usage amount of the playing period. If the length of the play time spans more than one play period, the processor 220 will still use the play period to which the multimedia player starts playing the multimedia material as the recording standard. In addition, the processor 220 will calculate the average play time length of each play period in the learning database for use in the multimedia material for transmission. In short, the learning library will record the individual playback periods and their corresponding average playback time length. However, the invention is not limited thereto. In an embodiment, the learning database further records the type of the movie played by the multimedia player during each playing period or learns the playing behavior of more users.

圖3是根據本發明一實施例所繪示之多媒體資料傳輸的方法流程圖。本實施例的方法適用於圖1的多媒體資料傳輸的系統100以及圖2的行動裝置200,以下即搭配多媒體資料傳輸的系統100以及行動裝置200中的各項元件說明上述方法之步驟。 FIG. 3 is a flow chart of a method for transmitting multimedia data according to an embodiment of the invention. The method of the present embodiment is applicable to the system 100 for multimedia data transmission of FIG. 1 and the mobile device 200 of FIG. 2. The following describes the steps of the method in conjunction with the components of the system 100 for transmitting multimedia data and the mobile device 200.

請同時參照圖1、圖2以及圖3,首先,當行動裝置200的處理器220接收到關聯於遠端裝置110所儲存的多媒體資料中的目前多媒體資料之一播放訊號時(步驟S302),處理器220將判斷目前時間點是否位於學習資料庫中所記錄的播放時段之其中一者(步驟S304)。也就是說,處理器220在接收到使用者欲利用多 媒體播放器來播放目前多媒體資料的輸入指令時,將判斷目前的時間點是否位於學習資料庫中所記錄的任一播放時段。在此的目前多媒體資料可以為多媒體播放器的播放清單中前一次使用者尚未播放完畢的影片。 Referring to FIG. 1 , FIG. 2 and FIG. 3 , firstly, when the processor 220 of the mobile device 200 receives a play signal associated with one of the current multimedia materials stored in the multimedia data stored by the remote device 110 (step S302 ), The processor 220 will determine whether the current time point is located in one of the playback periods recorded in the learning library (step S304). That is to say, the processor 220 receives the user's desire to utilize more When the media player plays the input command of the current multimedia material, it will judge whether the current time point is located in any playing time period recorded in the learning database. The current multimedia material here may be a movie in the playlist of the multimedia player that has not been played by the user in the previous time.

當目前時間點位於所述播放時段中的第一播放時段時,處理器220將利用多媒體播放器播放儲存於儲存裝置210中關聯於目前多媒體資料的預載資料(步驟S306),並且判斷預載資料的目前預載量是否達到第一播放時段所對應的第一估測資料使用量(步驟S308)。在此,關聯於目前多媒體資料的預載資料可以為播放清單中前一次使用者尚未播放完畢的影片之後的片段及/或至少一其它相關影片之片段或是整部影片。在一實施例中,多媒體播放器可依影片類型產生不同的播放清單,而預載資料可以為對應於第一播放時段的播放清單中的影片,本發明不在此設限。 When the current time point is in the first playing period in the playing period, the processor 220 will play the preloaded data stored in the storage device 210 and associated with the current multimedia material by using the multimedia player (step S306), and judge the preloading. Whether the current preload amount of the data reaches the first estimated data usage amount corresponding to the first play period (step S308). Here, the preloaded data associated with the current multimedia material may be a segment of the playlist after the movie that has not been played by the user for the previous time and/or a segment of at least one other related movie or the entire movie. In an embodiment, the multimedia player may generate different playlists according to the type of the movie, and the preloaded data may be a movie in the playlist corresponding to the first play period, and the present invention is not limited thereto.

詳言之,在此目前時間點之前,處理器220已預先自遠端裝置110下載關聯於目前多媒體資料的預載資料。舉例而言,處理器220在前一次的播放時段利用多媒體播放器播放目前多媒體資料時,已定時或是不斷地自遠端裝置110下載對應於該播放時段的預載資料,以達到該播放時段所對應的估測資料使用量。 In particular, prior to the current point in time, the processor 220 has previously downloaded the preloaded material associated with the current multimedia material from the remote device 110. For example, when the multimedia device plays the current multimedia material in the previous playing period, the processor 220 downloads the preloaded data corresponding to the playing period from the remote device 110 periodically or continuously to reach the playing period. The estimated amount of data used.

在本實施例中,處理器220將根據多媒體播放器播放預載資料的串流品質、第一播放時段所對應的平均播放時間長度以及記憶體210的使用儲存空間來取得第一估測資料使用量。假設多媒體播放器播放預載資料的串流品質為10MB/分鐘,而第一播 放時段所對應的平均播放時間長度為80分鐘。若記憶體210的使用儲存空間足夠儲存800MB的資料量時,則第一估測資料使用量將為800MB。若記憶體210的使用儲存空間僅足夠儲存600MB的資料量時,則第一估測資料使用量將為600MB。 In this embodiment, the processor 220 obtains the first estimated data according to the streaming quality of the pre-loaded data played by the multimedia player, the average playing time length corresponding to the first playing period, and the used storage space of the memory 210. the amount. Assume that the streaming quality of the pre-loaded data played by the multimedia player is 10MB/min, and the first broadcast The average playback time corresponding to the playback period is 80 minutes. If the storage space of the memory 210 is sufficient to store 800 MB of data, the first estimated data usage will be 800 MB. If the storage space of the memory 210 is only enough to store 600 MB of data, the first estimated data usage will be 600 MB.

當目前預載量尚未達到第一估測資料使用量時,處理器220將發送預載需求至遠端裝置110,以使目前預載量達到第一估測資料使用量(步驟S310)。也就是說,處理器220判斷預載資料的目前預載量尚未達到第一播放時段所對應的第一估測資料使用量時,將發送預載需求至遠端裝置110,以自遠端裝置110下載更多的預載資料,使記憶體210中預載資料的預載量達到第一播放時段所需求的使用量。 When the current preload amount has not reached the first estimated data usage amount, the processor 220 will send the preload demand to the remote device 110 to bring the current preload amount to the first estimated data usage amount (step S310). That is, when the processor 220 determines that the current preload amount of the preloaded data has not reached the first estimated data usage amount corresponding to the first playing period, the preloading demand will be sent to the remote device 110 to the remote device. 110 downloads more preloaded data so that the preloaded amount of preloaded data in the memory 210 reaches the usage amount required for the first play period.

當目前預載量已達到第一估測資料使用量時,處理器220將於多媒體播放器停止播放時,將第一播放時間長度記錄於學習資料庫中(步驟S312)。詳言之,處理器220將於多媒體播放器停止播放時,針對此次多媒體播放器的連續播放時間記錄於學習資料庫中。此外,由於學習資料庫本身已記錄第一播放時段及其所對應的平均播放時間長度,因此處理器220將會根據第一播放時間長度來更新第一播放時段所對應的平均播放時間長度。 When the current preload amount has reached the first estimated data usage amount, the processor 220 records the first play time length in the learning database when the multimedia player stops playing (step S312). In detail, when the multimedia player stops playing, the processor 220 records the continuous playing time of the multimedia player in the learning database. In addition, since the learning database itself has recorded the first playing period and the corresponding average playing time length, the processor 220 will update the average playing time length corresponding to the first playing period according to the first playing time length.

在本實施例中,處理器220在利用多媒體播放器播放完預載資料前,發送另一預載需求至遠端裝置110,使記憶體210中預載資料的預載量達到第一播放時段所需求的使用量。舉例來說,假設多媒體播放器已有使用者預先設定好的播放清單,其中 播放清單包含兩部一般畫質的影音多媒體檔案:檔案1以及檔案2。檔案1的播放時間長度為80分鐘,其平均串流品質為10MB/分鐘;檔案2的播放時間長度為70分鐘,其平均串流品質為10MB/分鐘。假設為第一播放時段的平均播放時間長度為100分鐘。因此,處理器220將計算出預載資料須包括檔案1的80分鐘的播放長度,以及檔案二的20分鐘的播放長度,並且在使用者觀看完檔案1的前20分鐘之片段時,處理器220將自遠端裝置110加載檔案2的另外20分鐘之片段,以符合使用者在第一播放時段觀看100分鐘的習慣。 In this embodiment, the processor 220 sends another preload requirement to the remote device 110 before the preloaded data is played by the multimedia player, so that the preloaded amount of the preloaded data in the memory 210 reaches the first playing period. The amount of usage required. For example, suppose the multimedia player has a preset playlist by the user, wherein The playlist contains two general-quality audio and video multimedia files: File 1 and File 2. File 1 has a playback time of 80 minutes and an average stream quality of 10 MB/minute. File 2 has a playback time of 70 minutes and an average stream quality of 10 MB/minute. It is assumed that the average play time length of the first play period is 100 minutes. Therefore, the processor 220 will calculate the preloaded data to include the 80-minute play length of the file 1, and the 20-minute play length of the file 2, and when the user views the first 20 minutes of the file 1, the processor 220 will load the other 20 minutes of the archive 2 from the remote unit 110 to match the user's habit of watching 100 minutes during the first play period.

另一方面,當處理器220在步驟S308中判斷目前時間點不符合所述播放時段時,處理器220將播放關聯於目前多媒體資料的預載資料並且將對應於目前時間點的新增播放時段記錄於學習資料庫,而於多媒體播放器停止播放時,將對應於新增播放時段的新增播放時間長度記錄於學習資料庫(步驟S314)。詳言之,當目前時間點不符合所述播放時段,由於學習資料庫本身尚未有對應於目前時間點的相關資料,因此會將目前時間點記錄於學習資料庫,以產生一個新增播放時段。此時,處理器220仍可利用多媒體播放器來播放關聯於目前多媒體資料的預載資料。在一實施例中,處理器220可先自學習資料庫尋找最接近目前時間點的下一個播放時段(在此定義為「第二播放時段」),並且取得下一個播放時段的平均播放時間長度,以計算出第二播放時段所對應的第二估測資料使用量。第二估測資料使用量的計算方式可參照 前述第一估測資料使用量的相關說明,於此不再贅述。 On the other hand, when the processor 220 determines in step S308 that the current time point does not meet the play period, the processor 220 will play the preloaded data associated with the current multimedia material and will add a new play period corresponding to the current time point. Recorded in the learning database, and when the multimedia player stops playing, the length of the new playing time corresponding to the newly added playing period is recorded in the learning database (step S314). In detail, when the current time point does not meet the playing time period, since the learning database itself does not have relevant data corresponding to the current time point, the current time point is recorded in the learning database to generate a new playing time period. . At this time, the processor 220 can still use the multimedia player to play the preloaded data associated with the current multimedia material. In an embodiment, the processor 220 may first learn from the learning database to find the next playing period closest to the current time point (defined herein as the "second playing period"), and obtain the average playing time length of the next playing period. , to calculate a second estimated data usage amount corresponding to the second playing period. The calculation method of the second estimated data usage can be referred to The foregoing description of the usage of the first estimated data will not be repeated here.

多媒體播放器來播放預載資料的同時,處理器220在判斷預載資料的目前預載量尚未達到第二播放時段所對應的第二估測資料使用量時,將發送預載需求至遠端裝置110,以自遠端裝置110下載更多的預載資料,使記憶體210中預載資料的預載量達到第二播放時段所需求的使用量。此外,處理器220將於多媒體播放器停止播放時,針對此次多媒體播放器的連續播放時間記錄於學習資料庫中,以產生對應於新增播放時段的新增播放時間長度。 While the multimedia player plays the preloaded data, the processor 220 sends the preloaded demand to the remote end when determining that the current preload amount of the preloaded data has not reached the second estimated data usage amount corresponding to the second playing period. The device 110 downloads more preloaded data from the remote device 110, so that the preloaded amount of preloaded data in the memory 210 reaches the usage amount required for the second playing period. In addition, when the multimedia player stops playing, the processor 220 records the continuous playing time of the multimedia player in the learning database to generate a new playing time length corresponding to the newly added playing period.

前述多媒體資料傳輸的方法可利用圖4依據本發明一實施例所繪示的功能方塊圖來總結。 The foregoing method for transmitting multimedia data can be summarized by using the functional block diagram of FIG. 4 according to an embodiment of the present invention.

請參照圖4,首先,當使用者欲利用行動裝置200播放多媒體時(步驟S402),行動裝置200將查詢學習資料庫401中是否有相近的播放時段(步驟S404)。若有,則行動裝置200將利用所儲存的預載資料405,無縫播放多媒體(步驟S406)。此外,行動裝置200將根據預載資料405的預載量來判斷是否要對遠端裝置110發出預載需求(步驟S408)。若是,則行動裝置200將對遠端裝置110發出預載需求(步驟S410),而遠端裝置110將傳輸更多關聯於預載資料405的資料,以使預載資料405符合預期的預載量。若否,則行動裝置200將記錄此播放時段的相關資訊,並且更新學習資料庫401的相關紀錄,以做為之後預載的參考數據(步驟S412)。另一方面,若行動裝置200無法自學習資料庫401中查詢到有相近的播放時段時,則行動裝置200仍可先播放預載資料 405,並且暫以最接近此播放時間點的下一個播放時段所預期的預載量來判斷是否對遠端裝置110發出預載需求,並且新增此播放時段及其相關紀錄至學習資料庫401(步驟S414)。圖4的各步驟請參照前述段落的相關說明,於此不再贅述。 Referring to FIG. 4, first, when the user wants to play multimedia using the mobile device 200 (step S402), the mobile device 200 will query whether there is a similar playing period in the learning database 401 (step S404). If so, the mobile device 200 will seamlessly play the multimedia using the stored preloaded data 405 (step S406). Further, the mobile device 200 determines whether or not to issue a preload request to the remote device 110 based on the preload amount of the preloaded data 405 (step S408). If so, the mobile device 200 will issue a preload request to the remote device 110 (step S410), and the remote device 110 will transmit more data associated with the preloaded data 405 so that the preloaded data 405 meets the expected preload. the amount. If not, the mobile device 200 will record the related information of the play period, and update the relevant record of the learning database 401 as the reference data preloaded later (step S412). On the other hand, if the mobile device 200 cannot find a similar playing time period from the learning database 401, the mobile device 200 can still play the preloaded data first. 405, and determining whether to pre-load the remote device 110 with the preload amount expected from the next playing period closest to the playing time point, and adding the playing period and its related record to the learning database 401 (Step S414). For the steps of FIG. 4, please refer to the related description of the foregoing paragraphs, and details are not described herein again.

綜上所述,本發明所提出的多媒體資料傳輸的方法及其電子裝置,係根據多媒體播放器播放的播放時段以及對應於各所述播放時段的平均播放時間長度來估算預載資料所需的資料使用量。多媒體播放器在播放完預載資料前,可先估算下一次播放所需的預載量,以提前進行下載。藉此,當使用者欲播放多媒體資料時,使用者無須花費時間來等待多媒體資料的下載,即可開始享受多媒體娛樂,達到流暢的使用者體驗。 In summary, the method for transmitting multimedia data and the electronic device thereof according to the present invention are required to estimate the preloaded data according to the playing period played by the multimedia player and the average playing time length corresponding to each of the playing periods. Data usage. Before the multimedia player plays the preloaded data, it can estimate the preload amount required for the next playback to download in advance. In this way, when the user wants to play the multimedia material, the user does not need to spend time waiting for the download of the multimedia material, and then can enjoy the multimedia entertainment to achieve a smooth 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.

S302~S314‧‧‧多媒體資料傳輸的方法流程 S302~S314‧‧‧ Method flow of multimedia data transmission

Claims (12)

一種多媒體資料傳輸的方法,適用於一行動裝置,該行動裝置得以透過一網路與儲存多個多媒體資料的一遠端裝置建立連線,該方法包括:當接收到關聯於所述多媒體資料中的一目前多媒體資料的一播放訊號時,判斷一目前時間點是否位於一學習資料庫中所記錄的至少一播放時段之其中一者;當該目前時間點位於所述播放時段中的一第一播放時段時,利用一多媒體播放器播放關聯於該目前多媒體資料的一預載資料,並且判斷該預載資料的一目前預載量是否達到該第一播放時段所對應的一第一估測資料使用量;當該目前預載量尚未達到該第一估測資料使用量時,發送一預載需求至該遠端裝置,以使該目前預載量達到該第一估測資料使用量;當該目前預載量已達到該第一估測資料使用量時,於該多媒體播放器停止播放時,記錄一第一播放時間長度於該學習資料庫中;以及當該目前時間點不位於所述播放時段時,利用該多媒體播放器播放關聯於該目前多媒體資料的該預載資料,記錄對應於該目前時間點的一新增播放時段於該學習資料庫,並且於該多媒體播放器停止播放時,記錄對應於該新增播放時段的一新增播放時間長度於該學習資料庫。 A method for transmitting multimedia data, which is applicable to a mobile device, wherein the mobile device can establish a connection with a remote device storing a plurality of multimedia materials through a network, the method comprising: when receiving the association with the multimedia material Determining whether a current time point is located in one of at least one playing time period recorded in a learning database when a broadcast signal of the current multimedia material is present; when the current time point is located at a first time in the playing time period During the playing period, a multimedia player is used to play a preloaded data associated with the current multimedia material, and it is determined whether a current preload amount of the preloaded data reaches a first estimated data corresponding to the first playing period. The usage amount; when the current preload amount has not reached the first estimated data usage amount, sending a preload demand to the remote device, so that the current preload amount reaches the first estimated data usage amount; When the current preload amount has reached the first estimated data usage amount, when the multimedia player stops playing, recording a first play time length is In the library; and when the current time point is not located in the playing period, the multimedia player is used to play the preloaded data associated with the current multimedia material, and a new playing period corresponding to the current time point is recorded. And in the learning database, and when the multimedia player stops playing, recording a new playing time length corresponding to the new playing period to the learning database. 如申請專利範圍第1項所述的方法,其中在接收到關聯於所述多媒體資料中的該目前多媒體資料的該播放訊號的步驟之前,該方法更包括:取得該多媒體播放器播放的所述播放時段以及對應於各所述播放時段的至少一播放時間長度;以及針對各所述播放時段,計算所述播放時間長度的一平均播放時間長度,並且記錄於該學習資料庫中。 The method of claim 1, wherein before the step of receiving the broadcast signal associated with the current multimedia material in the multimedia material, the method further comprises: obtaining the a playing period and at least one playing time length corresponding to each of the playing periods; and for each of the playing periods, calculating an average playing time length of the playing time length, and recording in the learning database. 如申請專利範圍第2項所述的方法,其中該第一估測資料使用量的取得步驟包括:取得該多媒體播放器播放該預載資料的一串流品質;取得該記憶體的一使用儲存空間;以及根據該串流品質、該第一播放時段所對應的該平均播放時間長度以及該使用儲存空間,計算該第一估測資料使用量。 The method of claim 2, wherein the step of obtaining the first estimated data usage comprises: obtaining a stream quality of the multimedia player playing the preloaded data; and obtaining a used storage of the memory. And calculating the first estimated data usage amount according to the streaming quality, the average playing time length corresponding to the first playing period, and the used storage space. 如申請專利範圍第1項所述的方法,其中在利用該多媒體播放器播放完該預載資料前,該方法更包括:發送另一預載需求至該遠端裝置,以使該目前預載量達到該第一估測資料使用量。 The method of claim 1, wherein before the playing of the preloaded data by the multimedia player, the method further comprises: transmitting another preload requirement to the remote device to make the current preload The amount reaches the first estimated data usage. 如申請專利範圍第2項所述的方法,其中在記錄該第一播放時間長度於該學習資料庫之後,該方法更包括:根據該第一播放時間長度,更新該第一播放時段所對應的該平均播放時間長度。 The method of claim 2, wherein after the recording the first playing time length of the learning database, the method further comprises: updating the corresponding one of the first playing time period according to the first playing time length The average play time length. 如申請專利範圍第3項所述的方法,其中當該目前時間點 不符合所述播放時段時,在利用該多媒體播放器播放完該預載資料前,該方法更包括:取得該多媒體播放器播放該預載資料的該串流品質;取得該記憶體的該使用儲存空間;自所述播放時段中,取得一第二播放時段,其中該第二播放時段為最接近該目前時間點的下一個播放時段;根據該串流品質、該第二播放時段所對應的該平均播放時間長度以及該使用儲存空間,計算一第二估測資料使用量;以及發送另一預載需求至該遠端裝置,以使該目前預載量達到該第二估測資料使用量。 The method of claim 3, wherein the current time point The method further includes: obtaining the stream quality of the pre-loaded data of the multimedia player; and obtaining the use of the memory, before the playing of the pre-loaded data is performed by the multimedia player. a second playback period, wherein the second playback period is the next playback period closest to the current time point; according to the stream quality, the second playback period corresponds to Calculating a second estimated data usage amount by using the average playing time length and the used storage space; and transmitting another preloading demand to the remote device, so that the current preload amount reaches the second estimated data usage amount . 一種電子裝置,包括:一記憶體,包括一學習資料庫;以及一處理器,耦接該記憶體,其中:該處理器得以透過一網路以使該電子裝置與儲存多個多媒體資料的一遠端裝置建立連線;當該處理器接收到關聯於所述多媒體資料中的一目前多媒體資料的一播放訊號時,該處理器判斷一目前時間點是否位於該學習資料庫中所記錄的至少一播放時段之其中一者;當該目前時間點位於所述播放時段中的一第一播放時段時,該處理器利用一多媒體播放器播放關聯於該目前多媒體資料的一預載資料,並且判斷該預載資料的一目前預載量是否達到該第一播放時段所對應的一第一估測資料使用量; 當該目前預載量尚未達到該第一估測資料使用量時,該處理器發送一預載需求至該遠端裝置,以使該目前預載量達到該第一估測資料使用量;當該目前預載量已達到該第一估測資料使用量時,於該多媒體播放器停止播放時,該處理器記錄一第一播放時間長度於該學習資料庫中;以及當該目前時間點不位於所述播放時段時,利用該多媒體播放器播放關聯於該目前多媒體資料的該預載資料,該處理器記錄對應於該目前時間點的一新增播放時段於該學習資料庫,並且於該多媒體播放器停止播放時,該處理器記錄對應於該新增播放時段的一新增播放時間長度於該學習資料庫。 An electronic device comprising: a memory, comprising a learning database; and a processor coupled to the memory, wherein: the processor is configured to transmit the electronic device to a plurality of multimedia materials through a network The remote device establishes a connection; when the processor receives a broadcast signal associated with a current multimedia material in the multimedia material, the processor determines whether a current time point is located in the learning database. One of the playing time periods; when the current time point is located in a first playing period of the playing period, the processor uses a multimedia player to play a preloaded data associated with the current multimedia material, and judges Whether a current preload amount of the preloaded data reaches a first estimated data usage amount corresponding to the first playing period; When the current preload amount has not reached the first estimated data usage amount, the processor sends a preload demand to the remote device, so that the current preload amount reaches the first estimated data usage amount; When the current preload amount has reached the first estimated data usage amount, when the multimedia player stops playing, the processor records a first playing time length in the learning database; and when the current time point is not When the playing period is used, the multimedia player is used to play the preloaded data associated with the current multimedia material, and the processor records a new playing time period corresponding to the current time point in the learning database, and When the multimedia player stops playing, the processor records a new play time length corresponding to the new play period to the learning database. 如申請專利範圍第7項所述的電子裝置,該處理器在接收到關聯於所述多媒體資料中的該目前多媒體資料的該播放訊號的步驟之前,該處理器更取得該多媒體播放器播放的所述播放時段以及對應於各所述播放時段的至少一播放時間長度,以及針對各所述播放時段,計算所述播放時間長度的一平均播放時間長度,並且記錄於該學習資料庫中。 The electronic device of claim 7, wherein the processor obtains the playback of the multimedia device by the processor before receiving the playback signal associated with the current multimedia material in the multimedia material. The playing period and the at least one playing time length corresponding to each of the playing periods, and for each of the playing periods, calculating an average playing time length of the playing time length, and recording in the learning database. 如申請專利範圍第8項所述的電子裝置,其中該處理器取得該多媒體播放器播放該預載資料的一串流品質,取得該記憶體的一使用儲存空間,以及根據該串流品質、該第一播放時段所對應的該平均播放時間長度以及該使用儲存空間,計算該第一估測資料使用量。 The electronic device of claim 8, wherein the processor obtains a stream quality of the pre-loaded data of the multimedia player, obtains a used storage space of the memory, and according to the stream quality, The first playing time length corresponding to the first playing period and the used storage space are used to calculate the first estimated data usage amount. 如申請專利範圍第7項所述的電子裝置,其中該處理器在利用該多媒體播放器播放完該預載資料前,該處理器發送另一預載需求至該遠端裝置,以使該目前預載量達到該第一估測資料使用量。 The electronic device of claim 7, wherein the processor sends another preload requirement to the remote device before the preloaded data is played by the multimedia player, so that the current The preload amount reaches the usage amount of the first estimated data. 如申請專利範圍第8項所述的電子裝置,該處理器在記錄該第一播放時間長度於該學習資料庫之後,該處理器更根據該第一播放時間長度,更新該第一播放時段所對應的該平均播放時間長度。 The electronic device of claim 8, after the processor records the length of the first playing time in the learning database, the processor further updates the first playing period according to the length of the first playing time. Corresponding to the average play time length. 如申請專利範圍第9項所述的電子裝置,其中當該目前時間點不符合所述播放時段時,該處理器在利用該多媒體播放器播放完該預載資料前,該處理器更取得該多媒體播放器播放該預載資料的該串流品質,取得該記憶體的該使用儲存空間,自所述播放時段中,取得一第二播放時段,又根據該串流品質、該第二播放時段所對應的該平均播放時間長度以及該使用儲存空間,計算一第二估測資料使用量,以及發送另一預載需求至該遠端裝置,以使該目前預載量達到該第二估測資料使用量,其中該第二播放時段為最接近該目前時間點的下一個播放時段。 The electronic device of claim 9, wherein when the current time point does not meet the playing time period, the processor obtains the pre-loaded data before playing the pre-loaded data by using the multimedia player. The multimedia player plays the stream quality of the preloaded data, obtains the used storage space of the memory, obtains a second playing period from the playing period, and according to the stream quality, the second playing period Corresponding to the average playing time length and the used storage space, calculating a second estimated data usage amount, and transmitting another preloading demand to the remote device, so that the current preload amount reaches the second estimated The data usage amount, wherein the second playing period is the next playing period closest to the current time point.
TW103133511A 2014-09-26 2014-09-26 Method and electronic device for multimedia data transmission TWI539800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103133511A TWI539800B (en) 2014-09-26 2014-09-26 Method and electronic device for multimedia data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103133511A TWI539800B (en) 2014-09-26 2014-09-26 Method and electronic device for multimedia data transmission

Publications (2)

Publication Number Publication Date
TW201613363A TW201613363A (en) 2016-04-01
TWI539800B true TWI539800B (en) 2016-06-21

Family

ID=56361004

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103133511A TWI539800B (en) 2014-09-26 2014-09-26 Method and electronic device for multimedia data transmission

Country Status (1)

Country Link
TW (1) TWI539800B (en)

Also Published As

Publication number Publication date
TW201613363A (en) 2016-04-01

Similar Documents

Publication Publication Date Title
US10630527B2 (en) Systems and methods for using seektables to stream media items
US10191913B2 (en) System and method for efficiently providing media and associated metadata
AU2010300578B2 (en) Systems and methods for providing media pools in a communications network
US20210225343A1 (en) System and method for association of a song, music, or other media content with a user's video content
US20200201596A1 (en) Method and system for playback of audio content using wireless mobile device
US8122037B2 (en) Auto-selection of media files
US9917869B2 (en) System and method for identifying a segment of a file that includes target content
US8392505B2 (en) Collaborative playlist management
US10754503B2 (en) Methods and apparatus for providing recommendations to a user of a cloud computing service
JP5698531B2 (en) System and method for configuring client electronic devices
US9537913B2 (en) Method and system for delivery of audio content for use on wireless mobile device
KR20120031176A (en) Synchronized distributed media assets
US20120186418A1 (en) System for Automatically Adjusting Sound Effects and Method Thereof
KR20130020634A (en) Management of downloads from a network-based digital data repository based on network performance
JP2015062288A (en) Selection and distribution of content encompassing right and function
US12003805B2 (en) Resuming playback on multiple streaming devices
US9411809B1 (en) Remote content presentation queues
US20090319063A1 (en) Splittable portable media player as remote control
US20140237019A1 (en) Server-side transcoding of media files
TWI539800B (en) Method and electronic device for multimedia data transmission
US20190138265A1 (en) Systems and methods for managing displayless portable electronic devices
JP2007193098A (en) Content reproducing system and method, mobile information terminal, and network server
US20220394071A1 (en) Group playback session management
CN105578245A (en) Multimedia data transmission method and electronic device thereof