JP2013121029A - Content reproduction system - Google Patents

Content reproduction system Download PDF

Info

Publication number
JP2013121029A
JP2013121029A JP2011267538A JP2011267538A JP2013121029A JP 2013121029 A JP2013121029 A JP 2013121029A JP 2011267538 A JP2011267538 A JP 2011267538A JP 2011267538 A JP2011267538 A JP 2011267538A JP 2013121029 A JP2013121029 A JP 2013121029A
Authority
JP
Japan
Prior art keywords
time
content data
reproduction
unit
transmission
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2011267538A
Other languages
Japanese (ja)
Inventor
Shinya Tachimori
伸也 日月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Onkyo Corp
Original Assignee
Onkyo Corp
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 Onkyo Corp filed Critical Onkyo Corp
Priority to JP2011267538A priority Critical patent/JP2013121029A/en
Publication of JP2013121029A publication Critical patent/JP2013121029A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To approximately match reproduction start time of content data at each receiver without requiring any complex processing.SOLUTION: A transmitter calculates time difference information which represents a time difference between a reference time and a transmission time of packet to a receiver, and adds the time difference information in a packet header. A receiver calculates a reproduction delay time by subtracting the time difference information from a predetermined delay time. Although a common value is used for the predetermined delay time at each receiver in general, a predetermined delay time can be set according to a time error on reproduction processing time at each receiver. The receiver waits packet reproduction, until the reproduction delay time elapses after the time of packet reception. The receiver starts the packet reproduction, only if the reproduction delay time has elapsed after the time of packet reception.

Description

本発明は、送信装置と受信装置とを備えるコンテンツ再生システムに関する。   The present invention relates to a content reproduction system including a transmission device and a reception device.

送信装置からネットワーク経由で複数の受信装置に対して、ほぼ同じ時刻に同じコンテンツデータを送信することで、各受信装置でほぼ同じ時刻に同じコンテンツデータを一斉に再生するコンテンツ再生システムが提案されている。このシステムは、パーティーモードと言われることがある。ここで、通信プロトコルとしてUDPが使用され、ユニキャストが使用される場合、送信装置は、各受信装置に対して、順番にコンテンツデータのパケットを送信する。つまり、あるパケットAを受信装置X1に送信し、その後、同じパケットAを受信装置X2に送信し、さらにその後、同じパケットAを受信装置X3に送信する。その後、次のパケットBを受信装置X1に送信し、その後、同じパケットBを受信装置X2に送信し、さらにその後、同じパケットBを受信装置X3に送信する。このように、各受信装置に同じコンテンツデータのパケットを送信する時刻が少しずつ異なっており、その結果、各受信装置が同じコンテンツデータのパケットを受信して再生する時刻が少しずつ異なる。従って、各受信装置が受信したパケットをそのまま再生すると、各受信装置が再生するコンテンツデータの再生位置にずれが生じてしまう。この問題を解決するために、送信装置と各受信装置との間でクロックの同期を行い、送信されるパケットにタイムスタンプを含め、タイムスタンプに従って各受信装置が同じ時刻に同じパケットを再生することによって、コンテンツ再生を同期させる技術が提案されている。しかし、この技術によると、クロック同期処理や通信プロトコルが非常に複雑になってしまう。   There has been proposed a content reproduction system in which the same content data is simultaneously reproduced at approximately the same time by each receiving device by transmitting the same content data at approximately the same time to a plurality of receiving devices via a network from the transmitting device. Yes. This system is sometimes referred to as party mode. Here, when UDP is used as the communication protocol and unicast is used, the transmitting device transmits content data packets in order to each receiving device. That is, a certain packet A is transmitted to the receiving device X1, then the same packet A is transmitted to the receiving device X2, and then the same packet A is transmitted to the receiving device X3. Thereafter, the next packet B is transmitted to the receiving device X1, then the same packet B is transmitted to the receiving device X2, and then the same packet B is transmitted to the receiving device X3. In this way, the time at which the same content data packet is transmitted to each receiving device is slightly different, and as a result, the time at which each receiving device receives and reproduces the same content data packet is slightly different. Therefore, if the packet received by each receiving apparatus is reproduced as it is, the reproduction position of the content data reproduced by each receiving apparatus will be shifted. To solve this problem, synchronize the clock between the transmitting device and each receiving device, include a time stamp in the transmitted packet, and each receiving device reproduces the same packet at the same time according to the time stamp Thus, a technique for synchronizing content reproduction has been proposed. However, according to this technique, the clock synchronization processing and the communication protocol become very complicated.

US2007/0038999US2007 / 0038999

本発明は上記従来の課題を解決するためになされたものであり、その目的は、複雑な処理を要することなく、各受信装置のコンテンツデータの再生開始時刻をほぼ一致させることができるコンテンツ再生システムを提供することである。   The present invention has been made to solve the above-described conventional problems, and an object of the present invention is to provide a content reproduction system that can substantially match the reproduction start times of the content data of the respective receiving devices without requiring complicated processing. Is to provide.

本発明の好ましい実施形態によるコンテンツ再生システムは、送信装置と、前記送信装置とネットワーク経由で接続可能な複数の受信装置とを備え、前記送信装置が、前記各受信装置に対して、順番に、同じコンテンツの同じ再生位置のコンテンツデータを送信する送信部と、基準時刻と、前記受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出する時刻差情報算出部と、送信するコンテンツデータに、算出された時刻差情報を付加する時刻差情報付加部とを有し、前記各受信装置が、前記送信装置からコンテンツデータを受信する受信部と、受信したコンテンツデータを再生する再生部と、コンテンツデータを受信した受信時刻を特定する受信時刻特定部と、所定の遅延時間から、受信したコンテンツデータに付加されている前記時刻差情報を減算し、再生遅延時間を算出する再生遅延時間算出部と、前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる再生制御部とを有する。   A content reproduction system according to a preferred embodiment of the present invention includes a transmission device and a plurality of reception devices that can be connected to the transmission device via a network. A transmission unit that transmits content data at the same reproduction position of the same content, a time difference information calculation unit that calculates time difference information that is a difference between a reference time and a transmission time at which the content data is transmitted to the receiving device, and a transmission A time difference information adding unit that adds the calculated time difference information to the content data to be received, and each receiving device reproduces the received content data with a receiving unit that receives the content data from the transmitting device The playback unit, the reception time specifying unit that specifies the reception time when the content data is received, and the received content data from the predetermined delay time A reproduction delay time calculation unit that subtracts the added time difference information and calculates a reproduction delay time, and waits for the reproduction of the content data until the reproduction delay time elapses from the reception time. A reproduction control unit that causes the reproduction unit to reproduce the content data when a reproduction delay time has elapsed.

送信装置は、基準時刻と、受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出し、時刻差情報をコンテンツデータ(特に限定されないが例えばパケット)に付加する。受信装置は、所定の遅延時間から時刻差情報を減算し、再生遅延時間を算出する。所定の遅延時間は、一般的には、各受信装置において共通の値であるが、各受信装置の再生処理にかかる時間の誤差に応じて適宜設定可能である。受信装置は、受信時刻から再生遅延時間経過するまでの間は、コンテンツデータの再生を待機する。受信装置は、受信時刻から再生遅延時間経過した時にはじめて、コンテンツデータを再生開始する。従って、送信装置が各受信装置に同じコンテンツデータを送信する時刻が異なっている場合でも、各受信装置において、再生遅延時間を調整することによって、同じコンテンツをほぼ同じ時刻に再生開始することができる。   The transmission device calculates time difference information that is the difference between the reference time and the transmission time at which the content data is transmitted to the reception device, and adds the time difference information to the content data (although not particularly limited, for example, a packet). The receiving device subtracts the time difference information from the predetermined delay time to calculate the reproduction delay time. The predetermined delay time is generally a value common to the respective receiving apparatuses, but can be appropriately set according to an error in time required for reproduction processing of each receiving apparatus. The reception device waits for the content data to be reproduced until the reproduction delay time elapses from the reception time. The receiving device starts playing the content data only when the playback delay time has elapsed from the reception time. Therefore, even when the time at which the transmitting device transmits the same content data to each receiving device is different, the same content can be started to be reproduced at approximately the same time by adjusting the reproduction delay time in each receiving device. .

