JP2008028599A - Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method - Google Patents

Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method Download PDF

Info

Publication number
JP2008028599A
JP2008028599A JP2006197721A JP2006197721A JP2008028599A JP 2008028599 A JP2008028599 A JP 2008028599A JP 2006197721 A JP2006197721 A JP 2006197721A JP 2006197721 A JP2006197721 A JP 2006197721A JP 2008028599 A JP2008028599 A JP 2008028599A
Authority
JP
Japan
Prior art keywords
communication device
time
packet
control
delay time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006197721A
Other languages
Japanese (ja)
Inventor
Haruo Kawasaki
晴夫 川崎
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2006197721A priority Critical patent/JP2008028599A/en
Publication of JP2008028599A publication Critical patent/JP2008028599A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Receiver Circuits (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make reproduction timing of video data and audio data reproduced by different apparatuses match each other. <P>SOLUTION: A main communication apparatus receives multi-media stream data, separates them to video data and audio data, reproduces the video data, and transfers the audio data to sub-communication apparatus. The main communication apparatus transfers a control packet to the sub-communication apparatus, the sub-communication apparatus responds to it, and at least returns a control answer packet including processing delay information which shows processing delay in the sub-apparatus. The main communication apparatus changes reproduction timing only by the time which is a sum of transmission delay information between the main communication apparatus and the sub-communication apparatus, and the processing delay information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は マルチメディアデータのビデオ再生とオーディオ再生とを同期させる技術に関する。特に、本発明は、ビデオ再生とオーディオ再生とが別の機器により行われる場合に、ビデオ再生とオーディオ再生とを同期させる技術に関する。   The present invention relates to a technique for synchronizing video playback and audio playback of multimedia data. In particular, the present invention relates to a technique for synchronizing video playback and audio playback when video playback and audio playback are performed by different devices.

従来、ビデオコンテンツ等のマルチメディアサービスは、パーソナルコンピュータや、専用の再生機など、高い処理能力を持つ装置のみが提供していた。しかしながら、近年の携帯無線端末の性能向上は目覚ましく、携帯電話機のような小型携帯無線端末も、このようなマルチメディアサービスを提供するようになってきている。特に、インターネット上に蓄積されているマルチメディアコンテンツを再生する場合や、地上デジタル放送を受信する場合などに、ストリーミング技術を利用する携帯電話機が増加している。   Conventionally, multimedia services such as video contents have been provided only by devices having high processing capabilities such as personal computers and dedicated players. However, in recent years, the performance of portable wireless terminals has been remarkably improved, and small portable wireless terminals such as mobile phones have come to provide such multimedia services. In particular, mobile phones using streaming technology are increasing when multimedia contents stored on the Internet are played back or when digital terrestrial broadcasting is received.

一方で、携帯電話機が受信したマルチメディアストリームからオーディオデータを抜き出し、抜き出されたオーディオデータを、別の機器でユーザが聞くことも行われている。即ち、携帯電話機等の主通信機は、抜き出されたオーディオデータを、Bluetooth等の近距離無線技術を使用して、従通信機に転送し、ユーザが転送されたオーディオ信号を従通信機で聴取する。   On the other hand, audio data is extracted from a multimedia stream received by a mobile phone, and a user listens to the extracted audio data with another device. That is, the main communication device such as a mobile phone transfers the extracted audio data to the slave communication device using a short-range wireless technology such as Bluetooth, and the user transmits the transferred audio signal to the slave communication device. Listen.

再公表特許公報WO01/099393(特許文献1)は、受信オーディオデータをワイヤレスヘッドホンに転送する携帯電話機を開示している。また、この特許文献1は、受信ビデオデータを腕時計等に転送し、腕時計等は、そのディスプレイ上に、このビデオデータを表示することも併せて開示している。   Re-published patent publication WO 01/099393 (Patent Document 1) discloses a mobile phone that transfers received audio data to wireless headphones. Patent Document 1 also discloses that received video data is transferred to a wristwatch or the like, and the wristwatch or the like displays the video data on its display.

また、特開2004−320424(特許文献2)は、DVDプレイヤからビデオ信号及びオーディオ信号を得、ビデオ信号をMPEG符号化した後に、プロジェクタに送信し、このビデオ信号をスクリーンに表示させる無声送信装置を開示している。この無線送信装置は、オーディオ信号を自ら再生する。   Japanese Patent Laid-Open No. 2004-320424 (Patent Document 2) obtains a video signal and an audio signal from a DVD player, MPEG-encodes the video signal, transmits the video signal to a projector, and displays the video signal on a screen. Is disclosed. This wireless transmission device reproduces the audio signal itself.

これらの状況を鑑みると、携帯電話機が受信したマルチメディアストリームを、マルチメディアストリームをビデオデータ部分とオーディオデータ部分とに分割し、ユーザは、ビデオデータ部分を携帯電話の画面上で鑑賞し、オーディオデータ部分をワイヤレスヘッドホンにより聴取するという利用形態も考えられる。   In view of these circumstances, the multimedia stream received by the mobile phone is divided into a video data portion and an audio data portion, and the user views the video data portion on the mobile phone screen and audio A use form in which the data portion is listened to by wireless headphones is also conceivable.

再公表特許公報WO01/099393Republished Patent Publication WO01 / 099393 特開2004−320424JP 2004-320424 A

しかしながら、このような利用形態では、携帯電話の画面上のビデオデータ再生タイミングと、ワイヤレスヘッドホンでのオーディオデータ再生タイミングとがずれることがある。これは、2つの原因によりもたらされる。ひとつは、携帯電話機とワイヤレスヘッドホン無線部分で生じる遅延と、無線伝搬路で発生する遅延との合計である、伝搬遅延である。もうひとつは、ワイヤレスヘッドホンでの音声データバッファリング処理による処理遅延である。これらの遅延が大きい場合、携帯電話機画面上でのビデオ信号と、ワイヤレスヘッドホンから出力されるオーディオデータとの間に、ユーザは、時間的なずれを認識する。一例を挙げれば、ビデオ信号における話者の口の動きとオーディオ信号との間に時間的なずれを、ユーザは認識することがある。この時間的なずれは、ユーザに、違和感を与える。   However, in such a usage mode, the video data playback timing on the screen of the mobile phone may deviate from the audio data playback timing on the wireless headphones. This is caused by two causes. One is a propagation delay, which is the sum of the delay generated in the mobile phone and wireless headphone radio part and the delay generated in the radio propagation path. The other is processing delay due to audio data buffering processing in wireless headphones. When these delays are large, the user recognizes a time lag between the video signal on the mobile phone screen and the audio data output from the wireless headphones. In one example, a user may recognize a time lag between the speaker's mouth movement in the video signal and the audio signal. This time lag gives the user a sense of incongruity.

同一機器によるマルチメディアストリーミング再生では、ビデオデータ再生タイミングとオーディオデータ再生タイミングとの差を調整する仕組みが知られている。この仕組みは、「リップシンク」とも呼ばれる。この仕組みでは、ビデオデータとオーディオデータの各々に、タイムスタンプ情報が付加されている。マルチメディアデータ再生機器、例えば、携帯電話機は、このタイムスタンプ情報を参照しながら、ビデオデータを復号するタイミングと、オーディオデータを復号するタイミングを調整する。この調整は、再生ビデオ信号と再生オーディオ信号との同期、即ち、リップシンクを実現している。したがって、携帯電話機のディスプレイに表示されるビデオ信号のタイミングと、同一携帯電話機のスピーあるいはイヤホンから出力されるオーディオ信号のタイミングとは、一致する。   In multimedia streaming playback by the same device, a mechanism for adjusting the difference between video data playback timing and audio data playback timing is known. This mechanism is also called “lip sync”. In this mechanism, time stamp information is added to each of video data and audio data. A multimedia data playback device, for example, a mobile phone, adjusts the timing for decoding video data and the timing for decoding audio data while referring to the time stamp information. This adjustment realizes synchronization between the reproduced video signal and the reproduced audio signal, that is, lip sync. Therefore, the timing of the video signal displayed on the display of the mobile phone coincides with the timing of the audio signal output from the speaker or earphone of the same mobile phone.

前述した特許文献1記載の技術では、携帯電話機は、このリップシンク技術により、携帯電話機で、ビデオ信号及びオーディオ信号の再生タイミングを調整した後に、ビデオ信号を腕時計等へ、オーディオ信号をワイヤレスヘッドホンへ送付することができる。このため、特許文献1記載の技術では、腕時計のディスプレイ上でのビデオ信号の再生タイミングとヘッドホン出力のオーディオ信号の再生タイミングとのずれは、余り大きくならないようにすることができると考えられる。   In the technology described in Patent Document 1 described above, the mobile phone adjusts the playback timing of the video signal and the audio signal using the lip sync technology, and then the video signal is sent to a wristwatch or the like, and the audio signal is sent to wireless headphones. Can be sent. For this reason, in the technique described in Patent Document 1, it is considered that the deviation between the reproduction timing of the video signal on the display of the wristwatch and the reproduction timing of the audio signal of the headphone output can be prevented from becoming too large.

しかしながら、携帯電話機がマルチメディアデータを受信し、この携帯電話機がビデオデータのみを再生し、オーディオデータをワイヤレスヘッドホンに転送し、ワイヤレスヘッドホンがオーディオデータを再生する場合には、このようなことは期待できない。この理由は、携帯電話機自身により再生されるビデオデータの再生タイミングと、ワイヤレスヘッドホン(他の機器)により再生されるオーディオデータの再生タイミングとを調整する仕組みが存在しないためである。   However, this is expected when the mobile phone receives multimedia data, the mobile phone plays only video data, transfers audio data to wireless headphones, and the wireless headphones play audio data. Can not. This is because there is no mechanism for adjusting the playback timing of video data played back by the mobile phone itself and the playback timing of audio data played back by wireless headphones (other devices).

この場合には、前述した、携帯電話機からワイヤレスヘッドホン間の転送遅延、及び、ワイヤレスヘッドホン内部での処理遅延の合計が、ビデオ信号の再生タイミングとオーディオ信号の再生タイミングのずれとなって現われる。   In this case, the total of the transfer delay between the mobile phone and the wireless headphones and the processing delay inside the wireless headphones described above appears as a difference between the playback timing of the video signal and the playback timing of the audio signal.

また、特許文献2は、スクリーン上での再生ビデオ信号と無線送信装置からの再生オーディオ信号との再生タイミングを同期させるために、無線送信装置は、オーディオ信号を遅延させて再生している。この遅延量は、プロジェクタ装置側が、再生ビデオ信号と再生オーディオ信号とを比較することにより求める。この求められた遅延量を、プロジェクタ装置側は、無線送信装置に返送している。しかしながら、この特許文献2の技術は、再生ビデオ信号と再生オーディオ信号とのタイミング差を求めるために、無線装置は、特別なテストビデオ信号と特別なテストオーディオ信号との組を送信する必要がある。特許文献2は、このテスト信号の例として、奇数フレームで全白信号となり偶数フレームで全黒信号となるテストビデオ信号と、奇数フレーム内でのみONとなる正弦波信号であるテストオーディオ信号を記載している。しかしながら、このようなテスト信号はユーザにとっては、目障りでありかつ耳障りである。   In Patent Document 2, in order to synchronize the reproduction timing of the reproduced video signal on the screen and the reproduced audio signal from the wireless transmission device, the wireless transmission device reproduces the audio signal with a delay. The amount of delay is obtained by comparing the reproduced video signal and the reproduced audio signal on the projector apparatus side. The obtained delay amount is returned to the wireless transmission device on the projector device side. However, in the technique of Patent Document 2, in order to obtain a timing difference between a reproduced video signal and a reproduced audio signal, the wireless device needs to transmit a set of a special test video signal and a special test audio signal. . As an example of this test signal, Patent Document 2 describes a test video signal that is an all white signal in an odd frame and an all black signal in an even frame, and a test audio signal that is a sine wave signal that is ON only in an odd frame. is doing. However, such a test signal is both annoying and harsh for the user.

本発明の目的は、主通信機(例えば、携帯電話機)がマルチメディアストリームを受信し、この主通信機がビデオデータのみを再生し、オーディオデータを従通信機(例えば、ワイヤレスヘッドホン)に転送し、この従通信機がオーディオデータを再生するシステム構成において、テストビデオ信号やテストオーディオ信号を使用することなく、主通信機におけるビデオデータ再生タイミングと従通信機におけるオーディオデータ再生タイミングとを調整する仕組みを提供することにある。     An object of the present invention is to receive a multimedia stream from a main communication device (for example, a mobile phone), to reproduce only video data, and to transfer audio data to a slave communication device (for example, wireless headphones). In the system configuration in which the slave communication device plays back audio data, the video data playback timing in the master communication device and the audio data playback timing in the slave communication device are adjusted without using the test video signal or test audio signal. Is to provide.

請求項1記載の発明は、主通信機がマルチメディアデータをビデオデータとオーディオデータとを分離し、ビデオデータを再生する一方で、オーディオデータを従通信機に転送し、従通信機がオーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法であり、
(A)主通信機は、前もって定められたタイミングで、制御パケットを従通信機に送信し、
(B)従通信機は、制御パケットを受信すると、この従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを、主通信機に返信し、
(C)主通信機は、主通信機・従通信機間の伝搬遅延情報とこの処理遅延情報との和で示される要遅延時間に基づいて、ビデオデータの再生タイミングを変更する、
ことを特徴とするマルチメディアデータの再生方法である。
According to the first aspect of the present invention, the master communication device separates the multimedia data from the video data and the audio data and reproduces the video data, while transferring the audio data to the slave communication device. Is a multimedia data playback method that synchronizes the playback timing of video data and the playback timing of audio data when
(A) The main communication device transmits a control packet to the slave communication device at a predetermined timing,
(B) Upon receiving the control packet, the slave communication device returns a control response packet including processing delay time information indicating the processing delay time inside the slave communication device to the master communication device,
(C) The main communication device changes the reproduction timing of the video data based on the required delay time indicated by the sum of the propagation delay information between the main communication device and the slave communication device and the processing delay information.
This is a multimedia data playback method.

請求項2記載の発明は、請求項1記載のマルチメディアデータの再生方法において、処理遅延時間情報は、制御パケットの受信時刻と制御応答パケットの送信時刻とで表されることを特徴とする。   According to a second aspect of the present invention, in the multimedia data reproduction method according to the first aspect, the processing delay time information is represented by a reception time of the control packet and a transmission time of the control response packet.

請求項3記載の発明は、請求項2記載のマルチメディアデータの再生方法において、処理遅延時間情報は、制御パケットの受信時刻と制御応答パケットの送信時刻との差で表されることを特徴とする。   According to a third aspect of the present invention, in the multimedia data reproducing method according to the second aspect, the processing delay time information is represented by a difference between a control packet reception time and a control response packet transmission time. To do.

請求項4記載の発明は、請求項1記載のマルチメディアデータの再生方法において、制御応答パケットは制御パケットの受信時刻を含み、ステップ(C)は、伝搬遅延情報を、制御パケットの送信時刻と制御パケットの受信時刻から計算することを特徴とする。   According to a fourth aspect of the present invention, in the multimedia data reproducing method according to the first aspect, the control response packet includes the reception time of the control packet, and step (C) includes the propagation delay information as the transmission time of the control packet. It is calculated from the reception time of the control packet.

請求項5記載の発明は、請求項4記載のマルチメディアデータの再生方法において、制御応答パケットはこの制御応答パケットの送信時刻をさらに含み、ステップ(C)は、伝搬遅延情報を、制御応答パケットの発信時刻と応答制御パケットの受信時刻から計算することを特徴とする。ことを特徴とする。   According to a fifth aspect of the present invention, in the multimedia data reproducing method according to the fourth aspect, the control response packet further includes a transmission time of the control response packet, and step (C) includes the propagation delay information, the control response packet, It is calculated from the transmission time of the message and the reception time of the response control packet. It is characterized by that.

請求項6記載の発明は、請求項1に記載のマルチメディアデータの再生方法において、ステップ(C)は、要遅延時間を、第1の差の半分と、第2の差の半分との和により計算し、第1の差は、制御パケットの送信時刻と制御応答パケットの受信時刻との差であり、第2の差は、制御パケットの受信時刻と制御応答パケットの受信時刻との差である、ことを特徴とする。   According to a sixth aspect of the present invention, in the multimedia data reproducing method according to the first aspect, in the step (C), the delay time is calculated as a sum of a half of the first difference and a half of the second difference. The first difference is the difference between the transmission time of the control packet and the reception time of the control response packet, and the second difference is the difference between the reception time of the control packet and the reception time of the control response packet. It is characterized by that.

請求項7記載の発明は、請求項1に記載のマルチメディアデータの再生方法において、ステップ(C)は、前回計算した要遅延時間を記憶し、今回計算した要遅延時間と記憶された要遅延時間との差である差要遅延時間だけ、ビデオデータの再生タイミングを遅延させる、ことを特徴とする。   According to a seventh aspect of the present invention, in the multimedia data reproducing method according to the first aspect, the step (C) stores the required delay time calculated last time, and the calculated required delay time and the stored required delay time. The reproduction timing of video data is delayed by a difference required delay time which is a difference from time.

請求項8記載の発明は、請求項7に記載のマルチメディアデータの再生方法において、ステップ(C)は、差遅延時間が負である場合には、この差遅延時間に相当する量のビデオデータを廃棄する、ことを特徴とする。   According to an eighth aspect of the present invention, in the multimedia data reproducing method according to the seventh aspect, when the differential delay time is negative, the step (C) is a video data of an amount corresponding to the differential delay time. It is characterized by discarding.

請求項9記載の発明は、請求項1記載のマルチメディアデータの再生方法において、ステップ(C)は、差要遅延時間が正または0である場合には、この差要遅延時間だけ、ビデオデータの復号を延期する、ことを特徴とする。   According to a ninth aspect of the present invention, in the multimedia data reproducing method according to the first aspect, in the step (C), when the required delay time is positive or zero, the video data is increased by the required delay time. The decryption of is postponed.

請求項10記載の発明は、請求項1記載のマルチメディアデータの再生方法
ステップ(A)は、所定時間毎に制御パケットを送信する、ことを特徴とする。
A tenth aspect of the present invention is the multimedia data reproducing method according to the first aspect, wherein the step (A) transmits a control packet every predetermined time.

請求項11記載の発明は、
主通信機がマルチメディアデータ中のビデオデータを再生する一方で、オーディオデータを従通信機に転送し、従通信機がオーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する主通信機であり、
所定のタイミングで、制御パケットを従通信機へ送信するとともに、マルチメディアデータから分離されたオーディオデータを従通信機へ送信する送信部と、
従通信機から、従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを受信する受信部と、
主通信機・従通信機間の伝搬遅延情報とこの処理遅延情報との和で示される要遅延時間を計算する計算部と、
ビデオデータの再生タイミングを、計算された要遅延時間に基づいて、変更する調整部と、
時刻を計時するタイマ、
とを備えたことを特徴とする主通信機である。
The invention according to claim 11
While the master communication device plays the video data in the multimedia data, the audio data is transferred to the slave communication device, and when the slave communication device plays the audio data, the playback timing of the video data and the playback of the audio data are reproduced. It is a main communication device that implements a multimedia data playback method that synchronizes timing,
A transmission unit that transmits the control packet to the slave communication device at a predetermined timing, and transmits the audio data separated from the multimedia data to the slave communication device;
A receiving unit that receives a control response packet including processing delay time information indicating processing delay time inside the slave communication device from the slave communication device;
A calculation unit for calculating the required delay time indicated by the sum of the propagation delay information between the master communication device and the slave communication device and this processing delay information;
An adjustment unit that changes the reproduction timing of the video data based on the calculated delay time;
Timer to keep time,
And a main communication device.

請求項12記載の発明は、請求項11記載の主通信機において、処理遅延時間情報は、制御パケットの前期従通信機での受信時刻と制御応答パケットの従通信機での送信時刻とで表される、ことを特徴とする。     According to a twelfth aspect of the present invention, in the master communication device according to the eleventh aspect, the processing delay time information is represented by a reception time of the control packet at the slave communication device in the previous period and a transmission time of the control response packet at the slave communication device. It is characterized by that.

請求項13記載の発明は、請求項11記載の主通信機において、計算部は、処理遅延時間情報を、制御パケットの受信時刻と制御応答パケットの送信時刻との差により求める、ことを特徴とする。   A thirteenth aspect of the invention is characterized in that, in the main communication device of the eleventh aspect, the calculation unit obtains the processing delay time information from the difference between the reception time of the control packet and the transmission time of the control response packet. To do.

請求項14記載の発明は、請求項11記載の主通信機において、制御応答パケットは制御パケットの従通信機での受信時刻を含み、計算部は、伝搬遅延情報を、制御パケットの送信時刻と制御パケットの受信時刻から計算する、ことを特徴とする。   According to a fourteenth aspect of the present invention, in the master communication device according to the eleventh aspect, the control response packet includes the reception time of the control packet at the slave communication device, and the calculation unit determines the propagation delay information as the control packet transmission time and the transmission time of the control packet. It is calculated from the reception time of the control packet.

請求項15記載の発明は、請求項11記載の主通信機において、制御応答パケットは制御応答パケットの送信時刻を含み、計算部は、伝搬遅延情報を、制御応答パケットの発信時刻と制御応答パケットの受信時刻から計算する、ことを特徴とする。   According to a fifteenth aspect of the present invention, in the main communication device according to the eleventh aspect, the control response packet includes a transmission time of the control response packet, and the calculation unit includes the propagation delay information, the transmission time of the control response packet, and the control response packet. It is calculated from the reception time of.

請求項16記載の発明は、請求項11に記載の主通信機において、
計算部は、要遅延時間を、第1の差の半分と、第2の差の半分との和により求め、
第1の差は、タイマで計時された制御パケットの送信時刻と、タイマで計時された制御応答パケットの受信時刻との差であり、
第2の差は、制御パケットの受信時刻と制御応答パケットの受信時刻との差である、
ことを特徴とする。
The invention according to claim 16 is the main communication device according to claim 11,
The calculation unit obtains the delay time required by the sum of half of the first difference and half of the second difference,
The first difference is the difference between the transmission time of the control packet timed by the timer and the reception time of the control response packet timed by the timer,
The second difference is the difference between the reception time of the control packet and the reception time of the control response packet.
It is characterized by that.

請求項17記載の発明は、請求項11に記載の主通信機において、
計算部は、前回計算した要遅延時間を記憶し、今回計算した要遅延時間との差である差要遅延時間を出力し、
調整部は、差要遅延時間だけ、ビデオデータの再生タイミングを遅延させる、ことを特徴とする。
The invention according to claim 17 is the main communication device according to claim 11,
The calculation unit stores the required delay time calculated last time, and outputs a difference required delay time that is a difference from the required delay time calculated this time,
The adjustment unit is characterized in that the reproduction timing of the video data is delayed by the difference required delay time.

請求項18記載の発明は、請求項17に記載の主通信機において、調整部は、差遅延時間が負である場合には、この差遅延時間に対応するビデオデータを廃棄する、ことを特徴とする。   According to an eighteenth aspect of the present invention, in the main communication device according to the seventeenth aspect, when the differential delay time is negative, the adjustment unit discards video data corresponding to the differential delay time. And

請求項19記載の発明は、請求項11記載の主通信機において、調整部は、差要遅延時間が正または0である場合には、この差要遅延時間だけ、ビデオデータの復号を延期する、ことを特徴とする。   According to a nineteenth aspect of the present invention, in the main communication device according to the eleventh aspect, when the difference required delay time is positive or zero, the adjustment unit delays the decoding of the video data by the difference required delay time. It is characterized by that.

請求項20記載の発明は、請求項11記載の主通信機において、送信部は、所定時間毎に制御パケットを送信する、ことを特徴とする。   According to a twentieth aspect of the present invention, in the main communication device according to the eleventh aspect, the transmission unit transmits a control packet every predetermined time.

請求項21記載の発明は、
主通信機がマルチメディアデータ中のビデオデータを再生する一方で、オーディオデータを従通信機に転送し、従通信機がオーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する従通信機であって、
主通信機から転送されたオーディオデータを再生するオーディオ再生器と、
主通信機から制御パケットを受信すると、この従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを、主通信機に返信する送信部と、
時刻を計時するタイマと、
を備えた従通信機である。
The invention according to claim 21
While the master communication device plays the video data in the multimedia data, the audio data is transferred to the slave communication device, and when the slave communication device plays the audio data, the playback timing of the video data and the playback of the audio data are reproduced. A slave communication device that implements a multimedia data playback method that synchronizes timing,
An audio player for playing audio data transferred from the main communication device;
When a control packet is received from the master communication device, a control response packet including processing delay time information indicating the processing delay time inside the slave communication device, a transmission unit that returns to the master communication device,
A timer that keeps time,
Is a slave communication device.

請求項22記載の発明は、請求項21記載の従通信機において、制御応答パケットは、処理遅延時間情報として、タイマで計時された制御パケットの受信時刻と制御応答パケットの送信時刻を含む、ことを特徴とする。   According to a twenty-second aspect of the present invention, in the slave communication device according to the twenty-first aspect, the control response packet includes, as processing delay time information, the reception time of the control packet timed by the timer and the transmission time of the control response packet. It is characterized by.

請求項23記載の発明は、請求項21記載の従通信機において、
制御応答パケットは、処理遅延時間情報として、制御パケットの受信時刻と制御応答パケットの送信時刻との差を含む、ことを特徴とする。
The invention according to claim 23 is the slave communication device according to claim 21,
The control response packet includes, as processing delay time information, a difference between the reception time of the control packet and the transmission time of the control response packet.

請求項24記載の発明は、請求項21記載の従通信機において、
制御パケットは、この制御パケットの主通信機での送信時刻を含み、制御応答パケットは、この制御パケット送信時刻を含む、ことを特徴とする。
According to a twenty-fourth aspect of the present invention, in the slave communication device according to the twenty-first aspect,
The control packet includes a transmission time of the control packet at the main communication device, and the control response packet includes the control packet transmission time.

請求項25記載の発明は、
主通信機がマルチメディアデータ中のビデオデータ再生する一方で、オーディオデータを従通信機に転送し、従通信機がオーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する主通信機としてコンピュータを動作させるための主通信機用プログラムであり、
(A)所定のタイミングで制御パケットを従通信機へ送信するとともに、マルチメディアデータから分離されたオーディオデータを、従通信機へ送信し、
(B)従通信機から、従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを受信し、
(C)主通信機・従通信機間の伝搬遅延情報とこの処理遅延情報との和で示される要遅延時間を計算する計算し、
(D)ビデオデータの再生タイミングを、計算された要遅延時間に基づいて、変更する、
ステップを備えた主通信機用プログラムである。
The invention according to claim 25 provides
While the master communication device reproduces video data in the multimedia data, the audio data is transferred to the slave communication device, and when the slave communication device reproduces the audio data, the playback timing of the video data and the playback timing of the audio data A program for a main communicator for operating a computer as a main communicator that implements a method of reproducing multimedia data synchronized with
(A) A control packet is transmitted to the slave communication device at a predetermined timing, and audio data separated from the multimedia data is transmitted to the slave communication device.
(B) receiving a control response packet including processing delay time information indicating a processing delay time inside the slave communication device from the slave communication device;
(C) calculating the required delay time indicated by the sum of the propagation delay information between the main communication device and the slave communication device and this processing delay information;
(D) changing the playback timing of the video data based on the calculated required delay time;
A program for a main communication device including steps.

請求項26記載の発明は、請求項25記載の主通信機用プログラムにおいて、処理遅延時間情報は、制御パケットの前期従通信機での受信時刻と制御応答パケットの従通信機での送信時刻とで表される、ことを特徴とする。   According to a twenty-sixth aspect of the invention, in the program for the main communication device according to the twenty-fifth aspect, the processing delay time information includes the reception time of the control packet in the slave communication device in the previous period and the transmission time of the control response packet in the slave communication device. It is represented by the above.

請求項27記載の発明は、請求項25記載の主通信機用プログラムにおいて、ステップ(C)は、処理遅延時間情報を、制御パケットの受信時刻と制御応答パケットの送信時刻との差で求める、ことを特徴とする。   According to a twenty-seventh aspect of the present invention, in the main communication device program according to the twenty-fifth aspect, in the step (C), the processing delay time information is obtained by a difference between a control packet reception time and a control response packet transmission time. It is characterized by that.

請求項28記載の発明は、請求項25記載の主通信機用プログラムにおいて、制御応答パケットは制御パケットの従通信機での受信時刻を含み、ステップ(C)は、伝搬遅延情報を、制御パケットの送信時刻と制御パケットの受信時刻から計算する、ことを特徴とする。   According to a twenty-eighth aspect of the present invention, in the main communication device program according to the twenty-fifth aspect, the control response packet includes a reception time of the control packet at the slave communication device, and step (C) includes the propagation delay information, the control packet It is calculated from the transmission time of and the reception time of the control packet.

請求項29記載の発明は、請求項25記載の主通信機用プログラムにおいて、
制御応答パケットはこの制御応答パケットの送信時刻をさらに含み、ステップ(C)は、計算部は、伝搬遅延情報を、制御応答パケットの発信時刻と応答制御パケットの受信時刻から計算する、ことを特徴とする。
A twenty-ninth aspect of the invention is the main communication device program according to the twenty-fifth aspect,
The control response packet further includes a transmission time of the control response packet, and the step (C) calculates the propagation delay information from the transmission time of the control response packet and the reception time of the response control packet. And

請求項30記載の発明は、請求項25に記載の主通信機用プログラムにおいて、
ステップ(C)は、要遅延時間を、第1の差の半分と、第2の差の半分との和により求め、
第1の差は、制御パケットの送信時刻と制御応答パケットの受信時刻との差であり、
第2の差は、制御パケットの受信時刻と制御応答パケットの受信時刻との差である、ことを特徴とする。
The invention according to claim 30 is the main communication device program according to claim 25,
Step (C) calculates the required delay time by the sum of half of the first difference and half of the second difference,
The first difference is the difference between the transmission time of the control packet and the reception time of the control response packet,
The second difference is a difference between the reception time of the control packet and the reception time of the control response packet.

請求項31記載の発明は、請求項25に記載の主通信機用プログラムにおいて、
ステップ(C)は、前回計算した要遅延時間を記憶し、今回計算した要遅延時間との差である差要遅延時間を計算し、
ステップ(D)は、差要遅延時間だけ、ビデオデータの再生タイミングを遅延させる、ことを特徴とする。
The invention described in claim 31 is the main communication device program according to claim 25,
Step (C) stores the required delay time calculated last time, calculates a required differential delay time which is a difference from the calculated required delay time,
Step (D) is characterized in that the reproduction timing of the video data is delayed by the difference required delay time.

請求項32記載の発明は、請求項31に記載の主通信機用プログラムにおいて、ステップ(D)は、差遅延時間が負である場合には、この差遅延時間に対応するビデオデータを廃棄する、ことを特徴とする。   According to a thirty-second aspect of the invention, in the main communication device program according to the thirty-first aspect, when the differential delay time is negative, the step (D) discards video data corresponding to the differential delay time. It is characterized by that.

請求項33記載の発明は、請求項25記載の主通信機用プログラムにおいて、ステップ(D)は、差要遅延時間が正または0である場合には、この差要遅延時間だけ、ビデオデータの復号を延期する、ことを特徴とする。   According to a thirty-third aspect of the present invention, in the main communication device program according to the twenty-fifth aspect, when the required delay time is positive or zero, the step (D) Decoding is postponed.

請求項34記載の発明は、請求項25記載の主通信機用プログラムにおいて、ステップ(A)は、所定時間毎に制御パケットを送信する、ことを特徴とする。   A thirty-fourth aspect of the present invention is the main communication device program according to the twenty-fifth aspect, characterized in that the step (A) transmits a control packet every predetermined time.

請求項35記載の発明は、主通信機がマルチメディアデータ中のビデオデータを再生する一方で、オーディオデータを従通信機に転送し、従通信機がオーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する従通信機としてコンピュータを動作させるための従通信機用プログラムであって、
(A)主通信機から転送されたオーディオデータを再生し、
(B)主通信機から制御パケットを受信すると、この従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを、主通信機に返信する、
ステップを備えたことを特徴とする。
In the invention of claim 35, when the master communication device reproduces the video data in the multimedia data, the audio data is transferred to the slave communication device, and the slave communication device reproduces the audio data. A program for a slave communication device for operating a computer as a slave communication device that implements a multimedia data playback method for synchronizing the playback timing of audio data and the playback timing of audio data,
(A) Play the audio data transferred from the main communication device,
(B) When a control packet is received from the master communication device, a control response packet including processing delay time information indicating the processing delay time inside the slave communication device is returned to the master communication device.
A step is provided.

請求項36記載の発明は、請求項35記載の従通信機用プログラムにおいて、制御応答パケットは、処理遅延時間情報として、制御パケットの受信時刻と制御応答パケットの送信時刻を含む、ことを特徴とする。   The invention according to claim 36 is the slave communication program according to claim 35, wherein the control response packet includes, as processing delay time information, a control packet reception time and a control response packet transmission time. To do.

請求項37記載の発明は、請求項35記載の従通信機用プログラムにおいて、制御応答パケットは、処理遅延時間情報として、制御パケットの受信時刻と制御応答パケットの送信時刻との差を含む、ことを特徴とする。   The invention according to claim 37 is the slave communication program according to claim 35, wherein the control response packet includes, as processing delay time information, a difference between the reception time of the control packet and the transmission time of the control response packet. It is characterized by.

請求項38記載の発明は、請求項35記載の従通信機用プログラムにおいて、制御パケットは、この制御パケットの主通信機での送信時刻を含み、制御応答パケットは、この制御パケット送信時刻をさらに含む、ことを特徴とする。   According to a thirty-eighth aspect of the present invention, in the slave communication program according to the thirty-fifth aspect, the control packet includes a transmission time of the control packet in the master communication device, and the control response packet further includes the control packet transmission time. Including.

このマルチメディアストリームは、主通信機が、地上デジタル放送や、インターネット等にアクセスすることにより受信する。また、主通信機から従通信機へのオーディオデータの転送には、Bluetooth、無線LANやその他の近距離無線技術が使用可能である。   The multimedia stream is received by the main communication device accessing the terrestrial digital broadcast, the Internet, or the like. Also, Bluetooth, wireless LAN, and other short-range wireless technologies can be used to transfer audio data from the main communication device to the slave communication device.

本発明を携帯電話機等の主通信機及びこの主通信機に接続された従通信機に適用すると、これら機器間のオーディオデータ転送や、従通信機側のバッファリングに起因するデータ転送の遅延時間をあらかじめ考慮して、主通信機でのビデオ再生タイミングを、この遅延時間だけ、遅延させることができる。これにより、主通信機でのビデオ再生と従通信機でのオーディオ再生とを同期させることができる。即ち、本発明は、主通信機と従通信機とを連携させて、リップシンクを実現する。   When the present invention is applied to a main communication device such as a cellular phone and a slave communication device connected to the master communication device, a delay time of audio data transfer between these devices and data transfer caused by buffering on the slave communication device side In consideration of the above, the video playback timing in the main communication device can be delayed by this delay time. Thereby, the video reproduction in the main communication device and the audio reproduction in the slave communication device can be synchronized. That is, the present invention realizes lip sync by linking a main communication device and a slave communication device.

次に、図面を参照して、本発明の実施形態につき説明する。   Next, embodiments of the present invention will be described with reference to the drawings.

なお、以下の説明では、マルチメディアストリームを受信する主通信機としては携帯電話機を、従通信機としてはワイヤレスヘッドホンを例として説明する。しかしながら、これらの主通信機や従通信機としては、別の機器も使用可能である。例えば、主通信機としては、携帯電話機以外の携帯通信端末や携帯型パーソナルコンピュータ等も使用できる。また、従通信機としては、無線インタフェースを有するオーディオ再生機器が使用可能である。   In the following description, a mobile phone will be described as an example of a main communication device that receives a multimedia stream, and wireless headphones will be described as an example of a slave communication device. However, other devices can be used as these main communication devices and slave communication devices. For example, as the main communication device, a mobile communication terminal other than a mobile phone, a portable personal computer, or the like can be used. As the slave communication device, an audio playback device having a wireless interface can be used.

図1は、本発明の利用シーンの一例を示す。   FIG. 1 shows an example of a usage scene of the present invention.

図1において、ユーザ300は、携帯電話機100で、マルチメディアストリームを受信している。携帯電話機100は、受信マルチメディアストリームを、ビデオデータとオーディオデータとに分離し、ビデオデータをそのディスプレイ上に再生する。また、携帯電話機100は、オーディオデータをワイヤレスヘッドホン200に転送する。ワイヤレスヘッドホン200は、転送されたオーディオデータを再生する。ユーザ300は、携帯電話機100で、再生ビデオ信号を見、ヘッドホン200で、再生オーディオ信号を聞く。   In FIG. 1, a user 300 receives a multimedia stream with the mobile phone 100. The mobile phone 100 separates the received multimedia stream into video data and audio data, and reproduces the video data on its display. Further, the mobile phone 100 transfers audio data to the wireless headphones 200. The wireless headphones 200 reproduce the transferred audio data. The user 300 views the reproduced video signal with the mobile phone 100 and listens to the reproduced audio signal with the headphones 200.

これらの携帯電話機100及びヘッドホン200は、Bluetooth等の短距離無線器を内蔵している。   These mobile phone 100 and headphones 200 incorporate a short-range wireless device such as Bluetooth.

ユーザ300は、携帯電話機100からワイヤレスヘッドホン200に転送されたオーディオデータを聴く。前述したとおり、携帯電話機100から、ワイヤレスヘッドホン200に無線転送されるオーディオデータは、無線伝搬路で伝搬遅延を受ける。また、このオーディオデータは、ワイヤレスヘッドホン200における、オーディオデータのバッファリングの時間に起因する処理遅延も受ける。この結果、ワイヤレスヘッドホンからのオーディオ信号の再生タイミングは、ユーザ300が見ている再生ビデオ信号の再生タイミングとのズレを、ユーザが認識することがある。   The user 300 listens to the audio data transferred from the mobile phone 100 to the wireless headphones 200. As described above, audio data wirelessly transferred from the mobile phone 100 to the wireless headphones 200 undergoes a propagation delay in the wireless propagation path. The audio data is also subjected to a processing delay due to the audio data buffering time in the wireless headphones 200. As a result, the user may recognize a difference between the playback timing of the audio signal from the wireless headphones and the playback timing of the playback video signal viewed by the user 300.

次に、図2、図3を参照して、本発明の一実施形態を説明する。図2は、本発明の一実施携帯に関わる携帯電話機の構成例を示すブロック図であり、図3は、本発明の一実施形態に関わるワイヤレスヘッドホンの構成例を示すブロック図である。   Next, an embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a block diagram showing a configuration example of a mobile phone related to a mobile phone according to an embodiment of the present invention, and FIG. 3 is a block diagram showing a configuration example of wireless headphones according to an embodiment of the present invention.

図2に示されたとおり、本実施形態に関わる携帯電話機100は、プログラム制御によって動作するコンピュータ(中央処理装置)110と、オーディオデータをワイヤレスヘッドホンへ転送するための無線通信部120と、オーディオ信号を出力するスピーカ130と、タイマ情報を生成するタイマ140と、無線ネットワークあるいは有線ネットワークからマルチメディアストリームデータを受信するストリームデータ受信器150と、再生ビデオ信号を表示するディスプレイ(非図示)を含むユーザインタフェース160とからなる。   As shown in FIG. 2, the mobile phone 100 according to the present embodiment includes a computer (central processing unit) 110 that operates by program control, a wireless communication unit 120 for transferring audio data to wireless headphones, and an audio signal. Including a speaker 130 that outputs a timer, a timer 140 that generates timer information, a stream data receiver 150 that receives multimedia stream data from a wireless network or a wired network, and a display (not shown) that displays a playback video signal Interface 160.

無線通信部120としては、Bluetooth、無線LAN送受信器等が使用できる。   As the wireless communication unit 120, Bluetooth, a wireless LAN transceiver, or the like can be used.

ストリームデータ受信器150は、例えば、ブラウザとインターネットとの通信を行うインターネット通信部との組み合わせで実現される。ストリームデータ受信器150は、インターネット等からマルチメディアストリームデータを受信する。また、このストリームデータ受信器150は、地上デジタル放送のストリームデータを受信する地上デジタル放送受信機で構成されてもよい。ストリームデータを受信する受信機の構成そのものは、本発明には直接には関係しないので、図1では、単に、ストリームデータ受信器150と表示している。   The stream data receiver 150 is realized by, for example, a combination of a browser and an Internet communication unit that performs communication between the Internet. The stream data receiver 150 receives multimedia stream data from the Internet or the like. The stream data receiver 150 may be a terrestrial digital broadcast receiver that receives terrestrial digital broadcast stream data. Since the configuration of the receiver that receives the stream data is not directly related to the present invention, it is simply indicated as the stream data receiver 150 in FIG.

また、コンピュータ110は、制御部111と、メディア分離部112と、ビデオバッファリング部113と、オーディオバッファリング部114と、通信インタフェース115と、タイミング同期部116と、ビデオ復号器117と、オーディオ復号器118とを含む。これらは、プログラムにより実現されている。   Further, the computer 110 includes a control unit 111, a media separation unit 112, a video buffering unit 113, an audio buffering unit 114, a communication interface 115, a timing synchronization unit 116, a video decoder 117, and an audio decoding unit. Instrument 118. These are realized by a program.

制御部111は、携帯電話機100全体を制御する。メディア分離部112は、受信したマルチメディアストリーミングを、ビデオデータとオーディオデータとに分離する。ビデオバッファリング部113は、ビデオデータをバッファリングする。ビデオ復号器117は、ビデオデータを復号化する。ユーザインタフェース160は、復号化されたビデオ信号を、携帯電話機100のディスプレイ上に表示する。   The control unit 111 controls the entire mobile phone 100. The media separation unit 112 separates the received multimedia streaming into video data and audio data. The video buffering unit 113 buffers video data. The video decoder 117 decodes the video data. The user interface 160 displays the decoded video signal on the display of the mobile phone 100.

仮に、図2の構成において、ユーザが、ビデオ信号とオーディオ信号との両方を携帯電話機で視聴することを選択している場合には、オーディオバッファリング部114は、オーディオデータをバッファリングする。また、オーディオ復号器118は、オーディオデータの復号化を行い、この復号化されたオーディオ信号は、スピーカ130に供給される。以下に説明する本実施形態では、オーディオ復号器118及びスピーカ130は、使用されないことに注意されたい。   If the user has selected to view both the video signal and the audio signal on the mobile phone in the configuration of FIG. 2, the audio buffering unit 114 buffers the audio data. The audio decoder 118 decodes the audio data, and the decoded audio signal is supplied to the speaker 130. Note that in the present embodiment described below, audio decoder 118 and speaker 130 are not used.

本実施形態では、オーディバッファリング部114は、タイミング同期部116及び通信インタフェース115及び無線通信部120を介して、オーディオデータを、ワイヤレスヘッドホン200に供給する。   In the present embodiment, the audio buffering unit 114 supplies audio data to the wireless headphones 200 via the timing synchronization unit 116, the communication interface 115, and the wireless communication unit 120.

タイミング同期部116は、ビデオデータ及びオーディオデータを、各々、ビデオバッファリング部113、オーディオバッファリング部114から受け取る。詳しくは後述するが、タイミング同期部116は、携帯電話機100のディスプレイで表示されるビデオ信号の再生タイミングとワイヤレスヘッドホン200のスピーカ230から出力されるオーディオ信号の再生タイミングがほぼ等しくなるように、ビデオデータをビデオ復号器117へ渡すタイミングを調整する。   The timing synchronization unit 116 receives video data and audio data from the video buffering unit 113 and the audio buffering unit 114, respectively. As will be described in detail later, the timing synchronization unit 116 controls the video so that the playback timing of the video signal displayed on the display of the mobile phone 100 is substantially equal to the playback timing of the audio signal output from the speaker 230 of the wireless headphones 200. The timing for passing data to the video decoder 117 is adjusted.

通信インタフェース114には、ワイヤレスヘッドホンと通信を行うための、通信プロトコル等が実装されている。   The communication interface 114 is implemented with a communication protocol and the like for communicating with wireless headphones.

図3は、本実施形態にかかわるワイヤレスヘッドホン200の構成例を示すブロック図である。   FIG. 3 is a block diagram illustrating a configuration example of the wireless headphones 200 according to the present embodiment.

図3に示されたとおり、ワイヤレスヘッドホン200は、プログラム制御によって動作するコンピュータ210と、無線通信部220と、スピーカ230と、タイマ情報を生成するタイマ240とを含む。   As shown in FIG. 3, the wireless headphone 200 includes a computer 210 that operates under program control, a wireless communication unit 220, a speaker 230, and a timer 240 that generates timer information.

また、コンピュータ210は、ワイヤレスヘッドホン200全体を制御するヘッドホン制御部211と、オーディオデータをバッファリングするオーディオバッファリング部212と、タイミング同期部213と、オーディオデータを復号化するオーディオ復号器214と、無線通信部220を使用して携帯電話機100と通信を行うための通信インタフェース215とを含む。   In addition, the computer 210 includes a headphone control unit 211 that controls the entire wireless headphone 200, an audio buffering unit 212 that buffers audio data, a timing synchronization unit 213, an audio decoder 214 that decodes audio data, A communication interface 215 for communicating with the mobile phone 100 using the wireless communication unit 220 is included.

なお、本実施形態では、ビデオデータの復号化処理、およびオーディオデータの復号化処理は、それぞれ、ソフトウェアで実現される。   In the present embodiment, the video data decoding process and the audio data decoding process are each implemented by software.

なお、ユーザ300は、携帯電話機100と、ワイヤレスヘッドホン200とを、あらかじめ無線により接続処理を行い、携帯電話機100とワイヤレスヘッドホン200との間で、無線上でのデータ転送が行えるようにしておくものとする。このような無線接続手順は、本発明とは直接には関係しないので、これ以上の説明は省略される。また、同様に、ワイヤレスヘッドホン200で再生するオーディオストリーミング再生に関連する、コーデック情報、サンプリング周波数、転送ビットレート等の情報は、あらかじめ携帯電話機100と、ワイヤレスヘッドホン200との間でネゴシエーションがなされているものとする。このようなネゴシエーションついては、ストリーミング形式のオーディオデータの符号化方式により定められるものであり、本発明と直接には関係しないため、詳細な説明は省略される。つまり、携帯電話機100と、ワイヤレスヘッドホン200との間では、オーディオデータを再生するためのあらゆる準備が完了している状態にあるものとして、以下の説明を行う。   The user 300 performs wireless connection processing between the mobile phone 100 and the wireless headphones 200 in advance so that data can be transferred wirelessly between the mobile phone 100 and the wireless headphones 200. And Since such a wireless connection procedure is not directly related to the present invention, further explanation is omitted. Similarly, information such as codec information, sampling frequency, and transfer bit rate related to audio streaming playback played back by the wireless headphones 200 is negotiated between the mobile phone 100 and the wireless headphones 200 in advance. Shall. Such negotiation is determined by the encoding method of the streaming format audio data, and is not directly related to the present invention, and thus detailed description thereof is omitted. That is, the following description will be given on the assumption that all preparations for reproducing audio data have been completed between the mobile phone 100 and the wireless headphones 200.

次に、図2の携帯電話装置100と図3のワイヤレスヘッドホン200との連係につき説明する。   Next, the linkage between the cellular phone device 100 of FIG. 2 and the wireless headphones 200 of FIG. 3 will be described.

図4は、本実施形態でのビデオデータ及びオーディオデータの流れを示している。図4の上側は、携帯電話機100におけるデータの流れを示し、図4の下側は、ワイヤレスヘッドホン200のデータの流れを示している。   FIG. 4 shows the flow of video data and audio data in this embodiment. 4 shows the data flow in the mobile phone 100, and the lower side in FIG. 4 shows the data flow of the wireless headphones 200.

携帯電話機100では、ストリームデータ受信器150は、ビデオデータとオーディオデータとが混在したマルチメディアストリームデータを受信し、メディア分離部112に渡す。   In the mobile phone 100, the stream data receiver 150 receives multimedia stream data in which video data and audio data are mixed, and passes the multimedia stream data to the media separation unit 112.

メディア分離部112は、マルチメディアストリームデータからビデオデータ部分を分離してビデオバッファリング部113に渡す。また、メディア分離部112は、マルチメディアストリームデータからオーディオデータ部分を分離してオーディオバッファリング部114に渡す。   The media separation unit 112 separates the video data portion from the multimedia stream data and passes it to the video buffering unit 113. Further, the media separation unit 112 separates the audio data portion from the multimedia stream data and passes it to the audio buffering unit 114.

ビデオバッファリング部113は、このビデオデータをバッファリングする。その後、ビデオバッファリング部113は、タイミング同期部116からビデオデータを送るよう要求されたタイミングで、バッファリングされていたビデオデータを、その先頭から所定の単位で取り出して、タイミング同期部116に渡す。このビデオデータは、ビデオ復号器117にて復号され、再生ビデオ信号が、携帯電話機100のユーザインタフェース(ディスプレイ)装置に表示される。   The video buffering unit 113 buffers this video data. Thereafter, the video buffering unit 113 takes out the buffered video data in a predetermined unit from the head at the timing requested to send the video data from the timing synchronization unit 116, and passes it to the timing synchronization unit 116. . This video data is decoded by the video decoder 117, and the reproduced video signal is displayed on the user interface (display) device of the mobile phone 100.

一方、オーディオバッファリング部114は、メディア分離部112から受け取ったオーディオデータをバッファリングする。その後、オーディオバッファリング部114は、タイミング同期部116からオーディオデータを送るよう要求されたタイミングで、バッファリングされていたオーディオデータを、先頭から所定の単位で取り出して、タイミング同期部116に渡す。   On the other hand, the audio buffering unit 114 buffers the audio data received from the media separation unit 112. Thereafter, the audio buffering unit 114 takes out the buffered audio data in a predetermined unit from the beginning at the timing requested to send the audio data from the timing synchronization unit 116, and passes the audio data to the timing synchronization unit 116.

タイミング同期部116は、このオーディオデータを受け取り、通信インタフェース115及び無線通信部120を介して、ワイヤレスヘッドホン200に送信する。   The timing synchronization unit 116 receives this audio data and transmits it to the wireless headphones 200 via the communication interface 115 and the wireless communication unit 120.

ワイヤレスヘッドホン200において、オーディオバッファリング部212は、携帯電話機から受信したオーディオデータをバッファリングする。その後、タイミング同期部213からオーディオデータを送るよう要求されたタイミングで、バッファリングされていたオーディオデータを所定の単位で取り出して、タイミング同期部116に渡す。このオーディオデータは、オーディオ復号器にて復号化され、ワイヤレスヘッドホン200のスピーカにて再生される。   In the wireless headphones 200, the audio buffering unit 212 buffers audio data received from the mobile phone. Thereafter, the buffered audio data is taken out in a predetermined unit at a timing requested by the timing synchronization unit 213 to send the audio data, and passed to the timing synchronization unit 116. This audio data is decoded by the audio decoder and reproduced by the speaker of the wireless headphones 200.

以上が、本実施形態における、ビデオデータ及びオーディオデータの流れである。   The above is the flow of video data and audio data in the present embodiment.

本実施形態では、以上の動作に加えて、携帯電話機100のタイミング同期部116は、制御パケットを作成し、ワイヤレスヘッドホンに送信する。この制御パケットは、タイマ140により計時された発信時刻を示す発信時刻情報を含む。   In the present embodiment, in addition to the above operation, the timing synchronization unit 116 of the mobile phone 100 creates a control packet and transmits it to the wireless headphones. This control packet includes transmission time information indicating the transmission time counted by the timer 140.

ワイヤレスヘッドホン200は、この制御パケットを受信した時点で、オーディオバッファリング部212で、制御応答パケットを作成し、受信したオーディオデータとともにバッファリングする。オーディオバッファリング部212は、この制御応答パケットが、内蔵されたバッファから読み出された時点で、制御応答パケットを、携帯電話機に返信する。この時点で、制御応答パケットは、ワイヤレスヘッドホン内での処理遅延時間、すなわち、バッファリング処理に要した時間を示す処理遅延時間情報を含む。   When the wireless headphones 200 receive this control packet, the audio buffering unit 212 creates a control response packet and buffers it together with the received audio data. The audio buffering unit 212 returns the control response packet to the mobile phone when the control response packet is read from the built-in buffer. At this time, the control response packet includes processing delay time information indicating the processing delay time in the wireless headphones, that is, the time required for the buffering process.

携帯電話機100のタイミング同期部116は、この制御応答パケット内の情報を基に、携帯電話機でのビデオ再生とワイヤレスヘッドホンでのオーディオ再生を同期させるための要遅延時間(T_delay)を計算する。そして、タイミング同期部は、この計算結果が出ると、この計算された要遅延時間(T_delay)に基づいて、ビデオデータをビデオ復号器に送付する動作を延期する。   Based on the information in the control response packet, the timing synchronization unit 116 of the mobile phone 100 calculates a required delay time (T_delay) for synchronizing video playback on the mobile phone and audio playback on the wireless headphones. Then, when this calculation result is output, the timing synchronization unit postpones the operation of sending the video data to the video decoder based on the calculated required delay time (T_delay).

この結果、タイミング同期部116からビデオ復号器117ビデオデータが出力される時刻は、このビデオデータと同時に再生されるべきオーデォデータよりも遅れてタイミング同期部116から出力される。この結果、このビデオデータがビデオ復号器117に到達する時刻は、ワイヤレスヘッドホンに送付されたオーディオデータが、ワイヤレスヘッドホン200内のオーディオ復号器214に到着する時刻とほぼ同じとなる。この後は、後続するビデオデータも、この要遅延時間だけずれた時点で、ビデオ復号器117に供給されるので、後続するビデオデータ、オーディオデータの再生タイミングは一致する。   As a result, the time at which the video decoder 117 video data is output from the timing synchronization unit 116 is output from the timing synchronization unit 116 later than the audio data to be reproduced simultaneously with the video data. As a result, the time when the video data reaches the video decoder 117 is substantially the same as the time when the audio data sent to the wireless headphones arrives at the audio decoder 214 in the wireless headphones 200. Thereafter, the subsequent video data is also supplied to the video decoder 117 at a time point shifted by the required delay time, so that the playback timings of the subsequent video data and audio data match.

図5は、本実施形態において、制御パケットと制御応答パケットを用いて、前述した要遅延時間(T_delay)を計算する方法を説明するための図である。   FIG. 5 is a diagram for explaining a method of calculating the above-described required delay time (T_delay) using a control packet and a control response packet in the present embodiment.

図5に示したように、携帯電話機100は、時刻t1に制御パケットを送信し、時刻t4に制御応答パケットを受信したものとする。なお、これらt1及びt4は、携帯電話機100内のタイマ140で計時された時刻を示すタイマ情報である。また、図5に示されたように、ワイヤレスヘッドホン200は、時刻t2で制御パケットを受信し、時刻t3で制御応答を送信したものとする。なお、これらt2及びt3は、ワイヤレスヘッドホン200内のタイマ240で計時された時刻を示すタイマ情報である。   As shown in FIG. 5, it is assumed that the mobile phone 100 transmits a control packet at time t1 and receives a control response packet at time t4. These t1 and t4 are timer information indicating the time measured by the timer 140 in the mobile phone 100. Further, as shown in FIG. 5, it is assumed that the wireless headphones 200 receive a control packet at time t2 and transmit a control response at time t3. These t2 and t3 are timer information indicating the time counted by the timer 240 in the wireless headphones 200.

以下に、このT_delayの計算方法につき、3つの例を説明する。なお、この3つの計算方法例は、携帯電話機100内のタイミング同期部116が実行する。   In the following, three examples of the T_delay calculation method will be described. Note that these three calculation method examples are executed by the timing synchronization unit 116 in the mobile phone 100.

まず、要遅延時間計算方法の第1の例(以下、「例A」)につき、説明する。この例Aは、次の式(1)により、要遅延時間(T_delay)を計算する。   First, a first example (hereinafter referred to as “example A”) of a method for calculating a required delay time will be described. In this example A, the required delay time (T_delay) is calculated by the following equation (1).

T_delay = (t2 − t1) + (t3 − t2)
= (t3 − t1) ・・・(1)
(1)式において、(t2 − t1)は、携帯電話機100から無線ヘッドホン200までの無線区間における伝搬遅延時間を示す。(t3 − t2)は、ワイヤレスヘッドホン内部での処理遅延時間を示す。(1)式による要遅延時間T_delayは、この伝搬遅延時間と処理遅延時間の合計である。この要遅延時間の最初の計算がなされ、携帯電話機100がその後の最初の音声データをワイヤレスヘッドホンに送信してから、この要処理時間が経過するまで、携帯電話機100内のタイミング同期部116は、ビデオデータのビデオ復号器117への送付を延期する。
T_delay = (t2−t1) + (t3−t2)
= (T3-t1) (1)
In the equation (1), (t2−t1) represents a propagation delay time in a wireless section from the mobile phone 100 to the wireless headphones 200. (t3−t2) indicates a processing delay time inside the wireless headphones. The required delay time T_delay according to the equation (1) is the sum of the propagation delay time and the processing delay time. After the first calculation of the required delay time is performed and the cellular phone 100 transmits the first audio data thereafter to the wireless headphones, the timing synchronization unit 116 in the cellular phone 100 until the required processing time elapses, Postpone sending video data to video decoder 117.

なお、この例Aによる計算では、携帯電話機100内のタイマ140とワイヤレスヘッドホン内のタイマ240とは、時刻が正確に、合わせられる必要がある。好ましくは、0.5秒以内に合わせられている必要がある。さらに好ましくは、時刻を計測する単位時間の1/2未満に合わせられている必要がある。その理由は、時刻t1は、タイマ140により計時される時刻であり、時刻t2、t3は、タイマ240により掲示された時刻であるためである。仮に、タイマ140の時刻とタイマ240の時刻にずれがあると、このずれは、(1)式の計算結果の影響を与える。   In the calculation according to the example A, the timer 140 in the mobile phone 100 and the timer 240 in the wireless headphones need to be timed accurately. Preferably, it must be adjusted within 0.5 seconds. More preferably, it needs to be set to less than half of the unit time for measuring time. This is because the time t1 is the time counted by the timer 140, and the times t2 and t3 are the times posted by the timer 240. If there is a discrepancy between the time of the timer 140 and the time of the timer 240, this discrepancy affects the calculation result of the equation (1).

なお、この時刻合わせは、事前に、携帯電話機100及びワイヤレスヘッドホン200が、基地局(インフラストラクチャモード無線LANシステムにおいては、アクセスポイント)と交信することにより、正確な時刻情報を得て、各々のタイマをセットすることにより実現できる。また、この時刻合わせには、周知の他の方法も使用できることは言うまでも無い。   Note that this time adjustment is performed in advance by the mobile phone 100 and the wireless headphones 200 communicating with the base station (access point in the infrastructure mode wireless LAN system) to obtain accurate time information. This can be realized by setting a timer. Needless to say, other known methods can be used for this time adjustment.

次に、要遅延時間計算方法の第2の例(以下、「例B」)につき、説明する。この例Bは、次の式(2)により、要遅延時間を計算する。なお、この例Bの計算方法を使用する場合も、例Aと同様に、携帯電話機100内のタイマ140とワイヤレスヘッドホン内のタイマ240とは、時刻が正確に合わせられている必要がある。その理由は、例Aと同様である。   Next, a second example (hereinafter referred to as “example B”) of a method for calculating a delay time will be described. In this example B, the required delay time is calculated by the following equation (2). Even when the calculation method of Example B is used, similarly to Example A, the timer 140 in the mobile phone 100 and the timer 240 in the wireless headphones need to be accurately timed. The reason is the same as in Example A.

T_delay = (t4 − t3) + (t3 − t2)
= (t4 − t2) ・・・(2)
(2)式において、(t4 − t3)は、無線伝搬路における伝送遅延時間を示す。(t3 − t2)は、ワイヤレスヘッドホン内部での処理遅延時間を示す。(2)式による要遅延時間T_delayは、この伝搬遅延時間と処理遅延時間の合計である。
T_delay = (t4−t3) + (t3−t2)
= (T4-t2) (2)
In the equation (2), (t4−t3) represents a transmission delay time in the radio propagation path. (t3−t2) indicates a processing delay time inside the wireless headphones. The required delay time T_delay according to equation (2) is the sum of the propagation delay time and the processing delay time.

次に、要遅延時間計算方法の第3の例(以下、「例C」)につき、説明する。この例Cは、次の式(3)により、要遅延時間を計算する。なお、この例3は、例A、例Bと異なり、携帯電話機100内のタイマ140とワイヤレスヘッドホン内のタイマ240とは、時刻が正確に一致している必要は必ずしもない。その理由は後述される。   Next, a third example (hereinafter referred to as “example C”) of the method for calculating the required delay time will be described. In this example C, the required delay time is calculated by the following equation (3). In Example 3, unlike Example A and Example B, the timer 140 in the mobile phone 100 and the timer 240 in the wireless headphones do not necessarily have the same time. The reason will be described later.

T_delay=((t2-t1)+(t4―t3))/2+(t3−t2)
=(t4 − t1)/2 − (t3 − t2)/2 +(t3 − t2)
=(t4 − t1)/2 + (t3 − t2)/2 ・・・(3)
(3)式において、((t2-t1)+(t4 ― t3))/2は、携帯電話機100からワイヤレスヘッドホン200までの無線区間における伝送遅延時間と、ワイヤレスヘッドホン200から携帯電話機100までの無線区間における伝送遅延時間との平均値を示す。(t3 − t2)は、ワイヤレスヘッドホン内部での処理遅延時間を示す。
T_delay = ((t2-t1) + (t4-t3)) / 2+ (t3-t2)
= (T4−t1) / 2− (t3−t2) / 2 + (t3−t2)
= (T4-t1) / 2 + (t3-t2) / 2 (3)
In the equation (3), ((t2−t1) + (t4−t3)) / 2 is a transmission delay time in a radio section from the mobile phone 100 to the wireless headphone 200 and a radio from the wireless headphone 200 to the mobile phone 100. The average value with the transmission delay time in the section is shown. (t3−t2) indicates a processing delay time inside the wireless headphones.

前述したとおり、時刻t1及びt4は、携帯電話機内のタイマ140で計時された時刻であり、時刻t2及びt3は、ワイヤレスヘッドホン内のタイマ240で計時された時刻である。(3)式は、時刻t1と時刻t4との差の半分と、時刻t2と時刻t3との差の半分との和である。したがって、携帯電話機内のタイマ140の時刻とワイヤレスヘッドホン内のタイマ240の時刻との間に、時間差があったとしても、この時間差は、(3)式の計算結果には影響しない。したがって、この例Cは、例A、例Bと異なり、携帯電話機100内のタイマ140とワイヤレスヘッドホン内のタイマ240とは、時刻が正確に一致している必要はない。   As described above, times t1 and t4 are times counted by the timer 140 in the mobile phone, and times t2 and t3 are times counted by the timer 240 in the wireless headphones. Equation (3) is the sum of half the difference between time t1 and time t4 and half the difference between time t2 and time t3. Therefore, even if there is a time difference between the time of the timer 140 in the mobile phone and the time of the timer 240 in the wireless headphones, this time difference does not affect the calculation result of the expression (3). Therefore, unlike Example A and Example B, the timer 140 in the mobile phone 100 and the timer 240 in the wireless headphones do not need to coincide with each other.

次に、図6、及び図7のフローチャートを参照して、本実施形態の全体の動作について詳細に説明する。   Next, the overall operation of this embodiment will be described in detail with reference to the flowcharts of FIGS. 6 and 7.

図6は、携帯電話機100における、本発明を実現するためのタイミング同期部116のビデオデータ再生時の動作を説明するためのフローチャートである。   FIG. 6 is a flowchart for explaining the operation at the time of video data reproduction of the timing synchronization unit 116 for realizing the present invention in the mobile phone 100.

なお、ユーザが、携帯電話機100とワイヤレスヘッドホン200と接続しない場合には、タイミング同期部116は、一般的に広く知られている“メディア間同期”の方法に従って、携帯電話機100の内部において、ビデオとオーディオの同期を取る。このような場合としては、ユーザがオーディオデータを、携帯電話機100に有線で接続されたヘッドホンや、スピーカ130で聴く場合などがある。図6では、このような場合の、タイミング同期部の動作については、説明を省略している。   When the user does not connect the mobile phone 100 and the wireless headphones 200, the timing synchronization unit 116 performs video in the mobile phone 100 in accordance with a generally well-known “intermediate synchronization” method. And synchronize audio. As such a case, there is a case where the user listens to the audio data through headphones connected to the mobile phone 100 with a wire or a speaker 130. In FIG. 6, description of the operation of the timing synchronization unit in such a case is omitted.

図6のステップA1において、タイミング同期部116は、動画ストリーミング再生の状態を確認する。タイミング同期部116は、この確認を、制御部111に対して行う。携帯電話機がビデオ再生を終了する場合には、タイミング同期部116の動作は終了する。   In step A1 of FIG. 6, the timing synchronization unit 116 confirms the state of moving image streaming reproduction. The timing synchronization unit 116 performs this check on the control unit 111. When the mobile phone ends video reproduction, the operation of the timing synchronization unit 116 ends.

ビデオ再生を実行する場合には、タイミング制御部116は、ステップA2において、無線通信部120、通信インタフェース115を経て、ワイヤレスヘッドホン200からの制御応答パケットを受信したか否かを確認する。   When performing video reproduction, the timing control unit 116 confirms whether or not a control response packet from the wireless headphones 200 is received via the wireless communication unit 120 and the communication interface 115 in step A2.

このタイミング同期部116が動作を開始した直後は、タイミング同期部116は、制御パケットをまだ送信していないため、制御応答パケットを受信しない。したがって、タイミング同期部116の動作は、ステップA5に進む。   Immediately after the timing synchronization unit 116 starts operating, the timing synchronization unit 116 does not receive a control response packet because it has not yet transmitted a control packet. Therefore, the operation of the timing synchronization unit 116 proceeds to step A5.

ステップA5では、タイミング同期部116は、タイマ140が生成するタイマ情報から、ビデオデータの再生タイミングを判断し、ビデオバッファリング部113にビデオデータを要求する。この結果、タイミング同期部116は、ビデオバッファリング部113からビデオデータを受け取って、ビデオ復号器117に渡し、ビデオデータを再生する。   In step A5, the timing synchronization unit 116 determines the playback timing of the video data from the timer information generated by the timer 140, and requests the video data from the video buffering unit 113. As a result, the timing synchronization unit 116 receives the video data from the video buffering unit 113, passes it to the video decoder 117, and reproduces the video data.

また、ステップA6では、タイミング同期部116は、同じくタイマ140が生成するタイマ情報から、動画ストリーミングの再生タイミングを判断し、オーディオバッファリング部114にオーディオデータを要求する。この結果、オーディオバッファリング部114からオーディオデータを受け取って、通信インタフェース115を介して、無線通信部120から、オーディオデータを送信する(ステップA6)。このオーディオデータは、無線回線を介して、にて転送され、ワイヤレスヘッドホン200に送られる。   In step A6, the timing synchronization unit 116 also determines the playback timing of the video streaming from the timer information generated by the timer 140, and requests audio data from the audio buffering unit 114. As a result, the audio data is received from the audio buffering unit 114, and the audio data is transmitted from the wireless communication unit 120 via the communication interface 115 (step A6). This audio data is transferred via a wireless line and sent to the wireless headphones 200.

さらに、タイミング同期部116は、オーディオデータパケットの送信数をカウントしておく。そして、タイミング同期部116は、オーディオデータパケットを一定数送信する毎に、制御パケットをワイヤレスヘッドホン200に送信する。ステップA7での判定により、オーディオデータの送信数が、一定数に達していないと判明した場合には、タイミング同期部116の動作は、ステップA1に戻る。   Further, the timing synchronization unit 116 counts the number of audio data packets transmitted. The timing synchronization unit 116 transmits a control packet to the wireless headphones 200 every time a certain number of audio data packets are transmitted. If it is determined by step A7 that the number of audio data transmissions has not reached a certain number, the operation of the timing synchronization unit 116 returns to step A1.

また、一定数のオーディオデータパケットが送信された場合には、タイミング制御部116は、ステップA8で、制御パケットをワイヤレスヘッドホン200に送信する。この時、オーディオデータパケット送信数を計数するためのカウンタは、リセットされる。また、制御パケットを送信する瞬間のタイマ140のタイマ情報(t1)は、制御パケットに書き込まれる。なお、このタイマ情報(t1)は、制御パケット内に格納される代わりに、タイミング同期部116内部に一時蓄積されていてもよい。   When a certain number of audio data packets are transmitted, the timing control unit 116 transmits the control packet to the wireless headphones 200 in step A8. At this time, the counter for counting the number of audio data packet transmissions is reset. Also, the timer information (t1) of the timer 140 at the moment of transmitting the control packet is written in the control packet. The timer information (t1) may be temporarily stored in the timing synchronization unit 116 instead of being stored in the control packet.

なお、ここでは、オーディオデータのパケット送信数をカウントし、一定間隔ごとに制御パケットを送信するような方法を説明した。しかしながら、本実施形態は、タイマを用いて、一定時間ごとに制御パケットを送信するように、変形されてもよい。   Here, a method has been described in which the number of audio data packets transmitted is counted and control packets are transmitted at regular intervals. However, the present embodiment may be modified such that a control packet is transmitted at regular intervals using a timer.

制御パケットが送信されると、タイミング同期部116はステップA1に戻る。   When the control packet is transmitted, the timing synchronization unit 116 returns to Step A1.

この後、携帯電話機100は、送信した制御パケットに対応する制御応答パケットがワイヤレスヘッドホン200から返送されるのを待つ。その間に、タイミング同期部116は、ステップA1、A2、A5、A6、A7,A8の処理を繰り返す。   Thereafter, the mobile phone 100 waits for a control response packet corresponding to the transmitted control packet to be returned from the wireless headphones 200. Meanwhile, the timing synchronization unit 116 repeats the processes of steps A1, A2, A5, A6, A7, and A8.

なお、本実施形態は、最初の制御パケット・制御応答パケットのやりとりが完了するまで、ビデオデータの再生を開始しないように、修正されることも可能である。この変形例では、ステップA1の前に、制御パケットの送信処理が行われる。この変形では、最初に遅延時間を測定して、その後、ビデオ再生を開始するという手順をとる。   It should be noted that this embodiment can be modified so that the reproduction of video data is not started until the first exchange of the control packet / control response packet is completed. In this modification, control packet transmission processing is performed before step A1. In this modification, the procedure is such that the delay time is first measured and then video playback is started.

ここでは、説明を簡単にするために、制御パケットのやりとりをする前の段階でも、ビデオデータの再生を開始ものとして説明する。   Here, in order to simplify the explanation, it is assumed that the reproduction of the video data is started even before the exchange of the control packet.

ここで図7のフローチャートを参照する。図7は、ワイヤレスヘッドホン200の、オーディオバッファリング部212の処理を説明するためのフローチャートである。   Reference is now made to the flowchart of FIG. FIG. 7 is a flowchart for explaining processing of the audio buffering unit 212 of the wireless headphones 200.

ステップB1にて、オーディオバッファリング部212は、オーディオ再生の状態を確認する。オーディオバッファリング部212は、この確認をヘッドホン制御部211に行う。オーディオ再生が終了された場合には、オーディオバッファリング部212は、その動作を終了する。   In step B1, the audio buffering unit 212 confirms the state of audio reproduction. The audio buffering unit 212 confirms this with the headphone control unit 211. When the audio reproduction is finished, the audio buffering unit 212 finishes the operation.

ステップB1での判定結果が、“No”の場合、オーディオバッファリング部212は、ステップB2で、パケットを受信したか否かを判定する。即ち、オーディオバッファリング部212は、無線通信部220、通信インタフェース215を経て、携帯電話機100からパケットを受信したか否かを判定する。携帯電話機からのパケットを受信している場合には、オーディオバッファリング部212の処理は、ステップB3に進み、そうでない場合には、ステップB6に進む。   If the determination result in step B1 is “No”, the audio buffering unit 212 determines whether or not a packet has been received in step B2. That is, the audio buffering unit 212 determines whether a packet is received from the mobile phone 100 via the wireless communication unit 220 and the communication interface 215. If the packet from the mobile phone is received, the process of the audio buffering unit 212 proceeds to step B3, and if not, the process proceeds to step B6.

ステップB3では、オーディオバッファリング部212は、受信パケットの種別を判定する。この種別は、パケットのタイプ情報(TYPE)の欄に示されている。即ち、オーディオバッファリング部212がオーディオデータパケット、制御パケットのいずれであるかを判定する。到着したパケットがオーディオデータパケットの場合は、オーディオバッファリング部212は、ステップB5で、到着したオーディオデータパケットをバッファリングし、再生タイミングになるまで蓄積しておく。   In step B3, the audio buffering unit 212 determines the type of the received packet. This type is indicated in the column of packet type information (TYPE). That is, the audio buffering unit 212 determines whether it is an audio data packet or a control packet. If the arriving packet is an audio data packet, the audio buffering unit 212 buffers the arriving audio data packet in step B5 and stores it until the reproduction timing is reached.

一方、到着したパケットが制御パケットである場合は、オーディオバッファリング部212は、制御応答パケットを作成する。この時刻は、制御パケットの受信時刻(t2)である。この制御応答パケットも、ステップB5でバッファリングされる。なお、この時点では、この制御応答パケットは、2つのタイマ情報を含む。1つは、携帯電話機100から受信した制御パケットに含まれているタイマ情報(t1)、即ち、携帯電話機100での、制御パケット送信時刻を示すタイマ情報である。もう1つは、タイマ240が生成した、この制御パケットの受信時刻(t2)を示すタイマ情報である。なお、制御パケットがタイマ情報(t1)を含まない場合には、制御応答パケットも、タイマ情報(t1)を含まない。   On the other hand, if the arrived packet is a control packet, the audio buffering unit 212 creates a control response packet. This time is the control packet reception time (t2). This control response packet is also buffered in step B5. At this time, the control response packet includes two pieces of timer information. One is timer information (t1) included in the control packet received from the mobile phone 100, that is, timer information indicating the control packet transmission time in the mobile phone 100. The other is timer information indicating the reception time (t2) of this control packet generated by the timer 240. If the control packet does not include timer information (t1), the control response packet also does not include timer information (t1).

このようにして、オーディオバッファリング部212は、オーディオデータパケットと、制御応答パケットをバッファリングする。   In this way, the audio buffering unit 212 buffers the audio data packet and the control response packet.

この後、オーディオバッファリング部212は、ステップB6で、タイミング同期部213から、オーディオデータを要求されているかどうかどうかを判定する。   Thereafter, the audio buffering unit 212 determines whether audio data is requested from the timing synchronization unit 213 in step B6.

タイミング同期部213は、タイマ240が生成するタイマ情報から、オーディオの再生タイミングを判断し、再生するオーディオデータのタイミングに合わせて、オーディオバッファリング部212にオーディオデータを要求する。オーディオバッファリング部212は、この要求に応じて、オーディオデータをタイミング同期部213に渡すと、タイミング同期部213は、そのままオーディオ復号器214に渡して、オーディオを再生させる。   The timing synchronization unit 213 determines the audio reproduction timing from the timer information generated by the timer 240, and requests the audio buffering unit 212 for audio data in accordance with the timing of the audio data to be reproduced. When the audio buffering unit 212 passes the audio data to the timing synchronization unit 213 in response to this request, the timing synchronization unit 213 passes the audio data to the audio decoder 214 as it is to reproduce the audio.

ステップB6にて、オーディオデータを要求されている場合は、オーディオバッファリング部212は、その内部にバッファリングされているデータの中から先頭のデータを参照する。そして、ステップB7で、バッファリングされているデータがない場合には、オーディオバッファリング部212の動作は、ステップB1に戻る。バッファリングされているデータがある場合には、オーディオバッファリング部212の処理は、ステップB8に進む。   If audio data is requested in step B6, the audio buffering unit 212 refers to the top data among the data buffered therein. If there is no buffered data in step B7, the operation of the audio buffering unit 212 returns to step B1. If there is buffered data, the processing of the audio buffering unit 212 proceeds to step B8.

ステップB8では、オーディオバッファリング部212は、パケットの種別を判定する。即ち、ステップB8は、このパケットが制御応答パケット、オーディオデータパケットのいずれであるかを判定する。   In step B8, the audio buffering unit 212 determines the type of packet. That is, step B8 determines whether this packet is a control response packet or an audio data packet.

パケットの種別がオーディオデータパケットであれば、オーディオバッファリング部212は、ステップB9で、このオーディオデータパケットをタイミング同期部213に渡す。このオーディオデータパケットは、そのままオーディオ復号器214に渡され、ワイヤレスヘッドホン200のスピーカ230にて、オーディオデータが再生される。この後、オーディオバッファリング部212の動作は、ステップB1に戻る。   If the packet type is an audio data packet, the audio buffering unit 212 passes the audio data packet to the timing synchronization unit 213 in step B9. The audio data packet is passed to the audio decoder 214 as it is, and the audio data is reproduced by the speaker 230 of the wireless headphones 200. Thereafter, the operation of the audio buffering unit 212 returns to Step B1.

一方、パケットの種別が、ステップB4で作成された制御応答パケットであれば、オーディオバッファリング部212は、ステップB10で、通信インタフェース215及び無線通信部220を介して、携帯電話機100に、向けて制御応答パケットを送信する。この時、送信される制御応答パケットには、最大で3つのタイマ情報を含む。   On the other hand, if the packet type is the control response packet created in step B4, the audio buffering unit 212 is directed to the mobile phone 100 via the communication interface 215 and the wireless communication unit 220 in step B10. Send a control response packet. At this time, the transmitted control response packet includes a maximum of three pieces of timer information.

1つは、携帯電話機100から受信した制御パケットに含まれていたタイマ情報(t1)である。これは、ステップB4にて制御応答パケットに格納されている。また、前述したタイマ情報(t2)も、ステップステップB4にて制御応答パケットに格納されている。もう1つは、このステップB10で、この制御応答パケットが、バッファから取り出された時点t3(タイマ240で計時される)である。この時刻t3は、制御応答パケットの送信時刻でもある。   One is timer information (t1) included in the control packet received from the mobile phone 100. This is stored in the control response packet in step B4. The timer information (t2) described above is also stored in the control response packet in step B4. The other is the time t3 (timed by the timer 240) when the control response packet is taken out of the buffer in step B10. This time t3 is also the transmission time of the control response packet.

時間差(t3−t2)は、ステップB4で制御応答パケットが作成されてから、ステップB10で、制御応答パケットが携帯電話機に送信される時刻までの経過時間を示している。したがって、この(t3−t2)は、ワイヤレスヘッドホン内部での処理遅延(T_dlsr)を示している。   The time difference (t3−t2) indicates an elapsed time from when the control response packet is created in step B4 until the time when the control response packet is transmitted to the mobile phone in step B10. Therefore, (t3−t2) indicates a processing delay (T_dlsr) inside the wireless headphones.

制御応答パケットは、例えば、上述のt1、t2、t3を含んでいればよい。しかしながら、制御応答パケットは、これら、3つのタイマ情報に代えて、制御応答パケットは、t1及びT_dlsr(=t3-t2)を含んでも良い。ただし、携帯電話機が、要遅延時間(T_delay)を、前述した計算方法例Bに基づいて計算する場合には、制御応答パケットは、タイマ情報t1を含む必要は必ずしもないが、タイマ情報t2、t3を必ず含む必要がある。   The control response packet may include, for example, the above-described t1, t2, and t3. However, the control response packet may include t1 and T_dlsr (= t3-t2) instead of these three pieces of timer information. However, when the mobile phone calculates the required delay time (T_delay) based on the above-described calculation method example B, the control response packet does not necessarily include the timer information t1, but the timer information t2, t3 Must be included.

要遅延時間(T_delay)の計算法をにつき、すでに、例A、例B、例Cの3つの計算方法例を説明したが、携帯電話機がいずれの計算方法例を使用する場合でも、制御応答パケットは、ワイヤレスヘッドホン内部での処理遅延を計算するための情報、即ち、t2とt3の組、あるいはT_dlsr(=t3-t2)を含む必要がある。制御応答パケットが、タイマ情報t1を含む必要があるか否かは、携帯電話機がどの要遅延時間計算方法を採用するか、また、携帯電話機が、制御パケットにタイマ情報(t1)を含ませるか否か、に依存する。   Regarding the calculation method of the required delay time (T_delay), the three calculation method examples of Example A, Example B, and Example C have already been described. Regardless of which calculation method example is used by the mobile phone, the control response packet Needs to include information for calculating a processing delay inside the wireless headphones, that is, a set of t2 and t3, or T_dlsr (= t3-t2). Whether or not the control response packet needs to include the timer information t1 depends on which delay time calculation method the mobile phone employs and whether the mobile phone includes the timer information (t1) in the control packet. Depends on whether or not.

図8に制御応答パケットの例を示す。なお、後述するように、タイマ情報(t1)、即ち、携帯電話機が制御パケットを送信した時刻は、必ずしも制御応答パケットの格納されている必要はないが、図8では、タイマ情報t1を含む制御応答パケットの例のみを示している。図8(A)は、携帯電話機が前述した要遅延時間計算方法例A、B,Cのいずれを採用する場合にも適した制御応答パケットのフォーマットの例を示す。図8(B)は、携帯電話機が前述した要遅延時間計算方法例AまたはCのいずれを採用する場合に適した制御応答パケットの例を示している。図8(B)のフォーマットでは、タイマ情報t2、t3の組に代えて、ワイヤレスヘッドホン内部での処理遅延時間T_dlsr(=t3−t2)が、格納されている。   FIG. 8 shows an example of the control response packet. As will be described later, the timer information (t1), that is, the time at which the mobile phone transmits the control packet does not necessarily need to store the control response packet, but in FIG. 8, the control including the timer information t1 is performed. Only an example of a response packet is shown. FIG. 8A shows an example of a format of a control response packet suitable for the case where the mobile phone employs any of the above-described delay time calculation method examples A, B, and C. FIG. 8B shows an example of a control response packet suitable for the case where the mobile phone employs either the above-described delay time calculation method example A or C. In the format of FIG. 8B, the processing delay time T_dlsr (= t3-t2) inside the wireless headphones is stored instead of the set of timer information t2 and t3.

ワイヤレスヘッドホン200は、このようにして、制御応答パケットを送信すると、オーディオバッファリング部の動作は、ステップB7に戻る。   When the wireless headphones 200 transmit the control response packet in this manner, the operation of the audio buffering unit returns to Step B7.

図6に戻って、携帯電話機100におけるタイミング同期部116の動作説明を再開する。   Returning to FIG. 6, the description of the operation of the timing synchronization unit 116 in the mobile phone 100 is resumed.

ステップA2で、携帯電話機100のタイミング同期部116が、制御応答パケットの受信を確認すると、タイミング同期部116の動作は、ステップA3に進む。   In step A2, when the timing synchronization unit 116 of the mobile phone 100 confirms reception of the control response packet, the operation of the timing synchronization unit 116 proceeds to step A3.

ステップA3では、タイミング同期部116は、前述した要遅延時間(T_delay)を計算する。この計算方法は、前述した例A、例B、例Cのいずれを使用してもよい。タイミング同期部116は、前回ステップA3が実行されたときに計算された要遅延時間T_delay(old)との差、“ΔT_delay=T_delay −T_delay(0ld)”を計算する。なお、このステップA3が最初に実行される時は、T_delay(old)=0と初期設定されている。このようにして計算されたT_delayは、タイミング同期部116内にT_delay(0ld)として、一時蓄積される。この後、タイミング同期部116の動作は、ステップA4に移行する。   In step A3, the timing synchronization unit 116 calculates the above-described required delay time (T_delay). For this calculation method, any of the above-described examples A, B, and C may be used. The timing synchronization unit 116 calculates “ΔT_delay = T_delay−T_delay (0ld)”, which is the difference from the required delay time T_delay (old) calculated when step A3 was executed last time. When this step A3 is first executed, T_delay (old) = 0 is initially set. The T_delay calculated in this way is temporarily stored as T_delay (0ld) in the timing synchronization unit 116. Thereafter, the operation of the timing synchronization unit 116 proceeds to Step A4.

ステップA4では、タイミング同期部116は、計算されたT_delayに基づいて、ビデオデータパケットのビデオ復号器への送付タイミングを変更する。即ち、ステップA4は、ステップA3で計算されたΔT_delayだけ、ビデオデータパケットのビデオ復号器への送付を延期する。ただし、タイミング同期部116は、この間にも、オーディオデータについては、オーディオバッファリング部114に要求し、ワイヤレスヘッドホン200に転送し続ける。したがって、このステップA4が実行されている間は携帯電話機100のディスプレイ上のビデオ信号は更新されない。この結果、携帯電話機のディスプレイ上のビデオ信号とワイヤレスヘッドホンから出力されるオーディオ信号との間で、所謂リップシンクが確立する。   In step A4, the timing synchronization unit 116 changes the transmission timing of the video data packet to the video decoder based on the calculated T_delay. That is, step A4 postpones sending video data packets to the video decoder by ΔT_delay calculated in step A3. However, the timing synchronization unit 116 also requests audio data from the audio buffering unit 114 and continues to transfer the audio data to the wireless headphones 200 during this period. Therefore, the video signal on the display of the mobile phone 100 is not updated while step A4 is being executed. As a result, so-called lip sync is established between the video signal on the display of the mobile phone and the audio signal output from the wireless headphones.

なお、ΔT_delayが、負の値になった場合には、タイミング同期部116は、その時間の分だけ、バッファリングされているビデオデータを廃棄することにより、ビデオ再生を早める。   When ΔT_delay becomes a negative value, the timing synchronization unit 116 discards the buffered video data by that amount, thereby speeding up video reproduction.

このようにして、本発明は、マルチメディアストリーミング再生におけるオーディオデータのワイヤレス転送同期技術を実現することができる。   In this way, the present invention can realize a wireless transfer synchronization technique of audio data in multimedia streaming playback.

次に、本発明の他の実施形態につき説明する。   Next, another embodiment of the present invention will be described.

前述した実施形態では、ビデオデータの復号化の処理、およびオーディオデータの復号化の処理を、それぞれソフトウェアで実行することを前提に説明した。しかしながら、本発明は、既存の携帯電話等に実装されている動画ストリーミング再生の機能、およびワイヤレスヘッドホン等にて実装されているオーディオストリーミング再生の機能をほとんど修正することなく実装できる
したがって、ビデオデータの復号化の処理、およびオーディオデータの復号化の処理が、ディジタルシグナルプロセッサ(DSP)のような専用の装置で実現されている場合であっても本発明は問題なく使用できる。また、オーディオデータやビデオデータの復号を行う専用ハードウェアも、本発明は使用できる。
In the embodiment described above, the video data decoding process and the audio data decoding process have been described on the premise that they are executed by software. However, the present invention can be implemented with almost no modification of the function of streaming streaming playback implemented in an existing mobile phone or the like and the function of audio streaming playback implemented in wireless headphones or the like. Even when the decoding process and the audio data decoding process are realized by a dedicated device such as a digital signal processor (DSP), the present invention can be used without any problem. The present invention can also be used with dedicated hardware for decoding audio data and video data.

また、前述した実施形態では、取り扱う入力データが通信回線等を介して供給されるストリームデータであるという前提で説明した。しかしながら、入力データが通信回線からでなく、携帯端末内に保存されているマルチメディアデータであっても、やはり同様に、本発明を使用できる。つまり、本発明の主通信機は、近距離無線機を備えたマルチメディアデータ再生装置であってもよい。   In the above-described embodiment, the description has been made on the assumption that the input data to be handled is stream data supplied via a communication line or the like. However, even if the input data is not from the communication line but is multimedia data stored in the mobile terminal, the present invention can be used similarly. That is, the main communication device of the present invention may be a multimedia data playback device provided with a short-range wireless device.

また、前述した実施形態では、携帯電話機から制御パケットを送信するタイミングでの、携帯電話機におけるタイマ情報(t1)を、制御パケットの内部に含めるように説明している。しかしながら、本発明は、タイマ情報(t1)を制御パケットの内部に含めることなく、携帯電話機内で記憶してくこともできる。この場合には、後にワイヤレスヘッドホンから返信されてくる制御応答パケットを受信した時点で、記憶しておいたタイマ情報(t1)を参照するようにすれば、携帯電話端末は、要遅延時間(T_delay)を計算できることは明らかである。   In the above-described embodiment, the timer information (t1) in the mobile phone at the timing when the control packet is transmitted from the mobile phone is described so as to be included in the control packet. However, according to the present invention, the timer information (t1) can be stored in the mobile phone without being included in the control packet. In this case, when the control information packet returned later from the wireless headphones is received, if the stored timer information (t1) is referred to, the mobile phone terminal can delay the delay time (T_delay). ) Is obvious.

