JP2017200068A - Reproduction system and control method for reproduction system - Google Patents

Reproduction system and control method for reproduction system Download PDF

Info

Publication number
JP2017200068A
JP2017200068A JP2016089872A JP2016089872A JP2017200068A JP 2017200068 A JP2017200068 A JP 2017200068A JP 2016089872 A JP2016089872 A JP 2016089872A JP 2016089872 A JP2016089872 A JP 2016089872A JP 2017200068 A JP2017200068 A JP 2017200068A
Authority
JP
Japan
Prior art keywords
playback
reproduction
counter value
command
instruction
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.)
Granted
Application number
JP2016089872A
Other languages
Japanese (ja)
Other versions
JP6572487B2 (en
Inventor
暢一 片桐
Yoichi Katagiri
暢一 片桐
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.)
Silex Technology Inc
Original Assignee
Silex Technology Inc
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 Silex Technology Inc filed Critical Silex Technology Inc
Priority to JP2016089872A priority Critical patent/JP6572487B2/en
Publication of JP2017200068A publication Critical patent/JP2017200068A/en
Application granted granted Critical
Publication of JP6572487B2 publication Critical patent/JP6572487B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To securely perform reproduction of a content using a reproduction device while synchronously reproducing contents using a plurality of reproduction devices.SOLUTION: A synchronization device comprises a command transmission unit 214 for repeatedly transmitting a reproduction start command at predetermined intervals, the reproduction start command being a command including a start counter value showing reproduction start time at which reproduction of a content is made to start. Each of a plurality of reproduction devices 20 comprises: a holding unit 217 capable of holding one reproduction start command; a counter management unit 213 for increasing a counter value in synchronization with another reproduction device 20 of the plurality of reproduction devices 20; a command reception unit 215 that receives a reproduction start command transmitted by a command transmission unit 214 and, every time the reproduction start command is received, makes the holding unit 217 hold the received reproduction start command; and a reproduction control unit 218 that when the counter value of the counter management unit 213 is equal to or larger than a start counter value included in the reproduction start command held by the holding unit 217, starts reproduction of a content according to the reproduction start command including the start counter value.SELECTED DRAWING: Figure 3

Description

本発明は、再生システム、及び、再生システムの制御方法に関する。   The present invention relates to a playback system and a playback system control method.

動画等を含むコンテンツを再生する再生装置がある。再生装置は、当該再生装置内の記憶装置に記憶している、又は、ネットワーク経由で受信する画像データに基づいて動画等を再生する。また、上記の再生装置が複数設置され、それぞれの再生装置が同一のコンテンツを再生することがある。複数の再生装置により同一のコンテンツが再生されていることで、ユーザの視聴効果をより高くすることができる。   There are playback devices that play back content including moving images. The playback device plays back a moving image or the like based on image data stored in a storage device in the playback device or received via a network. In addition, a plurality of the above playback devices may be installed, and each playback device may play back the same content. Since the same content is played by a plurality of playback devices, the viewing effect of the user can be enhanced.

特許文献1は、コンテンツを送信する側の装置(親機)と、コンテンツを受信する側の装置(子機)とで、コンテンツの再生タイミングを同期させる技術を開示する。   Patent Document 1 discloses a technique for synchronizing content reproduction timing between a content transmitting device (master device) and a content receiving device (slave device).

特許第5418003号公報Japanese Patent No. 5418033

しかしながら、特許文献1が開示する技術では、複数の再生装置のそれぞれのハードウェア的な個体差などにより再生タイミングが揃わないことがあり、ユーザの視聴効果の向上が望めない。また、再生装置の不具合又は障害などが生じた場合に、再生装置に再生指示が届かない又は再生指示が消失したことにより、再生装置による再生が適切になされない可能性がある。   However, with the technique disclosed in Patent Document 1, the reproduction timing may not be uniform due to individual differences in hardware among the plurality of reproduction apparatuses, and thus it is not possible to improve the viewing effect of the user. Further, when a malfunction or failure of the playback device occurs, there is a possibility that playback by the playback device may not be performed properly because the playback instruction does not reach the playback device or the playback instruction disappears.

本発明は、上記問題を解決するためになされたものであり、複数の再生装置によりコンテンツを同期して再生しながら、再生装置によるコンテンツの再生をより確実に行う再生システム等を提供することを目的とする。   The present invention has been made to solve the above-described problem, and provides a reproduction system and the like that more reliably reproduces content by a reproduction device while reproducing the content synchronously by a plurality of reproduction devices. Objective.

上記課題を解決するために、本発明の一態様に係る再生システムは、同期装置と複数の再生装置とを備える再生システムであって、前記同期装置は、前記複数の再生装置にコンテンツの再生を開始させる命令であって、前記再生を開始させる再生開始時刻を示す開始カウンタ値を含む命令である再生開始命令を、予め定められた時間を空けて繰り返し送信する命令送信部を備え、前記複数の再生装置のそれぞれは、一の再生開始命令を保持し得る保持部と、前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させるカウンタ管理部と、前記命令送信部が送信した前記再生開始命令を受信し、受信するたびに、受信した前記再生開始命令を前記保持部に保持させる命令受信部と、前記カウンタ管理部のカウンタ値が、前記保持部が保持している前記再生開始命令に含まれる前記開始カウンタ値以上になると、前記開始カウンタ値を含む前記再生開始命令に従ってコンテンツの再生を開始する再生制御部とを備える。   In order to solve the above problems, a playback system according to an aspect of the present invention is a playback system including a synchronization device and a plurality of playback devices, and the synchronization device plays back content to the plurality of playback devices. A command transmission unit that repeatedly transmits a playback start command that is a command to start and includes a start counter value indicating a playback start time to start the playback at a predetermined time; Each of the playback devices includes a holding unit that can hold one playback start command, a counter management unit that increases a counter value in synchronization with another playback device of the plurality of playback devices, and the command transmission unit. Each time the received reproduction start command is received and received, a command receiving unit for holding the received reproduction start command in the holding unit, and a counter value of the counter management unit are stored in the holding unit. It becomes equal to or larger than said start counter value included in the playback start instruction section is holding, and a reproduction control section for starting playback of content in accordance with the reproduction start command including the start counter value.

これによれば、同期装置が繰り返し再生開始命令を送信し、この送信された再生開始命令を再生装置それぞれが受信する。再生装置は、一度受信した再生開始命令を不具合又は障害等により消失することがある。再生開始命令を消失すると、消失した再生開始命令に従ってコンテンツを再生することはできない。そこで、再生装置が同期装置から繰り返し再生開始命令を受信することで、一度受信した再生開始命令が仮に消失したとしても、その後に受信する再生開始命令に従ってコンテンツの再生を行うことができる。よって、本発明の一態様に係る再生システムにおいて、複数の再生装置によりコンテンツを同期して再生しながら、再生装置によるコンテンツの再生をより確実に行うことができる。   According to this, the synchronization device repeatedly transmits a reproduction start command, and each reproduction device receives the transmitted reproduction start command. The playback device may lose the playback start command received once due to a malfunction or failure. If the playback start command is lost, the content cannot be played back according to the lost playback start command. Therefore, when the playback device repeatedly receives a playback start command from the synchronization device, even if the playback start command once received disappears, the content can be played back according to the playback start command received thereafter. Thus, in the playback system according to one embodiment of the present invention, the content can be more reliably played back by the playback device while the content is played back synchronously by a plurality of playback devices.

また、前記命令送信部は、(a)前記再生開始命令を、所定の複数回だけ送信し、(b)前記所定の複数回の送信を、前記所定の複数回の送信に要する時間より長い周期で繰り返し行ってもよい。   Further, the command transmission unit (a) transmits the reproduction start command only a predetermined number of times, and (b) a period longer than the time required for the predetermined number of times of transmission. May be repeated.

これによれば、比較的簡易な制御により、再生開始命令の複数回の送信を実現することができる。   According to this, it is possible to realize the transmission of the reproduction start command a plurality of times by relatively simple control.

また、前記命令送信部が送信する前記再生開始命令は、前記複数の再生装置すべてに対してコンテンツの再生をさせる再生開始命令であり、前記命令送信部は、前記再生開始命令をブロードキャスト送信することで、前記複数の再生装置それぞれの前記命令受信部に受信させてもよい。   Further, the playback start command transmitted by the command transmission unit is a playback start command that causes all of the plurality of playback devices to play back the content, and the command transmission unit broadcasts the playback start command. Thus, the command receiving unit of each of the plurality of playback devices may receive the data.

これによれば、複数の再生装置すべてに対して送信する再生開始命令により、複数の再生装置すべてが実質的に同時にコンテンツを再生することができる。   According to this, all of the plurality of playback devices can play back the content substantially simultaneously by the playback start command transmitted to all of the plurality of playback devices.

また、前記同期装置は、さらに、任意の端末から前記再生指示を受信する指示処理部を備え、前記命令送信部は、さらに、前記カウンタ管理部が管理している前記カウンタ値から、所定時間長に相当する分だけ進めたカウンタ値を、前記指示処理部が受信した前記再生指示に含めることで前記再生開始命令を生成してもよい。   The synchronization device further includes an instruction processing unit that receives the reproduction instruction from an arbitrary terminal, and the command transmission unit further includes a predetermined time length from the counter value managed by the counter management unit. The reproduction start instruction may be generated by including a counter value advanced by an amount corresponding to the above in the reproduction instruction received by the instruction processing unit.

これによれば、端末が送信する送信指示に基づいて、複数の再生装置にコンテンツの再生を行わせることができる。再生指示及び再生開始命令は、複数の再生装置の間で通信によりやりとりされるので、すべての再生装置に行き渡るまでに若干の時間を要する。そこで、同期装置が、すべての再生装置に再生開始命令が行き渡るのに要する時間を考慮してカウンタ値を定めることで、複数の再生装置すべてが実質的に同時に同一のコンテンツを再生することができる。   According to this, it is possible to cause a plurality of playback devices to play back content based on a transmission instruction transmitted by the terminal. Since the playback instruction and the playback start command are exchanged between a plurality of playback devices, it takes some time to reach all the playback devices. Therefore, the synchronization device determines the counter value in consideration of the time required for the reproduction start command to reach all the reproduction devices, so that all of the plurality of reproduction devices can reproduce the same content substantially simultaneously. .

また、前記端末が送信した前記再生指示の宛先が、前記複数の再生装置のうち同期装置と異なる一の再生装置である場合には、前記一の再生装置の前記指示処理部は、前記再生指示を受信し、受信した前記再生指示を所定の複数回だけブロードキャスト送信し、前記同期装置の前記指示処理部は、前記一の再生装置の前記指示処理部が送信した前記再生指示を受信すると、受信通知を、前記一の再生装置に送信し、前記一の再生装置の前記指示処理部は、前記所定の複数回のブロードキャスト送信の最中に前記受信通知を受信すると、前記所定の複数回のブロードキャスト送信を中止してもよい。   When the destination of the playback instruction transmitted by the terminal is one playback device different from the synchronization device among the plurality of playback devices, the instruction processing unit of the one playback device And the received instruction to broadcast is transmitted only a predetermined number of times, and the instruction processing unit of the synchronization device receives the reproduction instruction transmitted by the instruction processing unit of the one reproducing device. The notification is transmitted to the one playback device, and the instruction processing unit of the one playback device receives the reception notification during the predetermined multiple broadcast transmissions, and then performs the predetermined multiple broadcasts. Transmission may be canceled.

これによれば、再生装置は、再生開始命令を同期装置が受信したことを確認した上で、所定回数のブロードキャスト送信を中止することができる。同期装置が再生指示を受信したことにより、それ以降の送信が不要となるからである。不要なパケット送信を控えることで、通信量を削減することができる利点もある。   According to this, the playback device can cancel the broadcast transmission a predetermined number of times after confirming that the synchronization device has received the playback start command. This is because the subsequent transmission becomes unnecessary when the synchronization device receives the reproduction instruction. There is also an advantage that the amount of communication can be reduced by refraining from unnecessary packet transmission.