好ましい実施形態においては、前記送信装置が、送信するコンテンツデータに識別情報を付加する識別情報付加部と、所定条件を満足したときに、前記識別情報を変更する識別情報変更部とをさらに有し、前記受信装置が、受信したコンテンツデータに付加されている識別情報が、1つ前に受信したコンテンツデータに付加されている識別情報から変更されているか否かを判断する識別情報変更判断部をさらに有し、識別情報が変更されていると判断された場合、前記再生制御部が、前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる。   In a preferred embodiment, the transmission device further includes an identification information adding unit that adds identification information to content data to be transmitted, and an identification information changing unit that changes the identification information when a predetermined condition is satisfied. An identification information change determination unit for determining whether or not the identification information added to the received content data is changed from the identification information added to the previous content data received by the receiving device; In addition, when it is determined that the identification information has been changed, the reproduction control unit waits for reproduction of the content data until the reproduction delay time elapses from the reception time, and the reproduction delay from the reception time. When the time has elapsed, the content data is reproduced by the reproduction unit.

全てのコンテンツデータ(例えばパケット)について、受信時刻から再生遅延時間経過するまでコンテンツデータの再生を待機し、再生遅延時間経過した時にコンテンツデータを再生開始する処理を実行すると、コンテンツデータの再生途切れが生じる可能性がある。本実施形態では、識別情報が変更されたときにだけ、受信時刻から再生遅延時間経過するまでコンテンツデータの再生を待機し、再生遅延時間経過した時にコンテンツデータを再生開始する処理を実行する。従って、例えば識別情報をコンテンツデータが音声の場合に無音部分に変更するようにすることで、コンテンツデータの再生とぎれの影響を無くすることができる。   For all content data (for example, packets), when the reproduction of the content data is waited until the reproduction delay time elapses from the reception time and the reproduction of the content data is started when the reproduction delay time elapses, the content data reproduction is interrupted. It can happen. In the present embodiment, only when the identification information is changed, the reproduction of the content data is waited until the reproduction delay time elapses from the reception time, and the process of starting the reproduction of the content data is executed when the reproduction delay time elapses. Therefore, for example, if the identification information is changed to a silent portion when the content data is audio, it is possible to eliminate the effect of interruption of the reproduction of the content data.

好ましい実施形態においては、前記送信装置が、前記送信部が実際に前記受信装置にコンテンツデータを送信した実送信時刻と、前記送信時刻との差である送信時刻差を算出する送信時刻差算出部と、算出された送信時刻差を次のコンテンツデータに付加する送信時刻差付加部とをさらに有し、前記受信装置が、次のコンテンツデータに付加されている送信時刻差を使用して、前のコンテンツデータの前記再生遅延時間を補正する再生遅延時間補正部をさらに有する。   In a preferred embodiment, the transmission device calculates a transmission time difference that is a difference between an actual transmission time when the transmission unit actually transmits content data to the reception device and the transmission time. And a transmission time difference adding unit for adding the calculated transmission time difference to the next content data, and the receiving device uses the transmission time difference added to the next content data to A reproduction delay time correction unit for correcting the reproduction delay time of the content data.

送信装置の処理の負荷に応じて、コンテンツデータに時刻差情報を付加した後に、送信部が実際に受信装置にコンテンツデータを送信するまでの時間に違いが生じる。この場合、各受信装置が、ほぼ同じ時刻にコンテンツデータを再生開始することが出来なくなる恐れがある。そこで、本実施形態では、送信装置は、送信部が実際に受信装置にコンテンツデータを送信した実送信時刻と、送信時刻との差である送信時刻差を算出し、次のコンテンツデータに付加する。受信装置は、次のコンテンツデータに付加されている送信時刻差を使用して、前のコンテンツデータの再生遅延時間を補正する。従って、各受信装置は、より確実に、同じコンテンツデータをほぼ同じ時刻に再生開始することができる。   Depending on the processing load of the transmission device, there is a difference in the time from when the time difference information is added to the content data until the transmission unit actually transmits the content data to the reception device. In this case, each receiving device may not be able to start reproducing the content data at substantially the same time. Therefore, in this embodiment, the transmission device calculates a transmission time difference that is a difference between the actual transmission time when the transmission unit actually transmits the content data to the reception device and the transmission time, and adds the transmission time difference to the next content data. . The receiving apparatus corrects the reproduction delay time of the previous content data using the transmission time difference added to the next content data. Accordingly, each receiving apparatus can start reproducing the same content data at approximately the same time more reliably.

本発明の好ましい実施形態による送信装置の動作プログラムは、前記各受信装置に対して、順番に、同じコンテンツの同じ再生位置のコンテンツデータを送信する送信ステップと、基準時刻と、前記受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出する時刻差情報算出ステップと、送信するコンテンツデータに、算出された時刻差情報を付加する時刻差情報付加ステップとを送信装置のコンピュータに実行させる。   An operation program of a transmission device according to a preferred embodiment of the present invention includes: a transmission step of sequentially transmitting content data at the same reproduction position of the same content to each reception device; a reference time; and a content to the reception device. A time difference information calculating step for calculating time difference information, which is a difference from a transmission time for transmitting data, and a time difference information adding step for adding the calculated time difference information to the content data to be transmitted. To run.

本発明の好ましい実施形態による受信装置の動作プログラムは、前記送信装置からコンテンツデータを受信する受信ステップと、受信したコンテンツデータを再生する再生ステップと、コンテンツデータを受信した受信時刻を特定する受信時刻特定ステップと、所定の遅延時間から、受信したコンテンツデータに付加されている前記時刻差情報を減算し、再生遅延時間を算出する再生遅延時間算出ステップと、前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる再生制御ステップとを受信装置のコンピュータに実行させる。   An operation program of a receiving device according to a preferred embodiment of the present invention includes a receiving step for receiving content data from the transmitting device, a reproducing step for playing back the received content data, and a receiving time for specifying a receiving time when the content data is received. A reproduction step for calculating a reproduction delay time by subtracting the time difference information added to the received content data from a specific step; a reproduction delay time from the reception time; Until the reproduction delay time elapses from the reception time, and a reproduction control step for causing the reproduction unit to reproduce the content data is executed by the computer of the reception apparatus.

複雑な処理を要することなく、各受信装置のコンテンツの再生開始時刻を同期させることができるコンテンツ再生システムを提供することができる。   It is possible to provide a content reproduction system that can synchronize the reproduction start times of the contents of the receiving apparatuses without requiring complicated processing.

本発明のコンテンツ再生システムを示すブロック図である。It is a block diagram which shows the content reproduction system of this invention. 送信装置を示すブロック図である。It is a block diagram which shows a transmitter. 受信装置を示すブロック図である。It is a block diagram which shows a receiver. 送信装置と受信装置との処理を示すシーケンス図のである。It is a sequence diagram which shows the process with a transmitter and a receiver. 送信装置の処理を示すフローチャートである。It is a flowchart which shows the process of a transmitter. 送信装置の処理を示すフローチャートである。It is a flowchart which shows the process of a transmitter. 受信装置の処理を示すフローチャートである。It is a flowchart which shows the process of a receiver. 受信装置の処理を示すフローチャートである。It is a flowchart which shows the process of a receiver. 送信装置の処理を示すフローチャートである。It is a flowchart which shows the process of a transmitter. 受信装置の処理を示すフローチャートである。It is a flowchart which shows the process of a receiver.

以下、本発明の好ましい実施形態について、図面を参照して具体的に説明するが、本発明はこれらの実施形態には限定されない。   Hereinafter, preferred embodiments of the present invention will be specifically described with reference to the drawings. However, the present invention is not limited to these embodiments.

