TWI660628B - Method for playback synchronization of media among devices - Google Patents

Method for playback synchronization of media among devices Download PDF

Info

Publication number
TWI660628B
TWI660628B TW107103989A TW107103989A TWI660628B TW I660628 B TWI660628 B TW I660628B TW 107103989 A TW107103989 A TW 107103989A TW 107103989 A TW107103989 A TW 107103989A TW I660628 B TWI660628 B TW I660628B
Authority
TW
Taiwan
Prior art keywords
time
media
real
devices
synchronized
Prior art date
Application number
TW107103989A
Other languages
Chinese (zh)
Other versions
TW201935932A (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 TW107103989A priority Critical patent/TWI660628B/en
Application granted granted Critical
Publication of TWI660628B publication Critical patent/TWI660628B/en
Publication of TW201935932A publication Critical patent/TW201935932A/en

Links

Landscapes

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

Abstract

本發明所提供的多設備間的媒體同步播放方法,於複數個播放設備中設定一第一設備作為廣播端,其他的多個第二設備作為接收端。在複數個播放設備完成實時時間校正並播放一媒體資料時,由第一設備監控該媒體資料在第一設備播放時的媒體時間差與系統的實時時間差的差距,當此差距超過可容許的時間時,由第一設備廣播當前的媒體資料的媒體時間與實時時間的訊息給各第二設備,各第二設備則將接收到的訊息作為新的起始播放點,據以調整下一筆媒體資料的播放時間,從而使各第二設備能與第一設備保持影像的同步播放。In the method for synchronously playing media among multiple devices provided by the present invention, a first device is set as a broadcast terminal and a plurality of other second devices are set as receivers in a plurality of playback devices. When a plurality of playback devices complete real-time time correction and play a piece of media data, the first device monitors the gap between the media time difference of the media material when the first device plays and the real-time time difference of the system. When the difference exceeds the allowable time , The first device broadcasts the current media time and real-time time information to each second device, and each second device uses the received message as a new starting playback point to adjust the next media data. The playing time, so that each second device can keep the image playing synchronously with the first device.

Description

多設備間的媒體同步播放方法Method for synchronously playing media among multiple devices

本發明有關一種媒體播放方法,尤指一種在多個設備之間進行媒體同步播放的方法。The present invention relates to a method for playing media, and more particularly, to a method for playing media simultaneously between multiple devices.

多個媒體播放設備同時播放同一個影音媒體具有廣泛的應用,例如電視牆、廣告牆、展示牆等,利用多台顯示器進行影像的拼接使得影像的播放能夠突破既有顯示器尺寸的限制,以更大的播放尺寸呈現。在這種利用多個顯示器拼接播放(各顯示器僅播放影音媒體的局部影像),或是多個顯示器均播放同一個影音媒體(顯示器亦可拼接組合或是分散在不同位置)的場域中,維持各顯示器之間的影像同步是最關鍵的技術之一。Multiple media playback devices play the same audio and video media at the same time, which has a wide range of applications, such as television walls, advertising walls, display walls, etc. The use of multiple displays to stitch images allows the playback of images to break through the limitations of the existing display size, and Large playback size renders. In this field where multiple displays are used for splicing (each display only plays partial images of audiovisual media), or multiple displays are playing the same audiovisual media (displays can also be stitched together or scattered in different locations), One of the most critical technologies is to maintain the image synchronization between the displays.

一般而言,傳送至各顯示器播放的媒體資料本身具有媒體時間(media time),而每一個顯示器也有設備本身的實時時鐘(real-time clock, RTC)或稱實時時間(RTC time)。當所有顯示器的實時時間彼此校正過且在同一個時間點(實時時間)均播放該媒體資料中同一個媒體時間的資料內容時,則各顯示器彼此之間即可產生同步播放的結果。反之,若某一個或多個顯示器在同一個時間點所播放的媒體資料內容與其他顯示器的媒體資料內容的媒體時間不同時,就會產生影像不同步的問題。而當不同步的任兩個顯示器的媒體時間差大到一個程度時,其不同步所呈現出來的影像差異即會被觀看者所察覺而失去了多媒體播放設備進行同步播放的目的。Generally speaking, the media data transmitted to each display has its own media time, and each display also has its own real-time clock (RTC) or RTC time. When the real-time time of all displays is corrected to each other and the data content of the same media time in the media material is played at the same time point (real-time time), the displays can produce synchronized playback results with each other. Conversely, if the media data content played by one or more displays at the same time point is different from the media time content of the media data content of other displays, a problem of image out-of-sync will occur. However, when the media time difference between any two monitors that are out of sync is large to a certain extent, the image difference presented by the out of sync will be perceived by the viewer and lose the purpose of synchronized playback by the multimedia playback device.

因此,本發明提供了一種多設備間的媒體同步播放方法,以解決上述的問題。Therefore, the present invention provides a method for synchronously playing media among multiple devices to solve the above-mentioned problems.

本發明的實施例所提供的多設備間的媒體同步播放方法,於複數個播放設備中包含一第一設備以及複數個第二設備,該複數個播放設備於播放一媒體資料時,該第一設備具有一第一實時時間以及播放該媒體資料的一第一媒體時間,各該第二設備具有一第二實時時間以及播放該媒體資料的一第二媒體時間,該方法包含:依據該第一實時時間校正該第二實時時間;於播放該媒體資料時,該第一設備將該第一實時時間以及該第一媒體時間傳送至該複數個第二設備;各該第二設備依據接收到的該第一實時時間以及該第一媒體時間,以及該第二設備的該第二實時時間獲得一同步媒體時間;以及各該第二設備依據該同步媒體時間以及該第二媒體時間,與該第一設備進行同步以播放該媒體資料。The method for synchronously playing media among multiple devices provided by an embodiment of the present invention includes a first device and a plurality of second devices in a plurality of playback devices. When the plurality of playback devices play a media material, the first The device has a first real-time time and a first media time to play the media material, and each second device has a second real-time time and a second media time to play the media material, and the method includes: according to the first The real-time time corrects the second real-time time; when the media material is played, the first device transmits the first real-time time and the first media time to the plurality of second devices; each of the second devices is based on the received The first real-time time and the first media time, and the second real-time time of the second device to obtain a synchronized media time; and each of the second devices and the first media time according to the synchronized media time and the second media time. A device synchronizes to play the media material.

於本發明實施例所提供的方法中,其中依據該第一實時時間校正該第二實時時間係由該第一設備校正該複數個第二設備的該第二實時時間或由各該第二設備依據該第一實時時間分別校正各該第二設備的該第二實時時間。In the method provided in the embodiment of the present invention, the correction of the second real-time time according to the first real-time time is performed by the first device to correct the second real-time time of the plurality of second devices or by each of the second devices. Correct the second real-time of each second device according to the first real-time.

於本發明實施例所提供的方法中,其中於播放該媒體資料時,當該第一設備的一第一媒體間隔與一第一實時間隔的差大於一預設值時,該第一設備將該第一實時時間以及該第一媒體時間傳送至該複數個第二設備,其中該第一媒體間隔為該第一媒體時間與該第一設備最近一次傳送給該複數個第二設備的媒體時間的間隔(Mn-Mm),該第一實時間隔為該第一實時時間與該第一設備最近一次傳送給該複數個第二設備的實時時間的間隔(Tn-Tm)。In the method provided by the embodiment of the present invention, when playing the media data, when the difference between a first media interval and a first real-time interval of the first device is greater than a preset value, the first device will The first real-time time and the first media time are transmitted to the plurality of second devices, wherein the first media interval is the media time between the first media time and the first device ’s latest transmission to the plurality of second devices Interval (Mn-Mm), the first real-time interval is the interval (Tn-Tm) between the first real-time time and the real-time time that the first device last transmitted to the plurality of second devices.

於本發明實施例所提供的方法中,其中該同步媒體時間為該第二實時時間與該第一實時時間之差加上該第一媒體時間。In the method provided by the embodiment of the present invention, the synchronized media time is a difference between the second real-time time and the first real-time time plus the first media time.

於本發明實施例所提供的方法中,其中各該第二設備依據該同步媒體時間以及該第二媒體時間,與該第一設備進行同步以播放該媒體資料包含步驟:各該第二設備比較該同步媒體時間以及該第二設備的該第二媒體時間並依據比較結果執行一同步動作。In the method provided by the embodiment of the present invention, each of the second devices synchronizing with the first device to play the media data according to the synchronized media time and the second media time includes the steps of comparing each second device A synchronization action is performed on the synchronized media time and the second media time of the second device according to a comparison result.

於本發明實施例所提供的方法中,其中當該同步媒體時間大於該第二媒體時間時,該同步動作為該第二設備快轉至該同步媒體時間以播放該媒體資料或該第二設備直接播放該同步媒體時間之該媒體資料。In the method provided by the embodiment of the present invention, when the synchronized media time is greater than the second media time, the synchronization action is that the second device fast-forwards to the synchronized media time to play the media material or the second device Play the media data at the synchronized media time directly.

於本發明實施例所提供的方法中,其中當該同步媒體時間小於該第二媒體時間時,該同步動作為該第二設備倒轉至該同步媒體時間以播放該媒體資料或該第二設備直接播放該同步媒體時間之該媒體資料。In the method provided by the embodiment of the present invention, when the synchronized media time is less than the second media time, the synchronization action is that the second device reverses to the synchronized media time to play the media data or the second device directly Play the media data at the synchronized media time.

於本發明實施例所提供的方法中,其中該媒體資料為影像資料,該方法另包含步驟:該第一設備針對該媒體資料進行影像與聲音的同步。In the method provided by the embodiment of the present invention, wherein the media data is image data, the method further includes the step of: the first device synchronizes the image and sound with respect to the media data.

於本發明實施例所提供的方法中,其中該複數個第二設備係直接無線連接於該第一設備或該第一設備以及該複數個第二設備透過一無線存取裝置彼此通連。In the method provided by the embodiment of the present invention, the plurality of second devices are directly wirelessly connected to the first device or the first device and the plurality of second devices are connected to each other through a wireless access device.

本發明所提供的媒體同步方法,利用播放設備內部進行媒體時間與實時時間的校正,簡化多台設備的架設和播放,其適用於解決設備本身或外來的變異所造成的播放誤差,並用最少的無線封包廣播次數達到預期的播放效能,不需要額外添購設備來參與同步播放的時序控制,即能以無線方式達到各設備間的影像同步播放,具有架設上簡易與彈性優勢。The media synchronization method provided by the present invention utilizes the correction of media time and real-time time inside the playback device to simplify the installation and playback of multiple devices. It is suitable for solving playback errors caused by the device itself or external variations, and minimizes the use of The number of wireless packet broadcasts reaches the expected playback performance. No additional equipment is needed to participate in the timing control of synchronous playback, that is, the synchronous playback of images between devices can be achieved wirelessly. It has the advantages of simplicity and flexibility in installation.

在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,製造商可能會用不同的名詞來稱呼同一個元件。本說明書及後續的申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提及的「包含」係為一開放式的用語,故應解釋成「包含但不限定於」。此外,「耦接」或「連接」一詞在此係包含任何直接及間接的電氣或結構連接手段。因此,若文中描述一第一裝置耦接/連接於一第二裝置,則代表該第一裝置可直接電氣/結構連接於該第二裝置,或透過其他裝置或連接手段間接地電氣/結構連接至該第二裝置。Certain terms are used in the description and the scope of subsequent patent applications to refer to specific elements. Those with ordinary knowledge in the field should understand that manufacturers may use different terms to refer to the same component. The scope of this specification and subsequent patent applications does not take the difference in names as a way to distinguish components, but rather uses the difference in functions of components as a criterion for distinguishing components. "Inclusion" mentioned throughout the specification and subsequent claims is an open-ended term and should be interpreted as "including but not limited to." In addition, the term "coupled" or "connected" includes any direct and indirect means of electrical or structural connection. Therefore, if a first device is described as being coupled / connected to a second device, it means that the first device can be electrically / structured directly connected to the second device, or indirectly electrically / structured through other devices or connection means. To the second device.

請參考第1圖,第1圖為本發明可進行多設備間的媒體同步播放方法所使用的一種媒體播放系統的示意圖。媒體播放系統10由多個播放設備(或加上一無線存取裝置3)所組成,多個播放設備包含了一第一設備1以及複數個第二設備2,於一實施例中,複數個第二設備2直接無線連接於第一設備1,而在另一個實施例中,第一設備1以及複數個第二設備2也可以透過無線存取裝置3彼此通連。媒體播放系統10可於多個播放設備上同步播放僅含影像或是同時包含影像與聲音的多媒體內容,其中將第一設備1設定為廣播端(broacaster),而將其他複數個第二設備2設定為接收端(receiver)。本發明所提供的媒體同步播放方法可用於如電視牆、廣告牆、展示牆等大型拼接或多顯示幕之媒體播放系統10,可使用智慧型顯示器或是一般顯示器搭配智慧型機上盒作為媒體播放系統10中的播放設備以進行精確同步聲音與影像。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a media playback system used in a method for performing media synchronization playback among multiple devices according to the present invention. The media playback system 10 is composed of multiple playback devices (or a wireless access device 3). The multiple playback devices include a first device 1 and a plurality of second devices 2. In one embodiment, a plurality of playback devices The second device 2 is directly connected to the first device 1 wirelessly. In another embodiment, the first device 1 and the plurality of second devices 2 can also communicate with each other through the wireless access device 3. The media playback system 10 can simultaneously play multimedia content containing only video or both video and audio on multiple playback devices. The first device 1 is set as a broadcast terminal, and the other multiple second devices 2 are set. Set to the receiver. The method for synchronously playing media provided by the present invention can be used in a large-scale splicing or multi-display media playback system such as a television wall, an advertising wall, and a display wall. A smart display or a general display with a smart set-top box can be used as media The playback device in the playback system 10 performs precise synchronization of sound and video.

請一起參考第2圖,第2圖為媒體播放系統中的播放設備播放一媒體資料的示意圖。媒體資料100可儲存於第一設備1播放並傳給第二設備2(為簡化說明,第2圖中僅利用一個第二設備2來說明)或由其他媒體主機(圖未顯示)藉由有線或無線(如透過第1圖中的無線存取裝置3或雲端平台4)傳輸的方式分別傳給第一設備1以及第二設備2以進行同步播放。第一設備1以及多個第二設備2本身的實時時間(RTC time)分別以黑點Tm, Tn, Tr…表示,而在各實時時間所播放的媒體資料內容所對應的媒體時間(media time)則分別以Mm, Mn, Mr…表示。當第一設備1與多個第二設備2之間的實時時間彼此校正過且在同一個實時時間均播放該媒體資料中同一個媒體時間的資料內容(或在可容許的誤差時間內的媒體時間的資料內容)時,則所有播放設備彼此之間即可產生同步播放的結果。Please refer to FIG. 2 together. FIG. 2 is a schematic diagram of a media device played by a playback device in a media playback system. The media data 100 can be stored on the first device 1 and transmitted to the second device 2 (for simplicity, only one second device 2 is used for illustration in the second figure) or other media hosts (not shown) by cable Or wirelessly (such as through the wireless access device 3 or the cloud platform 4 in FIG. 1) to the first device 1 and the second device 2 respectively for synchronous playback. The real-time time (RTC time) of the first device 1 and the plurality of second devices 2 are represented by black points Tm, Tn, Tr ... ) Are represented by Mm, Mn, Mr ..., respectively. When the real-time time between the first device 1 and the plurality of second devices 2 is corrected to each other and the data content of the same media time (or the media within the allowable error time) is played at the same real-time time Time data content), all playback devices can produce synchronized playback results with each other.