また、前記同期装置は、さらに、所定の時間間隔でカウンタ値を増加させるカウンタ管理部を備え、前記命令送信部は、さらに、前記カウンタ管理部の前記カウンタ値を同期用カウンタ値として含む同期情報を繰り返し送信し、前記複数の再生装置それぞれの前記カウンタ管理部は、当該再生装置の前記命令受信部が前記同期情報を受信すると、受信した前記同期情報に含まれる前記同期用カウンタ値を前記カウンタ管理部に設定することで、前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させてもよい。   The synchronization device further includes a counter management unit that increments a counter value at a predetermined time interval, and the command transmission unit further includes synchronization information including the counter value of the counter management unit as a synchronization counter value. The counter management unit of each of the plurality of playback devices receives the synchronization information from the received synchronization information when the command reception unit of the playback device receives the synchronization information. By setting in the management unit, the counter value may be increased in synchronization with another playback device among the plurality of playback devices.

これによれば、同期装置のカウンタ値をすべての再生装置に提供することで、比較的簡易な制御により、すべての再生装置のカウンタ値を同期させることができる。   According to this, by providing the counter value of the synchronization device to all the playback devices, the counter values of all the playback devices can be synchronized by a relatively simple control.

また、前記複数の再生装置のうちの前記同期装置と異なる再生装置が、新たな同期装置となった場合には、前記命令受信部は、(a)前記新たな同期装置から受信した同期情報に含まれる同期用カウンタ値を前記カウンタ管理部に設定することで、前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させ、(b)前記設定の前後における前記カウンタ管理部のカウンタ値の変化量の分だけ、前記保持部が保持している前記再生開始命令に含まれる前記開始カウンタ値を変化させてもよい。   Further, when a playback device different from the synchronization device among the plurality of playback devices becomes a new synchronization device, the command reception unit (a) adds the synchronization information received from the new synchronization device to the synchronization information. By setting the counter value for synchronization included in the counter management unit, the counter value is increased in synchronization with other playback devices of the plurality of playback devices, and (b) the counter management before and after the setting The start counter value included in the reproduction start command held by the holding unit may be changed by the amount of change in the counter value of the unit.

これによれば、新たな同期装置と同期した際にカウンタ値が修正されたにも関わらず開始カウンタ値が修正されないことにより、コンテンツの再生開始タイミングが不適切になることを、未然に防ぐことができる。   According to this, it is possible to prevent inadequate playback start timing of content by not correcting the start counter value even though the counter value is corrected when synchronized with a new synchronization device. Can do.

また、本発明の一態様に係る再生システムの制御方法は、同期装置と複数の再生装置とを備える再生システムの制御方法であって、前記複数の再生装置のそれぞれは、一の再生開始命令を保持し得る保持部を備え、前記制御方法は、前記同期装置により、前記複数の再生装置にコンテンツの再生を開始させる命令であって、前記再生を開始させる再生開始時刻を示す開始カウンタ値を含む命令である再生開始命令を、予め定められた時間を空けて繰り返し送信する命令送信ステップと、前記複数の再生装置のそれぞれにより、前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させるカウンタ管理ステップと、前記命令送信ステップで送信した前記再生開始命令を受信し、受信するたびに、受信した前記再生開始命令を前記保持部に保持させる命令受信ステップと、前記カウンタ値が、前記保持部が保持している前記再生開始命令に含まれる前記開始カウンタ値以上になると、前記開始カウンタ値を含む前記再生開始命令に従ってコンテンツの再生を開始する再生制御ステップとを含む。   A playback system control method according to an aspect of the present invention is a playback system control method including a synchronization device and a plurality of playback devices, each of the playback devices receiving a playback start command. The control method includes a start counter value indicating a playback start time at which the plurality of playback devices start playback of content by the synchronization device and start playback. A command transmission step of repeatedly transmitting a playback start command as a command after a predetermined time, and a counter synchronized with another playback device among the plurality of playback devices by each of the plurality of playback devices The counter management step for incrementing the value and the reproduction start command transmitted in the command transmission step are received. A command receiving step to be held in a holding unit, and when the counter value is equal to or greater than the start counter value included in the reproduction start command held in the holding unit, the content is in accordance with the reproduction start command including the start counter value A playback control step of starting playback of the video.

これによれば、上記の再生システムと同様の効果を奏する。   According to this, the same effect as the above reproduction system can be obtained.

本発明にかかる再生システム等は、複数の再生装置によりコンテンツを同期して再生しながら、再生装置によるコンテンツの再生をより確実に行うことができる。   The reproduction system and the like according to the present invention can more reliably reproduce content by the reproduction device while reproducing the content synchronously by a plurality of reproduction devices.

図1は、実施の形態に係る再生システムのネットワーク構成図である。FIG. 1 is a network configuration diagram of a playback system according to an embodiment. 図2は、実施の形態に係る再生装置のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of the playback apparatus according to the embodiment. 図3は、実施の形態に係る再生装置の機能構成を示すブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of the playback apparatus according to the embodiment. 図4は、実施の形態に係る再生指示を含む通信パケットの説明図である。FIG. 4 is an explanatory diagram of a communication packet including a reproduction instruction according to the embodiment. 図5は、実施の形態に係る再生開始命令を含む通信パケットの説明図である。FIG. 5 is an explanatory diagram of a communication packet including a reproduction start command according to the embodiment. 図6は、実施の形態に係る同期情報を含む通信パケットの説明図である。FIG. 6 is an explanatory diagram of a communication packet including synchronization information according to the embodiment. 図7は、実施の形態に係る再生装置による再生開始命令及び同期情報の送信処理を示すフロー図である。FIG. 7 is a flowchart showing a reproduction start command and synchronization information transmission process by the reproduction apparatus according to the embodiment. 図8は、実施の形態に係る再生装置によるコンテンツの再生処理を示すフロー図である。FIG. 8 is a flowchart showing content reproduction processing by the reproduction apparatus according to the embodiment. 図9は、実施の形態に係る再生システムにおける再生開始命令及び同期情報の通信を示すシーケンス図である。FIG. 9 is a sequence diagram illustrating communication of a reproduction start command and synchronization information in the reproduction system according to the embodiment. 図10は、実施の形態に係る再生装置による再生指示及び再生開始命令の送受信処理を示すフロー図である。FIG. 10 is a flowchart showing transmission / reception processing of a playback instruction and a playback start command by the playback device according to the embodiment. 図11は、実施の形態に係る再生装置による再生指示及び再生開始命令のやりとりを示す第一のシーケンス図である。FIG. 11 is a first sequence diagram illustrating exchange of a playback instruction and a playback start command by the playback device according to the embodiment. 図12は、実施の形態に係る再生装置による再生指示及び再生開始命令のやりとりを示す第二のシーケンス図である。FIG. 12 is a second sequence diagram illustrating exchange of a playback instruction and a playback start command by the playback device according to the embodiment. 図13は、実施の形態に係る再生装置による再生指示及び再生開始命令のやりとりを示す第三のシーケンス図である。FIG. 13 is a third sequence diagram illustrating exchange of a playback instruction and a playback start command by the playback device according to the embodiment. 図14は、実施の形態に係る再生装置による再生指示及び再生開始命令のやりとりを示す第四のシーケンス図である。FIG. 14 is a fourth sequence diagram illustrating exchange of a playback instruction and a playback start command by the playback device according to the embodiment. 図15は、実施の形態に係る再生装置による再生指示及び再生開始命令のやりとりを示す第五のシーケンス図である。FIG. 15 is a fifth sequence diagram illustrating exchange of a playback instruction and a playback start command by the playback device according to the embodiment. 図16は、実施の形態に係る再生装置における同期の際の開始カウンタ値の修正処理を示すシーケンス図である。FIG. 16 is a sequence diagram illustrating a start counter value correction process at the time of synchronization in the playback apparatus according to the embodiment. 図17は、実施の形態に係る再生装置における同期の際の開始カウンタ値の修正処理を示すフロー図である。FIG. 17 is a flowchart showing a start counter value correction process at the time of synchronization in the playback apparatus according to the embodiment.

以下、実施の形態について、図面を参照しながら具体的に説明する。   Hereinafter, embodiments will be specifically described with reference to the drawings.

以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、より好ましい形態を構成する任意の構成要素として説明される。なお、同一の構成要素には同一の符号を付し、説明を省略する場合がある。   Each of the embodiments described below shows a preferred specific example of the present invention. The numerical values, shapes, materials, constituent elements, arrangement positions and connecting forms of the constituent elements, steps, order of steps, and the like shown in the following embodiments are merely examples, and are not intended to limit the present invention. In addition, among the constituent elements in the following embodiments, constituent elements that are not described in the independent claims indicating the highest concept of the present invention are described as optional constituent elements that constitute a more preferable embodiment. In addition, the same code | symbol is attached | subjected to the same component and description may be abbreviate | omitted.

(実施の形態)
本実施の形態において、複数の再生装置によりコンテンツを同期して再生しながら、再生装置によるコンテンツの再生をより確実に行う再生装置及び再生システム等について説明する。
(Embodiment)
In the present embodiment, a description will be given of a playback device, a playback system, and the like that perform playback of content by a playback device more reliably while content is played back synchronously by a plurality of playback devices.

図1は、本実施の形態に係る再生システム1の構成図である。   FIG. 1 is a configuration diagram of a reproduction system 1 according to the present embodiment.

図1に示されるように、再生システム1は、端末10と、再生装置20A、20B及び20Cと、表示装置25A、25B及び25Cとを備える。なお、再生装置20A、20B及び20Cのことを再生装置20A等ともいい、また、再生装置20A、20B及び20Cそれぞれのことを再生装置20ともいう。同様に、表示装置25A、25B及び25Cのことを表示装置25A等ともいい、また、表示装置25A、25B及び25Cそれぞれのことを表示装置25ともいう。再生システム1は、端末10が送信する命令に従って再生装置20A等によりコンテンツを再生するシステムである。ここでいうコンテンツとは、有限の再生時間長を有する動画コンテンツであり、例えば、1分程度以内の再生時間長を有するコマーシャルメッセージ、数十分程度の再生時間長を有する映像番組、及び、数時間の再生時間長を有する映画などを含む。   As shown in FIG. 1, the playback system 1 includes a terminal 10, playback devices 20A, 20B, and 20C, and display devices 25A, 25B, and 25C. Note that the playback devices 20A, 20B, and 20C are also referred to as playback devices 20A, and the playback devices 20A, 20B, and 20C are also referred to as playback devices 20. Similarly, the display devices 25A, 25B, and 25C are also referred to as display devices 25A, and the display devices 25A, 25B, and 25C are also referred to as display devices 25. The playback system 1 is a system for playing back content using the playback device 20A or the like in accordance with a command transmitted by the terminal 10. The content here is a moving image content having a finite playback time length, for example, a commercial message having a playback time length of about 1 minute, a video program having a playback time length of about several tens of minutes, and a number Includes a movie having a duration of time.

また、端末10と再生装置20A等とは、LAN30を介して相互に通信可能に接続されている。なお、LAN30は、例えば、IEEE802.3規格等に適合する有線LAN、又は、IEEE802.11a、b、g、n規格等に適合する無線LAN、若しくは、これらが接続されたネットワークにより実現され得る。   The terminal 10 and the playback device 20A are connected to each other via the LAN 30 so that they can communicate with each other. The LAN 30 can be realized by, for example, a wired LAN that conforms to the IEEE 802.3 standard, a wireless LAN that conforms to the IEEE 802.11a, b, g, n standard, or a network to which these are connected.