図1は、コンテンツ再生システムを示すブロック図である。コンテンツ再生システムは、送信装置100と、複数の受信装置200(200A、200B、200C等)と、サーバ300とを備え、これらはインターネット、LAN等の任意のネットワークを介して相互に接続可能である。サーバ300は、複数のコンテンツをHDD等の記憶媒体に格納している。コンテンツは、音楽(曲)データ、映像(画像)データ等の総称であるが、本例では曲データである。つまり、1つの曲のことを1つのコンテンツという。コンテンツデータとは、1つのコンテンツの各部分データのことをいい、代表的にはパケットのことである。   FIG. 1 is a block diagram showing a content reproduction system. The content reproduction system includes a transmission device 100, a plurality of reception devices 200 (200A, 200B, 200C, etc.), and a server 300, which can be connected to each other via an arbitrary network such as the Internet or a LAN. . The server 300 stores a plurality of contents in a storage medium such as an HDD. The content is a general term for music (music) data, video (image) data, and the like, but in this example, it is music data. That is, one piece of music is called one content. Content data refers to each partial data of one content, and is typically a packet.

送信装置100は、サーバ300からコンテンツを受信し、受信したコンテンツをパケット化して、各受信装置200に対して、ユニキャストを使用して順番に送信する。すなわち、送信装置100は、パケットA1を受信装置200Aに送信し、次に、パケットA2を受信装置200Bに送信し、次に、パケットA3を受信装置200Cに送信し、次に、パケットB1を受信装置200Aに送信し、次に、パケットB2を受信装置200Bに送信し、次に、パケットB3を受信装置200Cに送信する。ここで、パケットA1、A2、A3はいずれも同じコンテンツデータを含むが、ヘッダの内容が異なっている。同じく、パケットB1、B2、B3はいずれも同じコンテンツデータを含むが、ヘッダの内容が異なっている。   The transmission device 100 receives content from the server 300, packetizes the received content, and sequentially transmits the content to each reception device 200 using unicast. That is, transmitting apparatus 100 transmits packet A1 to receiving apparatus 200A, then transmits packet A2 to receiving apparatus 200B, then transmits packet A3 to receiving apparatus 200C, and then receives packet B1. Transmit to apparatus 200A, then transmit packet B2 to receiver apparatus 200B, and then transmit packet B3 to receiver apparatus 200C. Here, the packets A1, A2, and A3 all include the same content data, but the contents of the headers are different. Similarly, the packets B1, B2, and B3 all include the same content data, but the header contents are different.

パケットのヘッダには基準時刻Tbaseと、送信装置100が各受信装置200にパケットを送信する送信時刻Tsendとの時刻差情報Tdifが含まれている。各受信装置200は、パケットを再生開始する時刻を決定するために、各受信装置200に対して予め設定されている所定の遅延時間から時刻差情報Tdifを減算し、再生遅延時間Tdelayを算出する。各受信装置200は、パケットを受信した受信時刻から再生遅延時間Tdelay経過するまでの間は当該パケットの再生を待機し、受信時刻から再生遅延時間Tdelay経過した時に、当該パケットの再生を開始する。これにより、各受信装置200が同じパケットをほぼ同じ時刻に再生開始することができる。ここで、各受信装置200に対して予め設定されている所定の遅延時間は、各受信装置200において一般的には同じ値に設定されているが、受信装置200の再生処理等にかかる時間が異なる場合には、その時間に基づいて適宜調整される必要がある。なお、所定の遅延時間は、送信装置100から各受信装置200に送信されてもよい。   The header of the packet includes time difference information Tdif between the reference time Tbase and the transmission time Tsend at which the transmission device 100 transmits the packet to each reception device 200. Each receiving apparatus 200 calculates a reproduction delay time Tdelay by subtracting the time difference information Tdif from a predetermined delay time preset for each receiving apparatus 200 in order to determine the time to start reproducing the packet. . Each receiving device 200 waits for reproduction of the packet from the reception time when the packet is received until the reproduction delay time Tdelay elapses, and starts reproduction of the packet when the reproduction delay time Tdelay elapses from the reception time. Thereby, each receiving device 200 can start reproducing the same packet at substantially the same time. Here, the predetermined delay time set in advance for each receiving device 200 is generally set to the same value in each receiving device 200, but the time required for the reproduction processing and the like of the receiving device 200 is set. If they are different, it is necessary to adjust appropriately based on the time. Note that the predetermined delay time may be transmitted from the transmission device 100 to each reception device 200.

なお、サーバ300は、送信装置100とネットワーク経由で接続されている必要はなく、音声ケーブル等で有線接続されていてもよい。また、サーバ300の機能を送信装置100が備えていても良い。   Note that the server 300 does not need to be connected to the transmission apparatus 100 via a network, and may be wired by an audio cable or the like. Further, the transmission device 100 may have the function of the server 300.

送信装置100は、受信装置200の機能を兼有していてもよい。つまり、送信装置100は、各受信装置200に加えて、送信装置100自身にも同じコンテンツの同じ再生位置のコンテンツデータを送信する。送信装置100も、受信装置200と同じように、予め設定されている所定の遅延時間から時刻差情報Tdifを減算し、再生遅延時間Tdelayを算出する。送信装置100は、パケットを受信した受信時刻から再生遅延時間Tdelay経過するまでの間は当該パケットの再生を待機し、受信時刻から再生遅延時間Tdelay経過した時に、当該パケットの再生を開始する。これにより、送信装置100自身も、各受信装置200と同様に、同じパケットをほぼ同じ時刻に再生開始することができる。   The transmission device 100 may have the function of the reception device 200. That is, the transmission device 100 transmits content data at the same reproduction position of the same content to the transmission device 100 itself in addition to each reception device 200. Similarly to the reception device 200, the transmission device 100 also subtracts the time difference information Tdif from a predetermined delay time set in advance to calculate the reproduction delay time Tdelay. The transmitting apparatus 100 waits for the reproduction of the packet until the reproduction delay time Tdelay elapses from the reception time when the packet is received, and starts reproducing the packet when the reproduction delay time Tdelay elapses from the reception time. As a result, the transmitting apparatus 100 itself can start reproducing the same packet at approximately the same time as each receiving apparatus 200.

図2は、送信装置100の構成を示す概略ブロック図である(なお、送信装置100における受信装置200としての機能の説明は図3で記載する)。送信装置100は、制御部11と、メモリ(ROM、RAM等)12と、ネットワークインターフェース13と、受信バッファ14と、デコーダ15と、パケット化部16と、送信バッファ17とを概略備える。   FIG. 2 is a schematic block diagram illustrating the configuration of the transmission apparatus 100 (note that the function of the transmission apparatus 100 as the reception apparatus 200 is described in FIG. 3). The transmission device 100 generally includes a control unit 11, a memory (ROM, RAM, etc.) 12, a network interface 13, a reception buffer 14, a decoder 15, a packetizing unit 16, and a transmission buffer 17.

制御部11は、メモリ12に格納されている送信装置100の動作プログラムに基づいて送信装置100の各部を制御するものであり、マイコンやCPU等である。ネットワークインターフェース13は、サーバ300や、受信装置200とネットワーク経由で通信し、データやコマンドを送受信する。受信バッファ14は、ネットワークインターフェース13を介してサーバ300から受信した曲データを一時的に格納し、その後、デコーダ15に供給する。デコーダ15は、曲データをデコードし、PCMデータ列に変換し、パケット化部16に供給する。パケット化部16は、ひとかたまりのPCMデータ列を例えばUDP等の任意のプロトコルを用いてパケットに変換する。パケット化部16は、送信バッファ17にパケットを一時的に格納する。制御部11は、送信バッファ17からパケットを取り出して、時刻差情報Tdif及びセッションIDを含むヘッダを追加して、ネットワークインターフェース13を介して、各受信装置200にパケットを送信する。   The control unit 11 controls each unit of the transmission device 100 based on an operation program of the transmission device 100 stored in the memory 12, and is a microcomputer, a CPU, or the like. The network interface 13 communicates with the server 300 and the receiving device 200 via the network, and transmits and receives data and commands. The reception buffer 14 temporarily stores music data received from the server 300 via the network interface 13 and then supplies the music data to the decoder 15. The decoder 15 decodes the music data, converts it into a PCM data string, and supplies it to the packetizing unit 16. The packetizing unit 16 converts a group of PCM data strings into packets using an arbitrary protocol such as UDP. The packetizing unit 16 temporarily stores the packet in the transmission buffer 17. The control unit 11 takes out the packet from the transmission buffer 17, adds a header including the time difference information Tdif and the session ID, and transmits the packet to each receiving device 200 via the network interface 13.