請參考第3圖,第3圖為本發明所提供的多設備間的媒體同步播放方法200的流程圖,其步驟如下:Please refer to FIG. 3. FIG. 3 is a flowchart of a method 200 for synchronously playing media among multiple devices provided by the present invention. The steps are as follows:

步驟210: 設置媒體播放系統;Step 210: Set up a media playback system.

步驟220: 校正複數個播放設備的實時時間;Step 220: Correct the real-time time of the plurality of playback devices;

步驟230: 播放設備於一實時時間點開始播放媒體資料;Step 230: the playback device starts playing media data at a real time point;

步驟240: 第一設備即時監控第一媒體間隔與第一實時間隔的差距,並於差距大於一預設值時,將第一實時時間與第一媒體時間傳送至複數個第二設備;Step 240: The first device monitors the gap between the first media interval and the first real-time interval in real time, and transmits the first real-time time and the first media time to the plurality of second devices when the gap is greater than a preset value;

步驟250: 該複數個第二設備產生一同步媒體時間;Step 250: the plurality of second devices generate a synchronized media time;

步驟260: 比較該同步媒體時間與第二媒體時間,並據以進行同步以播放該媒體資料。Step 260: Compare the synchronized media time with the second media time, and perform synchronization to play the media data accordingly.

請一起參考第1圖以及第2圖。在一個具有多個播放設備的媒體播放系統10中,每個播放設備均具有自身的系統時間或實時時間,因此在步驟210中,本發明先設置媒體播放系統10,具體作法可包含:於媒體播放系統10的複數個播放設備中,設定其中一播放設備為第一設備1作為廣播端,而其餘的播放設備為第二設備2作為接收端,並且第一設備1針對所欲播放的媒體資料100進行影像與聲音的同步。特別說明的是,針對同時具有聲音以及影像的媒體資料100,於一實施例中,媒體資料100的聲音由第一設備1(或連接於第一設備1的揚聲裝置)所輸出,並且媒體資料100的影音同步則於第一設備1內由第一設備1完成。Please refer to Figure 1 and Figure 2 together. In a media playback system 10 having multiple playback devices, each playback device has its own system time or real-time time. Therefore, in step 210, the present invention first sets up a media playback system 10. The specific method may include: Among the plurality of playback devices of the playback system 10, one of the playback devices is set as the first device 1 as a broadcast terminal, and the other playback devices are set as the second device 2 as a receiver, and the first device 1 is directed to the media data to be played 100 Synchronizes video and audio. Specifically, for media material 100 having both sound and video, in one embodiment, the sound of the media material 100 is output by the first device 1 (or a speaker device connected to the first device 1), and the media The audio and video synchronization of the data 100 is completed by the first device 1 in the first device 1.