端末10は、再生装置20A等に対してコンテンツの再生をさせるための指示である再生指示を送信する任意の通信端末装置である。端末10は、ユーザ等による操作に基づいてコンテンツの再生をさせるための命令を含む通信パケット(以降、単に「パケット」ともいう)を生成し、生成したパケットをLAN30を通じて再生装置20A等に送信する。なお、再生指示は、再生装置20A等が全体として1つのコンテンツを再生するための指示(全体指示ともいう)と、再生装置20A等のうちの1つ又は2つ以上の再生装置20だけにコンテンツを再生するための命令(個別指示ともいう)とを含んでもよい。端末10は、例えば、PC(Personal Computer)、スマートフォン又はタブレット等である。   The terminal 10 is an arbitrary communication terminal device that transmits a reproduction instruction, which is an instruction for reproducing the content to the reproduction device 20A and the like. The terminal 10 generates a communication packet (hereinafter simply referred to as “packet”) including a command for reproducing the content based on an operation by the user or the like, and transmits the generated packet to the reproducing device 20A or the like through the LAN 30. . Note that the playback instruction includes an instruction for the playback device 20A and the like to play back one piece of content as a whole (also referred to as an overall instruction), and content only to one or more playback devices 20 of the playback device 20A and the like. May include a command (also referred to as an individual instruction). The terminal 10 is, for example, a PC (Personal Computer), a smartphone, or a tablet.

再生装置20A等は、端末10から送信されるパケットを受信し、受信したパケットに含まれる再生指示に基づいてコンテンツの再生を開始する。再生装置20A等が再生するコンテンツは、再生装置20A等に接続された表示装置25A等に表示される。   The playback device 20A or the like receives the packet transmitted from the terminal 10, and starts playback of the content based on the playback instruction included in the received packet. The content played back by the playback device 20A or the like is displayed on the display device 25A or the like connected to the playback device 20A or the like.

再生装置20A等は、互いに同期してコンテンツを再生することでユーザによる視聴効果を高めることが要求される。コンテンツは、複数のフレームにより構成されており、複数のフレームそれぞれには、当該フレームが再生されるべき時刻を示すカウンタ値(再生カウンタ値ともいう)が対応付けられている。再生装置20A等は、後述する同期方法により、互いに同期してカウンタ値が加算されるカウンタを有しており、このカウンタを参照しながら再生カウンタ値を用いて同期してコンテンツを再生する。   The playback device 20A and the like are required to enhance the viewing effect by the user by playing back content in synchronization with each other. The content is composed of a plurality of frames, and each of the plurality of frames is associated with a counter value (also referred to as a reproduction counter value) indicating the time at which the frame is to be reproduced. The playback device 20A and the like have counters to which counter values are added in synchronization with each other by a synchronization method to be described later, and playback content in synchronization using the playback counter value while referring to the counter.

図2は、本実施の形態に係る再生装置20のハードウェア構成を示すブロック図である。   FIG. 2 is a block diagram showing a hardware configuration of the playback device 20 according to the present embodiment.

図2に示されるように、再生装置20は、CPU(Central Processing Unit)201と、メインメモリ202と、NIC(Network Interface Card)203と、HT(Hardware Timer)204と、再生部205と、ストレージ206とを備える。上記各構成要素は、再生装置20内部のバスにより相互に接続されている。   As shown in FIG. 2, the playback device 20 includes a CPU (Central Processing Unit) 201, a main memory 202, a NIC (Network Interface Card) 203, an HT (Hardware Timer) 204, a playback unit 205, a storage unit 205, and a storage unit 205. 206. The above components are connected to each other by a bus inside the playback device 20.

CPU201は、メインメモリ202又はストレージ206に格納された制御プログラムを実行するプロセッサである。再生装置20が実行する処理は、CPU201が制御プログラムを実行することで実現され得る。   The CPU 201 is a processor that executes a control program stored in the main memory 202 or the storage 206. The processing executed by the playback device 20 can be realized by the CPU 201 executing a control program.

メインメモリ202は、CPU201が制御プログラムを実行するときに使用するワークエリアとして用いられる揮発性の記憶領域である。   The main memory 202 is a volatile storage area used as a work area used when the CPU 201 executes a control program.

NIC203は、LAN30へパケットを送受信する通信インタフェースである。なお、NIC203は、LAN30の通信規格に適合する通信規格のインタフェースである。   The NIC 203 is a communication interface that transmits and receives packets to and from the LAN 30. The NIC 203 is a communication standard interface that conforms to the communication standard of the LAN 30.

HT204は、所定の時間間隔でカウンタ値を増加させるカウンタである。上記所定の時間間隔は、設計上、時間経過とともに変化しないものであるが、現実には、時間経過及びハードウェア的な個体差によって若干の変動があり得る。HT204がカウンタ値を増加させる時間間隔は、例えば、90000分の1秒(90kHz)である。   The HT 204 is a counter that increases the counter value at a predetermined time interval. The predetermined time interval does not change with the passage of time by design, but in reality, there may be some variation due to the passage of time and individual differences in hardware. The time interval at which the HT 204 increases the counter value is, for example, 1/90000 (90 kHz).

再生部205は、コンテンツを再生する処理部である。具体的には、再生部205は、ストレージ206に記憶されているコンテンツのデータに基づいて、出力すべき画像の信号データを生成し、生成した信号データを垂直同期信号に同期させて表示装置25に出力する。   The playback unit 205 is a processing unit that plays back content. Specifically, the playback unit 205 generates signal data of an image to be output based on content data stored in the storage 206, and synchronizes the generated signal data with a vertical synchronization signal to display the display device 25. Output to.

ストレージ206は、動画等を含むコンテンツのデータを記憶している不揮発性の記憶装置である。上記コンテンツは、複数の静止画から構成されるもの又は動画(互いに関連する静止画の集合)である。上記コンテンツにおいて、各フレームの相対的な再生時刻がカウンタ値を用いて定められている。なお、ストレージ206は、例えばHDD(Hard Disk Drive)、又は、SSD(Solid State Drive)等である。   The storage 206 is a non-volatile storage device that stores content data including moving images. The content is composed of a plurality of still images or a moving image (a set of still images related to each other). In the above content, the relative playback time of each frame is determined using a counter value. The storage 206 is, for example, an HDD (Hard Disk Drive) or an SSD (Solid State Drive).

図3は、本実施の形態に係る再生装置20の機能構成を示すブロック図である。   FIG. 3 is a block diagram showing a functional configuration of the playback device 20 according to the present embodiment.

図3に示されるように、再生装置20は、指示処理部211と、モード管理部212と、カウンタ管理部213と、命令送信部214と、命令受信部215と、コンテンツ取得部216と、保持部217と、再生制御部218とを備える。   As shown in FIG. 3, the playback apparatus 20 includes an instruction processing unit 211, a mode management unit 212, a counter management unit 213, a command transmission unit 214, a command reception unit 215, a content acquisition unit 216, and a holding unit. Unit 217 and a reproduction control unit 218.

指示処理部211は、端末10が送信した再生指示を受信して処理する処理部である。ここで、再生指示とは、端末10が送信する、再生装置20にコンテンツを再生させる指示のことであり、コンテンツを再生させる再生装置20を示す識別子、及び、コンテンツの識別子を含む。再生指示は、パケットに含められてLAN30を通じて送信されることもあるし、LAN30と異なる通信規格(例えばUSB(Universal Serial Bus)規格)による通信により送信されることもある。なお、再生指示は、端末10により送信された後に再生装置20により転送されたものであることもある。   The instruction processing unit 211 is a processing unit that receives and processes the reproduction instruction transmitted by the terminal 10. Here, the reproduction instruction is an instruction transmitted by the terminal 10 to cause the reproduction device 20 to reproduce the content, and includes an identifier indicating the reproduction device 20 that reproduces the content, and an identifier of the content. The reproduction instruction may be included in the packet and transmitted through the LAN 30, or may be transmitted by communication according to a communication standard different from the LAN 30 (for example, USB (Universal Serial Bus) standard). The playback instruction may be transmitted by the playback device 20 after being transmitted by the terminal 10.

指示処理部211は、上記パケットを受信すると、モード管理部212が管理している動作モードに応じて、受信したパケットを処理する。具体的には、指示処理部211は、動作モードがマスタモードであるときには、上記パケットに含まれている再生指示を命令送信部214及び保持部217に提供する。また、指示処理部211は、動作モードがスレーブモードであるときには、再生システム1内の再生装置20等の状態に応じて、上記パケットに含まれている再生指示を、他の再生装置20に送信したり、保持部217に提供したり、破棄したりする。指示処理部211が再生指示をどのように取り扱うかについては後で詳しく説明する。指示処理部211は、CPU201及びNIC203等により実現され得る。   When the instruction processing unit 211 receives the packet, the instruction processing unit 211 processes the received packet in accordance with the operation mode managed by the mode management unit 212. Specifically, the instruction processing unit 211 provides the instruction transmission unit 214 and the holding unit 217 with the reproduction instruction included in the packet when the operation mode is the master mode. In addition, when the operation mode is the slave mode, the instruction processing unit 211 transmits a reproduction instruction included in the packet to another reproduction device 20 according to the state of the reproduction device 20 or the like in the reproduction system 1. Or provided to the holding unit 217 or discarded. How the instruction processing unit 211 handles the reproduction instruction will be described in detail later. The instruction processing unit 211 can be realized by the CPU 201, the NIC 203, and the like.

モード管理部212は、自装置である再生装置20の動作モード、及び、再生システム1内の他の再生装置20の動作モードを管理している処理部である。ここで、動作モードとは、1つの再生装置20について、マスタモードとスレーブモードとのいずれかをとり得る。マスタモードで動作する再生装置20(以降、単に「マスタ」ともいう)は、コンテンツの再生に用いるカウンタ値の基準となる装置であり、スレーブモードで動作する再生装置20(以降、単に「スレーブ」ともいう)は、自装置のカウンタ値をマスタのカウンタ値に合わせることでマスタと同期をとる装置である。モード管理部212は、動作モードを示す情報(以降、「管理情報」ともいう)を保有しており、管理情報(動作モード)に基づいて再生装置20内の一部の機能(図3の枠F内の機能)を有効にするか、又は、無効にするかを制御する。具体的には、マスタモードのときには命令送信部214を有効にし、命令受信部215を無効にする。一方、スレーブモードのときには命令送信部214を無効にし、命令受信部215を有効にする。モード管理部212は、CPU201等により実現され得る。   The mode management unit 212 is a processing unit that manages the operation mode of the playback device 20 that is the device itself and the operation mode of other playback devices 20 in the playback system 1. Here, the operation mode can take either the master mode or the slave mode for one playback device 20. The playback device 20 that operates in the master mode (hereinafter also simply referred to as “master”) is a device that serves as a reference for the counter value used for content playback, and the playback device 20 that operates in the slave mode (hereinafter simply “slave”). Is also a device that synchronizes with the master by matching its own counter value with the master counter value. The mode management unit 212 holds information indicating the operation mode (hereinafter also referred to as “management information”), and a part of functions in the playback device 20 (the frame in FIG. 3) based on the management information (operation mode). The function in F) is controlled to be enabled or disabled. Specifically, in the master mode, the command transmission unit 214 is enabled and the command reception unit 215 is disabled. On the other hand, in the slave mode, the command transmission unit 214 is disabled and the command reception unit 215 is enabled. The mode management unit 212 can be realized by the CPU 201 or the like.

モード管理部212は、他の再生装置20との間でパケットをやりとりすることで、再生システム1内で1つの再生装置20だけがマスタとして動作し、その他の再生装置20がスレーブとして動作するように制御する。また、モード管理部212は、上記パケットのやりとりにより、再生システム1内の再生装置20それぞれの動作モードを把握する。なお、再生システム1内にはマスタが1つだけ存在するのが原則であるが、マスタの動作の不具合、又は、通信状況の不具合により例外的に、再生システム1内に一時的にマスタが存在しない状態になることもある。モード管理部212は、再生システム1内にマスタが少なくとも一台存在するか、又は、一台も存在しないかについても把握する。   The mode management unit 212 exchanges packets with other playback devices 20 so that only one playback device 20 operates as a master and other playback devices 20 operate as slaves in the playback system 1. To control. Further, the mode management unit 212 grasps each operation mode of the playback device 20 in the playback system 1 by exchanging the packets. In principle, there is only one master in the playback system 1, but there is a temporary master in the playback system 1 exceptionally due to a malfunction of the master or a malfunction of the communication status. It may be in a state that does not. The mode management unit 212 also grasps whether there is at least one master in the playback system 1 or whether there is no master.