図3は、各受信装置200(及び送信装置100の受信装置としての機能)の構成を示すブロック図である。受信装置200は、制御部21と、メモリ22(ROM、RAM等)と、受信処理部23と、キュー管理部24と、再生処理部25とを概略備える。制御部21は、メモリ22に格納されている受信装置200の動作プログラムを実行することによって、受信装置200の各部を制御するものであり、マイコンやCPU等である。   FIG. 3 is a block diagram illustrating the configuration of each receiving device 200 (and the function of the transmitting device 100 as a receiving device). The receiving apparatus 200 includes a control unit 21, a memory 22 (ROM, RAM, etc.), a reception processing unit 23, a queue management unit 24, and a reproduction processing unit 25. The control unit 21 controls each unit of the receiving device 200 by executing an operation program of the receiving device 200 stored in the memory 22, and is a microcomputer, a CPU, or the like.

受信処理部23は、送信装置100からネットワーク経由で送信された曲データのパケットを受信し、チャンクを生成する。チャンクはひとかたまりのPCMデータ列にヘッダを付加したものである。受信処理部23は、パケット受信部23Aと、パケット解析部23Bと、チャンク生成部23Cと、キュー操作部23Dとを有する。パケット受信部23Aは、ネットワーク経由で送信装置100から送信されたパケットを受信し、パケット解析部23Bに供給する。パケット受信部23Aは、パケットを受信した時刻を受信開始時刻として特定し、メモリ22に保存する。パケット解析部23Bは、パケットのヘッダに含まれている時刻差情報Tdif及びセッションIDを取得する。また、パケット解析部23Bは、受信したパケットに含まれているセッションIDが変更されたか否かを判断し、変更されているとき、所定の遅延時間から時刻差情報Tdifを減算し、再生遅延時間Tdelayを算出する。チャンク生成部23Cは、パケットからチャンクを生成し、キュー管理部24に供給する。キュー操作部23Dは、キューの生成及び削除を制御する。   The reception processing unit 23 receives the music data packet transmitted from the transmission device 100 via the network, and generates a chunk. A chunk is a set of PCM data strings with a header added. The reception processing unit 23 includes a packet reception unit 23A, a packet analysis unit 23B, a chunk generation unit 23C, and a queue operation unit 23D. The packet reception unit 23A receives a packet transmitted from the transmission device 100 via the network, and supplies the packet to the packet analysis unit 23B. The packet receiving unit 23 </ b> A specifies the time when the packet is received as the reception start time, and stores it in the memory 22. The packet analysis unit 23B acquires the time difference information Tdif and the session ID included in the packet header. Further, the packet analysis unit 23B determines whether or not the session ID included in the received packet has been changed. When the session ID has been changed, the packet analysis unit 23B subtracts the time difference information Tdif from the predetermined delay time, thereby reproducing the reproduction delay time. Tdelay is calculated. The chunk generator 23C generates a chunk from the packet and supplies it to the queue manager 24. The queue operation unit 23D controls the generation and deletion of the queue.

キュー管理部24は、例えばセッションID単位でキューを作成し、キューにチャンクを格納する。キューに格納されたチャンクは再生処理部25に出力される。   The queue management unit 24 creates a queue for each session ID, for example, and stores the chunk in the queue. The chunk stored in the queue is output to the reproduction processing unit 25.

再生処理部25は、キュー管理部24から読み出したチャンクを再生し、音声信号を出力する。再生処理部25は、チャンク処理部25Aと、音声出力部25Bとを概略有する。チャンク処理部25Aは、キューからチャンクを読み出して、チャンクからPCMデータ列を取り出す。音声出力部25Bは、チャンク処理部25AからのPCMデータ列を自身が備えるバッファ(音声出力バッファ)に一時的に格納したあと、音声出力を実行する。   The reproduction processing unit 25 reproduces the chunk read from the queue management unit 24 and outputs an audio signal. The reproduction processing unit 25 generally includes a chunk processing unit 25A and an audio output unit 25B. The chunk processing unit 25A reads a chunk from the queue and extracts a PCM data string from the chunk. The audio output unit 25B temporarily stores the PCM data string from the chunk processing unit 25A in its own buffer (audio output buffer), and then performs audio output.

以上の構成を有するコンテンツ再生システムの動作を説明する。
図4は、送信装置100、受信装置200A、200B、200Cのパケット送信及び再生開始時刻を説明するシーケンス図である。図5、図6は、送信装置100の制御部11等の処理を示すフローチャートであり、図7、図8は、受信装置200の制御部21等の処理を示すフローチャートである。
The operation of the content reproduction system having the above configuration will be described.
FIG. 4 is a sequence diagram illustrating packet transmission and reproduction start times of the transmission device 100 and the reception devices 200A, 200B, and 200C. FIGS. 5 and 6 are flowcharts showing processing of the control unit 11 and the like of the transmission apparatus 100, and FIGS. 7 and 8 are flowcharts showing processing of the control unit 21 and the like of the reception apparatus 200.

まず、図5を参照し、コンテンツデータのパケットAを各受信装置200に送信する際の処理を説明する。送信装置100の制御部11は、パケットAの送信対象となる受信装置200のインデックスiを0に初期化する(S1)。制御部11は、現在の時刻を基準時刻Tbaseとして測定し、メモリ12に保存する(S2)。   First, with reference to FIG. 5, a process when transmitting the content data packet A to each receiving apparatus 200 will be described. The control unit 11 of the transmission device 100 initializes the index i of the reception device 200 that is the transmission target of the packet A to 0 (S1). The control unit 11 measures the current time as the reference time Tbase and stores it in the memory 12 (S2).

ここで、基準時刻Tbaseは、パケットAを最初に送信する受信装置200Aへの送信時刻Tsendであってもよい。この場合、受信装置200Aに送信する時刻差情報Tdifは0となる。   Here, the reference time Tbase may be the transmission time Tsend to the receiving apparatus 200A that transmits the packet A first. In this case, the time difference information Tdif transmitted to the receiving apparatus 200A is 0.

制御部11は、インデックスiがN未満であるか否かを判断する(S3)。Nは、パケットを送信すべき受信装置200の数であり、本例の場合3である。つまり、全ての受信装置200に対してパケットAを送信し終えたか否かが判断される。全ての受信装置200に対してパケットAを送信し終えた場合(S3でNO)、S1に戻って、次のパケットBの送信処理に移る。   The control unit 11 determines whether the index i is less than N (S3). N is the number of receiving apparatuses 200 that should transmit a packet, and is 3 in this example. That is, it is determined whether or not the packet A has been transmitted to all the receiving apparatuses 200. When the transmission of the packet A to all the receiving apparatuses 200 is completed (NO in S3), the process returns to S1 and moves to the transmission process for the next packet B.

未だ全ての受信装置200に対してパケットAを送信し終えていない場合(S3でYES)、制御部11は、現在時刻を、インデックスiの受信装置200に対してパケットAを送信する時刻である送信時刻Tsendとして計測し、メモリ12に保存する(S4)。送信時刻Tsendは、詳細には、送信バッファ17にヘッダを付加してネットワークインターフェース13に送信する時刻である。   When the packet A has not been transmitted to all the receiving apparatuses 200 yet (YES in S3), the control unit 11 is the time when the packet A is transmitted to the receiving apparatus 200 with the index i. The transmission time Tsend is measured and stored in the memory 12 (S4). Specifically, the transmission time Tsend is a time at which a header is added to the transmission buffer 17 and transmitted to the network interface 13.