接著在步驟220中校正各播放設備的實時時間以彼此同步,例如第一設備1具有一第一實時時間RTC1,多個第二設備2分別具有一第二實時時間RTC2,並且依據第一實時時間RTC1校正第二實時時間RTC2。於一實施例中,可讓所有播放設備都連上無線存取裝置3後,由第一設備1定期送出校正指令以校正各第二設備2的第二實時時間RTC2,而於另一實施例中,也可由第一設備1開啟自身的無線分享功能,讓各第二設備2連上第一設備1後,由各第二設備2進行實時時間自動校正,以依據第一實時時間RTC1分別校正第二設備2內的第二實時時間RTC2。另外要說明的是,此處多個第二設備2都使用同一個第二實時時間RTC2係為了與第一設備1的第一實時時間RTC1進行區隔,在進行步驟220之前,多個第二設備2可能因各種因素而使得各自的第二實時時間RTC2皆不相同。Then, in step 220, the real-time time of each playback device is corrected to synchronize with each other. For example, the first device 1 has a first real-time time RTC1, and the plurality of second devices 2 each have a second real-time time RTC2, and according to the first real-time time. RTC1 corrects the second real-time time RTC2. In one embodiment, after all the playback devices are connected to the wireless access device 3, the first device 1 periodically sends a correction instruction to correct the second real-time time RTC2 of each second device 2. In another embodiment, In addition, the first device 1 can also enable its own wireless sharing function. After each second device 2 is connected to the first device 1, the second device 2 performs automatic real-time time correction to correct it according to the first real-time time RTC1. A second real-time time RTC2 within the second device 2. In addition, it should be noted that multiple second devices 2 use the same second real-time time RTC2 to distinguish them from the first real-time time RTC1 of the first device 1. Before step 220, multiple second devices 2 The device 2 may make the respective second real-time time RTC2 different due to various factors.