カウンタ管理部213は、所定の時間間隔で増加するカウンタ値を管理する処理部である。所定の時間間隔は、例えば、90000分の1秒(90kHz)である。カウンタ管理部213は、命令送信部214によりカウンタ値を読み出されることがあり、また、命令受信部215によりカウンタ値を設定(変更)されることがある。カウンタ管理部213が管理している現時点におけるカウンタ値のことを現在カウンタ値ともいう。カウンタ管理部213は、HT204などにより実現される。   The counter management unit 213 is a processing unit that manages a counter value that increases at a predetermined time interval. The predetermined time interval is, for example, 1/90000 (90 kHz). In the counter management unit 213, the counter value may be read by the command transmission unit 214, and the counter value may be set (changed) by the command reception unit 215. The current counter value managed by the counter management unit 213 is also referred to as a current counter value. The counter management unit 213 is realized by the HT 204 or the like.

命令送信部214は、再生装置20がマスタとして動作しているときに、コンテンツの再生開始命令を生成し、繰り返し送信する処理部である。ここで、再生開始命令は、コンテンツの再生を開始させる命令のことであり、コンテンツを再生させる再生装置20を示す識別子、コンテンツの再生を開始させるタイミングを示す開始カウンタ値、及び、コンテンツの識別子を含む。以降では、コンテンツを再生させる再生装置20がすべての再生装置20である場合を例として説明する。この場合、再生開始命令はすべての再生装置20に対してブロードキャスト送信される。命令送信部214は、CPU201及びNIC203等により実現され得る。   The command transmission unit 214 is a processing unit that generates and repeatedly transmits a content playback start command when the playback device 20 operates as a master. Here, the playback start command is a command to start playback of content, and includes an identifier indicating the playback device 20 that plays back the content, a start counter value that indicates when to start playback of the content, and an identifier of the content. Including. Hereinafter, a case where the playback devices 20 that play back content are all the playback devices 20 will be described as an example. In this case, the playback start command is broadcast to all the playback devices 20. The command transmission unit 214 can be realized by the CPU 201, the NIC 203, and the like.

また、命令送信部214は、カウンタ管理部213が管理しているカウンタ値を同期用カウンタ値として、他の再生装置20に送信する。命令送信部214がカウンタ値を他の再生装置20つまりスレーブに送信することで、マスタのカウンタ値をスレーブに提供し、すべてのスレーブのカウンタ値をマスタのカウンタ値に同期させる。   Further, the command transmission unit 214 transmits the counter value managed by the counter management unit 213 to the other playback device 20 as a synchronization counter value. The command transmission unit 214 transmits the counter value to the other reproducing apparatus 20, that is, the slave, thereby providing the master counter value to the slave and synchronizing the counter values of all the slaves with the master counter value.

命令送信部214は、同期用カウンタ値の送信のために、同期用カウンタ値を含む再生開始命令を繰り返し送信する。例えば、命令送信部214は、(a)再生開始命令を、所定の複数回(例えば3回)だけ送信し、(b)上記所定の複数回の送信を、上記所定の複数回の送信に要する時間より長い周期で繰り返し行う。   The command transmission unit 214 repeatedly transmits a reproduction start command including the synchronization counter value in order to transmit the synchronization counter value. For example, the command transmission unit 214 (a) transmits a reproduction start command only a predetermined number of times (for example, three times), and (b) the predetermined number of times of transmission is required for the predetermined number of times of transmission. Repeat with a period longer than time.

命令受信部215は、再生装置20がスレーブとして動作しているときに、マスタが送信した再生開始命令を受信し、受信するたびに、受信した再生開始命令を保持部217に保持させる処理部である。また、命令受信部215は、マスタが送信する同期用カウンタ値を受信してカウンタ管理部213のカウンタとして設定する。命令受信部215がマスタからカウンタ値を受信することで、スレーブのカウンタ値をマスタのカウンタ値に同期させる。命令受信部215は、CPU201及びNIC203等により実現され得る。   The command receiving unit 215 is a processing unit that receives a playback start command transmitted from the master when the playback device 20 is operating as a slave, and causes the holding unit 217 to hold the received playback start command each time it is received. is there. The instruction receiving unit 215 receives the synchronization counter value transmitted from the master and sets it as a counter of the counter management unit 213. When the instruction receiving unit 215 receives the counter value from the master, the slave counter value is synchronized with the master counter value. The command receiving unit 215 can be realized by the CPU 201, the NIC 203, and the like.

コンテンツ取得部216は、再生装置20が再生すべきコンテンツを取得する処理部である。コンテンツ取得部216がどこから、どのようなタイミングでコンテンツを取得するかは限定しない。例えば、コンテンツ取得部216は、再生装置20が自ら備えるストレージ206からコンテンツを取得してもよいし、再生装置20に接続される記憶媒体からコンテンツを取得してもよいし、LAN30を介して他の装置から取得してもよい。また、コンテンツ取得部216は、予め(工場出荷時などに)コンテンツが格納されていてもよいし、コンテンツ再生前にLAN30を通じて受信してもよい。コンテンツ取得部216は、CPU201、NIC203及びストレージ206などにより実現される。   The content acquisition unit 216 is a processing unit that acquires content to be played back by the playback device 20. There is no limitation on where the content acquisition unit 216 acquires content and at what timing. For example, the content acquisition unit 216 may acquire content from the storage 206 provided in the playback device 20, may acquire content from a storage medium connected to the playback device 20, or may be other via the LAN 30. You may acquire from the apparatus of. The content acquisition unit 216 may store content in advance (at the time of factory shipment or the like) or may receive the content through the LAN 30 before reproducing the content. The content acquisition unit 216 is realized by the CPU 201, the NIC 203, the storage 206, and the like.

保持部217は、再生指示又は再生開始命令を保持する保持部である。保持部217は、メインメモリ202又はストレージ206により実現される。   The holding unit 217 is a holding unit that holds a reproduction instruction or a reproduction start command. The holding unit 217 is realized by the main memory 202 or the storage 206.

再生制御部218は、保持部217が保持している再生指示又は再生開始命令に従ってコンテンツを再生する処理部である。具体的には、再生制御部218は、カウンタ管理部213のカウンタ値を監視しており、このカウンタ値が保持部217に保持されている再生開始命令に含まれる開始カウンタ値以上になると、当該開始カウンタ値を含む再生開始命令に従ってコンテンツの再生を開始する。なお、保持部217に再生指示が保持されている場合には、時刻に依存せずに、再生指示に従ってコンテンツの再生を開始してもよい。再生指示には開始カウンタ値が含まれておらず、再生開始のタイミングが指定されないからである。再生制御部218は、CPU201及び再生部205等により実現される。   The playback control unit 218 is a processing unit that plays back content in accordance with a playback instruction or playback start command held by the holding unit 217. Specifically, the playback control unit 218 monitors the counter value of the counter management unit 213, and when this counter value becomes equal to or greater than the start counter value included in the playback start command held in the holding unit 217, The reproduction of the content is started in accordance with the reproduction start command including the start counter value. Note that, when the reproduction instruction is held in the holding unit 217, the reproduction of the content may be started according to the reproduction instruction without depending on the time. This is because the reproduction instruction does not include a start counter value, and the reproduction start timing is not specified. The reproduction control unit 218 is realized by the CPU 201, the reproduction unit 205, and the like.

次に、上記の再生指示、再生開始命令及び同期情報のそれぞれを含むパケットについて説明する。   Next, a packet including each of the above reproduction instruction, reproduction start command, and synchronization information will be described.

図4は、本実施の形態に係る再生指示を含むパケットの説明図である。図4に示されるパケットは、端末10が再生装置20に対して送信する、再生指示300を含むパケットである。   FIG. 4 is an explanatory diagram of a packet including a reproduction instruction according to the present embodiment. The packet illustrated in FIG. 4 is a packet including a reproduction instruction 300 that the terminal 10 transmits to the reproduction apparatus 20.

図4に示されるように、再生指示300を含むパケットは、命令種別302、再生装置識別子304、及び、コンテンツ識別子306の各フィールドを含む。   As shown in FIG. 4, the packet including the playback instruction 300 includes fields of an instruction type 302, a playback device identifier 304, and a content identifier 306.

命令種別302は、再生指示300が全体命令であるのか、又は、個別命令であるのかを示すフィールドである。   The instruction type 302 is a field indicating whether the reproduction instruction 300 is an entire instruction or an individual instruction.

再生装置識別子304は、再生指示300によりコンテンツを再生させる対象である再生装置20の識別子を示すフィールドである。命令種別302が全体命令である場合、再生装置識別子304には、全ての再生装置20を意味する識別子が格納される。また、命令種別302が個別命令である場合、再生装置識別子304には、コンテンツを再生させる再生装置20の識別子(例えば、IP(Internet Protocol)アドレス、又は、MAC(Media Access Control)アドレス)が格納される。なお、命令種別302が個別命令である場合、コンテンツを再生させる対象は、再生システム1が備える複数の再生装置20のうちの一部の1台以上の再生装置20である。なお、上記における「一部」とは、「全部」を含まない概念である。   The playback device identifier 304 is a field that indicates an identifier of the playback device 20 that is a target for playing back content according to the playback instruction 300. When the command type 302 is an entire command, the playback device identifier 304 stores an identifier that means all the playback devices 20. When the command type 302 is an individual command, the playback device identifier 304 stores an identifier of the playback device 20 that plays back content (for example, an IP (Internet Protocol) address or a MAC (Media Access Control) address). Is done. When the command type 302 is an individual command, the content is to be played back on one or more of the playback devices 20 included in the playback system 1. The “part” in the above is a concept that does not include “all”.

コンテンツ識別子306は、再生指示300により再生装置20に再生させるコンテンツの識別子を示すフィールドである。再生指示300を取得した再生装置20は、コンテンツ識別子306により示されるコンテンツの再生を開始する。   The content identifier 306 is a field indicating the identifier of the content that is to be played back by the playback device 20 in accordance with the playback instruction 300. The playback device 20 that has received the playback instruction 300 starts playback of the content indicated by the content identifier 306.

図5は、本実施の形態に係る再生開始命令310を含むパケットの説明図である。図5に示されるパケットは、マスタがスレーブに対して送信する、再生開始命令310を含むパケットである。   FIG. 5 is an explanatory diagram of a packet including a reproduction start command 310 according to the present embodiment. The packet shown in FIG. 5 is a packet including a reproduction start command 310 transmitted from the master to the slave.

図5に示されるように、再生開始命令310を含むパケットは、命令種別312、再生装置識別子314、開始カウンタ値316、及び、コンテンツ識別子318の各フィールドを含む。命令種別312、再生装置識別子314、及び、コンテンツ識別子318の各フィールドは、再生指示300における同名のフィールドと同じであるので説明を省略する。   As shown in FIG. 5, the packet including the playback start command 310 includes fields of command type 312, playback device identifier 314, start counter value 316, and content identifier 318. Since the fields of the command type 312, the playback device identifier 314, and the content identifier 318 are the same as the fields having the same name in the playback instruction 300, description thereof is omitted.

開始カウンタ値316は、再生開始命令310によりコンテンツを再生させる対象である再生装置20が当該コンテンツの再生を開始するときのカウンタ値を示すフィールドである。開始カウンタ値316は、マスタにより決定されて再生開始命令310に格納される。マスタは、例えば、現在カウンタ値から所定時間長に相当するカウンタ値だけ進めた(加算した)カウンタ値を開始カウンタ値316として決定する。上記所定時間は、すべてのスレーブに再生開始命令310が行き渡るのに要する時間を考慮して定められてよく、例えば、500msecと定められる。開始カウンタ値316は、スレーブによるコンテンツの再生開始タイミングの決定に用いられる。   The start counter value 316 is a field that indicates a counter value when the playback device 20 that is a target of playback of content by the playback start command 310 starts playback of the content. The start counter value 316 is determined by the master and stored in the reproduction start instruction 310. For example, the master determines a counter value advanced (added) by a counter value corresponding to a predetermined time length from the current counter value as the start counter value 316. The predetermined time may be determined in consideration of the time required for the reproduction start command 310 to reach all the slaves, and is set to 500 msec, for example. The start counter value 316 is used to determine the content reproduction start timing by the slave.