本発明が使用される状況の一例を示す図である。It is a figure which shows an example of the condition where this invention is used. 本発明の一実施形態に関わる携帯電話機の構成例を示すブロック図である。It is a block diagram which shows the structural example of the mobile telephone concerning one Embodiment of this invention. 本発明の一実施形態に関わるワイアレスヘッドホンの構成例を示すブロック図である。It is a block diagram which shows the structural example of the wireless headphones in connection with one Embodiment of this invention. 本発明の一実施形態におけるビデオデータ及びオーディオデータの流れを示す図である。It is a figure which shows the flow of the video data and audio data in one Embodiment of this invention. 本発明における遅延量の計算方法を説明するための図である。It is a figure for demonstrating the calculation method of the delay amount in this invention. 本発明の一実施形態における携帯電話機の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the mobile telephone in one Embodiment of this invention. 本発明の一実施形態における携帯電話機の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the mobile telephone in one Embodiment of this invention. 本発明の実施形態で使用される制御応答パケットのフォーマットの例を示す図である。It is a figure which shows the example of the format of the control response packet used by embodiment of this invention.

符号の説明Explanation of symbols

100 携帯電話機
200 ワイヤレスヘッドホン
300 ユーザ
110、210 コンピュータ
111 制御部
112 メディア分離部
113 ビデオバッファリング部
114、212 オーディオバッファリング部
115、215 通信インタフェース
116、213 タイミング同期部
117 ビデオ復号器
118、214 オーディオ復号器
120、220 無線通信部
130、230 スピーカ
140、240 タイマ
150 ストリームデータ受信部
160 ユーザインタフェース
DESCRIPTION OF SYMBOLS 100 Mobile phone 200 Wireless headphones 300 User 110, 210 Computer 111 Control unit 112 Media separation unit 113 Video buffering unit 114, 212 Audio buffering unit 115, 215 Communication interface 116, 213 Timing synchronization unit 117 Video decoder 118, 214 Audio Decoder 120, 220 Wireless communication unit 130, 230 Speaker 140, 240 Timer 150 Stream data receiving unit 160 User interface