當所有播放設備的實時時間都同步之後,接著於步驟230中,第一設備1傳送開始播放媒體資料100的實時時間點,並且所有播放設備都於該共同的實時時間點開始播放媒體資料100。當第一設備1以及多個第二設備2在播放媒體資料100時,由於各播放設備的硬體處理能力以及各自的軟硬體環境的差異,使得播放設備內部的媒體時間的進行與實時時間的進行二者之間開始產生差距,且各播放設備所產生的差距也不相同。而當第一設備1的媒體時間與實時時間的進行之間的差距過大時,意味在第一設備1中的媒體資料100播放過快(媒體時間進行得比實時時間快)或播放過慢(媒體時間進行得比實時時間慢),此時即需要協調其他第二設備2進行媒體資料100播放內容的校正。After the real-time times of all the playback devices are synchronized, then in step 230, the first device 1 transmits the real-time time point at which the media material 100 starts to play, and all the playback devices start to play the media material 100 at the common real-time time point. When the first device 1 and the multiple second devices 2 are playing the media material 100, due to the hardware processing capabilities of each playback device and the differences in their respective hardware and software environments, the media time in the playback device and the real-time time The gap between the two has begun to develop, and the gaps generated by each playback device are also different. When the gap between the media time of the first device 1 and the progress of the real-time time is too large, it means that the media material 100 in the first device 1 is played too fast (the media time is performed faster than the real-time time) or played too slowly ( The media time is slower than the real-time time). At this time, it is necessary to coordinate other second device 2 to correct the content played by the media material 100.