図6は、本実施の形態に係る同期情報320を含むパケットの説明図である。図6に示されるパケットは、マスタがスレーブに対して繰り返し送信する、再生装置20相互間におけるカウンタ値の同期のためのパケットである。   FIG. 6 is an explanatory diagram of a packet including the synchronization information 320 according to the present embodiment. The packet shown in FIG. 6 is a packet for synchronizing counter values between the playback devices 20 that the master repeatedly transmits to the slave.

図6に示されるように、同期情報320を含むパケットは、同期用カウンタ値322のフィールドと、図5で示した再生開始命令310とを含む。   As shown in FIG. 6, the packet including the synchronization information 320 includes the field of the synchronization counter value 322 and the reproduction start command 310 shown in FIG.

同期用カウンタ値322は、マスタのカウンタ値を示すフィールドである。同期用カウンタ値322は、このパケットを生成したときのマスタの現在カウンタ値が記載されたものであり、このパケットを受信したスレーブは、受信したパケットに含まれる同期用カウンタ値322を自装置のカウンタ管理部213に設定する。   The synchronization counter value 322 is a field indicating a master counter value. The counter value 322 for synchronization describes the current counter value of the master when this packet is generated, and the slave that has received this packet changes the counter value 322 for synchronization included in the received packet to its own device. Set in the counter management unit 213.

再生開始命令310は、図5に示される再生開始命令310である。   The reproduction start command 310 is the reproduction start command 310 shown in FIG.

以上のように構成された再生システム1及び再生装置20の動作について以降で詳細に説明する。   The operations of the playback system 1 and the playback device 20 configured as described above will be described in detail below.

図7は、本実施の形態に係る再生装置20による再生開始命令及び同期情報の送信処理を示すフロー図である。図7に示される送信処理は、端末10が送信した再生指示300をマスタ(より具体的にはマスタの指示処理部211)が受信した後に、マスタにより実行される処理である。   FIG. 7 is a flowchart showing a reproduction start command and synchronization information transmission process by the reproduction apparatus 20 according to the present embodiment. The transmission process shown in FIG. 7 is a process executed by the master after the reproduction instruction 300 transmitted by the terminal 10 is received by the master (more specifically, the master instruction processing unit 211).

ステップS101において、命令送信部214は、スレーブに対する再生開始命令310を生成して送信する。この再生開始命令310は、指示処理部211が受信した再生指示300の各フィールドの情報を含み、また、カウンタ管理部213が管理しているカウンタ値を同期用カウンタ値322として含むものである。命令送信部214は、再生開始命令310を所定の複数回(例えば3回)だけ、ブロードキャスト送信する。   In step S101, the command transmission unit 214 generates and transmits a playback start command 310 to the slave. The reproduction start instruction 310 includes information on each field of the reproduction instruction 300 received by the instruction processing unit 211, and includes a counter value managed by the counter management unit 213 as a synchronization counter value 322. The command transmission unit 214 broadcasts the reproduction start command 310 a predetermined number of times (for example, three times).

ステップS102において、命令送信部214は、以降で説明するステップS103からS105までの繰り返し処理(ループA)を開始する。この繰り返し処理により、命令送信部214による再生開始命令の繰り返し送信が継続的に行われる。   In step S102, the command transmission unit 214 starts an iterative process (loop A) from steps S103 to S105 described below. By this repeated processing, the command transmission unit 214 continuously transmits the reproduction start command.

ステップS103において、命令送信部214は、再生開始命令310を含む同期情報320をブロードキャスト送信する。同期情報320が含んでいる再生開始命令310は、ステップS101で送信されたものと同じである。命令送信部214は、同期情報320を所定の複数回(例えば3回)だけ、ブロードキャスト送信する。   In step S103, the command transmission unit 214 broadcasts the synchronization information 320 including the reproduction start command 310. The reproduction start command 310 included in the synchronization information 320 is the same as that transmitted in step S101. The command transmission unit 214 broadcasts the synchronization information 320 only a predetermined number of times (for example, three times).

ステップS104において、命令送信部214は、ステップS103の同期情報320の送信から所定時間が経過したか否かを判定する。所定時間が経過した場合(ステップS104でYes)にはステップS105に進み、そうでない場合(ステップS104でNo)にはステップS104を再び実行する。つまり、再生装置20は、同期情報320の送信後に所定時間が経過するまでステップS104で待機する。   In step S104, the command transmission unit 214 determines whether or not a predetermined time has elapsed since the transmission of the synchronization information 320 in step S103. If the predetermined time has elapsed (Yes in step S104), the process proceeds to step S105. If not (No in step S104), step S104 is executed again. That is, the playback device 20 stands by in step S104 until a predetermined time has elapsed after transmission of the synchronization information 320.

ステップS105において、再生装置20は、ループA内の最初の処理を再び実行することで、ループAの処理を繰り返す。   In step S105, the reproducing device 20 repeats the process of loop A by executing the first process in loop A again.

次に、再生装置20(マスタ及びスレーブ)によるコンテンツの再生処理について説明する。   Next, content playback processing by the playback device 20 (master and slave) will be described.

図8は、本実施の形態に係る再生装置20によるコンテンツの再生処理を示すフロー図である。   FIG. 8 is a flowchart showing content reproduction processing by the reproduction apparatus 20 according to the present embodiment.

ステップS121において、再生制御部218は、カウンタ管理部213が管理しているカウンタ値(現在カウンタ値)が、保持部217が保持している再生開始命令に含まれる開始カウンタ値以上であるか否かを判定する。現在カウンタ値が開始カウンタ値以上である場合(ステップS121でYes)にはステップS122に進み、そうでない場合(ステップS121でNo)にはステップS121を再び実行する。つまり、現在カウンタ値が開始カウンタ値以上になるまでステップS121で待機する。   In step S121, the reproduction control unit 218 determines whether or not the counter value (current counter value) managed by the counter management unit 213 is equal to or larger than the start counter value included in the reproduction start instruction held by the holding unit 217. Determine whether. If the current counter value is greater than or equal to the start counter value (Yes in step S121), the process proceeds to step S122. If not (No in step S121), step S121 is executed again. That is, it waits in step S121 until the current counter value becomes equal to or greater than the start counter value.

ステップS122において、再生制御部218は、保持部217が保持している再生開始命令に含まれるコンテンツ識別子により示されるコンテンツの再生を開始する。   In step S122, the playback control unit 218 starts playback of the content indicated by the content identifier included in the playback start command held by the holding unit 217.

図9は、本実施の形態に係る再生システム1における再生開始命令及び同期情報の通信を示すシーケンス図である。図9には、図7及び図8に示される送信処理及び再生処理の際の、端末10、マスタ及びスレーブの間の通信及び処理が示されている。   FIG. 9 is a sequence diagram showing communication of a reproduction start command and synchronization information in the reproduction system 1 according to the present embodiment. FIG. 9 illustrates communication and processing between the terminal 10, the master, and the slave during the transmission processing and reproduction processing illustrated in FIGS.

マスタは、端末10から再生指示を含むパケットを受信すると、再生開始命令をスレーブにブロードキャストで送信する(ステップS101)。その後、マスタは、同期情報を繰り返し送信する(ループA)。   When the master receives a packet including a reproduction instruction from the terminal 10, it transmits a reproduction start command to the slave by broadcast (step S101). Thereafter, the master repeatedly transmits synchronization information (loop A).

そして、再生装置20(マスタ及びスレーブ)は、現在カウンタ値が開始カウンタ値以上になると再生開始命令に含まれるコンテンツ識別子で示されるコンテンツの再生を開始する。マスタとスレーブとの間でカウンタ値の同期がとれているので、マスタとスレーブとは、同時にコンテンツの再生を行うことができる。なお、保持部217が再生指示を保持している場合には、再生開始のタイミング、つまり開始カウンタ値の指定がないので、コンテンツの再生タイミングが揃わないこともある。   Then, the playback device 20 (master and slave) starts playback of the content indicated by the content identifier included in the playback start command when the current counter value becomes greater than or equal to the start counter value. Since the counter values are synchronized between the master and the slave, the master and the slave can play back the content at the same time. When the holding unit 217 holds the reproduction instruction, the reproduction start timing, that is, the start counter value is not specified, and therefore the content reproduction timing may not be aligned.

このように、マスタが再生開始命令を含む同期情報を繰り返し送信することにより、スレーブの装置障害等によるスレーブの再起動があった場合にも、スレーブによるコンテンツの再生の開始を、より確実に実現させることができる利点がある。仮にマスタによる再生開始命令がステップS101によるものだけであるとすれば、上記再起動によりスレーブの保持部217が保持する再生開始命令が消去され(揮発し)、再起動後にコンテンツの再生を開始することができない。そこで、マスタが上記のように再生開始命令を含む同期情報を繰り返し送信することで、スレーブは、この繰り返し送信される同期情報により再起動後に再生開始命令を取得し、コンテンツの再生をすることができる。   In this way, the master repeatedly transmits synchronization information including a playback start command, so that even if the slave is restarted due to a slave device failure, the slave can start playback of content more reliably. There are advantages that can be made. If the reproduction start command by the master is only in step S101, the reproduction start command held by the slave holding unit 217 is erased (volatilized) by the restart, and the content playback is started after the restart. I can't. Therefore, when the master repeatedly transmits the synchronization information including the playback start command as described above, the slave may acquire the playback start command after restarting by using the repeatedly transmitted synchronization information and play the content. it can.

次に、端末10により再生指示が送信された後の再生装置20による再生指示及び再生開始命令の送受信処理について説明する。   Next, transmission / reception processing of a reproduction instruction and a reproduction start command by the reproduction device 20 after the reproduction instruction is transmitted by the terminal 10 will be described.

図10は、本実施の形態に係る再生装置20による再生指示及び再生開始命令の送受信処理を示すフロー図である。この一連の処理は、端末10が再生指示を送信してから、各スレーブが再生指示又は再生開始命令を受信するまでの間になされる処理であり、端末10が送信した再生指示をマスタ及びスレーブが以下のように取得および転送することにより実現するものである。   FIG. 10 is a flowchart showing the transmission / reception processing of the playback instruction and the playback start command by the playback device 20 according to the present embodiment. This series of processes is a process performed after the terminal 10 transmits a reproduction instruction until each slave receives a reproduction instruction or a reproduction start command. The reproduction instruction transmitted by the terminal 10 is a master and a slave. Is realized by acquiring and transferring as follows.

ステップS201において、指示処理部211は、端末10からの再生指示を受信する。   In step S <b> 201, the instruction processing unit 211 receives a reproduction instruction from the terminal 10.

ステップS202において、モード管理部212は、保有している管理情報に基づいて、再生システム1内にマスタが存在するか否かを判定する。原則的には再生システム1内に1台のマスタが存在するが、例外的に、再生システム1内に一時的にマスタが存在しない状態になることもある。再生システム1内にマスタが存在すると判定した場合(ステップS202でYes)にはステップS203に進み、再生システム1内にマスタが存在しないと判定した場合(ステップS202でNo)にはステップS231に進む。   In step S202, the mode management unit 212 determines whether or not a master exists in the playback system 1 based on the management information held. In principle, there is one master in the playback system 1, but there is an exception that there may be a temporary absence of the master in the playback system 1. If it is determined that there is a master in the reproduction system 1 (Yes in step S202), the process proceeds to step S203. If it is determined that there is no master in the reproduction system 1 (No in step S202), the process proceeds to step S231. .

ステップS203において、モード管理部212は、保有している管理情報に基づいて、自装置がマスタであるか否かを判定する。自装置がマスタである場合(ステップS203でYes)にはステップS204に進み、そうでない場合(ステップS203でNo)にはステップS211に進む。   In step S203, the mode management unit 212 determines whether or not the own device is a master, based on the management information held. If the device itself is the master (Yes in step S203), the process proceeds to step S204. If not (No in step S203), the process proceeds to step S211.