続いて、制御部11は、基準時刻Tbaseから送信時刻Tsendを減算し、時刻差情報Tdifを算出する(S5)。制御部11は、送信バッファ17からパケットAを読み出して、パケットAのヘッダに時刻差情報Tdifと、セッションIDとを付加する(S6)。セッションIDは、ひとかたまりのパケットのグループを示す識別情報である。制御部11は、ネットワークインターフェース13を介してパケットAをインデックスiの受信装置200に送信する(S7)。その後、インデックスiをインクリメントし(S8)、処理はS3に戻る。従って、送信対象の全ての受信装置200に対して上記の処理を繰返し、時刻差情報Tdifを含むパケットAを送信する。   Subsequently, the control unit 11 subtracts the transmission time Tsend from the reference time Tbase to calculate time difference information Tdif (S5). The control unit 11 reads the packet A from the transmission buffer 17 and adds the time difference information Tdif and the session ID to the header of the packet A (S6). The session ID is identification information indicating a group of packets. The control unit 11 transmits the packet A to the receiving device 200 with the index i via the network interface 13 (S7). Thereafter, the index i is incremented (S8), and the process returns to S3. Therefore, the above processing is repeated for all receiving apparatuses 200 to be transmitted, and packet A including time difference information Tdif is transmitted.

図4に示すように、受信装置200AにパケットAを送信する時刻はTsend1であり、受信装置200Aに送信されるパケットAのヘッダに含まれる時刻差情報Tdif1は、Tbase−Tsend1である。受信装置200BにパケットAを送信する時刻はTsend2であり、受信装置200Bに送信されるパケットAのヘッダに含まれる時刻差情報Tdif2は、Tbase−Tsend2である。受信装置200CにパケットAを送信する時刻はTsend3であり、受信装置200Cに送信されるパケットAのヘッダに含まれる時刻差情報Tdif3は、Tbase−Tsend3である。   As illustrated in FIG. 4, the time when the packet A is transmitted to the receiving apparatus 200A is Tsend1, and the time difference information Tdif1 included in the header of the packet A transmitted to the receiving apparatus 200A is Tbase-Tsend1. The time when the packet A is transmitted to the receiving apparatus 200B is Tsend2, and the time difference information Tdif2 included in the header of the packet A transmitted to the receiving apparatus 200B is Tbase-Tsend2. The time when the packet A is transmitted to the receiving apparatus 200C is Tsend3, and the time difference information Tdif3 included in the header of the packet A transmitted to the receiving apparatus 200C is Tbase-Tsend3.

図6は、制御部11のセッションIDの変更処理を示す。制御部11は、送信対象のパケットに関して、次の曲に変更されるパケットであるか否かを判断する(S11)。次の曲に変更されるパケットである場合(S11でYES)、制御部11は、セッションIDを変更する(S13)。次の曲のパケットではない場合(S11でNO)、制御部11は、ユーザ操作によって曲データの再生を停止する指示が入力されたか、又は、シーク(曲データの再生位置を変更する)処理が実行されているかが判断される(S12)。S12でYESの場合、制御部11は、セッションIDを変更する(S13)。S12でNOの場合、S11に戻る。以上のように、曲データが無音となるような任意のタイミングにおいて、セッションIDが変更される。後述のように、セッションIDが変更されるときに、パケットの同期処理が実行されるので、セッションIDを無音期間に変更することで、音切れを防止できる。   FIG. 6 shows a session ID change process of the control unit 11. The control unit 11 determines whether the packet to be transmitted is a packet to be changed to the next song (S11). When the packet is changed to the next song (YES in S11), the control unit 11 changes the session ID (S13). If it is not the packet of the next song (NO in S11), the control unit 11 has received an instruction to stop the reproduction of song data by a user operation, or seek (changes the reproduction position of song data) processing. It is determined whether it is being executed (S12). In the case of YES in S12, the control unit 11 changes the session ID (S13). If NO in S12, the process returns to S11. As described above, the session ID is changed at an arbitrary timing such that the music data becomes silent. As will be described later, since the packet synchronization process is executed when the session ID is changed, the interruption of sound can be prevented by changing the session ID to the silent period.

図7に示すように、受信装置200の制御部21は、パケット解析部23Aによって、送信装置100からパケットを受信したか否かを判断する(S21)。受信した場合(S21でYES)、パケット受信部23Aは、現在時刻をパケット受信時刻として計測し、メモリ22に保存する(S22)。パケット解析部23Bは、制御部21の指示によって、パケットのヘッダからセッションIDを取得し(S23)、前回受信したパケットのセッションIDと異なっているか(つまり、セッションIDが変更されたか)否かを判断する(S24)。セッションIDが変更されていない場合(S24でNO)、同期処理を実行せずに、チャンク生成部23Cがパケットからチャンクを生成し、キューにチャンクを供給する(S25)。つまり、同期処理を行わずに、再生を継続する。   As illustrated in FIG. 7, the control unit 21 of the reception device 200 determines whether a packet is received from the transmission device 100 by the packet analysis unit 23A (S21). If received (YES in S21), the packet receiver 23A measures the current time as the packet reception time and stores it in the memory 22 (S22). The packet analysis unit 23B acquires the session ID from the header of the packet in accordance with an instruction from the control unit 21 (S23), and determines whether the session ID is different from the session ID of the previously received packet (that is, whether the session ID has been changed). Judgment is made (S24). If the session ID has not been changed (NO in S24), the chunk generation unit 23C generates a chunk from the packet without supplying the synchronization process, and supplies the chunk to the queue (S25). That is, the reproduction is continued without performing the synchronization process.

セッションIDが変更されている場合(S24ででYES)、チャンク生成部23Cは、受信したパケットを直ぐにはキューに出力することなく、同期処理を実行する(S26)。   If the session ID has been changed (YES in S24), the chunk generation unit 23C executes the synchronization process without immediately outputting the received packet to the queue (S26).

同期処理を図8に示す。パケット解析部23Bは、制御部21の指示に応じて、パケットのヘッダから時刻差情報Tdifを取得する(S31)。パケット解析部23Bは、所定の遅延時間から時刻差情報Tdifを減算し、当該パケットの再生遅延時間Tdelayを算出し、メモリ22に保存する(S32)。チャンク生成部23Cは、制御部21の指示に応じて、パケット受信時刻から再生遅延間Tdelay経過したか否かを判断し、パケット受信時刻から再生遅延間Tdelay経過するまでの間待機する(S33)。パケット受信時刻から再生遅延間Tdelay経過したとき(S33でYES)、キュー操作部23Dは、これまで使用していたキューを削除する(S34)。もし、これまでのキューにチャンクが存在する場合には、同期を行うためにキューを削除し、削除されたキューに格納されているチャンクは削除され再生されない。キュー操作部23Dは、新たなキューを作成し、チャンク生成部23Cは、同期対象のパケットからチャンクを生成し、新たに生成したキューに格納する(S35)。従って、パケット受信時刻から再生遅延時間Tdelay経過したときに、当該パケットが再生開始される。   The synchronization process is shown in FIG. The packet analysis unit 23B acquires the time difference information Tdif from the header of the packet according to the instruction from the control unit 21 (S31). The packet analysis unit 23B subtracts the time difference information Tdif from the predetermined delay time, calculates the reproduction delay time Tdelay of the packet, and stores it in the memory 22 (S32). The chunk generation unit 23C determines whether or not Tdelay between playback delays has elapsed from the packet reception time according to an instruction from the control unit 21, and waits until Tdelay between playback delays has elapsed from the packet reception time (S33). . When the Tdelay between playback delays has elapsed from the packet reception time (YES in S33), the queue operation unit 23D deletes the queue that has been used so far (S34). If there is a chunk in the queue so far, the queue is deleted for synchronization, and the chunk stored in the deleted queue is deleted and not reproduced. The queue operation unit 23D creates a new queue, and the chunk generation unit 23C generates a chunk from the synchronization target packet and stores it in the newly generated queue (S35). Therefore, when the reproduction delay time Tdelay elapses from the packet reception time, the packet is started to be reproduced.