在步驟240中,第一設備1會即時監控在第一設備1中的一第一媒體間隔與一第一實時間隔的差距Δ,此處的第一媒體間隔定義為第一設備1在監控當下的第一媒體時間Mn與第一設備1最近一次傳送給複數個第二設備2的媒體時間Mm的間隔(Mn-Mm),而第一實時間隔定義為第一設備1在監控當下的第一實時時間Tn與第一設備1最近一次傳送給複數個第二設備2的實時時間Tm的間隔(Tn-Tm),並且差距Δ=(Mn-Mm)- (Tn-Tm)。前述的最近一次傳送給第二設備2的媒體時間Mm與實時時間Tm表示了上一次第一設備1與第二設備2彼此是同步狀態的時間(在這個時間點之後每個播放設備的媒體時間以各自不同的速度進行而開始與實時時間的進行產生差距),並且初次的媒體時間Mm與實時時間Tm即為步驟230中的第一設備1傳送開始播放媒體資料100的實時時間點的媒體時間Mm與實時時間Tm。In step 240, the first device 1 will immediately monitor the difference Δ between a first media interval and a first real-time interval in the first device 1. Here, the first media interval is defined as the time when the first device 1 is monitoring. The interval (Mn-Mm) between the first media time Mn of the first device 1 and the media time Mm most recently transmitted from the first device 1 to the plurality of second devices 2, and the first real-time interval is defined as the first time when the first device 1 is monitoring the current The interval (Tn-Tm) between the real-time time Tn and the real-time time Tm most recently transmitted from the first device 1 to the plurality of second devices 2, and the gap Δ = (Mn-Mm)-(Tn-Tm). The aforementioned media time Mm and real-time Tm of the latest transmission to the second device 2 represent the time when the first device 1 and the second device 2 were synchronized with each other (the media time of each playback device after this time point) Start at different speeds and start to differ from the real-time time), and the initial media time Mm and real-time time Tm are the media time at the real-time point in time when the first device 1 starts transmitting the media material 100 in step 230 Mm and real time Tm.

另外說明的是,於一實施例中,差距Δ的變異通常取決於第一設備1本身的內部軟硬體或外部環境,而第一設備1扮演影音同步與播放聲音的角色也會影響差距Δ的變動幅度。In addition, in one embodiment, the variation of the gap Δ usually depends on the internal hardware and software or the external environment of the first device 1, and the role of the first device 1 in synchronizing the audio and video and playing the sound also affects the gap Δ. Range of change.

於一實施例中,當差距Δ大於一預設值,例如16毫秒(若媒體資料100為60fps的播放格式,則16毫秒為播放一個訊框frame的時間)時,第一設備1即把監控當下的第一實時時間Tn與第一媒體時間Mn分別傳送至各第二設備2,也就是說,第一設備1會廣播當前播放進度的媒體訊息給其它第二設備2,以由第二設備2進行校正。In an embodiment, when the gap Δ is greater than a preset value, for example, 16 milliseconds (if the media data 100 is a 60 fps playback format, 16 milliseconds is the time to play a frame), the first device 1 monitors The current first real-time time Tn and the first media time Mn are transmitted to each second device 2 respectively, that is, the first device 1 broadcasts the media information of the current playback progress to other second devices 2 so that the second device 2 2 Perform calibration.