ステップS204において、マスタの指示処理部211は、ステップS201で受信した再生指示を保持部217に格納して保持させる。   In step S204, the master instruction processing unit 211 stores and holds the reproduction instruction received in step S201 in the holding unit 217.

ステップS205において、マスタの命令送信部214は、開始カウンタ値を含む再生開始命令を生成し、生成した再生開始命令を保持部217に格納して保持させる。   In step S205, the master command transmission unit 214 generates a playback start command including the start counter value, and stores the generated playback start command in the holding unit 217 to hold it.

ステップS206において、マスタの命令送信部214は、ステップS205で生成した再生開始命令をブロードキャスト送信することで全てのスレーブに受信させる。その後、図10に示された一連の処理を終了する。   In step S206, the master command transmission unit 214 broadcasts the reproduction start command generated in step S205 to be received by all slaves. Thereafter, the series of processing shown in FIG.

ステップS211において、スレーブの指示処理部211は、受信した再生指示の宛先がブロードキャストであったか否かを判定する。上記宛先がブロードキャストであったか否かは、受信した再生指示を含むパケットの宛先アドレスフィールドがブロードキャストアドレスであったか否かに基づいて判断され得る。上記宛先がブロードキャストであったと判定した場合(ステップS211でYes)にはステップS212に進み、そうでない場合(ステップS211でNo)にはステップS221に進む。   In step S211, the slave instruction processing unit 211 determines whether or not the destination of the received reproduction instruction is broadcast. Whether or not the destination is a broadcast can be determined based on whether or not the destination address field of the received packet including the reproduction instruction is a broadcast address. If it is determined that the destination is broadcast (Yes in step S211), the process proceeds to step S212. If not (No in step S211), the process proceeds to step S221.

ステップS212において、スレーブの指示処理部211は、受信した再生指示を破棄する。この場合、受信した再生指示は、他の再生装置20にも受信されており、他の再生装置20に送信等する必要がないからである。その後、図10に示された一連の処理を終了する。   In step S212, the slave instruction processing unit 211 discards the received reproduction instruction. In this case, the received playback instruction is also received by the other playback device 20 and need not be transmitted to the other playback device 20. Thereafter, the series of processing shown in FIG.

ステップS221において、スレーブの指示処理部211は、受信した再生指示をブロードキャスト送信することで転送し、マスタ及び他のスレーブに受信させる。このとき、スレーブは、再生指示を所定の複数回(例えば3回)だけブロードキャスト送信するようにしてもよい。その後、図10に示された一連の処理を終了する。   In step S221, the slave instruction processing unit 211 transfers the received reproduction instruction by broadcast transmission, and causes the master and other slaves to receive the reproduction instruction. At this time, the slave may broadcast the reproduction instruction only a predetermined number of times (for example, three times). Thereafter, the series of processing shown in FIG.

ステップS231において、スレーブの指示処理部211は、受信した再生指示を保持部217に格納して保持させる。   In step S231, the slave instruction processing unit 211 stores the received reproduction instruction in the holding unit 217 and holds it.

ステップS232において、スレーブの指示処理部211は、受信した再生指示の宛先がブロードキャストアドレスであったか否かを判定する。上記宛先がブロードキャストであったと判定した場合(ステップS232でYes)には図10に示された一連の処理を終了し、そうでない場合(ステップS232でNo)にはステップS233に進む。   In step S232, the slave instruction processing unit 211 determines whether or not the destination of the received reproduction instruction is a broadcast address. If it is determined that the destination is a broadcast (Yes in step S232), the series of processes shown in FIG. 10 is terminated. If not (No in step S232), the process proceeds to step S233.

ステップS233において、スレーブの指示処理部211は、受信した再生指示をブロードキャスト送信することで転送し、他のスレーブに受信させる。その後、図10に示された一連の処理を終了する。   In step S233, the slave instruction processing unit 211 transmits the received reproduction instruction by broadcast transmission, and causes other slaves to receive the reproduction instruction. Thereafter, the series of processing shown in FIG.

以上の一連の処理により、端末10が送信した再生指示に基づく再生開始命令がすべての再生装置20に受信される。   Through the series of processes described above, the playback start command based on the playback instruction transmitted by the terminal 10 is received by all the playback devices 20.

次に、再生システム1内の各再生装置20が図10に示される処理を行うことでなされる再生指示及び再生開始命令のやりとりについて図11〜図15を参照しながら具体的に説明する。   Next, the exchange of a reproduction instruction and a reproduction start command that are performed when each reproduction device 20 in the reproduction system 1 performs the processing shown in FIG. 10 will be specifically described with reference to FIGS.

図11は、本実施の形態に係る再生装置20による再生指示及び再生開始命令のやりとりを示す第一のシーケンス図である。このシーケンス図では、再生装置20Aがマスタであり、再生装置20B及び20Cがスレーブであり、端末10が再生指示をブロードキャスト送信した場合を説明する。   FIG. 11 is a first sequence diagram showing exchange of a playback instruction and a playback start command by the playback device 20 according to the present embodiment. This sequence diagram describes a case where the playback device 20A is a master, the playback devices 20B and 20C are slaves, and the terminal 10 broadcasts a playback instruction.

端末10が再生指示をブロードキャスト送信すると、マスタがこの再生指示を取得し保持するとともに(ステップS204)、スレーブがこの再生指示を破棄する(ステップS212)。その後、マスタは、開始カウンタ値を含む再生開始命令をブロードキャスト送信することでスレーブに受信させ保持させる(ステップS206)。   When the terminal 10 broadcasts a reproduction instruction, the master acquires and holds the reproduction instruction (step S204), and the slave discards the reproduction instruction (step S212). Thereafter, the master broadcasts and transmits the reproduction start command including the start counter value to be received and held by the slave (step S206).

これにより、すべての再生装置20の保持部217が再生開始命令を保持する。その後、現在カウンタ値が開始カウンタ値以上になると、再生制御部218がコンテンツの再生を開始することで、複数の再生装置20がコンテンツを同期して再生開始することができる。   As a result, the holding unit 217 of all the playback devices 20 holds the playback start command. Thereafter, when the current counter value becomes equal to or greater than the start counter value, the playback control unit 218 starts playback of the content, so that the plurality of playback devices 20 can start playback of the content in synchronization.

図12は、本実施の形態に係る再生装置20による再生指示及び再生開始命令のやりとりを示す第二のシーケンス図である。このシーケンス図では、再生装置20Aがマスタであり、再生装置20B及び20Cがスレーブであり、端末10が再生指示をマスタにユニキャスト送信した場合を説明する。   FIG. 12 is a second sequence diagram showing exchange of a playback instruction and a playback start command by the playback device 20 according to the present embodiment. In this sequence diagram, a case will be described in which the playback device 20A is a master, the playback devices 20B and 20C are slaves, and the terminal 10 unicasts a playback instruction to the master.

端末10が再生指示をユニキャスト送信すると、その宛先であるマスタがこの再生指示を取得し保持する(ステップS204)。スレーブには、この再生指示は受信されない。その後、マスタは、開始カウンタ値を含む再生開始命令をブロードキャスト送信することでスレーブに受信させ保持させる(ステップS206)。   When the terminal 10 unicasts a playback instruction, the master that is the destination acquires and holds the playback instruction (step S204). The slave does not receive this playback instruction. Thereafter, the master broadcasts and transmits the reproduction start command including the start counter value to be received and held by the slave (step S206).

これにより、すべての再生装置20の保持部217が再生開始命令を保持し、その後、複数の再生装置20がコンテンツを同期して再生開始することができる。   As a result, the holding units 217 of all the playback devices 20 hold the playback start command, and thereafter, the plurality of playback devices 20 can start playback of content in synchronization.

図13は、本実施の形態に係る再生装置20による再生指示及び再生開始命令のやりとりを示す第三のシーケンス図である。このシーケンス図では、再生装置20Aがマスタであり、再生装置20B及び20Cがスレーブであり、端末10が再生指示をスレーブである再生装置20Cにユニキャスト送信した場合を説明する。   FIG. 13 is a third sequence diagram showing exchange of a playback instruction and a playback start command by the playback device 20 according to the present embodiment. In this sequence diagram, a case where the playback device 20A is a master, the playback devices 20B and 20C are slaves, and the terminal 10 transmits a playback instruction to the playback device 20C as a slave will be described.

端末10が再生指示をユニキャスト送信すると、その宛先である、スレーブ(再生装置20C)が再生指示をブロードキャスト送信することで転送する(ステップS221)。転送された再生指示を、マスタが受信し保持する(ステップS204)。その後、マスタは、開始カウンタ値を含む再生開始命令をブロードキャスト送信することでスレーブに受信させ保持させる(ステップS206)。   When the terminal 10 unicasts the reproduction instruction, the slave (reproduction device 20C) that is the destination transmits the reproduction instruction by broadcast transmission (step S221). The master receives and holds the transferred reproduction instruction (step S204). Thereafter, the master broadcasts and transmits the reproduction start command including the start counter value to be received and held by the slave (step S206).

これにより、すべての再生装置20の保持部217が再生開始命令を保持し、その後、複数の再生装置20がコンテンツを同期して再生開始することができる。   As a result, the holding units 217 of all the playback devices 20 hold the playback start command, and thereafter, the plurality of playback devices 20 can start playback of content in synchronization.

なお、マスタの指示処理部211は、スレーブから再生指示を受信した場合には、所定の複数回のブロードキャスト送信の途中で送信元のスレーブに対して、再生指示を受信したことを示す通知(以降「受信通知」ともいう)を送信してもよい。この場合、受信通知を受信したスレーブは、所定の複数回のブロードキャスト送信の最中であっても、その所定の複数回のブロードキャスト送信を中止してもよい。マスタが再生指示を受信したことをスレーブが確認することで、それ以降の送信が不要になるからである。不要なパケット送信を控えることで、通信量を削減することができる利点もある。   When the master instruction processing unit 211 receives a reproduction instruction from the slave, the master instruction processing unit 211 notifies the transmission source slave that the reproduction instruction has been received in the middle of predetermined multiple broadcast transmissions (hereinafter, referred to as “reproduction instruction”). (Also referred to as “reception notification”) may be transmitted. In this case, the slave that has received the reception notification may cancel the predetermined plural broadcast transmissions even during the predetermined plural broadcast transmissions. This is because when the slave confirms that the master has received the reproduction instruction, the subsequent transmission becomes unnecessary. There is also an advantage that the amount of communication can be reduced by refraining from unnecessary packet transmission.

図14は、本実施の形態に係る再生装置20による再生指示及び再生開始命令のやりとりを示す第四のシーケンス図である。このシーケンス図では、再生システム1内のすべての再生装置20がスレーブであり(言い換えれば、マスタが存在せず)、端末10が再生指示をブロードキャスト送信した場合を説明する。   FIG. 14 is a fourth sequence diagram showing exchange of a playback instruction and a playback start command by the playback device 20 according to the present embodiment. In this sequence diagram, a case will be described in which all playback devices 20 in the playback system 1 are slaves (in other words, there is no master), and the terminal 10 broadcasts a playback instruction.

端末10が再生指示をブロードキャスト送信すると、スレーブのそれぞれが、再生指示を取得し保持する(ステップS231)。   When the terminal 10 broadcasts a playback instruction, each slave acquires and holds the playback instruction (step S231).

これにより、すべての再生装置20の保持部217が再生開始命令を保持し、その後、複数の再生装置20がコンテンツを同期して再生開始することができる。   As a result, the holding units 217 of all the playback devices 20 hold the playback start command, and thereafter, the plurality of playback devices 20 can start playback of content in synchronization.

図15は、本実施の形態に係る再生装置20による再生指示及び再生開始命令のやりとりを示す第五のシーケンス図である。このシーケンス図では、再生システム1内のすべての再生装置20がスレーブであり(言い換えれば、マスタが存在せず)、端末10が再生指示をスレーブ(再生装置20A)にユニキャスト送信した場合を説明する。   FIG. 15 is a fifth sequence diagram illustrating exchange of a playback instruction and a playback start command by the playback device 20 according to the present embodiment. In this sequence diagram, a case is described in which all playback devices 20 in the playback system 1 are slaves (in other words, there is no master), and the terminal 10 unicasts a playback instruction to the slave (playback device 20A). To do.