図4に示すように、送信装置100から送信されたパケットが各受信装置200に到達するまでに要する時間は全て同じであるとし、受信装置200AがパケットAを受信する時刻をTrece1とし、受信装置200BがパケットAを受信する時刻をTrece2とし、受信装置200CがパケットAを受信する時刻をTrece3とし、受信装置200Aの再生遅延時間をTdelay1とし、受信装置200Bの再生遅延時間をTdelay2とし、受信装置200Cの再生遅延時間をTdelay3とすると、Trece1+Tdelay1=Trece2+Tdelay2=Trece3+Tdelay3となり、受信装置200A、200B、200Cは、全て同じ時刻にパケットAを再生開始する。   As shown in FIG. 4, it is assumed that the time required for the packet transmitted from the transmission device 100 to reach each reception device 200 is the same, the time at which the reception device 200A receives the packet A is Trece1, and the reception device The time at which 200B receives packet A is Tlace2, the time at which receiving apparatus 200C receives packet A is Tlace3, the reproduction delay time of receiving apparatus 200A is Tdelay1, the reproduction delay time of receiving apparatus 200B is Tdelay2, and the receiving apparatus Assuming that the reproduction delay time of 200C is Tdelay3, Trece1 + Tdelay1 = Trece2 + Tdelay2 = Trece3 + Tdelay3, and the receiving apparatuses 200A, 200B, and 200C all start reproducing packet A at the same time.

上記の実施形態においては、セッションIDが変更されるパケットのみにおいて同期処理を行っているが、全てのパケットにおいて同期処理を行うことも可能である。しかし、無音でない区間で同期処理を行うと、音切れが生じる可能性があるので、無音区間でセッションIDを変更し、セッションIDが変更されるパケットのみにおいて同期処理を行うことで、音切れを防止できる。   In the above embodiment, the synchronization process is performed only on the packet whose session ID is changed. However, the synchronization process may be performed on all packets. However, if synchronization processing is performed in a non-silent section, sound interruption may occur. Therefore, by changing the session ID in the silent section and performing synchronization processing only on the packet whose session ID is changed, Can be prevented.

次に、本発明の別の実施形態を説明する。送信装置100の処理の負荷に応じて、送信バッファ17からネットワークインターフェース13にパケットが送信されたときから、実際にネットワークインターフェース13から受信装置200にパケットが送信されるまでの時間が遅延することが想定される。この場合、送信時刻Tsendを測定し、時刻差情報Tdifをパケットに含めて受信装置200に送信しても、各受信装置200においてパケットの再生開始時刻にずれが生じる可能性がある。   Next, another embodiment of the present invention will be described. Depending on the processing load of the transmission apparatus 100, the time from when a packet is transmitted from the transmission buffer 17 to the network interface 13 until when the packet is actually transmitted from the network interface 13 to the reception apparatus 200 may be delayed. is assumed. In this case, even if the transmission time Tsend is measured and the time difference information Tdif is included in the packet and transmitted to the receiving device 200, there is a possibility that a deviation occurs in the packet reproduction start time in each receiving device 200.

そこで、本実施形態では、ネットワークインターフェース13から受信装置200にパケットAが実際に送信された実送信時刻Trsendを測定し、実送信時刻Trsendと送信時刻Tsendとの差である送信時刻誤差(Trsend−Tsend)を算出し、次のパケットBのヘッダに付加する。受信装置200は、次のパケットBを受信したときに、ヘッダから送信時刻誤差(Trsend−Tsend)を取得し、前のパケットAの再生遅延時間Tdelayを補正する。詳細には、補正後の再生遅延時間Tdelay’は、Tdelay−(送信時刻誤差(Trsend−Tsend))によって求められる。これにより、各受信装置200は、パケットの再生時刻を同期させることができる。   Therefore, in this embodiment, the actual transmission time Trsend at which the packet A is actually transmitted from the network interface 13 to the receiving device 200 is measured, and a transmission time error (Trsend−) that is the difference between the actual transmission time Trsend and the transmission time Tsend is measured. Tsend) is calculated and added to the header of the next packet B. When receiving the next packet B, the receiving apparatus 200 acquires a transmission time error (Trsend−Tsend) from the header and corrects the reproduction delay time Tdelay of the previous packet A. Specifically, the corrected reproduction delay time Tdelay 'is obtained by Tdelay- (transmission time error (Trsend-Tsend)). Thereby, each receiving device 200 can synchronize the reproduction time of the packet.

図9は、送信装置100の処理を示すフローチャートであり、図5と同一処理には同一符号を付し説明を援用する。まず、例えば、パケットAを受信装置200Aに送信する際の処理において、制御部11は、パケットAがネットワークインターフェース13から実際に送信される実送信時刻Trsend1を計測する(S42)。制御部11は、計測した実送信時刻Trsend1から、送信時刻Tsend1を減算し、送信時刻誤差を算出し、メモリ12に保存する(S43)。この処理は、他の受信装置200B、200CへのパケットAの送信処理においても同様に実行される。   FIG. 9 is a flowchart showing the processing of the transmission apparatus 100. The same processing as in FIG. First, for example, in the processing when transmitting the packet A to the receiving device 200A, the control unit 11 measures the actual transmission time Trsend1 at which the packet A is actually transmitted from the network interface 13 (S42). The control unit 11 subtracts the transmission time Tsend1 from the measured actual transmission time Trsend1, calculates a transmission time error, and stores it in the memory 12 (S43). This process is also executed in the same way in the transmission process of packet A to the other receiving apparatuses 200B and 200C.

続いて、パケットAの次のパケットBを受信装置200Aに送信する際の処理において、制御部11は、前のパケットAの送信時刻誤差を、次のパケットBのヘッダに付加する(S41)。従って、次のパケットBの送信の時に、前のパケットAの送信時刻誤差が受信装置200Aに送信される。この処理は、他の受信装置200B、200CへのパケットBの送信処理においても同様に実行される。   Subsequently, in the process when transmitting the next packet B of the packet A to the receiving device 200A, the control unit 11 adds the transmission time error of the previous packet A to the header of the next packet B (S41). Therefore, when the next packet B is transmitted, the transmission time error of the previous packet A is transmitted to the receiving apparatus 200A. This process is executed in the same way in the process of transmitting the packet B to the other receiving apparatuses 200B and 200C.

図10は、受信装置200の再生遅延時間補正処理を示すフローチャートである。パケット受信部23AがパケットBを受信すると(S51でYES)、パケット解析部23Bは、パケットBのヘッダから前のパケットAの送信時刻誤差を取得する(S52)。チャンク生成部23Cは、メモリ22に保存されているパケットAの再生遅延時間TdelayからパケットAの送信時刻誤差を減算し、パケットAの再生遅延時間Tdelayを補正する。   FIG. 10 is a flowchart showing the reproduction delay time correction process of the receiving apparatus 200. When the packet receiver 23A receives the packet B (YES in S51), the packet analyzer 23B acquires the transmission time error of the previous packet A from the header of the packet B (S52). The chunk generation unit 23C corrects the reproduction delay time Tdelay of the packet A by subtracting the transmission time error of the packet A from the reproduction delay time Tdelay of the packet A stored in the memory 22.

以上の処理によって、送信バッファ17からネットワークインターフェース13にパケットが送信されたときから、実際にネットワークインターフェース13から受信装置200にパケットが送信されるまでの時間が、受信装置200側においてのちに、再生遅延時間Tdelayから減算されることによって、各受信装置200のパケットの再生開始時刻を一致させることができる。   Through the above processing, the time from when the packet is transmitted from the transmission buffer 17 to the network interface 13 until when the packet is actually transmitted from the network interface 13 to the reception device 200 is reproduced after the reception device 200 side. By subtracting from the delay time Tdelay, it is possible to match the reproduction start times of the packets of the respective receiving apparatuses 200.