舉例而言,各第二設備2在播放媒體資料100時也各具有一第二媒體時間Mn’(另外,在第2圖中的某一第二設備2的媒體時間Mm’也就是該第二設備2前一次與第一設備1同步校正後所播放的媒體時間),當某一第二設備2於實時時間Tp(晚於第一實時時間Tn與第二實時時間Tn)收到第一設備1傳來的校正數據(即第一實時時間Tn與第一媒體時間Mn)時,即產生在當前的第二實時時間Tr所應播放的媒體資料100內容(應與第一設備1相同而得以與第一設備1同步)所具有的一同步媒體時間Ms,其中同步媒體時間Ms為第二實時時間Tr與收到的第一實時時間Tn之差加上收到的第一媒體時間Mn,亦即Ms=Mn+(Tr-Tn)。也就是說各第二設備2取得第一設備1傳來的訊息後,視為新的起始播放時間點,調整媒體資料100下一筆內容的播放時間。For example, each second device 2 also has a second media time Mn ′ when playing the media material 100 (in addition, the media time Mm ′ of a second device 2 in FIG. 2 is also the second Device 2 was synchronized with the first device 1 and corrected the media time), when a second device 2 received the first device at the real time Tp (later than the first real time Tn and the second real time Tn) 1 when the correction data (ie, the first real-time Tn and the first media time Mn) is transmitted, the content of the media material 100 that should be played at the current second real-time Tr (which should be the same as the first device 1) Synchronized with the first device 1) has a synchronized media time Ms, where the synchronized media time Ms is the difference between the second real time Tr and the received first real time Tn plus the received first media time Mn, also That is, Ms = Mn + (Tr-Tn). In other words, after each second device 2 obtains the message from the first device 1, it regards it as a new starting playback time point, and adjusts the playback time of the next content of the media material 100.

接著各第二設備2依據所獲得的同步媒體時間Ms以及各第二設備2原本在當前的第二實時時間Tr所欲播放的第二媒體時間Mr’進行比較,並依據比較結果執行相對應的同步動作以與第一設備1進行同步來播放媒體資料100,如步驟260,其中於一實施例中,各第二設備2原本在當前的第二實時時間Tr所欲播放的第二媒體時間Mr’的內容實務上會儲存於各第二設備2內的緩衝區等待被播放。舉例而言,當同步媒體時間Ms大於第二媒體時間Mr’時,表示第一設備1的播放速度比某一第二設備2快,因此該第二設備2執行的同步動作可以是快轉至同步媒體時間Ms以播放媒體資料100的內容或是直接跳轉播放同步媒體時間Ms之媒體資料100的內容(丟棄緩衝區中已過時的資料內容)。當同步媒體時間Ms小於第二媒體時間Mr’時,表示第一設備1的播放速度比某一第二設備2慢,因此該第二設備2執行的同步動作可以是倒轉至同步媒體時間Ms以播放媒體資料100的內容或是直接跳轉播放同步媒體時間Ms之媒體資料100的內容。Then each second device 2 compares according to the obtained synchronized media time Ms and the second media time Mr ′ that each second device 2 originally wants to play at the current second real time Tr, and executes a corresponding one according to the comparison result. The synchronization action is to synchronize with the first device 1 to play the media material 100, such as step 260. In one embodiment, each second device 2 originally wants to play the second media time Mr at the current second real-time time Tr. The content of 'is actually stored in a buffer in each second device 2 and is waiting to be played. For example, when the synchronized media time Ms is greater than the second media time Mr ', it means that the playback speed of the first device 1 is faster than a certain second device 2, so the synchronization action performed by the second device 2 can be fast forward to The synchronized media time Ms is used to play the content of the media material 100 or directly jump to play the content of the media material 100 (discard the outdated data content in the buffer). When the synchronized media time Ms is less than the second media time Mr ', it means that the playback speed of the first device 1 is slower than that of a second device 2. Therefore, the synchronization action performed by the second device 2 may be reversed to the synchronized media time Ms to Play the content of the media material 100 or directly jump to play the content of the media material 100 with the synchronized media time Ms.

本發明在某一個時間點完成第一設備1與各第二設備2的影像同步之後,會重複執行步驟240~260,使得每當第一設備1的播放速度過快或過慢時,即進行本發明中的同步步驟,使第一設備1以及其他的第二設備2隨時保持在影像同步的狀態。After the image synchronization of the first device 1 and the second devices 2 is completed at a certain point in the present invention, steps 240 to 260 are repeatedly performed, so that whenever the playback speed of the first device 1 is too fast or too slow, it is performed. The synchronization step in the present invention keeps the first device 1 and other second devices 2 in a state of image synchronization at any time.

本發明所提供的多設備間的媒體同步播放方法,於複數個播放設備中設定一第一設備作為廣播端,其他的多個第二設備作為接收端。在複數個播放設備完成實時時間校正並播放一媒體資料時,由第一設備監控該媒體資料在第一設備播放時的媒體時間差與系統的實時時間差的差距,當此差距超過可容許的時間時,由第一設備廣播當前的媒體資料的媒體時間與實時時間的訊息給各第二設備,各第二設備則將接收到的訊息作為新的起始播放點,據以調整下一筆媒體資料的播放時間,從而使各第二設備能與第一設備保持影像的同步播放。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。In the method for synchronously playing media among multiple devices provided by the present invention, a first device is set as a broadcast terminal and a plurality of other second devices are set as receivers in a plurality of playback devices. When a plurality of playback devices complete real-time time correction and play a piece of media data, the first device monitors the gap between the media time difference of the media material when the first device plays and the real-time time difference of the system. When the difference exceeds the allowable time , The first device broadcasts the current media time and real-time time information to each second device, and each second device uses the received message as a new starting playback point to adjust the next media data. The playing time, so that each second device can keep the image playing synchronously with the first device. The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the scope of patent application of the present invention shall fall within the scope of the present invention.