端末10が再生指示をユニキャスト送信すると、その宛先であるスレーブ(再生装置20A)が再生指示を取得し保持する(ステップS231)。再生指示を取得した再生装置20Aは、再生指示をブロードキャスト送信することで他のスレーブに受信させ保持させる(ステップS233、S231)。   When the terminal 10 unicasts the playback instruction, the slave (playback apparatus 20A) that is the destination acquires and holds the playback instruction (step S231). The reproduction apparatus 20A that has acquired the reproduction instruction broadcasts the reproduction instruction to be received and held by other slaves (steps S233 and S231).

これにより、すべての再生装置20の保持部217が再生開始命令を保持し、その後、複数の再生装置20がコンテンツを同期して再生開始することができる。   As a result, the holding units 217 of all the playback devices 20 hold the playback start command, and thereafter, the plurality of playback devices 20 can start playback of content in synchronization.

次に、スレーブが新たなマスタと同期した場合の処理について説明する。言い換えれば、これまでスレーブであった再生装置20がマスタに変化した場合に、他のスレーブが行う処理について説明する。   Next, processing when the slave is synchronized with a new master will be described. In other words, processing performed by another slave when the playback device 20 that has been a slave until now changes to a master will be described.

このとき、スレーブの命令受信部215は、(a)新たなマスタから受信した同期情報に含まれる同期用カウンタ値をカウンタ管理部213に設定することで、他のスレーブと同期してカウンタ値を増加させる。また、(b)上記カウンタ値の設定の前後におけるカウンタ管理部213のカウンタ値の変化量の分だけ、保持部217が保持している再生開始命令に含まれる開始カウンタ値を変化させる。   At this time, the slave instruction receiving unit 215 (a) sets the counter value for synchronization included in the synchronization information received from the new master in the counter management unit 213, so that the counter value is synchronized with the other slaves. increase. Also, (b) the start counter value included in the reproduction start instruction held by the holding unit 217 is changed by the amount of change in the counter value of the counter management unit 213 before and after the setting of the counter value.

以降において、より具体的に説明する。   Hereinafter, more specific description will be given.

図16は、本実施の形態に係る再生装置20における同期の際の開始カウンタ値の修正処理を示すシーケンス図である。図17は、本実施の形態に係る再生装置20における同期の際の開始カウンタ値の修正処理を示すフロー図である。   FIG. 16 is a sequence diagram showing a start counter value correction process at the time of synchronization in the playback apparatus 20 according to the present embodiment. FIG. 17 is a flowchart showing correction processing of the start counter value at the time of synchronization in the playback device 20 according to the present embodiment.

この処理は、スレーブ(再生装置20B)が、新たなマスタ(再生装置20C)から新たな再生開始命令を受信した場合に、受信した新たな再生開始命令に含まれる新たな同期用カウンタ値を自装置のカウンタ管理部213に設定するとともに、開始カウンタ値を修正する処理である(図16参照)。   In this process, when the slave (playback device 20B) receives a new playback start command from a new master (playback device 20C), it automatically uses a new synchronization counter value included in the received new playback start command. This is a process for setting the counter management unit 213 of the apparatus and correcting the start counter value (see FIG. 16).

図17に示されるように、ステップS311において、スレーブの命令受信部215は、現在カウンタ値を、受信した新たな再生開始命令へ変化させる場合の変化量Δを算出する。変化量Δは、現在カウンタ値とTc、新たな同期用カウンタ値をTnとすると、以下のように表現される。   As shown in FIG. 17, in step S311, the slave command receiving unit 215 calculates a change amount Δ when the current counter value is changed to the received new reproduction start command. The change amount Δ is expressed as follows, where the current counter value is Tc and the new synchronization counter value is Tn.

Δ=Tn−Tc   Δ = Tn−Tc

ステップS312において、スレーブの命令受信部215は、保持部217が保持している再生開始命令に含まれる開始カウンタ値Tsを、ステップS301で算出した変化量Δの分だけ以下のように変化させて、新たな開始カウンタ値Tsnを得る。   In step S312, the slave command receiving unit 215 changes the start counter value Ts included in the reproduction start command held by the holding unit 217 by the amount of change Δ calculated in step S301 as follows. , A new start counter value Tsn is obtained.

Tsn=Ts+Δ   Tsn = Ts + Δ

ステップS313において、スレーブの命令受信部215は、受信した新たな同期用カウンタ値をカウンタ管理部213に設定する。   In step S313, the slave command reception unit 215 sets the received new counter value for synchronization in the counter management unit 213.

これにより、現在カウンタ値の変更時に、開始カウンタ値が維持されることでコンテンツ再生タイミングがずれることが未然に回避される。   This prevents the content reproduction timing from being shifted by maintaining the start counter value when the current counter value is changed.

図16を参照しながら具体的に説明する。図16において、当初、現在カウンタ値Tcが14000であり、開始カウンタ値Tsが14500である状態である。この状態は、カウンタ値500に相当する時間分だけ待機した後にコンテンツの再生を開始する状態である。この状態において、再生装置20Cがマスタに変更されたことで、再生装置20Bが、新たな同期用カウンタ値(10000)を受信したとする。   A specific description will be given with reference to FIG. In FIG. 16, initially, the current counter value Tc is 14000 and the start counter value Ts is 14500. This state is a state in which the reproduction of the content is started after waiting for the time corresponding to the counter value 500. In this state, it is assumed that the playback device 20B receives a new synchronization counter value (10000) due to the change of the playback device 20C to the master.

この場合、現在カウンタ値Tcが14000から10000に変更された際に、開始カウンタ値が14500のままであると、コンテンツの再生開始までに4500のカウンタ値に相当する時間分だけ待機することになり、上記の当初の状態から変わってしまう。   In this case, when the current counter value Tc is changed from 14000 to 10000, if the start counter value remains 14500, it waits for the time corresponding to the counter value of 4500 before starting the reproduction of the content. , Will change from the original state.

そこで、現在カウンタ値の変化量Δである4000だけ、開始カウンタ値も変化させることで、当初の状態と同じく、カウンタ値500に相当する時間分だけ待機した後にコンテンツの再生を開始する状態とすることができる。   Therefore, the start counter value is also changed by 4000, which is the change amount Δ of the current counter value, so that the reproduction of the content is started after waiting for the time corresponding to the counter value 500 as in the initial state. be able to.

なお、再生装置20は、終了カウンタ値を有してもよい。終了カウンタ値とは、コンテンツの再生を終了させるタイミングを示すカウンタ値である。再生装置20それぞれの再生制御部218は、コンテンツを再生中に、現在カウンタ値が終了カウンタ値以上になると当該コンテンツの再生を終了する。この場合、上記で説明した開始カウンタ値の変更と同じように終了カウンタ値を変更すればよい。具体的には、開始カウンタ値を上記変化量Δだけ変化させるときに、終了カウンタ値も上記変化量Δだけ変化させればよい。   Note that the playback device 20 may have an end counter value. The end counter value is a counter value indicating the timing at which the content reproduction ends. The playback control unit 218 of each playback device 20 ends playback of the content when the current counter value becomes equal to or greater than the end counter value during playback of the content. In this case, the end counter value may be changed in the same manner as the change of the start counter value described above. Specifically, when the start counter value is changed by the change amount Δ, the end counter value may be changed by the change amount Δ.

以上のように、本実施の形態の再生システムは、同期装置が繰り返し再生開始命令を送信し、この送信された再生開始命令を再生装置それぞれが受信する。再生装置は、一度受信した再生開始命令を不具合又は障害等により消失することがある。再生開始命令を消失すると、消失した再生開始命令に従ってコンテンツを再生することはもちろんできない。そこで、再生装置が同期装置から繰り返し再生開始命令を受信することで、仮に一度受信した再生開始命令が消失したとしても、新たに受信する再生開始命令に従ってコンテンツの再生を行うことができる。よって、本発明の一態様に係る再生システムにおいて、複数の再生装置によりコンテンツを同期して再生しながら、再生装置によるコンテンツの再生をより確実に行うことができる。   As described above, in the playback system of the present embodiment, the synchronization device repeatedly transmits a playback start command, and each playback device receives the transmitted playback start command. The playback device may lose the playback start command received once due to a malfunction or failure. If the playback start command is lost, the content cannot be played back according to the lost playback start command. Therefore, when the playback device repeatedly receives the playback start command from the synchronization device, even if the playback start command once received disappears, the content can be played back according to the newly received playback start command. Thus, in the playback system according to one embodiment of the present invention, the content can be more reliably played back by the playback device while the content is played back synchronously by a plurality of playback devices.

以上、本発明の再生装置、及び、再生システムについて、実施の形態に基づいて説明したが、本発明は、この実施の形態に限定されるものではない。本発明の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したものや、異なる実施の形態における構成要素を組み合わせて構築される形態も、本発明の範囲内に含まれる。   Although the playback apparatus and playback system of the present invention have been described based on the embodiment, the present invention is not limited to this embodiment. Unless it deviates from the meaning of this invention, the form which carried out the various deformation | transformation which those skilled in the art can think to this embodiment, and the structure constructed | assembled combining the component in different embodiment is also contained in the scope of the present invention. .

本発明は、複数の再生装置によりコンテンツを同期して再生しながら、再生装置によるコンテンツの再生をより確実に行う再生システムに利用可能である。具体的には、公共スペース又は商業施設などにおいて複数設置され、画像等を再生する再生装置などに利用可能である。   The present invention can be used for a playback system that performs playback of content by a playback device more reliably while the content is played back synchronously by a plurality of playback devices. Specifically, a plurality of such devices can be installed in a public space or a commercial facility, and can be used for a playback device that plays back images and the like.

1 再生システム
10 端末
20、20A、20B、20C 再生装置
25、25A、25B、25C 表示装置
30 LAN
201 CPU
202 メインメモリ
203 NIC
204 HT
205 再生部
206 ストレージ
211 指示処理部
212 モード管理部
213 カウンタ管理部
214 命令送信部
215 命令受信部
216 コンテンツ取得部
217 保持部
218 再生制御部
300 再生指示
302、312 命令種別
304、314 再生装置識別子
306、318 コンテンツ識別子
310 再生開始命令
316 開始カウンタ値
320 同期情報
322 同期用カウンタ値
F 枠
1 playback system 10 terminal 20, 20A, 20B, 20C playback device 25, 25A, 25B, 25C display device 30 LAN
201 CPU
202 Main memory 203 NIC
204 HT
205 playback unit 206 storage 211 instruction processing unit 212 mode management unit 213 counter management unit 214 command transmission unit 215 command reception unit 216 content acquisition unit 217 holding unit 218 playback control unit 300 playback instruction 302, 312 command type 304, 314 playback device identifier 306, 318 Content identifier 310 Playback start command 316 Start counter value 320 Synchronization information 322 Synchronization counter value F Frame

Claims (8)