以上、本発明の好ましい実施形態を説明したが、本発明はこれらの実施形態には限定されない。本発明の送信装置100、受信装置200を動作させるためのコンピュータプログラムまたはそのコンピュータプログラムを記録した記録媒体という形態で提供されてもよい。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment. The present invention may be provided in the form of a computer program for operating the transmission device 100 and the reception device 200 of the present invention or a recording medium recording the computer program.

本発明は送信装置と受信装置とを備えるコンテンツ再生システムに好適に適用され得る。   The present invention can be suitably applied to a content reproduction system including a transmission device and a reception device.

100 送信装置
11 制御部
12 メモリ
13 ネットワークインターフェース
14 受信バッファ
15 デコーダ
16 パケット化部
17 送信バッファ
200 受信装置
21 制御部
22 メモリ
23 受信処理部
23A パケット受信部
23B パケット解析部
23C チャンク生成部
23D キュー操作部
24 キュー管理部
24A キュー
25 再生処理部
25A チャンク処理部
25B 音声出力部
300 サーバ
DESCRIPTION OF SYMBOLS 100 Transmission apparatus 11 Control part 12 Memory 13 Network interface 14 Reception buffer 15 Decoder 16 Packetization part 17 Transmission buffer 200 Reception apparatus 21 Control part 22 Memory 23 Reception processing part 23A Packet reception part 23B Packet analysis part 23C Chunk generation part 23D Queue operation Section 24 Queue management section 24A Queue 25 Playback processing section 25A Chunk processing section 25B Audio output section 300 Server

Claims (7)

送信装置と、前記送信装置とネットワーク経由で接続可能な複数の受信装置とを備え、
前記送信装置が、前記各受信装置に対して、順番に、同じコンテンツの同じ再生位置のコンテンツデータを送信する送信部と、
基準時刻と、前記受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出する時刻差情報算出部と、
送信するコンテンツデータに、算出された時刻差情報を付加する時刻差情報付加部とを有し、
前記各受信装置が、
前記送信装置からコンテンツデータを受信する受信部と、
受信したコンテンツデータを再生する再生部と、
コンテンツデータを受信した受信時刻を特定する受信時刻特定部と、
所定の遅延時間から、受信したコンテンツデータに付加されている前記時刻差情報を減算し、再生遅延時間を算出する再生遅延時間算出部と、
前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる再生制御部とを有する、コンテンツ再生システム。
A transmitter, and a plurality of receivers connectable to the transmitter via a network,
The transmitting device transmits, in order to each receiving device, content data at the same reproduction position of the same content;
A time difference information calculation unit that calculates time difference information that is a difference between a reference time and a transmission time at which content data is transmitted to the receiving device;
A time difference information adding unit for adding the calculated time difference information to the content data to be transmitted;
Each of the receiving devices is
A receiving unit for receiving content data from the transmitting device;
A playback unit for playing back the received content data;
A reception time specifying unit for specifying the reception time when the content data is received;
A reproduction delay time calculating unit for calculating a reproduction delay time by subtracting the time difference information added to the received content data from a predetermined delay time;
A playback control unit that waits for playback of the content data from the reception time until the playback delay time elapses and causes the playback unit to play back the content data when the playback delay time elapses from the reception time; Playback system.
前記送信装置が、
送信するコンテンツデータに識別情報を付加する識別情報付加部と、
所定条件を満足したときに、前記識別情報を変更する識別情報変更部とをさらに有し、
前記受信装置が、
受信したコンテンツデータに付加されている識別情報が、1つ前に受信したコンテンツデータに付加されている識別情報から変更されているか否かを判断する識別情報変更判断部をさらに有し、
識別情報が変更されていると判断された場合、前記再生制御部が、前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる、請求項1に記載のコンテンツ再生システム。
The transmitting device is
An identification information adding unit for adding identification information to the content data to be transmitted;
An identification information changing unit that changes the identification information when a predetermined condition is satisfied;
The receiving device is
An identification information change determination unit for determining whether or not the identification information added to the received content data is changed from the identification information added to the content data received immediately before;
When it is determined that the identification information has been changed, the reproduction control unit waits for reproduction of the content data until the reproduction delay time elapses from the reception time, and when the reproduction delay time elapses from the reception time The content reproduction system according to claim 1, wherein the content data is reproduced by the reproduction unit.
前記送信装置が、
前記送信部が実際に前記受信装置にコンテンツデータを送信した実送信時刻と、前記送信時刻との差である送信時刻差を算出する送信時刻差算出部と、
算出された送信時刻差を次のコンテンツデータに付加する送信時刻差付加部とをさらに有し、
前記受信装置が、
次のコンテンツデータに付加されている送信時刻差を使用して、前のコンテンツデータの前記再生遅延時間を補正する再生遅延時間補正部をさらに有する、請求項1または2に記載のコンテンツ再生システム。
The transmitting device is
A transmission time difference calculating unit that calculates a transmission time difference that is a difference between the transmission time and the actual transmission time when the transmission unit actually transmits content data to the receiving device;
A transmission time difference adding unit for adding the calculated transmission time difference to the next content data;
The receiving device is
The content reproduction system according to claim 1, further comprising a reproduction delay time correction unit that corrects the reproduction delay time of the previous content data using a transmission time difference added to the next content data.
送信装置と、前記送信装置とネットワーク経由で接続可能な複数の受信装置とを備え、前記各受信装置が、前記送信装置からコンテンツデータを受信する受信部と、受信したコンテンツデータを再生する再生部と、コンテンツデータを受信した受信時刻を特定する受信時刻特定部と、所定の遅延時間から、受信したコンテンツデータに付加されている前記時刻差情報を減算し、再生遅延時間を算出する再生遅延時間算出部と、前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる再生制御部とを有する、コンテンツ再生システムにおける前記送信装置であって、
前記各受信装置に対して、順番に、同じコンテンツの同じ再生位置のコンテンツデータを送信する送信部と、
基準時刻と、前記受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出する時刻差情報算出部と、
送信するコンテンツデータに、算出された時刻差情報を付加する時刻差情報付加部とを有する、送信装置。
A transmission device, and a plurality of reception devices connectable to the transmission device via a network, each reception device receiving content data from the transmission device, and a reproduction unit reproducing the received content data A reception time specifying unit for specifying the reception time at which the content data is received, and a reproduction delay time for calculating a reproduction delay time by subtracting the time difference information added to the received content data from a predetermined delay time A calculation unit; a reproduction control unit that waits for reproduction of the content data until the reproduction delay time elapses from the reception time, and causes the reproduction unit to reproduce the content data when the reproduction delay time elapses from the reception time; The content transmission system in the transmission device, comprising:
A transmission unit that sequentially transmits content data of the same reproduction position of the same content to each of the receiving devices;
A time difference information calculation unit that calculates time difference information that is a difference between a reference time and a transmission time at which content data is transmitted to the receiving device;
A transmission apparatus comprising: a time difference information adding unit that adds the calculated time difference information to content data to be transmitted.
送信装置と、前記送信装置とネットワーク経由で接続可能な複数の受信装置とを備え、前記送信装置が、前記各受信装置に対して、順番に、同じコンテンツの同じ再生位置のコンテンツデータを送信する送信部と、基準時刻と、前記受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出する時刻差情報算出部と、送信するコンテンツデータに、算出された時刻差情報を付加する時刻差情報付加部とを有するコンテンツ再生システムにおける前記受信装置であって、
前記送信装置からコンテンツデータを受信する受信部と、
受信したコンテンツデータを再生する再生部と、
コンテンツデータを受信した受信時刻を特定する受信時刻特定部と、
所定の遅延時間から、受信したコンテンツデータに付加されている前記時刻差情報を減算し、再生遅延時間を算出する再生遅延時間算出部と、
前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる再生制御部とを有する、受信装置。
A transmission device, and a plurality of reception devices connectable to the transmission device via a network, wherein the transmission device sequentially transmits content data of the same reproduction position of the same content to each of the reception devices. A transmission unit, a time difference information calculation unit that calculates time difference information that is a difference between a reference time and a transmission time at which the content data is transmitted to the receiving device; and the calculated time difference information in the content data to be transmitted. A receiving device in a content reproduction system having a time difference information adding unit to be added,
A receiving unit for receiving content data from the transmitting device;
A playback unit for playing back the received content data;
A reception time specifying unit for specifying the reception time when the content data is received;
A reproduction delay time calculating unit for calculating a reproduction delay time by subtracting the time difference information added to the received content data from a predetermined delay time;
A reception control unit that waits for reproduction of the content data from the reception time until the reproduction delay time elapses, and causes the reproduction unit to reproduce the content data when the reproduction delay time elapses from the reception time; apparatus.
送信装置と、前記送信装置とネットワーク経由で接続可能な複数の受信装置とを備え、前記各受信装置が、前記送信装置からコンテンツデータを受信する受信部と、受信したコンテンツデータを再生する再生部と、コンテンツデータを受信した受信時刻を特定する受信時刻特定部と、所定の遅延時間から、受信したコンテンツデータに付加されている前記時刻差情報を減算し、再生遅延時間を算出する再生遅延時間算出部と、前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる再生制御部とを有する、コンテンツ再生システムにおける前記送信装置の動作プログラムであって、
前記各受信装置に対して、順番に、同じコンテンツの同じ再生位置のコンテンツデータを送信する送信ステップと、
基準時刻と、前記受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出する時刻差情報算出ステップと、
送信するコンテンツデータに、算出された時刻差情報を付加する時刻差情報付加ステップとを前記送信装置に実行させる送信装置の動作プログラム。
A transmission device, and a plurality of reception devices connectable to the transmission device via a network, each reception device receiving content data from the transmission device, and a reproduction unit reproducing the received content data A reception time specifying unit for specifying the reception time at which the content data is received, and a reproduction delay time for calculating a reproduction delay time by subtracting the time difference information added to the received content data from a predetermined delay time A calculation unit; a reproduction control unit that waits for reproduction of the content data until the reproduction delay time elapses from the reception time, and causes the reproduction unit to reproduce the content data when the reproduction delay time elapses from the reception time; An operation program for the transmission device in the content reproduction system,
A transmission step of sequentially transmitting content data of the same content at the same reproduction position to each of the receiving devices;
A time difference information calculating step for calculating time difference information that is a difference between a reference time and a transmission time for transmitting content data to the receiving device;
An operation program for a transmitting apparatus that causes the transmitting apparatus to execute a time difference information adding step of adding calculated time difference information to content data to be transmitted.
送信装置と、前記送信装置とネットワーク経由で接続可能な複数の受信装置とを備え、前記送信装置が、前記各受信装置に対して、順番に、同じコンテンツの同じ再生位置のコンテンツデータを送信する送信部と、基準時刻と、前記受信装置にコンテンツデータを送信する送信時刻との差である時刻差情報を算出する時刻差情報算出部と、送信するコンテンツデータに、算出された時刻差情報を付加する時刻差情報付加部とを有するコンテンツ再生システムにおける前記受信装置の動作プログラムであって、
前記送信装置からコンテンツデータを受信する受信ステップと、
受信したコンテンツデータを再生する再生ステップと、
コンテンツデータを受信した受信時刻を特定する受信時刻特定ステップと、
所定の遅延時間から、受信したコンテンツデータに付加されている前記時刻差情報を減算し、再生遅延時間を算出する再生遅延時間算出ステップと、
前記受信時刻から前記再生遅延時間経過するまで前記コンテンツデータの再生を待機し、前記受信時刻から前記再生遅延時間経過した時、前記再生部に前記コンテンツデータを再生させる再生制御ステップとを前記受信装置に実行させる、受信装置の動作プログラム。
A transmission device, and a plurality of reception devices connectable to the transmission device via a network, wherein the transmission device sequentially transmits content data of the same reproduction position of the same content to each of the reception devices. A transmission unit, a time difference information calculation unit that calculates time difference information that is a difference between a reference time and a transmission time at which the content data is transmitted to the receiving device; and the calculated time difference information in the content data to be transmitted. An operation program for the receiving device in a content reproduction system having a time difference information adding unit to be added,
A receiving step of receiving content data from the transmitting device;
A playback step of playing back the received content data;
A reception time specifying step for specifying the reception time when the content data is received;
A reproduction delay time calculating step of calculating a reproduction delay time by subtracting the time difference information added to the received content data from a predetermined delay time;
A reproduction control step of waiting for reproduction of the content data from the reception time until the reproduction delay time elapses, and causing the reproduction unit to reproduce the content data when the reproduction delay time elapses from the reception time; An operation program for the receiving apparatus to be executed by
JP2011267538A 2011-12-07 2011-12-07 Content reproduction system Pending JP2013121029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011267538A JP2013121029A (en) 2011-12-07 2011-12-07 Content reproduction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011267538A JP2013121029A (en) 2011-12-07 2011-12-07 Content reproduction system