10‧‧‧媒體播放系統 10‧‧‧Media playback system

1‧‧‧第一設備 1‧‧‧ the first equipment

2‧‧‧第二設備 2‧‧‧Second Equipment

3‧‧‧無線存取裝置 3‧‧‧Wireless Access Device

100‧‧‧媒體資料 100‧‧‧ Media Information

4‧‧‧雲端平台 4‧‧‧ Cloud Platform

200‧‧‧媒體同步播放方法 200‧‧‧Media synchronous playback method

210-260‧‧‧步驟 210-260‧‧‧step

第1圖為本發明的一種立體物件掃描裝置的功能方塊示意圖。 第2圖為媒體播放系統中的播放設備播放一媒體資料的示意圖。 第3圖為本發明所提供的多設備間的媒體同步播放方法的流程圖。FIG. 1 is a functional block diagram of a three-dimensional object scanning device according to the present invention. FIG. 2 is a schematic diagram of a media device played by a playback device in a media playback system. FIG. 3 is a flowchart of a method for synchronously playing media among multiple devices provided by the present invention.

Claims (10)

一種多設備間的媒體同步播放方法,於複數個播放設備中包含一第一設備以及複數個第二設備,該複數個播放設備於播放一媒體資料時,該第一設備具有一第一實時時間以及播放該媒體資料的一第一媒體時間,各該第二設備具有一第二實時時間以及播放該媒體資料的一第二媒體時間,該方法包含:依據該第一實時時間校正該第二實時時間;於播放該媒體資料時,當該第一設備的一第一媒體間隔與一第一實時間隔的差大於一預設值時,該第一設備將該第一實時時間以及該第一媒體時間傳送至該複數個第二設備,其中該第一媒體間隔為該第一媒體時間與該第一設備最近一次傳送給該複數個第二設備的媒體時間的間隔(Mn-Mm),該第一實時間隔為該第一實時時間與該第一設備最近一次傳送給該複數個第二設備的實時時間的間隔(Tn-Tm);各該第二設備依據接收到的該第一實時時間以及該第一媒體時間,以及該第二設備的該第二實時時間獲得一同步媒體時間;以及各該第二設備依據該同步媒體時間以及該第二媒體時間,與該第一設備進行同步以播放該媒體資料。A method for synchronously playing media among multiple devices includes a first device and a plurality of second devices in a plurality of playback devices. When the plurality of playback devices play a media material, the first device has a first real-time time And a first media time for playing the media data, each second device having a second real-time time and a second media time for playing the media data, the method includes: correcting the second real-time based on the first real-time time Time; when playing the media material, when the difference between a first media interval and a first real-time interval of the first device is greater than a preset value, the first device sets the first real-time time and the first media Time transmission to the plurality of second devices, wherein the first media interval is an interval (Mn-Mm) between the first media time and the media time that the first device transmitted to the plurality of second devices last, the first media interval A real-time interval is the interval (Tn-Tm) between the first real-time time and the real-time time that the first device last transmitted to the plurality of second devices; each second device receives The first real-time time and the first media time, and the second real-time time of the second device to obtain a synchronized media time; and each second device communicates with the second media time according to the synchronized media time and the second media time. The first device performs synchronization to play the media material. 如請求項1所述的方法,其中依據該第一實時時間校正該第二實時時間係由該第一設備校正該複數個第二設備的該第二實時時間或由各該第二設備依據該第一實時時間分別校正各該第二設備的該第二實時時間。The method according to claim 1, wherein the correction of the second real-time time according to the first real-time time is the correction of the second real-time time of the plurality of second devices by the first device or each of the second devices according to the The first real-time time corrects the second real-time time of each of the second devices. 如請求項1所述的方法,其中該同步媒體時間為該第二實時時間與該第一實時時間之差加上該第一媒體時間。The method according to claim 1, wherein the synchronized media time is a difference between the second real-time time and the first real-time time plus the first media time. 如請求項1所述的方法,其中各該第二設備依據該同步媒體時間以及該第二媒體時間,與該第一設備進行同步以播放該媒體資料包含步驟:各該第二設備比較該同步媒體時間以及該第二設備的該第二媒體時間並依據比較結果執行一同步動作。The method of claim 1, wherein each of the second devices synchronizes with the first device to play the media data according to the synchronized media time and the second media time includes the steps of each of the second devices comparing the synchronization Perform a synchronization action on the media time and the second media time of the second device according to the comparison result. 如請求項4所述的方法,其中當該同步媒體時間大於該第二媒體時間時,該同步動作為該第二設備快轉至該同步媒體時間以播放該媒體資料。The method according to claim 4, wherein when the synchronized media time is greater than the second media time, the synchronization action is that the second device fast-forwards to the synchronized media time to play the media data. 如請求項4所述的方法,其中當該同步媒體時間大於該第二媒體時間時,該同步動作為該第二設備直接播放該同步媒體時間之該媒體資料。The method according to claim 4, wherein when the synchronized media time is greater than the second media time, the synchronization action is that the second device directly plays the media data of the synchronized media time. 如請求項4所述的方法,其中當該同步媒體時間小於該第二媒體時間時,該同步動作為該第二設備倒轉至該同步媒體時間以播放該媒體資料。The method according to claim 4, wherein when the synchronized media time is less than the second media time, the synchronization action is that the second device reverses to the synchronized media time to play the media material. 如請求項4所述的方法,其中當該同步媒體時間小於該第二媒體時間時,該同步動作為該第二設備直接播放該同步媒體時間之該媒體資料。The method according to claim 4, wherein when the synchronized media time is less than the second media time, the synchronization action is that the second device directly plays the media data of the synchronized media time. 如請求項1所述的方法,其中該媒體資料為影像資料,該方法另包含步驟:該第一設備針對該媒體資料進行影像與聲音的同步。The method according to claim 1, wherein the media data is video data, and the method further comprises the step of: the first device synchronizes the video and sound with respect to the media data. 如請求項1所述的方法,其中該複數個第二設備係直接無線連接於該第一設備或該第一設備以及該複數個第二設備透過一無線存取裝置彼此通連。The method according to claim 1, wherein the plurality of second devices are directly wirelessly connected to the first device or the first device and the plurality of second devices are connected to each other through a wireless access device.
TW107103989A 2018-02-05 2018-02-05 Method for playback synchronization of media among devices TWI660628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107103989A TWI660628B (en) 2018-02-05 2018-02-05 Method for playback synchronization of media among devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107103989A TWI660628B (en) 2018-02-05 2018-02-05 Method for playback synchronization of media among devices