Claims (38)

主通信機がマルチメディアデータをビデオデータとオーディオデータとを分離し、前記ビデオデータを再生する一方で、オーディオデータを従通信機に転送し、前記従通信機が前記オーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法であり、
(A)前記主通信機は、前もって定められたタイミングで、制御パケットを前記従通信機に送信し、
(B)前記従通信機は、前記制御パケットを受信すると、この従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを、前記主通信機に返信し、
(C)前記主通信機は、主通信機・従通信機間の伝搬遅延情報とこの処理遅延情報との和で示される要遅延時間に基づいて、前記ビデオデータの再生タイミングを変更する、
ことを特徴とするマルチメディアデータの再生方法。
When the master communication device separates multimedia data from video data and audio data and reproduces the video data, while transferring the audio data to the slave communication device, and when the slave communication device reproduces the audio data , A multimedia data playback method that synchronizes the playback timing of the video data and the playback timing of the audio data,
(A) The master communication device transmits a control packet to the slave communication device at a predetermined timing,
(B) Upon receiving the control packet, the slave communication device returns a control response packet including processing delay time information indicating a processing delay time inside the slave communication device to the master communication device,
(C) The main communication device changes the reproduction timing of the video data based on the required delay time indicated by the sum of the propagation delay information between the main communication device and the slave communication device and the processing delay information.
A method for reproducing multimedia data.
前記処理遅延時間情報は、前記制御パケットの受信時刻と前記制御応答パケットの送信時刻とで表される請求項1記載のマルチメディアデータの再生方法。   The multimedia data reproduction method according to claim 1, wherein the processing delay time information is represented by a reception time of the control packet and a transmission time of the control response packet. 前記処理遅延時間情報は、前記制御パケットの受信時刻と前記制御応答パケットの送信時刻との差で表される請求項2記載のマルチメディアデータの再生方法。   The multimedia data reproduction method according to claim 2, wherein the processing delay time information is represented by a difference between a reception time of the control packet and a transmission time of the control response packet. 前記制御応答パケットは前記制御パケットの受信時刻を含み、前記ステップ(C)は、前記伝搬遅延情報を、前記制御パケットの送信時刻と前記制御パケットの受信時刻から計算する請求項1記載のマルチメディアデータの再生方法。   The multimedia according to claim 1, wherein the control response packet includes a reception time of the control packet, and the step (C) calculates the propagation delay information from the transmission time of the control packet and the reception time of the control packet. Data playback method. 前記制御応答パケットはこの制御応答パケットの送信時刻をさらに含み、前記ステップ(C)は、前記前記伝搬遅延情報を、前記制御応答パケットの発信時刻と前記応答制御パケットの受信時刻から計算する、請求項4記載のマルチメディアデータの再生方法。   The control response packet further includes a transmission time of the control response packet, and the step (C) calculates the propagation delay information from a transmission time of the control response packet and a reception time of the response control packet. Item 5. The multimedia data playback method according to Item 4. 前記ステップ(C)は、前記要遅延時間を、第1の差の半分と、第2の差の半分との和により計算し、
前記第1の差は、前記制御パケットの送信時刻と前記制御応答パケットの受信時刻との差であり、
前記第2の差は、前記制御パケットの受信時刻と前記制御応答パケットの受信時刻との差である、
請求項1に記載のマルチメディアデータの再生方法。
The step (C) calculates the required delay time by the sum of half of the first difference and half of the second difference,
The first difference is a difference between a transmission time of the control packet and a reception time of the control response packet;
The second difference is a difference between the reception time of the control packet and the reception time of the control response packet.
The multimedia data reproducing method according to claim 1.
前記ステップ(C)は、前回計算した要遅延時間を記憶し、今回計算した要遅延時間と記憶された要遅延時間との差である差要遅延時間だけ、前記ビデオデータの再生タイミングを遅延させる、請求項1に記載のマルチメディアデータの再生方法。   The step (C) stores the required delay time calculated last time, and delays the playback timing of the video data by the difference required delay time which is the difference between the calculated required delay time and the stored required delay time. The multimedia data reproducing method according to claim 1. 前記ステップ(C)は、前記差遅延時間が負である場合には、この差遅延時間に相当する量のビデオデータを廃棄する、請求項7に記載のマルチメディアデータの再生方法。   The method of claim 7, wherein the step (C) discards video data corresponding to the differential delay time when the differential delay time is negative. 前記ステップ(C)は、前記差要遅延時間が正または0である場合には、この差要遅延時間だけ、前記ビデオデータの復号を延期する、請求項1記載のマルチメディアデータの再生方法。     The multimedia data playback method according to claim 1, wherein, in the step (C), when the required delay time is positive or 0, decoding of the video data is postponed by the required delay time. 前記ステップ(A)は、所定時間毎に前記制御パケットを送信する請求項1記載のマルチメディアデータの再生方法。   The multimedia data reproducing method according to claim 1, wherein the step (A) transmits the control packet every predetermined time. 主通信機がマルチメディアデータ中のビデオデータを再生する一方で、オーディオデータを従通信機に転送し、前記従通信機が前記オーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する主通信機であり、
所定のタイミングで、制御パケットを前記従通信機へ送信するとともに、前記マルチメディアデータから分離されたオーディオデータを前記従通信機へ送信する送信部と、
前記従通信機から、前記従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを受信する受信部と、
前記主通信機・従通信機間の伝搬遅延情報とこの処理遅延情報との和で示される要遅延時間を計算する計算部と、
前記ビデオデータの再生タイミングを、計算された要遅延時間に基づいて、変更する調整部と、
時刻を計時するタイマ、
とを備えた主通信機。
While the main communication device reproduces the video data in the multimedia data, the audio data is transferred to the slave communication device, and when the slave communication device reproduces the audio data, the reproduction timing and audio data of these video data are reproduced. Is a main communication device that implements a multimedia data playback method that synchronizes with the playback timing of
A transmission unit that transmits a control packet to the slave communication device at a predetermined timing, and transmits audio data separated from the multimedia data to the slave communication device;
A receiving unit for receiving a control response packet including processing delay time information indicating a processing delay time inside the slave communication device from the slave communication device;
A calculation unit for calculating the required delay time indicated by the sum of the propagation delay information between the master communication device and the slave communication device and the processing delay information;
An adjusting unit for changing the reproduction timing of the video data based on the calculated required delay time;
Timer to keep time,
And main communication equipment.
前記処理遅延時間情報は、前記制御パケットの前期従通信機での受信時刻と前記制御応答パケットの前記従通信機での送信時刻とで表される請求項11記載の主通信機。   The master communication device according to claim 11, wherein the processing delay time information is represented by a reception time of the control packet at a previous slave device and a transmission time of the control response packet at the slave communication device. 前記計算部は、前記処理遅延時間情報を、前記制御パケットの受信時刻と前記制御応答パケットの送信時刻との差により求める、請求項11記載の主通信機。   The main communication device according to claim 11, wherein the calculation unit obtains the processing delay time information from a difference between a reception time of the control packet and a transmission time of the control response packet. 前記制御応答パケットは前記制御パケットの前記従通信機での受信時刻を含み、前記計算部は、前記伝搬遅延情報を、前記制御パケットの送信時刻と前記制御パケットの受信時刻から計算する、請求項11記載の主通信機。   The control response packet includes a reception time of the control packet at the slave communication device, and the calculation unit calculates the propagation delay information from the transmission time of the control packet and the reception time of the control packet. 11. The main communication device according to 11. 前記制御応答パケットは前記制御応答パケットの送信時刻を含み、前記計算部は、前記前記伝搬遅延情報を、前記制御応答パケットの発信時刻と前記制御応答パケットの受信時刻から計算する、請求項11記載の主通信機。   The control response packet includes a transmission time of the control response packet, and the calculation unit calculates the propagation delay information from a transmission time of the control response packet and a reception time of the control response packet. Main communication device. 前記計算部は、前記要遅延時間を、第1の差の半分と、第2の差の半分との和により求め、
前記第1の差は、前記タイマで計時された前記制御パケットの送信時刻と、前記タイマで計時された前記制御応答パケットの受信時刻との差であり、
前記第2の差は、前記制御パケットの受信時刻と前記制御応答パケットの受信時刻との差である、
請求項11に記載の主通信機。
The calculation unit obtains the delay time required by a sum of a half of the first difference and a half of the second difference,
The first difference is a difference between the transmission time of the control packet timed by the timer and the reception time of the control response packet timed by the timer,
The second difference is a difference between the reception time of the control packet and the reception time of the control response packet.
The main communication device according to claim 11.
前記計算部は、前回計算した要遅延時間を記憶し、今回計算した要遅延時間との差である差要遅延時間を出力し、
前記調整部は、前記差要遅延時間だけ、前記ビデオデータの再生タイミングを遅延させる、請求項11に記載の主通信機。
The calculation unit stores the required delay time calculated last time, and outputs a difference required delay time that is a difference from the required delay time calculated this time,
The main communication device according to claim 11, wherein the adjustment unit delays the reproduction timing of the video data by the difference required delay time.
前記調整部は、前記差遅延時間が負である場合には、この差遅延時間に対応するビデオデータを廃棄する、請求項17に記載の主通信機。   The main communication device according to claim 17, wherein, when the difference delay time is negative, the adjustment unit discards video data corresponding to the difference delay time. 前記調整部は、前記差要遅延時間が正または0である場合には、この差要遅延時間だけ、前記ビデオデータの復号を延期する、請求項11記載の主通信機。     12. The main communication device according to claim 11, wherein when the difference required delay time is positive or 0, the adjustment unit delays decoding of the video data by the difference required delay time. 前記送信部は、所定時間毎に前記制御パケットを送信する請求項11記載の主通信機。   The main communication device according to claim 11, wherein the transmission unit transmits the control packet every predetermined time. 主通信機がマルチメディアデータ中のビデオデータを再生する一方で、オーディオデータを従通信機に転送し、前記従通信機が前記オーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する従通信機であって、
前記主通信機から転送されたオーディオデータを再生するオーディオ再生器と、
前記主通信機から制御パケットを受信すると、この従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを、前記主通信機に返信する送信部と、
時刻を計時するタイマと、
を備えた従通信機。
While the main communication device reproduces the video data in the multimedia data, the audio data is transferred to the slave communication device, and when the slave communication device reproduces the audio data, the reproduction timing and audio data of these video data are reproduced. A slave communication device that implements a multimedia data playback method that synchronizes with the playback timing of
An audio player for reproducing the audio data transferred from the main communication device;
When receiving a control packet from the master communication device, a control response packet including processing delay time information indicating a processing delay time inside the slave communication device, a transmission unit that returns the control response packet to the master communication device,
A timer that keeps time,
Slave communication device equipped with.
前記制御応答パケットは、前記処理遅延時間情報として、前記タイマで計時された前記制御パケットの受信時刻と前記制御応答パケットの送信時刻を含む請求項21記載の従通信機。   The slave communication device according to claim 21, wherein the control response packet includes, as the processing delay time information, a reception time of the control packet and a transmission time of the control response packet which are timed by the timer. 前記制御応答パケットは、前記処理遅延時間情報として、前記制御パケットの受信時刻と前記制御応答パケットの送信時刻との差を含む、請求項21記載の従通信機。   The slave communication device according to claim 21, wherein the control response packet includes a difference between a reception time of the control packet and a transmission time of the control response packet as the processing delay time information. 前記制御パケットは、この制御パケットの前記主通信機での送信時刻を含み、前記制御応答パケットは、この制御パケット送信時刻を含む、請求項21記載の従通信機。   The slave communication device according to claim 21, wherein the control packet includes a transmission time of the control packet at the master communication device, and the control response packet includes the control packet transmission time. 主通信機がマルチメディアデータ中のビデオデータ再生する一方で、オーディオデータを従通信機に転送し、前記従通信機が前記オーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する主通信機としてコンピュータを動作させるための主通信機用プログラムであり、
(A)所定のタイミングで制御パケットを前記従通信機へ送信するとともに、前記マルチメディアデータから分離されたオーディオデータを、前記従通信機へ送信し、
(B)前記従通信機から、前記従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを受信し、
(C)前記主通信機・従通信機間の伝搬遅延情報とこの処理遅延情報との和で示される要遅延時間を計算する計算し、
(D)前記ビデオデータの再生タイミングを、計算された要遅延時間に基づいて、変更する、
ステップを備えた主通信機用プログラム。
While the master communication device reproduces the video data in the multimedia data, the audio data is transferred to the slave communication device, and when the slave communication device reproduces the audio data, the reproduction timing of the video data and the audio data A program for a main communicator for operating a computer as a main communicator that implements a multimedia data reproduction method that synchronizes the reproduction timing,
(A) A control packet is transmitted to the slave communication device at a predetermined timing, and audio data separated from the multimedia data is transmitted to the slave communication device.
(B) receiving a control response packet including processing delay time information indicating a processing delay time inside the slave communication device from the slave communication device;
(C) calculating the required delay time indicated by the sum of the propagation delay information between the master communication device and the slave communication device and the processing delay information;
(D) changing the reproduction timing of the video data based on the calculated required delay time;
Program for main communication device with steps.
前記処理遅延時間情報は、前記制御パケットの前期従通信機での受信時刻と前記制御応答パケットの前記従通信機での送信時刻とで表される、請求項25記載の主通信機用プログラム。   26. The program for a main communication device according to claim 25, wherein the processing delay time information is represented by a reception time of the control packet at a previous slave device and a transmission time of the control response packet at the slave communication device. 前記ステップ(C)は、前記処理遅延時間情報を、前記制御パケットの受信時刻と前記制御応答パケットの送信時刻との差で求める、請求項25記載の主通信機用プログラム。   26. The main communication device program according to claim 25, wherein the step (C) obtains the processing delay time information from a difference between a reception time of the control packet and a transmission time of the control response packet. 前記制御応答パケットは前記制御パケットの前記従通信機での受信時刻を含み、前記ステップ(C)は、前記伝搬遅延情報を、前記制御パケットの送信時刻と前記制御パケットの受信時刻から計算する、請求項25記載の主通信機用プログラム。   The control response packet includes a reception time of the control packet at the slave communication device, and the step (C) calculates the propagation delay information from the transmission time of the control packet and the reception time of the control packet. The program for a main communication device according to claim 25. 前記制御応答パケットはこの制御応答パケットの送信時刻をさらに含み、前記ステップ(C)は、計算部は、前記前記伝搬遅延情報を、前記制御応答パケットの発信時刻と前記応答制御パケットの受信時刻から計算する、請求項25記載の主通信機用プログラム。   The control response packet further includes a transmission time of the control response packet. In the step (C), the calculation unit calculates the propagation delay information from the transmission time of the control response packet and the reception time of the response control packet. The program for a main communication device according to claim 25, wherein the program is calculated. 前記ステップ(C)は、前記要遅延時間を、第1の差の半分と、第2の差の半分との和により求め、
前記第1の差は、前記制御パケットの送信時刻と前記制御応答パケットの受信時刻との差であり、
前記第2の差は、前記制御パケットの受信時刻と前記制御応答パケットの受信時刻との差である、
請求項25に記載の主通信機用プログラム。
The step (C) obtains the required delay time by the sum of half of the first difference and half of the second difference,
The first difference is a difference between a transmission time of the control packet and a reception time of the control response packet;
The second difference is a difference between the reception time of the control packet and the reception time of the control response packet.
The program for a main communication device according to claim 25.
前記ステップ(C)は、前回計算した要遅延時間を記憶し、今回計算した要遅延時間との差である差要遅延時間を計算し、
前記ステップ(D)は、前記差要遅延時間だけ、前記ビデオデータの再生タイミングを遅延させる、請求項25に記載の主通信機用プログラム。
Step (C) stores the required delay time calculated last time, and calculates a required delay time that is a difference from the required delay time calculated this time,
26. The program for a main communication device according to claim 25, wherein the step (D) delays the reproduction timing of the video data by the difference required delay time.
前記ステップ(D)は、前記差遅延時間が負である場合には、この差遅延時間に対応するビデオデータを廃棄する、請求項31に記載の主通信機用プログラム。   32. The program for a main communication device according to claim 31, wherein, when the difference delay time is negative, the step (D) discards video data corresponding to the difference delay time. 前記ステップ(D)は、前記差要遅延時間が正または0である場合には、この差要遅延時間だけ、前記ビデオデータの復号を延期する、請求項25記載の主通信機用プログラム。     26. The program for a main communication device according to claim 25, wherein, in the step (D), when the required delay time is positive or 0, decoding of the video data is postponed by the required delay time. 前記ステップ(A)は、所定時間毎に前記制御パケットを送信する請求項25記載の主通信機用プログラム。   26. The program for a main communication device according to claim 25, wherein the step (A) transmits the control packet every predetermined time. 主通信機がマルチメディアデータ中のビデオデータを再生する一方で、オーディオデータを従通信機に転送し、前記従通信機が前記オーディオデータを再生する際に、これらビデオデータの再生タイミングとオーディオデータの再生タイミングとを同期させるマルチメディアデータの再生方法を実施する従通信機としてコンピュータを動作させるための従通信機用プログラムであって、
(A)前記主通信機から転送されたオーディオデータを再生し、
(B)前記主通信機から制御パケットを受信すると、この従通信機内部での処理遅延時間を示す処理遅延時間情報を含む制御応答パケットを、前記主通信機に返信する、
ステップを備えた従通信機用プログラム。
While the main communication device reproduces the video data in the multimedia data, the audio data is transferred to the slave communication device, and when the slave communication device reproduces the audio data, the reproduction timing and audio data of these video data are reproduced. A program for a slave communication device for operating a computer as a slave communication device that implements a multimedia data playback method that synchronizes with the playback timing of
(A) Playing back audio data transferred from the main communication device,
(B) Upon receiving a control packet from the master communication device, a control response packet including processing delay time information indicating a processing delay time inside the slave communication device is returned to the master communication device.
A slave communication program comprising steps.
前記制御応答パケットは、前記処理遅延時間情報として、前記制御パケットの受信時刻と前記制御応答パケットの送信時刻を含む請求項35記載の従通信機用プログラム。   36. The slave communication program according to claim 35, wherein the control response packet includes a reception time of the control packet and a transmission time of the control response packet as the processing delay time information. 前記制御応答パケットは、前記処理遅延時間情報として、前記制御パケットの受信時刻と前記制御応答パケットの送信時刻との差を含む、請求項35記載の従通信機用プログラム。   36. The slave communication program according to claim 35, wherein the control response packet includes a difference between a reception time of the control packet and a transmission time of the control response packet as the processing delay time information. 前記制御パケットは、この制御パケットの前記主通信機での送信時刻を含み、前記制御応答パケットは、この制御パケット送信時刻をさらに含む、請求項35記載の従通信機用プログラム。
36. The slave communication program according to claim 35, wherein the control packet includes a transmission time of the control packet at the master communication device, and the control response packet further includes the control packet transmission time.
JP2006197721A 2006-07-20 2006-07-20 Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method Pending JP2008028599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006197721A JP2008028599A (en) 2006-07-20 2006-07-20 Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006197721A JP2008028599A (en) 2006-07-20 2006-07-20 Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method