Publications (1)

Publication Number Publication Date
JP2013121029A true JP2013121029A (en) 2013-06-17

Family

ID=48773492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011267538A Pending JP2013121029A (en) 2011-12-07 2011-12-07 Content reproduction system

Country Status (1)

Country Link
JP (1) JP2013121029A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015174069A1 (en) * 2014-05-14 2015-11-19 日本電気株式会社 Communication system, receiving-side device, transmission-side device and communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015174069A1 (en) * 2014-05-14 2015-11-19 日本電気株式会社 Communication system, receiving-side device, transmission-side device and communication method
US10298508B2 (en) 2014-05-14 2019-05-21 Nec Corporation Communication system, receiving-side apparatus and transmission-side apparatus

Similar Documents

Publication Publication Date Title
JP7120997B2 (en) Multi-mode synchronous rendering of audio and video
JP6640359B2 (en) Wireless audio sync
JP4559050B2 (en) Synchronous playback of media data packets
DK3118855T3 (en) Method, device and system for synchronous audio playback
US10097874B2 (en) System and method for monitoring media stream buffers of media output devices in order to synchronize media content output
JP6290915B2 (en) Common event-based multi-device media playback
JP5525032B2 (en) Synchronization control system including main device and slave device and synchronization control method thereof
WO2013099122A1 (en) Apparatus and method for synchronized transmission of multimedia content over an asynchronous network
KR102132309B1 (en) Playback synchronization
US9363615B2 (en) Delay measurement apparatus and delay measurement method for network music session
JP6156145B2 (en) Content synchronization system, content synchronization control device, and content reproduction device
JP2005244605A (en) Streaming content distribution control system, program and recording medium storing the same
JP6410286B2 (en) Content synchronization system, content synchronization control device, and content reproduction device
US10925014B2 (en) Method and apparatus for synchronization in a network
JP4042396B2 (en) Data communication system, data transmission apparatus, data reception apparatus and method, and computer program
JP2013121029A (en) Content reproduction system
JP2006319851A (en) Portable terminal, streaming communication system, streaming communication method, and streaming communication program
JP4911238B2 (en) Packet communication system, packet communication method, transmission apparatus, and computer program
KR20190073058A (en) Method and apparatus of multichannel media synchronization based on MMT protocol
JP3906678B2 (en) Data communication system, data transmission apparatus, data reception apparatus and method, and computer program
JP2007274623A (en) Broadcast receiver, and broadcast receiving method
US10917465B2 (en) Synchronization setting device and distribution system
JP2019211638A (en) Processing device, output device, synchronization control system, and these control methods, as well as programs
JP2014127213A (en) Synchronous reproduction control device, and synchronous reproduction control method
JP2002354029A (en) System for transmitting/receiving data, method for data transmission and data reproduction and programs for data transmission and data reproduction