Publications (2)

Publication Number Publication Date
TWI660628B true TWI660628B (en) 2019-05-21
TW201935932A TW201935932A (en) 2019-09-01

Family

ID=67348211

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107103989A TWI660628B (en) 2018-02-05 2018-02-05 Method for playback synchronization of media among devices

Country Status (1)

Country Link
TW (1) TWI660628B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104937919A (en) * 2012-11-16 2015-09-23 黑焰研究公司 Common event-based multidevice media playback
CN106911950A (en) * 2015-12-23 2017-06-30 福建星网视易信息系统有限公司 A kind of video synchronization method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104937919A (en) * 2012-11-16 2015-09-23 黑焰研究公司 Common event-based multidevice media playback
CN106911950A (en) * 2015-12-23 2017-06-30 福建星网视易信息系统有限公司 A kind of video synchronization method and system

Also Published As

Publication number Publication date
TW201935932A (en) 2019-09-01

Similar Documents

Publication Publication Date Title
CN108366283B (en) Media synchronous playing method among multiple devices
TWI762117B (en) Dynamic control of fingerprinting rate to facilitate time-accurate revision of media content
US8245262B2 (en) System and method for synchronization of television signals associated with multiple broadcast networks
CN106331562B (en) Cloud server, control device and audio and video synchronization method
KR100902013B1 (en) Tiled-display system and synchronization method in the system
KR102469142B1 (en) Dynamic playback of transition frames while transitioning between media stream playbacks
JP6064200B2 (en) Method and apparatus for synchronizing a 3-D display device
CN105376628A (en) Method and device for synchronizing audio-video signals
US20080168505A1 (en) Information Processing Device and Method, Recording Medium, and Program
US9357104B2 (en) Image transmitting/receiving system, image transmitting apparatus, received image displaying apparatus, wireless control apparatus, and image transmitting/receiving method
WO2012018629A1 (en) Methods and apparatus for automatic synchronization of audio and video signals
EP2736263A1 (en) Server, multimedia apparatus and control method thereof for synchronously playing multimedia contents through a plurality of multimedia devices
KR102566550B1 (en) Method of display playback synchronization of digital contents in multiple connected devices and apparatus using the same
CN114079813A (en) Picture synchronization method, coding method, video playing device and video coding device
KR101888464B1 (en) Multi-vision system with multiple synchronization
US20140095662A1 (en) Method and System for Providing a Synchronized User Experience from Multiple Modules
JP2017147594A (en) Audio apparatus
CN110177293B (en) Synchronous multicast and video forwarding method and system
TWI660628B (en) Method for playback synchronization of media among devices
JP4534201B2 (en) Information communication terminal device
CN113365128B (en) Synchronous playing method and system for multiple LED display screens and LED display equipment
GB2544796B (en) Video content synchronisation
CN105721920A (en) Method and apparatus for cooperative playing of media on multi devices, and terminal
WO2013062230A1 (en) Multi-view device and control method thereof, display apparatus and control method thereof, and display system
TWI739437B (en) Image display system and image data transmission apparatus and method thereof having synchronous data transmission mechanism