JP2006115305A - Transmission method for controlling generating timing of packet multiplexed frame in different media data, transmission program, and transmission apparatus - Google Patents
Transmission method for controlling generating timing of packet multiplexed frame in different media data, transmission program, and transmission apparatus Download PDFInfo
- Publication number
- JP2006115305A JP2006115305A JP2004301608A JP2004301608A JP2006115305A JP 2006115305 A JP2006115305 A JP 2006115305A JP 2004301608 A JP2004301608 A JP 2004301608A JP 2004301608 A JP2004301608 A JP 2004301608A JP 2006115305 A JP2006115305 A JP 2006115305A
- Authority
- JP
- Japan
- Prior art keywords
- media data
- buffer
- frame
- data
- stored
- 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
Links
Images
Abstract
Description
本発明は、異なるメディアデータにおけるパケット多重化フレームの生成タイミングを制御する送信方法、送信プログラム及び送信装置に関する。 The present invention relates to a transmission method, a transmission program, and a transmission device that control the generation timing of packet multiplexed frames in different media data.
異なるメディアデータを多重化する送信装置は、同時に並行して発生する複数のメディアデータをメディア毎に符号化し、所定サイズのフレームに構成してネットワークへ送信する。一方、受信装置は、メディア毎に異なるメディアデコーダを用いて、受信したフレーム単位でメディアデータを復号する。メディアデータ毎に、所定サイズをどのように決定するかが、マルチメディアデータの多重化においては重要である。 A transmission apparatus that multiplexes different media data encodes a plurality of media data generated in parallel at the same time for each medium, and configures the frames into a predetermined size and transmits them to a network. On the other hand, the receiving apparatus decodes the media data in units of received frames by using a media decoder that is different for each medium. How to determine a predetermined size for each media data is important in multiplexing multimedia data.
多重化方式としては、バイト多重がある。バイト多重は、異なるメディアデータを適当なバイト数の単位で切り替えることができる。受信装置は、フレームに付加されたヘッダの内容によって、そのメディアデータに適したデコーダに切り替える。このようなパケット多重は、柔軟性が高く、ソフトウェア処理に適している。 As a multiplexing method, there is byte multiplexing. In byte multiplexing, different media data can be switched in units of an appropriate number of bytes. The receiving apparatus switches to a decoder suitable for the media data depending on the contents of the header added to the frame. Such packet multiplexing is highly flexible and suitable for software processing.
図1は、従来技術によるパケット多重化のための送信装置の機能構成図である。 FIG. 1 is a functional configuration diagram of a transmission apparatus for packet multiplexing according to the prior art.
送信装置1は、映像データ及び音声データをリアルタイムで符号化して送信するものである。送信装置1は、映像信号を出力するカメラ4と、音声信号を出力するマイク5とに接続され、データパケットを送信するためにIPネットワーク3に接続されている。
The
送信装置1は、映像データについて、フォーマット変換部101と、映像エンコーダ部102と、映像データ用バッファ103と、RTP(Real-time Transport Protocol)ヘッダ付加部104とを有する。また、音声データについて、増幅器110と、音声エンコーダ部108と、音声データ用バッファ107と、RTPヘッダ付加部106とを有する。更に、IP(Internet Protocol)ネットワーク3に対応してUDP(User Datagram Protocol)/IPプロトコルスタック部105を有する。
The
カメラ4から出力された映像信号は、フォーマット変換部101によって圧縮符号化に適した映像フォーマットに変換され、映像エンコーダ102によって圧縮符号化される。その方式は、1フレーム(1画面)を単位として符号化データを生成するものであって、例えばISO/IEC(International Organization for Standardization/International Electrotechnical Commission) MPEG−4(Moving Picture Experts Group-4)ビジュアルがある。低ビットレートのMPEG−4によれば、1フレームは、例えば100m秒間隔(毎秒10フレーム)となる。生成されたビットストリームデータは、映像データ用バッファ103に入力される。RTPヘッダ付加部104は、バッファ103から取り出した映像データのフレーム毎にRTPヘッダを付加する。そのRTPパケットは、UDP/IPプロトコルスタック部105によってUDP及びIPヘッダが付加され、IPネットワーク3へ送信される。
The video signal output from the camera 4 is converted into a video format suitable for compression encoding by the
一方、マイク5から出力された音声信号は、増幅器110によって増幅され、A/D(Analog/Digital)変換部109によって伝送可能なビット列に変換される。次に、その音声データは、音声エンコーダ108によって圧縮符号化される。その方式は、予め決められた時間長を1フレームとして符号化データを生成するものであって、例えば3GPP(3rd Generation Partnership Project) AMR(Adaptive Multi Rate)がある。AMR方式においては、1フレームは20m秒となる。生成されたビットストリームは、音声データ用バッファ107に入力される。RTPヘッダ付加部106は、バッファ107から取り出した映像データのフレーム毎にRTPヘッダを付加する。そのRTPパケットは、UDP/IPプロトコルスタック部105によってUDP及びIPヘッダが付加され、IPネットワーク3へ送信される。
On the other hand, the audio signal output from the
受信装置2は、データパケットを受信するためにIPネットワーク3に接続され、受信したデータパケットのメディアデータに応じて復号するものである。受信装置2は、映像信号を入力するディスプレイ6と、音声信号を入力するスピーカ7とに接続されている。
The
受信装置2は、IPネットワーク3から受信したパケットに対して、IP及びUDPヘッダを処理するUDP/IPプロトコルスタック部205を有する。受信装置2は、映像データについて、RTPヘッダ除去部204と、映像デコーダ203と、映像データ用バッファ202と、ディスプレイ制御部201とを有する。映像信号は、ディスプレイ制御部201からディスプレイ6に出力される。また、音声データについて、RTPヘッダ除去部206と、音声デコーダ207と、音声データ用バッファ208と、D/A変換部209と、増幅器210とを有する。音声信号は、増幅器210からスピーカ7へ出力される。
The
先行公知文献としては、RTPについて規定したIETF RFC3550(非特許文献1参照)、MPEG−4をRTPに乗せたフォーマットを規定したIETF RFC3016(非特許文献2参照)、AMRをRTPに乗せたフォーマットを規定したIETF RFC3267(非特許文献3参照)がある。 As prior known documents, IETF RFC3550 (refer to Non-Patent Document 1) that defines RTP, IETF RFC3016 (refer to Non-Patent Document 2) that defines a format in which MPEG-4 is mounted on RTP, and a format in which AMR is mounted on RTP. There is a defined IETF RFC3267 (see Non-Patent Document 3).
表1は、従来技術におけるパケット多重化フレームのデータ構造である。
従来技術によれば、音声データのフレームと、映像データのフレームとは別々に必要となる。これは、フレーム毎に、そのメディアデータに応じたデコーダによって復号させるためである。 According to the prior art, a frame of audio data and a frame of video data are required separately. This is because each frame is decoded by a decoder corresponding to the media data.
前述したような従来技術によれば、生成されるRTPパケットは以下のようになる。ここで、符号化パラメータとして、低い伝送レート(64kbit/秒)における一般的な値を想定する。
映像の符号化ビットレート:32kbit/秒、フレームレート:10枚/秒
音声の符号化ビットレート:6800bit/秒、フレーム長:20m秒
RTPヘッダサイズ:12byte
UDPヘッダ:8byte
IPヘッダ:20byte
According to the prior art as described above, the generated RTP packet is as follows. Here, a general value at a low transmission rate (64 kbit / sec) is assumed as an encoding parameter.
Video coding bit rate: 32 kbit / s, frame rate: 10 frames / s Audio coding bit rate: 6800 bits / s, frame length: 20 ms RTP header size: 12 bytes
UDP header: 8 bytes
IP header: 20 bytes
映像データについては、以下のようになる。
映像の符号化ビットレート:32kbit/秒÷8bit = 4kbyte/秒
秒当たりの伝送フレーム数:10フレーム/秒
映像データパケットの伝送間隔:1秒/10フレーム = 100m秒
フレームレート:4kbyte/秒÷10フレーム/秒 = 400byte/フレーム
映像の1パケット:400byte+12byte+8byte+20byte = 440byte
映像1パケットの伝送時間:440byte×8bit÷64kbit/秒 = 55m秒
The video data is as follows.
Video coding bit rate: 32 kbit / second ÷ 8 bit = 4 kbyte / second Number of transmission frames per second: 10 frame / second Transmission interval of video data packet: 1 second / 10 frame = 100 ms Frame rate: 4 kbyte / second ÷ 10 Frame / second = 400 bytes /
Transmission time of one video packet: 440 bytes × 8 bits ÷ 64 kbit / sec = 55 msec
音声データについては、以下のようになる。
音声の符号化ビットレート:6800bit/秒÷8bit = 850byte/秒
秒当たりの伝送フレーム数:50フレーム/秒
音声データパケットの伝送間隔:1秒/50フレーム = 20m秒
1フレーム当たりのバイト数:850byte/秒×20m秒 = 17byte/フレーム
音声の1パケット:17byte+12byte+8byte+20byte = 57byte
音声1パケットの伝送時間:57byte×8bit÷64kbit/秒 = 7.125m秒
The audio data is as follows.
Audio encoding bit rate: 6800 bits / second ÷ 8 bits = 850 bytes / second Number of transmission frames per second: 50 frames / second Transmission interval of voice data packets: 1 second / 50 frames = 20 milliseconds Number of bytes per frame: 850 bytes / Second x 20 milliseconds = 17 bytes /
Transmission time of one voice packet: 57 bytes × 8 bits ÷ 64 kbit / s = 7.125 ms
音声データパケットは20m秒間隔で送信され、映像データパケットは100m秒間隔で送信されるので、音声データパケットの送信の5回に1回の割合で、映像データパケットの送信が割り込むこととなる。 Since audio data packets are transmitted at intervals of 20 msec and video data packets are transmitted at intervals of 100 msec, transmission of video data packets is interrupted at a rate of once every five transmissions of audio data packets.
図2は、従来技術におけるフレームの伝送シーケンス図である。 FIG. 2 is a frame transmission sequence diagram in the prior art.
音声データパケットは20m秒毎に送信され、映像データパケットは100m秒毎に送信される。音声データパケットは、40byteのヘッダ(IP、UDP、RTP)とデータ部分とからなる。データ部分が17byteとすると、伝送に7.125m秒を要する。映像データパケットは、40byteのヘッダとデータ部分とからなる。データ部分が400byteとすると、伝送に55m秒を要する。 Audio data packets are transmitted every 20 milliseconds and video data packets are transmitted every 100 milliseconds. The voice data packet includes a 40-byte header (IP, UDP, RTP) and a data portion. If the data part is 17 bytes, 7.125 msec is required for transmission. The video data packet includes a 40-byte header and a data portion. If the data portion is 400 bytes, transmission takes 55 milliseconds.
図2によれば、例えば、映像データパケットV1の送信の直後に、音声データパケットA3が送信されたとする。映像データパケットV1は、送信装置から送信されてから55m秒後に、受信装置に到着する。一方、音声データパケットA3は、更に7.125m秒後、即ち送信装置から送信されてから62.125m秒後に、受信装置に到着する。このために、映像データパケットによって割り込まれた音声データパケットは、送信装置の送出間隔20m秒に対し、受信装置に受信された時は62m秒後ということになる。その後、音声データパケットA4,A5,A6,A7が連続して、受信装置に到着する。音声データパケットの伝送に要する時間7m秒は、送出間隔20m秒に比べて十分小さいため、受信装置における到着間隔はやがて元に戻ることとなるが、その後、再度、映像データパケットが音声データパケットの間に割り込むため、到着遅延の変動が生じる。 According to FIG. 2, for example, it is assumed that the audio data packet A3 is transmitted immediately after the transmission of the video data packet V1. The video data packet V1 arrives at the receiving device 55 milliseconds after being transmitted from the transmitting device. On the other hand, the voice data packet A3 arrives at the receiving device after another 7.125 ms, that is, 62.125 ms after being transmitted from the transmitting device. For this reason, when the audio data packet interrupted by the video data packet is received by the receiving device, it is 62 ms after the transmission interval of 20 msec of the transmitting device. Thereafter, the voice data packets A4, A5, A6, A7 arrive in succession at the receiving device. The time required for transmitting the audio data packet is 7 m seconds, which is sufficiently shorter than the transmission interval of 20 msec. Therefore, the arrival interval in the receiving apparatus will be restored to the original time. Due to the interruption, the arrival delay varies.
音声データは、映像データのようなフレーム単位で離散的なデータと異なって、アナログ信号に戻して再生する際に、連続的でなければならない。このため、受信装置は、音声データパケットの最大到着遅延量に合わせて、予めバッファに蓄積してから再生する。このような音声データパケットの遅延変動は、受信側に大きなバッファ蓄積を要求することとなり、伝送遅延全体を増大させるものとなる。 Unlike discrete data such as video data that is discrete in units of frames, audio data must be continuous when converted back to an analog signal. For this reason, the receiving apparatus reproduces after accumulating in the buffer in advance according to the maximum arrival delay amount of the voice data packet. Such a delay variation of the voice data packet requires a large buffer accumulation on the receiving side, and increases the entire transmission delay.
更に、従来技術によれば、RTP、UDP、IPのヘッダを、映像データパケット及び音声データパケットそれぞれ独立に付加する必要がある。従って、
(12byte+8byte+20byte)×8bit×(50音声フレーム+10映像フレーム)
= 19.2kbit/秒
ものヘッダによるオーバヘッドを要する。
Furthermore, according to the prior art, it is necessary to add RTP, UDP, and IP headers independently to each of the video data packet and the audio data packet. Therefore,
(12 bytes + 8 bytes + 20 bytes) x 8 bits x (50 audio frames + 10 video frames)
= 19.2 kbit / s overhead is required.
また、音声データパケットの遅延変動を抑えるために、映像データパケットを分割し、映像データパケットと音声データパケットとを交互に送信するという方法もある。この場合、両パケットが等間隔で送信されるため、音声データパケットの到着時間ゆらぎを回避することは可能となる。しかしながら、この方法によれば、ヘッダによるオーバヘッドは、更に大きくなり、伝送効率が極めて低下する。
(12byte+8byte+20byte)×8bit×(50音声フレーム+50映像フレーム)
= 32kbit/秒
Further, in order to suppress delay variation of the audio data packet, there is a method of dividing the video data packet and transmitting the video data packet and the audio data packet alternately. In this case, since both packets are transmitted at equal intervals, it is possible to avoid the arrival time fluctuation of the voice data packet. However, according to this method, the overhead due to the header is further increased, and the transmission efficiency is extremely lowered.
(12 bytes + 8 bytes + 20 bytes) x 8 bits x (50 audio frames + 50 video frames)
= 32kbit / s
このように、従来技術によれば、異なるメディアデータが異なるフレームで伝送され、フレーム毎にRTPヘッダを必要とするために伝送効率が低くなるだけでなく、一方のメディアデータの伝送が、他方のメディアデータの伝送の遅延変動に影響を与えることとなる。 As described above, according to the prior art, different media data is transmitted in different frames, and an RTP header is required for each frame. Therefore, not only transmission efficiency is lowered, but transmission of one media data is This will affect the delay variation of media data transmission.
また、フレームの生成タイミングの時間間隔が短いと、メディアデータの遅延も少ないが、フレームが増大すると共にそのヘッダ量も増大し、伝送効率が低下する。一方、フレームの生成タイミングの時間間隔が長いと、ヘッダ量も相対的に低下し、伝送効率も高まるが、メディアデータの遅延が大きくなる。 Also, if the time interval of the frame generation timing is short, the media data delay is small, but the number of frames increases and the header amount increases, resulting in a decrease in transmission efficiency. On the other hand, if the time interval of the frame generation timing is long, the header amount is also relatively decreased and the transmission efficiency is increased, but the delay of the media data is increased.
従って、本発明は、異なるメディアデータにおけるパケット到着時間のゆらぎと、ヘッダによるオーバヘッドとを改善することができるデータ構造を有するパケット多重化フレームを送信するものであって、そのフレームを最適なタイミングで生成する送信方法、送信プログラム及び送信装置を提供することを目的とする。 Therefore, the present invention transmits a packet multiplexed frame having a data structure capable of improving the fluctuation of the packet arrival time in different media data and the overhead due to the header, and the frame is transmitted at an optimal timing. It is an object to provide a transmission method, a transmission program, and a transmission device that are generated.
本発明におけるフレームの送信方法は、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを送信する送信方法であって、
第1のメディアデータを一時的に蓄積する第1のバッファと、第2のメディアデータを一時的に蓄積する第2のバッファとを有し、第1のバッファに対する第1の閾値が決定されており、
第1のバッファにおけるバッファ蓄積量を監視する第1のステップと、
第1のバッファにおけるバッファ蓄積量が第1の閾値を越えた際に、第1のバッファに蓄積された第1のメディアデータを、フレームの第1のメディアデータとして格納し、第2のバッファに蓄積された第2のメディアデータを、フレームの第2のメディアデータとして格納して、フレームを構成する第2のステップとを有することを特徴とする。
The frame transmission method according to the present invention includes:
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing first media data, and a second buffer for temporarily storing second media data, wherein a first threshold for the first buffer is determined And
A first step of monitoring a buffer accumulation amount in the first buffer;
When the buffer accumulation amount in the first buffer exceeds the first threshold, the first media data accumulated in the first buffer is stored as the first media data of the frame, and is stored in the second buffer. Storing the accumulated second media data as the second media data of the frame, and configuring a frame.
本発明のフレームの送信方法における他の実施形態によれば、第2のステップは、第1のバッファに蓄積された第1の閾値に相当する量の第1のメディアデータを、フレームの第1のメディアデータとして格納することも好ましい。 According to another embodiment of the method for transmitting a frame of the present invention, the second step is to transfer the first media data in an amount corresponding to the first threshold stored in the first buffer to the first of the frame. It is also preferable to store it as media data.
本発明のフレームの送信方法における他の実施形態によれば、第2のバッファに対する第2の閾値が決定されており、第2のステップは、第2のバッファに蓄積された第2の閾値に相当する量の第2のメディアデータを、フレームの第2のメディアデータとして格納することも好ましい。 According to another embodiment of the method for transmitting a frame of the present invention, a second threshold value for the second buffer is determined, and the second step sets the second threshold value stored in the second buffer to the second threshold value. It is also preferable to store a corresponding amount of the second media data as the second media data of the frame.
本発明のフレームの送信方法における他の実施形態によれば、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを送信する送信方法であって、
第1のメディアデータを一時的に蓄積する第1のバッファと、第2のメディアデータを一時的に蓄積する第2のバッファとを有し、第2のバッファに対する第2の閾値が決定されており、
第2のバッファにおけるバッファ蓄積量を監視する第1のステップと、
第2のバッファにおけるバッファ蓄積量が第2の閾値を越えた際に、第1のバッファに蓄積された第1のメディアデータを、フレームの第1のメディアデータとして格納し、第2のバッファに蓄積された第2のメディアデータを、フレームの第2のメディアデータとして格納して、フレームを構成する第2のステップとを有することを特徴とする。
According to another embodiment of the frame transmission method of the present invention,
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing the first media data; and a second buffer for temporarily storing the second media data. A second threshold for the second buffer is determined. And
A first step of monitoring a buffer accumulation amount in the second buffer;
When the buffer accumulation amount in the second buffer exceeds the second threshold, the first media data accumulated in the first buffer is stored as the first media data of the frame, and is stored in the second buffer. Storing the accumulated second media data as the second media data of the frame, and configuring a frame.
本発明のフレームの送信方法における他の実施形態によれば、第2のステップは、第2のバッファに蓄積された第2の閾値に相当する量の第2のメディアデータを、フレームの第2のメディアデータとして格納することも好ましい。 According to another embodiment of the method for transmitting a frame of the present invention, the second step is to transfer an amount of the second media data corresponding to the second threshold stored in the second buffer to the second of the frame. It is also preferable to store it as media data.
本発明のフレームの送信方法における他の実施形態によれば、第1のバッファに対する第1の閾値が決定されており、第2のステップは、第1のバッファに蓄積された第1の閾値に相当する量の第1のメディアデータを、フレームの第1のメディアデータとして格納することも好ましい。 According to another embodiment of the frame transmission method of the present invention, the first threshold value for the first buffer is determined, and the second step is the first threshold value stored in the first buffer. It is also preferable to store a corresponding amount of the first media data as the first media data of the frame.
本発明のフレームの送信方法における他の実施形態によれば、フレームを構成する毎にリセットされる、最長時間間隔を規定するクロック手段を有しており、第2のステップは、第1のバッファ及び/又は第2のバッファにメディアデータが蓄積されているにもかかわらず、第1又は第2のバッファのバッファ蓄積量が第1又は第2の閾値に達していない場合、クロック手段から出力されるタイミングで、フレームを構成することも好ましい。 According to another embodiment of the frame transmission method of the present invention, it has a clock means for defining the longest time interval, which is reset every time a frame is formed, and the second step is the first buffer. And / or when the media data is accumulated in the second buffer, but the buffer accumulation amount of the first or second buffer does not reach the first or second threshold value, it is output from the clock means. It is also preferable to construct a frame at a certain timing.
本発明のフレームの送信方法によれば、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを送信する送信方法であって、
第1のメディアデータを一時的に蓄積する第1のバッファと、第2のメディアデータを一時的に蓄積する第2のバッファと、時間間隔を規定するクロック手段とを有しており、
クロック手段のタイミングに従って、第1のバッファに蓄積された第1のメディアデータを、フレームの第1のメディアデータとして格納し、第2のバッファに蓄積された第2のメディアデータを、フレームの第2のメディアデータとして格納して、フレームを構成することを特徴とする。
According to the frame transmission method of the present invention,
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing first media data; a second buffer for temporarily storing second media data; and clock means for defining a time interval;
According to the timing of the clock means, the first media data stored in the first buffer is stored as the first media data of the frame, and the second media data stored in the second buffer is stored as the first media data of the frame. 2 is stored as media data to form a frame.
本発明のフレームの送信方法における他の実施形態によれば、第2のバッファに対する第2の閾値が決定されており、第2のステップは、第2のバッファに蓄積された第2の閾値に相当する量の第2のメディアデータを、フレームの第2のメディアデータとして格納することも好ましい。 According to another embodiment of the method for transmitting a frame of the present invention, a second threshold value for the second buffer is determined, and the second step sets the second threshold value stored in the second buffer to the second threshold value. It is also preferable to store a corresponding amount of the second media data as the second media data of the frame.
本発明のフレームの送信方法における他の実施形態によれば、第1のバッファに対する第1の閾値が決定されており、第2のステップは、第1のバッファに蓄積された第1の閾値に相当する量の第1のメディアデータを、フレームの第1のメディアデータとして格納することも好ましい。 According to another embodiment of the frame transmission method of the present invention, the first threshold value for the first buffer is determined, and the second step is the first threshold value stored in the first buffer. It is also preferable to store a corresponding amount of the first media data as the first media data of the frame.
本発明のフレームの送信方法における他の実施形態によれば、第1のメディアデータは音声データであって、第2のメディアデータは映像データであってもよい。また、第1のメディアデータは映像データであって、第2のメディアデータは音声データであってもよい。 According to another embodiment of the frame transmission method of the present invention, the first media data may be audio data and the second media data may be video data. Further, the first media data may be video data, and the second media data may be audio data.
本発明のフレームの送信プログラムによれば、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを送信する送信プログラムであって、
第1のメディアデータを一時的に蓄積する第1のバッファと、第2のメディアデータを一時的に蓄積する第2のバッファとを有し、第1のバッファに対する第1の閾値が決定されており、
第1のバッファにおけるバッファ蓄積量を監視する第1のステップと、
第1のバッファにおけるバッファ蓄積量が第1の閾値を越えた際に、第1のバッファに蓄積された第1のメディアデータを、フレームの第1のメディアデータとして格納し、第2のバッファに蓄積された第2のメディアデータを、フレームの第2のメディアデータとして格納して、フレームを構成する第2のステップと
してコンピュータを実行させることを特徴とする。
According to the frame transmission program of the present invention,
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission program for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing first media data, and a second buffer for temporarily storing second media data, wherein a first threshold for the first buffer is determined And
A first step of monitoring a buffer accumulation amount in the first buffer;
When the buffer accumulation amount in the first buffer exceeds the first threshold, the first media data accumulated in the first buffer is stored as the first media data of the frame, and is stored in the second buffer. The accumulated second media data is stored as the second media data of the frame, and the computer is executed as the second step of configuring the frame.
本発明のフレームの送信プログラムによれば、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを送信する送信プログラムであって、
第1のメディアデータを一時的に蓄積する第1のバッファと、第2のメディアデータを一時的に蓄積する第2のバッファとを有し、第2のバッファに対する第2の閾値が決定されており、
第2のバッファにおけるバッファ蓄積量を監視する第1のステップと、
第2のバッファにおけるバッファ蓄積量が第2の閾値を越えた際に、第1のバッファに蓄積された第1のメディアデータを、フレームの第1のメディアデータとして格納し、第2のバッファに蓄積された第2のメディアデータを、フレームの第2のメディアデータとして格納して、フレームを構成する第2のステップと
してコンピュータを実行させることを特徴とする。
According to the frame transmission program of the present invention,
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission program for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing the first media data; and a second buffer for temporarily storing the second media data. A second threshold for the second buffer is determined. And
A first step of monitoring a buffer accumulation amount in the second buffer;
When the buffer accumulation amount in the second buffer exceeds the second threshold, the first media data accumulated in the first buffer is stored as the first media data of the frame, and is stored in the second buffer. The accumulated second media data is stored as the second media data of the frame, and the computer is executed as the second step of configuring the frame.
本発明のフレームの送信プログラムによれば、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを送信する送信方法であって、
第1のメディアデータを一時的に蓄積する第1のバッファと、第2のメディアデータを一時的に蓄積する第2のバッファと、時間間隔を規定するクロック手段とを有しており、
クロック手段のタイミングに従って、第1のバッファに蓄積された第1のメディアデータを、フレームの第1のメディアデータとして格納し、第2のバッファに蓄積された第2のメディアデータを、フレームの第2のメディアデータとして格納して、フレームを構成するようにコンピュータを実行させることを特徴とする。
According to the frame transmission program of the present invention,
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing first media data; a second buffer for temporarily storing second media data; and clock means for defining a time interval;
According to the timing of the clock means, the first media data stored in the first buffer is stored as the first media data of the frame, and the second media data stored in the second buffer is stored as the first media data of the frame. 2 is stored as media data, and the computer is executed so as to form a frame.
本発明のフレームの送信装置によれば、
送信すべき第1のメディアデータを一時的に蓄積する第1のバッファと、
送信すべき第2のメディアデータを一時的に蓄積する第2のバッファと、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを生成する多重化手段と、
第1のバッファと多重化手段との間に接続された第1のスイッチと、
第2のバッファと多重化手段との間に接続された第2のスイッチと、
第1のバッファに対する第1の閾値を蓄積し、第1のバッファにおけるバッファ蓄積量を監視し、該バッファ蓄積量が第1の閾値を越えた際に、第1のバッファの第1のメディアデータと第2のバッファの第2のメディアデータとを多重化手段へ送出するように第1のスイッチ及び第2のスイッチを制御するタイミング制御手段と
を有することを特徴とする。
According to the frame transmitting apparatus of the present invention,
A first buffer for temporarily storing first media data to be transmitted;
A second buffer for temporarily storing second media data to be transmitted;
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. Multiplexing means for generating packet multiplexed frames of different media data;
A first switch connected between the first buffer and the multiplexing means;
A second switch connected between the second buffer and the multiplexing means;
The first threshold value for the first buffer is accumulated, the buffer accumulation amount in the first buffer is monitored, and when the buffer accumulation amount exceeds the first threshold value, the first media data in the first buffer is stored. And timing control means for controlling the first switch and the second switch so as to send the second media data in the second buffer to the multiplexing means.
本発明のフレームの送信装置における他の実施形態によれば、第1のバッファは、第1の閾値に相当する量の第1のメディアデータを一度に多重化手段へ送出するように構成されていることも好ましい。 According to another embodiment of the frame transmitting apparatus of the present invention, the first buffer is configured to send an amount of the first media data corresponding to the first threshold value to the multiplexing means at a time. It is also preferable.
本発明のフレームの送信装置における他の実施形態によれば、第2のバッファに対する第2の閾値が決定されており、第2のバッファは、第2の閾値に相当する量の第2のメディアデータを一度に多重化手段へ送出するように構成されていることも好ましい。 According to another embodiment of the frame transmitting apparatus of the present invention, the second threshold value for the second buffer is determined, and the second buffer has an amount of the second medium corresponding to the second threshold value. It is also preferable that the data is sent to the multiplexing means at once.
本発明のフレームの送信装置によれば、
送信すべき第1のメディアデータを一時的に蓄積する第1のバッファと、
送信すべき第2のメディアデータを一時的に蓄積する第2のバッファと、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを生成する多重化手段と、
第1のバッファと多重化手段との間に接続された第1のスイッチと、
第2のバッファと多重化手段との間に接続された第2のスイッチと、
第2のバッファに対する第2の閾値を蓄積し、第2のバッファにおけるバッファ蓄積量を監視し、該バッファ蓄積量が第2の閾値を越えた際に、第1のバッファの第1のメディアデータと第2のバッファの第2のメディアデータとを多重化手段へ送出するように第1のスイッチ及び第2のスイッチを制御するタイミング制御手段と
を有することを特徴とする。
According to the frame transmitting apparatus of the present invention,
A first buffer for temporarily storing first media data to be transmitted;
A second buffer for temporarily storing second media data to be transmitted;
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. Multiplexing means for generating packet multiplexed frames of different media data;
A first switch connected between the first buffer and the multiplexing means;
A second switch connected between the second buffer and the multiplexing means;
The second threshold value for the second buffer is accumulated, the buffer accumulation amount in the second buffer is monitored, and when the buffer accumulation amount exceeds the second threshold value, the first media data in the first buffer is stored. And timing control means for controlling the first switch and the second switch so as to send the second media data in the second buffer to the multiplexing means.
本発明のフレームの送信装置における他の実施形態によれば、第2のバッファは、第2の閾値に相当する量の第2のメディアデータを一度に多重化手段へ送出するように構成されていることも好ましい。 According to another embodiment of the frame transmitting apparatus of the present invention, the second buffer is configured to send the second media data in an amount corresponding to the second threshold value to the multiplexing means at a time. It is also preferable.
本発明のフレームの送信装置における他の実施形態によれば、第1のバッファに対する第1の閾値が決定されており、第1のバッファは、第1の閾値に相当する量の第1のメディアデータを一度に多重化手段へ送出するように構成されていることも好ましい。 According to another embodiment of the frame transmitting apparatus of the present invention, the first threshold for the first buffer is determined, and the first buffer has an amount of the first medium corresponding to the first threshold. It is also preferable that the data is sent to the multiplexing means at once.
本発明のフレームの送信装置における他の実施形態によれば、フレームを構成する毎にリセットされる、最長時間間隔を規定するクロック手段を有しており、
タイミング制御手段は、第1のバッファ及び/又は第2のバッファにメディアデータが蓄積されているにもかかわらず、第1のバッファのバッファ蓄積量が第1の閾値に達していない場合、クロック手段から出力されるタイミングで、フレームを構成することも好ましい。
According to another embodiment of the frame transmission apparatus of the present invention, the frame transmission device includes a clock unit that defines a longest time interval that is reset every time a frame is configured.
The timing control means is clock means when media data is accumulated in the first buffer and / or the second buffer, but the buffer accumulation amount of the first buffer does not reach the first threshold value. It is also preferable to construct a frame at the timing output from.
本発明のフレームの送信装置によれば、
送信すべき第1のメディアデータを一時的に蓄積する第1のバッファと、
送信すべき第2のメディアデータを一時的に蓄積する第2のバッファと、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを生成する多重化手段と、
第1のバッファと多重化手段との間に接続された第1のスイッチと、
第2のバッファと多重化手段との間に接続された第2のスイッチと、
時間間隔を規定するクロック手段とを有しており、
第1及び第2のスイッチは、クロック手段のタイミングに従って、第1のバッファに蓄積された第1のメディアデータを多重化手段へ送出し、第2のバッファに蓄積された第2のメディアデータを多重化手段へ送出する
ことを特徴とする。
According to the frame transmitting apparatus of the present invention,
A first buffer for temporarily storing first media data to be transmitted;
A second buffer for temporarily storing second media data to be transmitted;
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. Multiplexing means for generating packet multiplexed frames of different media data;
A first switch connected between the first buffer and the multiplexing means;
A second switch connected between the second buffer and the multiplexing means;
Clock means for defining the time interval;
The first and second switches send the first media data stored in the first buffer to the multiplexing means in accordance with the timing of the clock means, and the second media data stored in the second buffer is sent to the multiplexing means. The data is sent to the multiplexing means.
本発明のフレームの送信装置における他の実施形態によれば、第2のバッファに対する第2の閾値が決定されており、第2のスイッチは、第2のバッファに蓄積された第2の閾値に相当する量の第2のメディアデータを多重化手段へ送出することも好ましい。 According to another embodiment of the frame transmitting apparatus of the present invention, the second threshold value for the second buffer is determined, and the second switch is set to the second threshold value stored in the second buffer. It is also preferable to send a corresponding amount of second media data to the multiplexing means.
本発明のフレームの送信装置における他の実施形態によれば、
第1のバッファに対する第1の閾値が決定されており、
第2のスイッチは、第1のバッファに蓄積された第1の閾値に相当する量の第1のメディアデータを多重化手段へ送出することも好ましい。
According to another embodiment of the frame transmission apparatus of the present invention,
A first threshold for the first buffer has been determined;
It is also preferable that the second switch sends the first media data in an amount corresponding to the first threshold stored in the first buffer to the multiplexing means.
本発明のフレームの送信装置における他の実施形態によれば、
多重化手段は、
シリアル番号を送出する加算手段と、
第1のメディアデータを一時的に蓄積する第1のメモリと、
第2のメディアデータを一時的に蓄積する第2のメモリと、
加算手段から出力されたシリアル番号を、フレームのシリアル番号部に含め、次に、第1のメモリから出力された第1のメディアデータサイズを、フレームの第1のメディアデータサイズ部に含め、次に、第1のメモリから出力された、第1のメディアデータサイズ部に格納された長さの第1のメディアデータを含め、次に、第2のメモリから出力された第2のメディアデータを含めたパケット多重化フレームの生成を繰り返す多重パケット生成手段と
を有することも好ましい。
According to another embodiment of the frame transmission apparatus of the present invention,
The multiplexing means is
Adding means for sending out the serial number;
A first memory for temporarily storing first media data;
A second memory for temporarily storing second media data;
The serial number output from the adding means is included in the serial number portion of the frame, and then the first media data size output from the first memory is included in the first media data size portion of the frame. Including the first media data of the length stored in the first media data size portion output from the first memory, and then the second media data output from the second memory. It is also preferable to have multiple packet generation means for repeating the generation of the included packet multiplexed frame.
本発明のフレームの送信装置における他の実施形態によれば、第1のメディアデータは音声データであって、第2のメディアデータは映像データであってもよい。また、第1のメディアデータは映像データであって、第2のメディアデータは音声データであってもよい。 According to another embodiment of the frame transmitting apparatus of the present invention, the first media data may be audio data and the second media data may be video data. Further, the first media data may be video data, and the second media data may be audio data.
本発明によれば、フレームの生成タイミングを、時間間隔で制御することなく、バッファ蓄積量に応じて制御する。この制御は、各バッファに対して予め決定された閾値によって行われる。この閾値は、メディアデータの遅延と、フレームのヘッダ量による伝送効率との相互関係から任意に決定することができ、フレームを最適なタイミングで生成することができる。また、バッファ蓄積量が閾値に達しなくても、所定の時間間隔でフレームが生成される。 According to the present invention, the frame generation timing is controlled according to the buffer accumulation amount without being controlled at time intervals. This control is performed according to a predetermined threshold for each buffer. This threshold value can be arbitrarily determined from the correlation between the delay of the media data and the transmission efficiency depending on the header amount of the frame, and the frame can be generated at the optimum timing. Even if the buffer accumulation amount does not reach the threshold value, frames are generated at predetermined time intervals.
また、本発明によれば、映像データ及び音声データは、同じタイミングでバッファから抜き取られ、1つのフレームに多重化されて伝送される。これにより、映像データ及び音声データの到着遅延が一定となり、受信装置において音声データの到着ゆらぎを回避することができる。 According to the present invention, video data and audio data are extracted from the buffer at the same timing, multiplexed into one frame, and transmitted. Thereby, the arrival delay of the video data and the audio data becomes constant, and the arrival fluctuation of the audio data can be avoided in the receiving device.
更に、多重パケットの生成に際し、RTPによって映像データパケット及び音声データパケットそれぞれに12byteを要していたのに対し、本発明によれば、これら異なるメディアデータのパケットが統合され、且つRTPに相当する部分のヘッダが2byteとなるため、ヘッダサイズをかなり軽減することができ、伝送効率を高めることができる。 Further, when generating multiple packets, 12 bytes are required for each of the video data packet and the audio data packet by RTP. According to the present invention, these different media data packets are integrated and correspond to RTP. Since the header of the portion is 2 bytes, the header size can be considerably reduced and the transmission efficiency can be increased.
以下では、図面を用いて、本発明を実施するための最良の形態について詳細に説明する。 Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.
表2は、本発明によって用いられるパケット多重化フレームのデータ構造である。
表2によれば、本発明におけるフレームのデータ構造は、UDPヘッダに続いて、1byteのシリアル番号部と、1byteの音声データサイズ部と、そのサイズ部に格納された長さの音声データと、映像データとを含む。従って、表1と比較して、RTPヘッダを必要としない。シリアル番号部は、符号なし整数であって、0〜255の巡回値となる。音声データサイズ部は1byteであるので、必然的に音声データのサイズは0〜255byteとなる。 According to Table 2, the frame data structure according to the present invention has a UDP header followed by a 1-byte serial number portion, a 1-byte audio data size portion, and audio data of a length stored in the size portion, Video data. Therefore, an RTP header is not required as compared with Table 1. The serial number part is an unsigned integer and has a cyclic value of 0 to 255. Since the audio data size part is 1 byte, the size of the audio data is inevitably 0 to 255 bytes.
図3は、本発明におけるパケット多重化フレームのメディア分割構成図である。 FIG. 3 is a diagram illustrating a media division configuration of a packet multiplexed frame according to the present invention.
図3の上段には、映像データを等サイズに分割し、パケット多重化フレームを構成したものである。常に、所定のバイト数の位置で映像データを分割することができるので、実装が容易となる。しかしながら、フレームの間を意識することなく、等サイズに分割するために、フレームに跨って分割される場合がある。この場合、映像フレームに跨った映像データを含むパケットを損失すると、2つの(前後の)フレーム対して影響を及ぼす。 In the upper part of FIG. 3, the video data is divided into equal sizes to form packet multiplexed frames. Since video data can always be divided at a predetermined number of bytes, mounting is easy. However, in order to divide into equal sizes without being conscious of the space between the frames, the frames may be divided across the frames. In this case, if a packet including video data straddling video frames is lost, it affects two (front and rear) frames.
図3の下段には、MPEG4で規定された再同期のためのResyncマーカが映像フレームに挿入されたものが表されている。Resyncマーカとは、特定パターンのビット列であって、それをストリーム中に挿入し可変長符号語の切れ目を示す。エラー発生時にそのResyncマーカから復号を再開することにより、ストリームの途中からの再生が可能となる。Resyncマーカは、符号化時に、マクロブロック境界に挿入される。このResyncマーカを実質的に等サイズ間に挿入し、このResyncマーカ間を1つの映像データとして多重化フレームに含めることにより、映像フレームに跨って映像データが分割されることがなくなる。即ち、1つの多重化フレームの損失が、2つの映像フレームに影響を及ぼすことがなくなる。 The lower part of FIG. 3 shows a video frame in which a Resync marker for resynchronization defined by MPEG4 is inserted. A Resync marker is a bit string of a specific pattern, which is inserted into a stream and indicates a break of a variable-length code word. By resuming decoding from the Resync marker when an error occurs, playback from the middle of the stream becomes possible. The Resync marker is inserted at the macroblock boundary during encoding. By inserting the Resync markers between substantially equal sizes and including the spaces between the Resync markers as one video data in the multiplexed frame, the video data is not divided across the video frames. That is, the loss of one multiplexed frame does not affect two video frames.
図4は、本発明によって用いられる送信装置の機能構成図である。以下では、送信装置の機能について説明するが、各機能はプログラムによっても実現できる。 FIG. 4 is a functional configuration diagram of the transmission apparatus used according to the present invention. Hereinafter, functions of the transmission apparatus will be described, but each function can also be realized by a program.
図4によれば、送信装置1は、図1のRTPヘッダ付加部104及び106に代わって、多重化部111を備えている。多重化部111は、多重パケット生成部111と、映像データを一時的に蓄積するメモリ1112と、音声データを一時的に蓄積するメモリ1113と、シリアル番号を生成する加算器1114と、遅延回路1115とを有する。ここで、音声データ用メモリ1112は、音声データサイズ(書き込みポインタと読み出しポインタとの差分)を、0〜255byteで表して出力することができる。
According to FIG. 4, the
音声データがメモリ113に蓄積され及び/又は映像データがメモリ112に蓄積された際、多重パケット生成部111は、4入力1出力のスイッチで、シリアル番号、音声データサイズ、音声データ、映像データの順に切り替えて、その1巡によって、表2に表した1つのフレームを構成する。シリアル番号は、遅延回路115を通じて加算器1114に入力され、1増分(1加算)されて、新たなシリアル番号となる。
When the audio data is stored in the
本発明によれば、映像データ及び音声データは、同じタイミングでバッファ103及び107から抜き取られ、シェーピングされて1つのフレームに多重化される。これにより、映像データと音声データとの到着遅延が一定となり、受信装置において音声データの到着ゆらぎを回避することができる。
According to the present invention, video data and audio data are extracted from the
また、多重パケットの生成に際し、RTPによって映像データパケット及び音声データパケットそれぞれに12byteを要していたのに対し、本発明によれば、これら異なるメディアデータのパケットが統合され、且つRTPに相当する部分のヘッダが2byteとなるため、ヘッダサイズを軽減することができる。 Also, when generating multiple packets, RTP required 12 bytes for each of the video data packet and the audio data packet, whereas according to the present invention, these different media data packets are integrated and correspond to RTP. Since the header of the part is 2 bytes, the header size can be reduced.
例えば、パケット送出間隔を20m秒とした場合、
(2byte+8byte+20byte) × 8bit × 50 = 12kbit/秒
のオーバヘッドとなる。
For example, if the packet transmission interval is 20 milliseconds,
(2 bytes + 8 bytes + 20 bytes) × 8 bits × 50 = 12 kbit / second overhead.
即ち、従来技術によれば32kbit/秒であることを考慮すると、本発明によれば20kbit/秒ものオーバヘッドを削減することができる。ここで削減されたオーバヘッドのbit数は、映像データ又は音声データの符号化ビットレートに割り当てることができ、符号化品質を向上させることもできる。 That is, considering that the conventional technique is 32 kbit / sec, the present invention can reduce the overhead of 20 kbit / sec. The number of bits of overhead reduced here can be assigned to the encoding bit rate of video data or audio data, and the encoding quality can be improved.
図5は、図4の送信装置におけるフレームの伝送シーケンス図である。以下では、受信装置の機能について説明するが、各機能はプログラムによっても実現できる。 FIG. 5 is a frame transmission sequence diagram in the transmission apparatus of FIG. Hereinafter, functions of the receiving apparatus will be described, but each function can also be realized by a program.
図5は、従来技術である図2のS200の部分を表している。20m秒毎に送信する音声データパケットの送信タイミングで送信しようとすると、図2の映像データパケットよりも短い長さの映像データパケットを送信することができる。図5によれば、17byteの音声データと80byteの映像データとからなるフレームは、15.8m秒で受信装置によって受信される。即ち、映像データV1(400byte)の受信終了タイミングは、音声データA1〜A4(17byte×4個)の受信終了のタイミングと一致する。 FIG. 5 shows a portion of S200 of FIG. If an attempt is made to transmit the audio data packet transmitted every 20 milliseconds, a video data packet having a shorter length than the video data packet of FIG. 2 can be transmitted. According to FIG. 5, a frame composed of 17-byte audio data and 80-byte video data is received by the receiving device in 15.8 milliseconds. That is, the reception end timing of the video data V1 (400 bytes) coincides with the reception end timing of the audio data A1 to A4 (17 bytes × 4 pieces).
例えば、AMR方式の音声データサイズは、パケット送出間隔が20m秒である場合、以下のようなバイト数になる。ここでは、代表的な3モードについて列記する。
4.75kbit/秒モード: 14byte
※6.70kbit/秒モード: 19byte
12.2kbit/秒モード: 33byte
For example, the AMR audio data size has the following number of bytes when the packet transmission interval is 20 milliseconds. Here, typical three modes are listed.
4.75 kbit / s mode: 14 bytes
* 6.70 kbit / s mode: 19 bytes
12.2 kbit / s mode: 33 bytes
映像データサイズは、単純に「ビットレート×時間」で表される。1パケットが20m秒間隔の場合、以下のようなバイト数となる。
32kbit/秒: 32kbit/8bit × 20m秒 = 80byte
The video data size is simply expressed as “bit rate × time”. When one packet is 20 ms apart, the number of bytes is as follows.
32kbit / s: 32kbit / 8bit x 20msec = 80byte
AMRが6.70kbit/秒モードの場合、多重化フレームは、シリアル番号1byte、音声データサイズ1byte、音声データ19byte及び映像データ80byteからなる合計101byteを要する。 When the AMR is in the 6.70 kbit / second mode, the multiplexed frame requires a total of 101 bytes including a serial number of 1 byte, audio data size of 1 byte, audio data of 19 bytes, and video data of 80 bytes.
図6は、本発明における送信装置の第1の機能構成図である。以下では、送信装置の機能について説明するが、各機能はプログラムによっても実装でき、そのプログラムをコンピュータが実行することによって各機能が実現される。 FIG. 6 is a first functional configuration diagram of the transmission apparatus according to the present invention. Hereinafter, functions of the transmission apparatus will be described, but each function can also be implemented by a program, and each function is realized by the computer executing the program.
図6の送信装置1は、図4と比較して、タイミング制御部112と、スイッチ113及び114と、クロック116とを更に有する。スイッチ113は、映像データ用バッファ103と多重化部111との間に備えられ、1フレームを生成するための映像データ量を制限する。スイッチ114は、音声データ用バッファ107と多重化部111との間に備えられ、1フレームを生成するための音声データ量を制限する。
6 further includes a
タイミング制御部112は、コンパレータ1121と閾値記憶部1122とを有する。閾値記憶部1122は、音声データ用バッファ107に対する第1の閾値を記憶する。コンパレータ1121は、音声データ用バッファ107から受信したバッファ蓄積量と、第1の閾値とを比較する。そのバッファ蓄積量が第1の閾値を越えた際に、スイッチ113及び114をONに制御する。
The
スイッチ114のON制御によって、音声データ用バッファ107は、第1の閾値に相当する量の音声データを多重化部111へ送出する。音声データ用バッファ107は、第1の閾値に相当する量の音声データのみを、一度に送出することができる。一方、映像データ用バッファ103についても第2の閾値が決定されており、スイッチ113のON制御によって、映像データ用バッファ103は、第2の閾値に相当する量の映像データを多重化部111へ送出する。映像データ用バッファ103も、第2の閾値に相当する量の映像データのみを、一度に送出することができる。
By the ON control of the
例えば、音声データがAMR方式である場合、パケット送出間隔が20m秒であるので、12.2kbit/秒モードの音声データサイズは33byteとなる。第1の閾値を33byteに設定することによって、音声データ用バッファ107に33byte蓄積された時点でフレームが構成される。また、音声データの遅延が多少生じても、フレームの伝送効率を優先したい場合、例えば音声データ2フレーム分を1フレームで生成することもできる。このとき、第1の閾値を66byte(33byte×2)に指定することにより、音声データ用バッファ107に66byte蓄積された時点でフレームが構成される。
For example, when the voice data is AMR, the packet transmission interval is 20 milliseconds, so the voice data size in the 12.2 kbit / second mode is 33 bytes. By setting the first threshold value to 33 bytes, a frame is formed when 33 bytes are stored in the
尚、スイッチ114のON制御によって、音声データ用バッファ107は、蓄積されている全ての音声データを多重化部111へ送出するものであってもよい。一方、スイッチ113のON制御によって、映像データ用バッファ103は、蓄積されている全ての映像データを多重化部111へ送出するものであってもよい。
Note that the
図7は、本発明における送信装置の第2の機能構成図である。 FIG. 7 is a second functional configuration diagram of the transmission apparatus according to the present invention.
図7は、図6と比較して、コンパレータ1121は、映像データ用バッファ103のバッファ占有量に基づいてスイッチ113及び114を制御する。タイミング制御部112の閾値記憶部1122は、映像データ用バッファ103に対する第2の閾値を記憶する。コンパレータ1121は、映像データ用バッファ103から受信したバッファ蓄積量と、第2の閾値とを比較する。そのバッファ蓄積量が第2の閾値を越えた際に、スイッチ113及び114をONに制御する。
7, compared with FIG. 6, the
このように、タイミング制御部112が監視するバッファは、音声データ用バッファ107のみであってもよいし、映像データ用バッファ103のみであってもよい。また、両バッファとも監視するものであってもよい。即ち、第1の閾値又は第2の閾値のいずれか一方を越えたとき、スイッチ113及び114がONに制御される。
As described above, the buffer monitored by the
クロック116は、フレームを送信するための最長時間間隔を規定しており、フレームが構成される毎にリセットされる。このクロックは、所定の時間のタイムアウトをコンパレータ1121に指示する。基本的に、コンパレータ1121は、音声データ用バッファ107及び/又は映像データ用バッファ103に蓄積されたメディアデータが、第1及び/又は第2の閾値に達するまでは、スイッチ113及び114をONに制御しない。従って、バッファにメディアデータが残存する恐れがある。コンパレータ1121は、クロック116からのタイムアウトの通知を受けると、強制的にスイッチ113及び114をONに制御することによって、メディアデータを多重化部111に入力する。クロックの周期としては、具体的には、AMR方式の音声データを考慮して、パケット送出間隔が20m秒よりも大きい時間となる。
The
図8は、本発明における送信装置の第3の機能構成図である。 FIG. 8 is a third functional configuration diagram of the transmission apparatus according to the present invention.
図8の送信装置1は、図6と比較して、タイミング制御部112の代わりに、クロック116がスイッチ113及び114のON/OFFを制御する。音声データがAMR方式であるならば、クロック116は例えば20m秒の周期でスイッチ113及び114を制御する。これにより、通常状態であるならば、17byteの音声データと、80byteの映像データとが1つのフレームに多重化されて送信される。このように、固定周期のクロック116を用いてスイッチ113及び114を制御することは、実装上極めて簡単であって、且つ、図5と同様のフレーム送出タイミングを実現することができる。
In the
ここで、音声データ用バッファ107は、スイッチ114の一度のON制御によって送信できるバッファ量である第1の閾値を規定することもできる。また、映像データ用バッファ103は、スイッチ113の一度のON制御によって送信できるバッファ量である第2の閾値を規定することもできる。第1の閾値を17byteに規定し、第2の閾値を80byteに規定することにより、確実に図5と同様のフレーム送出タイミングを実現することができる。
Here, the
図9は、本発明における送信装置の第4の機能構成図である。 FIG. 9 is a fourth functional configuration diagram of the transmission apparatus according to the present invention.
図9の送信装置は、図8と比較して、多重化部111の中にクロック1116が備えられている。クロック1116は例えば20m秒の周期で多重パケット生成部1111を制御する。多重パケット生成部1111は、クロック1116のタイミングに応じて多重化フレームを1つ構成する。これにより、通常状態であるならば、17byteの音声データと、80byteの映像データとが1つのフレームに多重化されて送信される。
The transmission apparatus in FIG. 9 includes a
図10は、本発明における送信装置の第5の機能構成図である。 FIG. 10 is a fifth functional configuration diagram of the transmission apparatus according to the present invention.
図10の送信装置1は、図6と比較して、スイッチ113及びスイッチ114を備えていない。それに代わり、タイミング制御部112から出力されるタイミング制御信号は、多重化部111の多重パケット生成部1111に入力される。多重パケット生成部1111は、タイミング制御信号の基づいて、1フレームの生成タイミングを制御する。即ち、コンパレータ1121において、音声データ用バッファ107のバッファ蓄積量が第1の閾値を越えたと判断した際に、多重パケット生成部1111は、1フレームを生成するように動作する。
The
前述した本発明におけるパケット多重化フレームの生成タイミングを制御する送信方法、送信プログラム及び送信装置の種々の実施形態によれば、本発明の技術思想及び見地の範囲の種々の変更、修正及び省略を、当業者は容易に行うことができる。前述の説明はあくまで例であって、何ら制約しようとするものではない。本発明は、特許請求の範囲及びその均等物として限定するものにのみ制約される。 According to the above-described various embodiments of the transmission method, the transmission program, and the transmission apparatus for controlling the generation timing of the packet multiplexed frame in the present invention, various changes, modifications, and omissions in the technical idea and scope of the present invention are possible. Those skilled in the art can easily do this. The above description is merely an example, and is not intended to be restrictive. The invention is limited only as defined in the following claims and the equivalents thereto.
1 送信装置
101 フォーマット変換部
102 映像エンコーダ部
103 映像データ用バッファ
104、106 RTPヘッダ付加部
105 UDP/IPプロトコルスタック部
107 音声データ用バッファ
108 音声エンコーダ部
109 A/D変換部
110 増幅器
111 多重化部
116 クロック
1111 多重パケット生成部
1112 映像データ用メモリ
1113 音声データ用メモリ
1114 加算器
1115 遅延回路
1116 クロック
112 タイミング制御部
1121 コンパレータ
1122 閾値蓄積部
113、114 スイッチ
116 クロック
2 受信装置
201 ディスプレイ制御部
202 映像データ用バッファ
203 映像デコーダ
204、206 RTPヘッダ除去部
205 UDP/IPプロトコルスタック部
207 音声デコーダ
208 音声データ用バッファ
209 D/A変換部
210 増幅器
3 IPネットワーク
4 カメラ
5 マイク
6 ディスプレイ
7 スピーカ
DESCRIPTION OF
Claims (28)
前記第1のメディアデータを一時的に蓄積する第1のバッファと、前記第2のメディアデータを一時的に蓄積する第2のバッファとを有し、前記第1のバッファに対する第1の閾値が決定されており、
前記第1のバッファにおけるバッファ蓄積量を監視する第1のステップと、
前記第1のバッファにおける前記バッファ蓄積量が前記第1の閾値を越えた際に、前記第1のバッファに蓄積された前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納し、前記第2のバッファに蓄積された前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納して、前記フレームを構成する第2のステップと
を有することを特徴とする送信方法。 Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer that temporarily stores the first media data; and a second buffer that temporarily stores the second media data, wherein a first threshold for the first buffer is Has been determined,
A first step of monitoring a buffer accumulation amount in the first buffer;
When the buffer accumulation amount in the first buffer exceeds the first threshold, the first media data accumulated in the first buffer is stored as first media data of the frame. And a second step of storing the second media data stored in the second buffer as second media data of the frame and configuring the frame. .
前記第2のステップは、前記第2のバッファに蓄積された前記第2の閾値に相当する量の前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納することを特徴とする請求項1又は2に記載の送信方法。 A second threshold for the second buffer is determined;
The second step stores the amount of the second media data corresponding to the second threshold accumulated in the second buffer as second media data of the frame. The transmission method according to claim 1 or 2.
前記第1のメディアデータを一時的に蓄積する第1のバッファと、前記第2のメディアデータを一時的に蓄積する第2のバッファとを有し、前記第2のバッファに対する第2の閾値が決定されており、
前記第2のバッファにおけるバッファ蓄積量を監視する第1のステップと、
前記第2のバッファにおける前記バッファ蓄積量が前記第2の閾値を越えた際に、前記第1のバッファに蓄積された前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納し、前記第2のバッファに蓄積された前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納して、前記フレームを構成する第2のステップと
を有することを特徴とする送信方法。 Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing the first media data; and a second buffer for temporarily storing the second media data, wherein a second threshold for the second buffer is Has been determined,
A first step of monitoring a buffer accumulation amount in the second buffer;
When the buffer accumulation amount in the second buffer exceeds the second threshold, the first media data accumulated in the first buffer is stored as the first media data of the frame. And a second step of storing the second media data stored in the second buffer as second media data of the frame and configuring the frame. .
前記第2のステップは、前記第1のバッファに蓄積された前記第1の閾値に相当する量の前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納することを特徴とする請求項4又は5に記載の送信方法。 A first threshold for the first buffer is determined;
The second step stores the amount of the first media data corresponding to the first threshold accumulated in the first buffer as the first media data of the frame. The transmission method according to claim 4 or 5.
前記第2のステップは、前記第1のバッファ及び/又は前記第2のバッファにメディアデータが蓄積されているにもかかわらず、前記第1又は第2のバッファのバッファ蓄積量が前記第1又は第2の閾値に達していない場合、前記クロック手段から出力されるタイミングで、前記フレームを構成することを特徴とする請求項1から6のいずれか1項に記載の送信方法。 A clock means for defining a longest time interval, which is reset every time the frame is configured;
In the second step, although the media data is accumulated in the first buffer and / or the second buffer, the buffer accumulation amount of the first or second buffer is the first or second buffer. 7. The transmission method according to claim 1, wherein, when the second threshold value is not reached, the frame is configured at a timing output from the clock unit. 8.
前記第1のメディアデータを一時的に蓄積する第1のバッファと、前記第2のメディアデータを一時的に蓄積する第2のバッファと、時間間隔を規定するクロック手段とを有しており、
前記クロック手段のタイミングに従って、前記第1のバッファに蓄積された前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納し、前記第2のバッファに蓄積された前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納して、前記フレームを構成することを特徴とする送信方法。 Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing the first media data; a second buffer for temporarily storing the second media data; and a clock means for defining a time interval.
According to the timing of the clock means, the first media data stored in the first buffer is stored as first media data of the frame, and the second media stored in the second buffer is stored. A transmission method comprising: storing data as second media data of the frame to configure the frame.
前記第2のステップは、前記第2のバッファに蓄積された前記第2の閾値に相当する量の前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納することを特徴とする請求項8に記載の送信方法。 A second threshold for the second buffer is determined;
The second step stores the amount of the second media data corresponding to the second threshold accumulated in the second buffer as second media data of the frame. The transmission method according to claim 8.
前記第2のステップは、前記第1のバッファに蓄積された前記第1の閾値に相当する量の前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納することを特徴とする請求項8又は9に記載の送信方法。 A first threshold for the first buffer is determined;
The second step stores the amount of the first media data corresponding to the first threshold accumulated in the first buffer as the first media data of the frame. The transmission method according to claim 8 or 9.
前記第1のメディアデータを一時的に蓄積する第1のバッファと、前記第2のメディアデータを一時的に蓄積する第2のバッファとを有し、前記第1のバッファに対する第1の閾値が決定されており、
前記第1のバッファにおけるバッファ蓄積量を監視する第1のステップと、
前記第1のバッファにおける前記バッファ蓄積量が前記第1の閾値を越えた際に、前記第1のバッファに蓄積された前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納し、前記第2のバッファに蓄積された前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納して、前記フレームを構成する第2のステップと
してコンピュータを実行させることを特徴とする送信プログラム。 Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission program for transmitting packet multiplexed frames of different media data,
A first buffer that temporarily stores the first media data; and a second buffer that temporarily stores the second media data, wherein a first threshold for the first buffer is Has been determined,
A first step of monitoring a buffer accumulation amount in the first buffer;
When the buffer accumulation amount in the first buffer exceeds the first threshold, the first media data accumulated in the first buffer is stored as first media data of the frame. The second media data stored in the second buffer is stored as the second media data of the frame, and the computer is executed as a second step of configuring the frame. Send program.
前記第1のメディアデータを一時的に蓄積する第1のバッファと、前記第2のメディアデータを一時的に蓄積する第2のバッファとを有し、前記第2のバッファに対する第2の閾値が決定されており、
前記第2のバッファにおけるバッファ蓄積量を監視する第1のステップと、
前記第2のバッファにおける前記バッファ蓄積量が前記第2の閾値を越えた際に、前記第1のバッファに蓄積された前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納し、前記第2のバッファに蓄積された前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納して、前記フレームを構成する第2のステップと
してコンピュータを実行させることを特徴とする送信プログラム。 Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission program for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing the first media data; and a second buffer for temporarily storing the second media data, wherein a second threshold for the second buffer is Has been determined,
A first step of monitoring a buffer accumulation amount in the second buffer;
When the buffer accumulation amount in the second buffer exceeds the second threshold, the first media data accumulated in the first buffer is stored as the first media data of the frame. The second media data stored in the second buffer is stored as the second media data of the frame, and the computer is executed as a second step of configuring the frame. Send program.
前記第1のメディアデータを一時的に蓄積する第1のバッファと、前記第2のメディアデータを一時的に蓄積する第2のバッファと、時間間隔を規定するクロック手段とを有しており、
前記クロック手段のタイミングに従って、前記第1のバッファに蓄積された前記第1のメディアデータを、前記フレームの第1のメディアデータとして格納し、前記第2のバッファに蓄積された前記第2のメディアデータを、前記フレームの第2のメディアデータとして格納して、前記フレームを構成するようにコンピュータを実行させることを特徴とする送信プログラム。 Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. A transmission method for transmitting packet multiplexed frames of different media data,
A first buffer for temporarily storing the first media data; a second buffer for temporarily storing the second media data; and a clock means for defining a time interval.
According to the timing of the clock means, the first media data stored in the first buffer is stored as first media data of the frame, and the second media stored in the second buffer is stored. A transmission program that stores data as second media data of the frame and causes a computer to execute the frame.
送信すべき第2のメディアデータを一時的に蓄積する第2のバッファと、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを生成する多重化手段と、
前記第1のバッファと前記多重化手段との間に接続された第1のスイッチと、
前記第2のバッファと前記多重化手段との間に接続された第2のスイッチと、
前記第1のバッファに対する第1の閾値を蓄積し、前記第1のバッファにおけるバッファ蓄積量を監視し、該バッファ蓄積量が前記第1の閾値を越えた際に、前記第1のバッファの前記第1のメディアデータと前記第2のバッファの前記第2のメディアデータとを前記多重化手段へ送出するように前記第1のスイッチ及び前記第2のスイッチを制御するタイミング制御手段と
を有することを特徴とする送信装置。 A first buffer for temporarily storing first media data to be transmitted;
A second buffer for temporarily storing second media data to be transmitted;
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. Multiplexing means for generating packet multiplexed frames of different media data;
A first switch connected between the first buffer and the multiplexing means;
A second switch connected between the second buffer and the multiplexing means;
Storing a first threshold value for the first buffer; monitoring a buffer storage amount in the first buffer; and when the buffer storage amount exceeds the first threshold value, Timing control means for controlling the first switch and the second switch so as to send the first media data and the second media data in the second buffer to the multiplexing means. A transmitter characterized by the above.
前記第2のバッファは、前記第2の閾値に相当する量の前記第2のメディアデータを一度に前記多重化手段へ送出するように構成されていることを特徴とする請求項16又は17に記載の送信装置。 A second threshold for the second buffer is determined;
The said 2nd buffer is comprised so that the said 2nd media data of the quantity equivalent to the said 2nd threshold value may be sent to the said multiplexing means at once, The Claim 16 or 17 characterized by the above-mentioned. The transmitting device described.
送信すべき第2のメディアデータを一時的に蓄積する第2のバッファと、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを生成する多重化手段と、
前記第1のバッファと前記多重化手段との間に接続された第1のスイッチと、
前記第2のバッファと前記多重化手段との間に接続された第2のスイッチと、
前記第2のバッファに対する第2の閾値を蓄積し、前記第2のバッファにおけるバッファ蓄積量を監視し、該バッファ蓄積量が前記第2の閾値を越えた際に、前記第1のバッファの前記第1のメディアデータと前記第2のバッファの前記第2のメディアデータとを前記多重化手段へ送出するように前記第1のスイッチ及び前記第2のスイッチを制御するタイミング制御手段と
を有することを特徴とする送信装置。 A first buffer for temporarily storing first media data to be transmitted;
A second buffer for temporarily storing second media data to be transmitted;
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. Multiplexing means for generating packet multiplexed frames of different media data;
A first switch connected between the first buffer and the multiplexing means;
A second switch connected between the second buffer and the multiplexing means;
Accumulating a second threshold for the second buffer, monitoring a buffer accumulation amount in the second buffer, and when the buffer accumulation amount exceeds the second threshold, the first buffer Timing control means for controlling the first switch and the second switch so as to send the first media data and the second media data in the second buffer to the multiplexing means. A transmitter characterized by the above.
前記第1のバッファは、前記第1の閾値に相当する量の前記第1のメディアデータを一度に前記多重化手段へ送出するように構成されていることを特徴とする請求項19又は20に記載の送信装置。 A first threshold for the first buffer is determined;
The said 1st buffer is comprised so that the said 1st media data of the quantity corresponding to the said 1st threshold value may be sent to the said multiplexing means at once. The transmitting device described.
前記タイミング制御手段は、前記第1のバッファ及び/又は前記第2のバッファにメディアデータが蓄積されているにもかかわらず、前記第1のバッファのバッファ蓄積量が前記第1の閾値に達していない場合、前記クロック手段から出力されるタイミングで、前記フレームを構成することを特徴とする請求項16から21のいずれか1項に記載の送信装置。 A clock means for defining a longest time interval, which is reset every time the frame is configured;
The timing control means has the buffer accumulation amount of the first buffer reaching the first threshold value even though media data is accumulated in the first buffer and / or the second buffer. The transmission apparatus according to any one of claims 16 to 21, wherein if there is not, the frame is configured at a timing output from the clock means.
送信すべき第2のメディアデータを一時的に蓄積する第2のバッファと、
UDPヘッダに続いて、シリアル番号部と、第1のメディアデータサイズ部と、該サイズ部に格納された長さの第1のメディアデータと、第2のメディアデータとを含むデータ構造を有する、異なるメディアデータのパケット多重化フレームを生成する多重化手段と、
前記第1のバッファと前記多重化手段との間に接続された第1のスイッチと、
前記第2のバッファと前記多重化手段との間に接続された第2のスイッチと、
時間間隔を規定するクロック手段とを有しており、
前記第1及び第2のスイッチは、前記クロック手段のタイミングに従って、前記第1のバッファに蓄積された前記第1のメディアデータを前記多重化手段へ送出し、前記第2のバッファに蓄積された前記第2のメディアデータを前記多重化手段へ送出する
ことを特徴とする送信装置。 A first buffer for temporarily storing first media data to be transmitted;
A second buffer for temporarily storing second media data to be transmitted;
Subsequent to the UDP header, the data structure includes a serial number portion, a first media data size portion, a first media data having a length stored in the size portion, and a second media data. Multiplexing means for generating packet multiplexed frames of different media data;
A first switch connected between the first buffer and the multiplexing means;
A second switch connected between the second buffer and the multiplexing means;
Clock means for defining the time interval;
The first and second switches send the first media data stored in the first buffer to the multiplexing means according to the timing of the clock means, and are stored in the second buffer. A transmitting apparatus, wherein the second media data is sent to the multiplexing means.
前記第2のスイッチは、前記第2のバッファに蓄積された前記第2の閾値に相当する量の前記第2のメディアデータを前記多重化手段へ送出することを特徴とする請求項23に記載の送信装置。 A second threshold for the second buffer is determined;
The said 2nd switch sends out the said 2nd media data of the quantity corresponded to the said 2nd threshold value accumulate | stored in the said 2nd buffer to the said multiplexing means. Transmitter.
前記第2のスイッチは、前記第1のバッファに蓄積された前記第1の閾値に相当する量の前記第1のメディアデータを前記多重化手段へ送出することを特徴とする請求項23又は24に記載の送信装置。 A first threshold for the first buffer is determined;
25. The second switch sends out the first media data in an amount corresponding to the first threshold stored in the first buffer to the multiplexing unit. The transmitting device according to 1.
前記シリアル番号を送出する加算手段と、
前記第1のメディアデータを一時的に蓄積する第1のメモリと、
前記第2のメディアデータを一時的に蓄積する第2のメモリと、
前記加算手段から出力された前記シリアル番号を、前記フレームの前記シリアル番号部に含め、次に、前記第1のメモリから出力された第1のメディアデータサイズを、前記フレームの前記第1のメディアデータサイズ部に含め、次に、前記第1のメモリから出力された、前記第1のメディアデータサイズ部に格納された長さの前記第1のメディアデータを含め、次に、前記第2のメモリから出力された第2のメディアデータを含めたパケット多重化フレームの生成を繰り返す多重パケット生成手段と
を有することを特徴とする請求項16から25のいずれか1項に記載の送信装置。 The multiplexing means includes
Adding means for sending the serial number;
A first memory for temporarily storing the first media data;
A second memory for temporarily storing the second media data;
The serial number output from the adding means is included in the serial number portion of the frame, and then the first media data size output from the first memory is set to the first media of the frame. Including the first media data of the length stored in the first media data size portion, which is output from the first memory and then stored in the first media data size portion; The transmission apparatus according to any one of claims 16 to 25, further comprising: multiple packet generation means for repeatedly generating a packet multiplexed frame including the second media data output from the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004301608A JP2006115305A (en) | 2004-10-15 | 2004-10-15 | Transmission method for controlling generating timing of packet multiplexed frame in different media data, transmission program, and transmission apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004301608A JP2006115305A (en) | 2004-10-15 | 2004-10-15 | Transmission method for controlling generating timing of packet multiplexed frame in different media data, transmission program, and transmission apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006115305A true JP2006115305A (en) | 2006-04-27 |
Family
ID=36383425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004301608A Pending JP2006115305A (en) | 2004-10-15 | 2004-10-15 | Transmission method for controlling generating timing of packet multiplexed frame in different media data, transmission program, and transmission apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006115305A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7442102B2 (en) | 2006-01-16 | 2008-10-28 | Yamaha Marine Kabushiki Kaisha | Boat |
US7467981B2 (en) | 2006-03-20 | 2008-12-23 | Yamaha Marine Kabushiki Kaisha | Remote control device and watercraft |
US7540795B2 (en) | 2006-03-14 | 2009-06-02 | Yamaha Hatsudoki Kabushiki Kaisha | Watercraft propulsion apparatus and watercraft |
US7702426B2 (en) | 2006-06-05 | 2010-04-20 | Yamaha Hatsudoki Kabushiki Kaisha | Remote control system for a boat |
RU2780581C1 (en) * | 2021-11-09 | 2022-09-28 | Общество С Ограниченной Ответственностью "Компания "Стрим Лабс" | Method for transmitting television signals |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1051491A (en) * | 1996-08-01 | 1998-02-20 | Hitachi Ltd | Communication system, client terminal equipment and data transmission method |
JP2001189708A (en) * | 1999-12-28 | 2001-07-10 | Toshiba Corp | Multimedia information device and its transmitting method |
JP2002171367A (en) * | 2000-11-29 | 2002-06-14 | Amenico:Kk | Data communication charging device |
JP2003250133A (en) * | 2002-02-25 | 2003-09-05 | Mitsubishi Electric Corp | Data transmission apparatus, data transmission method, and multimedia multiplex transmission system |
JP2006115304A (en) * | 2004-10-15 | 2006-04-27 | Kddi Corp | Data structure of packet multiplexed frame in different media data, transmitter-receiver, and transmission / reception program |
-
2004
- 2004-10-15 JP JP2004301608A patent/JP2006115305A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1051491A (en) * | 1996-08-01 | 1998-02-20 | Hitachi Ltd | Communication system, client terminal equipment and data transmission method |
JP2001189708A (en) * | 1999-12-28 | 2001-07-10 | Toshiba Corp | Multimedia information device and its transmitting method |
JP2002171367A (en) * | 2000-11-29 | 2002-06-14 | Amenico:Kk | Data communication charging device |
JP2003250133A (en) * | 2002-02-25 | 2003-09-05 | Mitsubishi Electric Corp | Data transmission apparatus, data transmission method, and multimedia multiplex transmission system |
JP2006115304A (en) * | 2004-10-15 | 2006-04-27 | Kddi Corp | Data structure of packet multiplexed frame in different media data, transmitter-receiver, and transmission / reception program |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7442102B2 (en) | 2006-01-16 | 2008-10-28 | Yamaha Marine Kabushiki Kaisha | Boat |
US7540795B2 (en) | 2006-03-14 | 2009-06-02 | Yamaha Hatsudoki Kabushiki Kaisha | Watercraft propulsion apparatus and watercraft |
US7467981B2 (en) | 2006-03-20 | 2008-12-23 | Yamaha Marine Kabushiki Kaisha | Remote control device and watercraft |
US7702426B2 (en) | 2006-06-05 | 2010-04-20 | Yamaha Hatsudoki Kabushiki Kaisha | Remote control system for a boat |
RU2780581C1 (en) * | 2021-11-09 | 2022-09-28 | Общество С Ограниченной Ответственностью "Компания "Стрим Лабс" | Method for transmitting television signals |
RU2780582C1 (en) * | 2021-12-10 | 2022-09-28 | Общество С Ограниченной Ответственностью "Компания "Стрим Лабс" | Method for transmitting digital television signals based on mpeg-ts streams |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4661373B2 (en) | Transmission device and transmission program for controlling discard of specific media data | |
JP4367657B2 (en) | Voice communication method and apparatus | |
EP1813115B1 (en) | Buffering packets of a media stream | |
JP4475235B2 (en) | Content encoding, distribution and reception method, apparatus, system, and program | |
RU2408158C2 (en) | Synchronisation of sound and video | |
JP2002141945A (en) | Data transmission system and data transmission method, and program storage medium | |
US7072291B1 (en) | Devices, softwares and methods for redundantly encoding a data stream for network transmission with adjustable redundant-coding delay | |
WO2008047560A1 (en) | Voice transmission apparatus | |
JP2007288342A (en) | Media stream relay device and method | |
JP4699947B2 (en) | Communication terminal device | |
JP6232870B2 (en) | Wireless communication system, wireless communication method, program, and recording medium | |
WO2015015879A1 (en) | Information processing device, information processing method, and program | |
JP2008005392A (en) | Communication terminal device and buffer controlling method | |
JP6451629B2 (en) | Information processing apparatus, information processing method, and program | |
JP6504820B2 (en) | Method and apparatus for providing streaming service | |
JP2006115305A (en) | Transmission method for controlling generating timing of packet multiplexed frame in different media data, transmission program, and transmission apparatus | |
JPWO2005006688A1 (en) | Communications system | |
JP4050961B2 (en) | Packet-type voice communication terminal | |
JP4400571B2 (en) | Coding data processing method and gateway device in connection between different types of communication networks | |
CN101378512B (en) | Method and device for synchronizing audio and video | |
JP2000307637A (en) | Multimedia terminal device and inter-network connecting device | |
JP2006115304A (en) | Data structure of packet multiplexed frame in different media data, transmitter-receiver, and transmission / reception program | |
KR20060016809A (en) | Medium signal reception device, transmission device, and transmission/reception system | |
JP2006222663A (en) | Communication terminal and method for controlling communication data volume | |
JP4457841B2 (en) | Transmission apparatus, transmission program, and transmission method for controlling coding rate |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070906 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091126 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100105 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100301 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100720 |