Publications (1)

Publication Number Publication Date
JP2008028599A true JP2008028599A (en) 2008-02-07

Family

ID=39118823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006197721A Pending JP2008028599A (en) 2006-07-20 2006-07-20 Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method

Country Status (1)

Country Link
JP (1) JP2008028599A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2458727A (en) * 2008-03-15 2009-10-07 Blue Tiger Systems Ltd Delay of audiovisual (AV) signal component for synchronisation with wireless transmission
JP2009267766A (en) * 2008-04-25 2009-11-12 Taito Corp Timing correction program, mobile terminal, and method of synchronizing processing timing
JP2015039092A (en) * 2012-01-13 2015-02-26 株式会社東芝 Electronic apparatus and electronic apparatus control method
JP2015534315A (en) * 2012-08-28 2015-11-26 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Audio transfer device and corresponding method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005057430A (en) * 2003-08-01 2005-03-03 Nec Corp Cellular phone terminal and synchronization control method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005057430A (en) * 2003-08-01 2005-03-03 Nec Corp Cellular phone terminal and synchronization control method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2458727A (en) * 2008-03-15 2009-10-07 Blue Tiger Systems Ltd Delay of audiovisual (AV) signal component for synchronisation with wireless transmission
JP2009267766A (en) * 2008-04-25 2009-11-12 Taito Corp Timing correction program, mobile terminal, and method of synchronizing processing timing
JP2015039092A (en) * 2012-01-13 2015-02-26 株式会社東芝 Electronic apparatus and electronic apparatus control method
JP2015534315A (en) * 2012-08-28 2015-11-26 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Audio transfer device and corresponding method