同期装置と複数の再生装置とを備える再生システムであって、
前記同期装置は、
前記複数の再生装置にコンテンツの再生を開始させる命令であって、前記再生を開始させる再生開始時刻を示す開始カウンタ値を含む命令である再生開始命令を、予め定められた時間を空けて繰り返し送信する命令送信部を備え、
前記複数の再生装置のそれぞれは、
一の再生開始命令を保持し得る保持部と、
前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させるカウンタ管理部と、
前記命令送信部が送信した前記再生開始命令を受信し、受信するたびに、受信した前記再生開始命令を前記保持部に保持させる命令受信部と、
前記カウンタ管理部のカウンタ値が、前記保持部が保持している前記再生開始命令に含まれる前記開始カウンタ値以上になると、前記開始カウンタ値を含む前記再生開始命令に従ってコンテンツの再生を開始する再生制御部とを備える
再生システム。
A playback system comprising a synchronization device and a plurality of playback devices,
The synchronization device includes:
A playback start command, which is a command for starting playback of content by the plurality of playback devices and including a start counter value indicating a playback start time for starting the playback, is repeatedly transmitted at a predetermined time interval. An instruction transmission unit for
Each of the plurality of playback devices is
A holding unit capable of holding one reproduction start instruction;
A counter management unit that increases a counter value in synchronization with another playback device of the plurality of playback devices;
A command receiving unit that receives the reproduction start command transmitted by the command transmission unit and holds the received reproduction start command in the holding unit each time it is received;
When the counter value of the counter management unit becomes greater than or equal to the start counter value included in the playback start command held by the holding unit, playback that starts playback of content according to the playback start command including the start counter value A reproduction system comprising a control unit.
前記命令送信部は、
(a)前記再生開始命令を、所定の複数回だけ送信し、
(b)前記所定の複数回の送信を、前記所定の複数回の送信に要する時間より長い周期で繰り返し行う
請求項1に記載の再生システム。
The command transmitter is
(A) transmitting the reproduction start command only a predetermined number of times;
The reproduction system according to claim 1, wherein (b) the predetermined plural times of transmissions are repeated at a cycle longer than a time required for the predetermined plural times of transmission.
前記命令送信部が送信する前記再生開始命令は、前記複数の再生装置すべてに対してコンテンツの再生をさせる再生開始命令であり、
前記命令送信部は、
前記再生開始命令をブロードキャスト送信することで、前記複数の再生装置それぞれの前記命令受信部に受信させる
請求項1又は2に記載の再生システム。
The playback start command transmitted by the command transmission unit is a playback start command that causes all of the plurality of playback devices to play back content,
The command transmitter is
The playback system according to claim 1 or 2, wherein the command receiving unit of each of the plurality of playback devices receives the playback start command by broadcast transmission.
前記同期装置は、さらに、
任意の端末から前記再生指示を受信する指示処理部を備え、
前記命令送信部は、さらに、
前記カウンタ管理部が管理している前記カウンタ値から、所定時間長に相当する分だけ進めたカウンタ値を、前記指示処理部が受信した前記再生指示に含めることで前記再生開始命令を生成する
請求項1〜3のいずれか1項に記載の再生システム。
The synchronization device further includes:
An instruction processing unit for receiving the reproduction instruction from an arbitrary terminal;
The command transmission unit further includes:
The reproduction start instruction is generated by including, in the reproduction instruction received by the instruction processing unit, a counter value advanced by an amount corresponding to a predetermined time length from the counter value managed by the counter management unit. Item 4. The reproduction system according to any one of Items 1 to 3.
前記端末が送信した前記再生指示の宛先が、前記複数の再生装置のうち同期装置と異なる一の再生装置である場合には、
前記一の再生装置の前記指示処理部は、前記再生指示を受信し、受信した前記再生指示を所定の複数回だけブロードキャスト送信し、
前記同期装置の前記指示処理部は、前記一の再生装置の前記指示処理部が送信した前記再生指示を受信すると、受信通知を、前記一の再生装置に送信し、
前記一の再生装置の前記指示処理部は、前記所定の複数回のブロードキャスト送信の最中に前記受信通知を受信すると、前記所定の複数回のブロードキャスト送信を中止する
請求項4に記載の再生システム。
When the destination of the playback instruction transmitted by the terminal is one playback device different from the synchronization device among the plurality of playback devices,
The instruction processing unit of the one playback device receives the playback instruction, broadcasts the received playback instruction only a predetermined number of times,
When the instruction processing unit of the synchronization device receives the reproduction instruction transmitted by the instruction processing unit of the one reproduction device, the instruction processing unit transmits a reception notification to the one reproduction device,
5. The reproduction system according to claim 4, wherein the instruction processing unit of the one reproduction apparatus stops the predetermined multiple broadcast transmissions when receiving the reception notification during the predetermined multiple broadcast transmissions. .
前記同期装置は、さらに、
所定の時間間隔でカウンタ値を増加させるカウンタ管理部を備え、
前記命令送信部は、さらに、前記カウンタ管理部の前記カウンタ値を同期用カウンタ値として含む同期情報を繰り返し送信し、
前記複数の再生装置それぞれの前記カウンタ管理部は、
当該再生装置の前記命令受信部が前記同期情報を受信すると、受信した前記同期情報に含まれる前記同期用カウンタ値を前記カウンタ管理部に設定することで、前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させる
請求項1〜5のいずれか1項に記載の再生システム。
The synchronization device further includes:
A counter management unit that increases the counter value at predetermined time intervals,
The command transmitter further repeatedly transmits synchronization information including the counter value of the counter management unit as a counter value for synchronization,
The counter management unit of each of the plurality of playback devices is
When the command receiving unit of the playback device receives the synchronization information, the synchronization counter value included in the received synchronization information is set in the counter management unit, so that the other of the plurality of playback devices The reproduction system according to any one of claims 1 to 5, wherein the counter value is increased in synchronization with the reproduction apparatus.
前記複数の再生装置のうちの前記同期装置と異なる再生装置が、新たな同期装置となった場合には、
前記命令受信部は、
(a)前記新たな同期装置から受信した同期情報に含まれる同期用カウンタ値を前記カウンタ管理部に設定することで、前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させ、
(b)前記設定の前後における前記カウンタ管理部のカウンタ値の変化量の分だけ、前記保持部が保持している前記再生開始命令に含まれる前記開始カウンタ値を変化させる
請求項6に記載の再生システム。
When a playback device different from the synchronization device among the plurality of playback devices becomes a new synchronization device,
The command receiver is
(A) By setting a counter value for synchronization included in the synchronization information received from the new synchronization device in the counter management unit, the counter value is synchronized with other playback devices among the plurality of playback devices. Increase,
7. The start counter value included in the reproduction start command held by the holding unit is changed by an amount corresponding to a change amount of the counter value of the counter management unit before and after the setting. Playback system.
同期装置と複数の再生装置とを備える再生システムの制御方法であって、
前記複数の再生装置のそれぞれは、一の再生開始命令を保持し得る保持部を備え、
前記制御方法は、
前記同期装置により、前記複数の再生装置にコンテンツの再生を開始させる命令であって、前記再生を開始させる再生開始時刻を示す開始カウンタ値を含む命令である再生開始命令を、予め定められた時間を空けて繰り返し送信する命令送信ステップと、
前記複数の再生装置のそれぞれにより、前記複数の再生装置のうちの他の再生装置と同期してカウンタ値を増加させるカウンタ管理ステップと、
前記命令送信ステップで送信した前記再生開始命令を受信し、受信するたびに、受信した前記再生開始命令を前記保持部に保持させる命令受信ステップと、
前記カウンタ値が、前記保持部が保持している前記再生開始命令に含まれる前記開始カウンタ値以上になると、前記開始カウンタ値を含む前記再生開始命令に従ってコンテンツの再生を開始する再生制御ステップとを含む
制御方法。
A control method of a playback system comprising a synchronization device and a plurality of playback devices,
Each of the plurality of playback devices includes a holding unit capable of holding one playback start command,
The control method is:
A playback start command that is a command that causes the plurality of playback devices to start playback of content by the synchronization device and that includes a start counter value that indicates a playback start time at which the playback is to be started. A command transmission step for repeatedly transmitting with a gap between;
A counter management step of increasing a counter value in synchronization with another of the plurality of playback devices by each of the plurality of playback devices;
A command receiving step of receiving the playback start command transmitted in the command transmission step and holding the received playback start command in the holding unit each time it is received;
When the counter value is equal to or greater than the start counter value included in the playback start command held by the holding unit, a playback control step of starting playback of content according to the playback start command including the start counter value; Including control method.
JP2016089872A 2016-04-27 2016-04-27 REPRODUCTION SYSTEM AND REPRODUCTION SYSTEM CONTROL METHOD Active JP6572487B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016089872A JP6572487B2 (en) 2016-04-27 2016-04-27 REPRODUCTION SYSTEM AND REPRODUCTION SYSTEM CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016089872A JP6572487B2 (en) 2016-04-27 2016-04-27 REPRODUCTION SYSTEM AND REPRODUCTION SYSTEM CONTROL METHOD

Publications (2)

Publication Number Publication Date
JP2017200068A true JP2017200068A (en) 2017-11-02
JP6572487B2 JP6572487B2 (en) 2019-09-11

Family

ID=60239571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016089872A Active JP6572487B2 (en) 2016-04-27 2016-04-27 REPRODUCTION SYSTEM AND REPRODUCTION SYSTEM CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP6572487B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09149061A (en) * 1995-11-22 1997-06-06 Hitachi Ltd Communication controller, communication network and its contention control method
JP2002111682A (en) * 2000-09-29 2002-04-12 Yamatake Corp Communication apparatus and broadcasting system
JP2004233870A (en) * 2003-01-31 2004-08-19 Shinano Kenshi Co Ltd Bgm reproduction system, data transmission system, and bgm player
JP2010088079A (en) * 2008-10-03 2010-04-15 Toyo Networks & System Integration Co Ltd Power line transfer communication apparatus
JP2011030019A (en) * 2009-07-27 2011-02-10 Mega Chips Corp Display system, and image reproduction device
JP2014049799A (en) * 2012-08-29 2014-03-17 Nikon Corp Remote control transmitter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09149061A (en) * 1995-11-22 1997-06-06 Hitachi Ltd Communication controller, communication network and its contention control method
JP2002111682A (en) * 2000-09-29 2002-04-12 Yamatake Corp Communication apparatus and broadcasting system
JP2004233870A (en) * 2003-01-31 2004-08-19 Shinano Kenshi Co Ltd Bgm reproduction system, data transmission system, and bgm player
JP2010088079A (en) * 2008-10-03 2010-04-15 Toyo Networks & System Integration Co Ltd Power line transfer communication apparatus
JP2011030019A (en) * 2009-07-27 2011-02-10 Mega Chips Corp Display system, and image reproduction device
JP2014049799A (en) * 2012-08-29 2014-03-17 Nikon Corp Remote control transmitter

Also Published As

Publication number Publication date
JP6572487B2 (en) 2019-09-11

Similar Documents

Publication Publication Date Title
US9736530B2 (en) Address mapping in a HDMI network
JP2006295918A (en) Method and device for synchronizing collection of home devices with contents
JP2002247408A (en) Image pickup system, image pickup device and control method
JPWO2010023828A1 (en) Information processing system and information processing apparatus
JP6465541B2 (en) COMMUNICATION DEVICE, REPRODUCTION DEVICE, ITS METHOD, AND PROGRAM
US20150264740A1 (en) Communication apparatus, control method for the same and non-transitory computer-readable storage medium
US10277652B2 (en) Transmission apparatus, transmission method, and program
US20160267878A1 (en) Display control apparatus, display control system, and display control method
JP5734788B2 (en) Communication apparatus and program
KR20140146004A (en) Method and apparatus for displaying application data in wireless communication system
JP2009277111A (en) Information processing device
JP2005094348A (en) Communication system and method, information processor and method, and program
JP2009118452A (en) Interconnected multimedia systems with synchronized playback
JP2016042614A (en) Communication device, content client, and content server
JP6572487B2 (en) REPRODUCTION SYSTEM AND REPRODUCTION SYSTEM CONTROL METHOD
JP2014175736A (en) Relay device and relay method
JP6635553B2 (en) Playback apparatus, playback system, playback apparatus control method, and program
JP6432067B2 (en) Playback system and playback method
JP6383974B2 (en) Playback system and playback method
JP6519042B2 (en) Reproducing apparatus, reproducing system, and reproducing method
JP6361012B2 (en) Playback system and playback method
JP2015201701A (en) Reproduction system, reproduction device and reproduction method
JP6406893B2 (en) Monitoring device and monitoring system
US10849061B2 (en) Communicating device, control method therefor, and storage medium
JP6617975B2 (en) REPRODUCTION DEVICE, REPRODUCTION DEVICE CONTROL METHOD, AND PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180829

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20180829

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20181128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190723

R150 Certificate of patent or registration of utility model

Ref document number: 6572487

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250