Similar Documents

Publication Publication Date Title
JP3544963B2 (en) Method and apparatus for synchronous playback
JP4559050B2 (en) Synchronous playback of media data packets
CN101271720B (en) Synchronization process for mobile phone stream media audio and video
KR101184821B1 (en) Synchronizing remote audio with fixed video
US8811375B2 (en) Multimedia apparatus and synchronization method thereof
CN109906613A (en) The multi-modal synchronization of audio and video renders
CN101827271B (en) Audio and video synchronized method and device as well as data receiving terminal
CN107438990B (en) Method and apparatus for delivering timing information
JP2008028599A (en) Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method
KR20070008069A (en) Appratus and method for synchronizing audio/video signal
JP2016225922A (en) Radio communication system and method
CN103314599A (en) Mechanism for clock recovery for streaming content being communicated over a packetized communication network
US20050282580A1 (en) Video and audio synchronization
JP4042396B2 (en) Data communication system, data transmission apparatus, data reception apparatus and method, and computer program
JP4986229B2 (en) Receiving system, receiving apparatus and program for receiving and simultaneously reproducing different types of synchronized streaming data
JP5186094B2 (en) Communication terminal, multimedia playback control method, and program
JP3906678B2 (en) Data communication system, data transmission apparatus, data reception apparatus and method, and computer program
JP4364619B2 (en) Multiple video time synchronous display terminal, multiple video time synchronous display method, program, and recording medium
CN112333610B (en) Audio playing method and device of Bluetooth TWS equipment
JP2003018567A (en) Data reproducer and data transmitter
JP2009134747A (en) Transmission device and method for transmitting medium data
JP2004007327A (en) Data reproducing device and data repeater
JP4911579B2 (en) Terminal, program and method for storing or playing back stream for analysis
JP4321172B2 (en) Network audio image playback system
JP2001016586A (en) Image decoder

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080616

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090512

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090618

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100913

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111115