JP2000013441A - Packet transmitter, packet transmission method, packet multiplexer and output enable time calculating device - Google Patents

Packet transmitter, packet transmission method, packet multiplexer and output enable time calculating device

Info

Publication number
JP2000013441A
JP2000013441A JP17875098A JP17875098A JP2000013441A JP 2000013441 A JP2000013441 A JP 2000013441A JP 17875098 A JP17875098 A JP 17875098A JP 17875098 A JP17875098 A JP 17875098A JP 2000013441 A JP2000013441 A JP 2000013441A
Authority
JP
Japan
Prior art keywords
packet
output
data
time
counter
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
JP17875098A
Other languages
Japanese (ja)
Inventor
Kensuke Sato
健輔 佐藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP17875098A priority Critical patent/JP2000013441A/en
Publication of JP2000013441A publication Critical patent/JP2000013441A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide packet transmission equipment capable of transmitting not only the stream data of a fixed rate but also the image/sound of a variable rate. SOLUTION: An output enable time calculating means 101 obtains leading output enable time as the minimum value of time when an input packet can be outputted. A time comparing means 102 compares the leading output enable time with current time shown by a reference clock 103 and outputs 'validity' or 'invalidity'. While the 'validity' is outputted from the time comparing means 102, an output timing determining means 104 calculates the timing of packet output. Then, an output control means 107 outputs the input packet based on the instruction of the output timing determining means 106. Thus, even when the input packet stream contains the video/audio data of the variable rate, packet data can be transmitted without the overflow of a buffer at reception equipment.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル伝送分野
におけるパケット送信装置、パケット送信方法、パケッ
ト多重化装置、及び出力可能時刻計算装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet transmission device, a packet transmission method, a packet multiplexing device, and an output available time calculation device in the field of digital transmission.

【0002】[0002]

【従来の技術】図10は従来のパケット送信装置の構成
例を示すブロック図である。出力タイマ704は、入力
パケット列の出力開始の基準となる基準時刻でリセット
され、入力端子712を介して入力された一定周期のフ
レームパルスをカウントすることにより、基準時刻から
の経過時間を出力するものである。出力データ量カウン
タ705は、基準時刻以降に実際に出力されたパケット
のデータ長を積算し、出力タイミング決定手段706に
与えるものである。出力タイミング決定手段706は、
パケットの出力レートが予め設定された平均レートにな
るようにパケットの出力タイミングを制御するものであ
る。出力制御手段707は、出力タイミング決定手段7
06の指示する出力タイミングに基づいて、入力端子7
10を介して入力された入力パケット列の出力制御を行
い、出力端子711を介してパケット列を出力するもの
である。出力端子711はネットワーク等を介して図示
しない受信装置に接続される。
2. Description of the Related Art FIG. 10 is a block diagram showing a configuration example of a conventional packet transmitting apparatus. The output timer 704 is reset at a reference time serving as a reference for starting output of an input packet sequence, and outputs a time elapsed from the reference time by counting frame pulses of a fixed cycle input via the input terminal 712. Things. The output data amount counter 705 accumulates the data lengths of the packets actually output after the reference time, and provides the result to the output timing determination means 706. The output timing determining means 706 includes:
The output timing of the packet is controlled so that the output rate of the packet becomes a predetermined average rate. The output control means 707 comprises:
06 based on the output timing indicated by the input terminal
It controls the output of an input packet sequence input through the input terminal 10 and outputs the packet sequence through the output terminal 711. The output terminal 711 is connected to a receiving device (not shown) via a network or the like.

【0003】このような構成のパケット送信装置の動作
について説明する。なお、パラメータとして予め、出力
タイミング決定手段706に対してパケット列の平均出
力レートが設定される。出力タイマ704は基準時刻で
リセットされ、基準時刻以降のフレームパルスの数を数
え、フレームパルス数とフレームパルス周期とを乗じ
て、基準時刻からの経過時間を出力する。出力タイミン
グ決定手段706は、出力タイマ704の示す経過時間
にパケット列の出力レートを乗じて、経過時間の間に出
力すべきデータ長を求める。
[0003] The operation of the packet transmitting apparatus having such a configuration will be described. The average output rate of the packet sequence is set in advance for the output timing determining means 706 as a parameter. The output timer 704 is reset at the reference time, counts the number of frame pulses after the reference time, multiplies the number of frame pulses by the frame pulse period, and outputs the elapsed time from the reference time. The output timing determining means 706 multiplies the elapsed time indicated by the output timer 704 by the output rate of the packet sequence to obtain the data length to be output during the elapsed time.

【0004】出力データ量カウンタ705は、基準時刻
以降に実際に出力されたパケットのデータ長を積算す
る。出力タイミング決定手段706は、出力すべきデー
タ長と、実際に出力したデータ長、即ち出力データ量カ
ウンタ705の出力とを比較し、両者の差が常に一定の
範囲内に収まるように、出力制御手段707に対してパ
ケットの出力タイミングを指示する。出力制御手段70
7は、出力タイミング決定手段706で指示されたタイ
ミングでパケット列を出力する。
[0004] The output data amount counter 705 accumulates the data length of packets actually output after the reference time. The output timing determining unit 706 compares the data length to be output with the actually output data length, that is, the output of the output data amount counter 705, and controls the output control so that the difference between the two always falls within a certain range. It instructs means 707 on the output timing of the packet. Output control means 70
7 outputs the packet sequence at the timing specified by the output timing determining means 706.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
パケット送信装置では、伝送レートが一定である固定レ
ート形式のストリームデータしか伝送することができな
かった。従ってMPEG−2(Moving Picture Experts
Group-2)規格の可変レート形式で符号化された映像デー
タや音声データなど、伝送レートが時間と共に変化する
ストリームデータを伝送することは困難であるという問
題があった。
However, in the conventional packet transmitting apparatus, only stream data of a fixed rate format having a constant transmission rate can be transmitted. Therefore, MPEG-2 (Moving Picture Experts
There is a problem that it is difficult to transmit stream data whose transmission rate changes with time, such as video data and audio data encoded in the variable rate format of the Group-2) standard.

【0006】本発明は、このような従来の問題点に鑑み
てなされたものであって、固定レートのストリームデー
タだけではなく、可変レートのストリームデータも伝送
可能なパケット送信装置、パケット送信方法、パケット
多重化装置を実現すると共に、受信装置のデータバッフ
ァへの入力開始可能な時刻を、出力可能な先頭時刻とし
て求める出力可能時刻計算装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and is directed to a packet transmission apparatus, a packet transmission method, and a packet transmission method capable of transmitting not only fixed-rate stream data but also variable-rate stream data. An object of the present invention is to provide a packet multiplexing device and to provide an output possible time calculation device that obtains a time at which input to a data buffer of a receiving device can be started as a head time at which output is possible.

【0007】[0007]

【課題を解決するための手段】このような課題を解決す
るために本願の請求項1の発明は、データソースに保持
されたデータをパケット単位で読み出し、伝送媒体を介
して前記データをパケット単位で受信装置に送信するパ
ケット送信装置であって、前記受信装置のデータバッフ
ァがパケットデータの入力開始可能な時刻を、送信側の
出力可能先頭時刻とするとき、パケット列を入力して各
パケットの出力可能先頭時刻を求める出力可能時刻計算
手段と、前記出力可能時刻計算手段で求められた出力可
能先頭時刻と現在時刻とを比較する時刻比較手段と、前
記時刻比較手段での比較結果に応じて前記パケットの出
力タイミングを制御する出力制御手段と、を具備するこ
とを特徴とするものである。
In order to solve such a problem, the invention of claim 1 of the present application reads out data held in a data source in packet units, and reads the data in packet units via a transmission medium. A packet transmitting apparatus for transmitting to a receiving apparatus at a time, wherein a time at which the data buffer of the receiving apparatus can start inputting the packet data is set as a start time at which the output of the transmitting side is possible, and a packet sequence is input and each packet is transmitted. An output available time calculating means for obtaining an output available start time, a time comparing means for comparing the output available start time obtained by the output available time calculation means with a current time, and a comparison result by the time comparing means. Output control means for controlling the output timing of the packet.

【0008】本願の請求項2の発明は、データソースに
保持されたデータをパケット単位で読み出し、伝送媒体
を介して前記データをパケット単位で受信装置に送信す
るパケット送信装置であって、前記受信装置のデータバ
ッファがパケットデータの入力開始可能な時刻を、送信
側の出力可能先頭時刻とするとき、パケット列を入力し
て各パケットの出力可能先頭時刻を求める出力可能時刻
計算手段と、前記出力可能時刻計算手段で求められた出
力可能先頭時刻と現在時刻とを比較する時刻比較手段
と、前記時刻比較手段での比較結果に応じて前記パケッ
トの出力タイミングを制御する出力制御手段と、現在時
刻が出力可能先頭時刻を越えたことを示すイネーブル信
号が、前記時刻比較手段により出力されたとき、前記パ
ケットの出力タイミングの計算を行い、前記出力制御手
段に対して前記出力タイミングを指示する出力タイミン
グ決定手段と、を具備することを特徴とするものであ
る。
According to a second aspect of the present invention, there is provided a packet transmitting apparatus for reading data held in a data source in packet units and transmitting the data to a receiving apparatus in packet units via a transmission medium. When a time at which the data buffer of the device can start inputting the packet data is set as the output start time on the transmission side, an output time calculation means for inputting a packet sequence and obtaining an output start time of each packet; Time comparison means for comparing the output available head time obtained by the possible time calculation means with the current time; output control means for controlling the output timing of the packet in accordance with the result of comparison by the time comparison means; When the enable signal indicating that the output time has passed the output start time is output by the time comparing means, the output timing of the packet is output. It performed grayed calculations and is characterized by comprising an output timing determining means for instructing the output timing to the output control means.

【0009】本願の請求項3の発明は、データソースに
保持されたデータをパケット単位で読み出し、伝送媒体
を介して前記データをパケット単位で受信装置に送信す
るパケット送信装置であって、前記受信装置のデータバ
ッファがパケットデータの入力開始可能な時刻を、送信
側の出力可能先頭時刻とするとき、パケット列を入力し
て各パケットの出力可能先頭時刻を求める出力可能時刻
計算手段と、前記出力可能時刻計算手段で求められた出
力可能先頭時刻と入力パケットのデータとを一時蓄積す
る蓄積手段と、前記蓄積手段に蓄積された出力可能先頭
時刻と現在時刻とを比較する時刻比較手段と、前記蓄積
手段からパケットデータを読み出し、前記時刻比較手段
での比較結果に応じて前記パケットの出力タイミングを
制御する出力制御手段と、を具備することを特徴とする
ものである。
According to a third aspect of the present invention, there is provided a packet transmitting apparatus for reading data held in a data source in packet units and transmitting the data to a receiving apparatus in packet units via a transmission medium. When a time at which the data buffer of the device can start inputting the packet data is set as the output start time on the transmission side, an output time calculation means for inputting a packet sequence and obtaining an output start time of each packet; A storage unit for temporarily storing the output-capable top time and the data of the input packet obtained by the possible-time calculation unit; a time comparison unit that compares the output-capable top time stored in the storage unit with the current time; Output control for reading packet data from the storage means and controlling the output timing of the packet in accordance with the result of comparison by the time comparison means It is characterized in that it comprises a stage, a.

【0010】本願の請求項4の発明は、データソースに
保持されたデータをパケット単位で読み出し、伝送媒体
を介して前記データをパケット単位で受信装置に送信す
るパケット送信装置であって、前記受信装置のデータバ
ッファがパケットデータの入力開始可能な時刻を、送信
側の出力可能先頭時刻とするとき、パケット列を入力し
て各パケットの出力可能先頭時刻を求める出力可能時刻
計算手段と、前記出力可能時刻計算手段で求められた出
力可能先頭時刻と入力パケットのデータとを一時蓄積す
る蓄積手段と、前記蓄積手段に蓄積された出力可能先頭
時刻と現在時刻とを比較する時刻比較手段と、前記蓄積
手段からパケットデータを読み出し、前記時刻比較手段
での比較結果に応じて前記パケットの出力タイミングを
制御する出力制御手段と、現在時刻が出力可能先頭時刻
を越えたことを示すイネーブル信号が、前記時刻比較手
段により出力されたとき、前記パケットの出力タイミン
グの計算を行い、前記出力制御手段に対して前記出力タ
イミングを指示する出力タイミング決定手段と、を具備
することを特徴とするものである。
According to a fourth aspect of the present invention, there is provided a packet transmitting apparatus for reading data held in a data source in packet units and transmitting the data to a receiving apparatus in packet units via a transmission medium. When a time at which the data buffer of the device can start inputting the packet data is set as the output start time on the transmission side, an output time calculation means for inputting a packet sequence and obtaining an output start time of each packet; A storage unit for temporarily storing the output-capable top time and the data of the input packet obtained by the possible-time calculation unit; a time comparison unit that compares the output-capable top time stored in the storage unit with the current time; Output control for reading packet data from the storage means and controlling the output timing of the packet in accordance with the result of comparison by the time comparison means And when an enable signal indicating that the current time has exceeded the output-capable top time is output by the time comparison means, the output timing of the packet is calculated, and the output timing is output to the output control means. And output timing determining means for instructing the output timing.

【0011】本願の請求項5の発明は、所定量以下のデ
ータが記載されたパケットをパケット列として入力する
第1のステップと、受信装置のデータバッファがパケッ
トデータの入力開始可能な時刻を、送信側の出力可能先
頭時刻とするとき、前記第1のステップで得られた各パ
ケットの出力可能先頭時刻を求める第2のステップと、
前記第2のステップで得られた出力可能先頭時刻と現在
時刻とを比較し、比較結果に応じて前記パケットの出力
タイミングを制御する第3のステップと、を有すること
を特徴とするものである。
According to a fifth aspect of the present invention, a first step of inputting a packet in which data of a predetermined amount or less is described as a packet sequence, and a time at which the data buffer of the receiving device can start inputting the packet data, A second step of obtaining an output-capable top time of each packet obtained in the first step, when the output-capable top time of the transmission side is set;
And a third step of comparing the available output start time obtained in the second step with the current time, and controlling the output timing of the packet in accordance with the comparison result. .

【0012】本願の請求項6の発明は、請求項1〜4の
いずれか1項記載のパケット送信装置をチャンネル数に
応じて複数組設け、前記各パケット送信装置から出力さ
れる各パケットをインタリーブし、一本のパケット列に
変換するパケットインターリーブ手段を有することを特
徴とするものである。
According to a sixth aspect of the present invention, there are provided a plurality of sets of the packet transmitting apparatus according to any one of the first to fourth aspects according to the number of channels, and interleaving each packet output from each of the packet transmitting apparatuses. And a packet interleaving means for converting the packet into a single packet sequence.

【0013】本願の請求項7の発明は、受信装置のデー
タバッファがパケットデータの入力開始可能な時刻を、
送信側の出力可能先頭時刻とするとき、1つ以上のアク
セスユニットから構成されるストリームデータをパケッ
ト毎に入力し、前記各パケットの出力可能先頭時刻を計
算する出力可能時刻計算装置であって、前記アクセスユ
ニットに対応したデータの挿入期間をスロットとすると
き、前記パケットの多重可能な先頭スロット番号を出力
するスロットカウンタと、前記パケットに含まれるスト
リームデータの長さを前記アクセスユニット別に積算
し、前記スロットカウンタの示す値に対応した前記アク
セスユニットのデータサイズを出力するアクセスユニッ
トサイズカウンタと、前記パケットに含まれるストリー
ムデータの長さを積算し、積算値が予め定められた閾値
を越える場合は、先ず前記スロットカウンタを進め、次
に前記アクセスユニットサイズカウンタの出力を現在の
積算値から減じるバッファシミュレータと、を具備する
ことを特徴とするものである。
According to a seventh aspect of the present invention, the time at which the data buffer of the receiving device can start inputting the packet data is determined by:
An output-capable time calculation device that inputs stream data composed of one or more access units for each packet when calculating the output-capable top time on the transmission side, and calculates the output-capable top time of each packet, When the insertion period of data corresponding to the access unit is a slot, a slot counter that outputs a multiplexable start slot number of the packet, and the length of stream data included in the packet is integrated for each access unit, An access unit size counter that outputs the data size of the access unit corresponding to the value indicated by the slot counter, and the length of the stream data included in the packet are integrated, and when the integrated value exceeds a predetermined threshold, First, the slot counter is advanced, and then the access unit It is characterized in that it comprises a buffer simulator to reduce the output of the bets size counter from the current integrated value.

【0014】本願の請求項8の発明は、受信装置のデー
タバッファがパケットデータの入力開始可能な時刻を、
送信側の出力可能先頭時刻とするとき、1つ以上のアク
セスユニットから構成されるストリームデータをパケッ
ト毎に入力し、前記各パケットの出力可能先頭時刻を計
算する出力可能時刻計算装置であって、前記アクセスユ
ニットに対応したデータの挿入期間をスロットとすると
き、前記パケットの多重可能な先頭スロット番号を出力
するスロットカウンタと、前記パケットに含まれるスト
リームデータの長さを前記アクセスユニット別に積算
し、前記スロットカウンタの示す値に対応した前記アク
セスユニットのデータサイズを出力するアクセスユニッ
トサイズカウンタと、前記パケットに含まれるストリー
ムデータの長さを積算し、積算値が予め定められた閾値
を越える場合は、先ず前記アクセスユニットサイズカウ
ンタの出力を現在の積算値から減じ、次に前記スロット
カウンタを進めるバッファシミュレータと、を具備する
ことを特徴とするものである。
[0014] The invention according to claim 8 of the present application is a communication device, wherein the time at which the data buffer of the receiving device can start inputting the packet data is determined by:
An output-capable time calculation device that inputs stream data composed of one or more access units for each packet when calculating the output-capable top time on the transmission side, and calculates the output-capable top time of each packet, When the insertion period of data corresponding to the access unit is a slot, a slot counter that outputs a multiplexable start slot number of the packet, and the length of stream data included in the packet is integrated for each access unit, An access unit size counter that outputs the data size of the access unit corresponding to the value indicated by the slot counter, and the length of the stream data included in the packet are integrated, and when the integrated value exceeds a predetermined threshold, First, the output of the access unit size counter is Subtracted from calculated value is then those characterized by comprising a buffer simulator advancing the slot counter.

【0015】本願の請求項9の発明は、受信装置のデー
タバッファがパケットデータの入力開始可能な時刻を、
送信側の出力可能先頭時刻とするとき、1つ以上のアク
セスユニットから構成されるストリームデータをパケッ
ト毎に入力し、前記各パケットの出力可能先頭時刻を計
算する出力可能時刻計算装置であって、デコード時刻が
隣り合う2つの前記アクセスユニットのデコード時刻で
挟まれた期間をスロットとするとき、前記パケットの多
重可能な先頭スロット番号を出力するスロットカウンタ
と、1つ以上のデータ量カウンタを有し、少なくとも前
記スロットカウンタが示す番号から前記パケットに含ま
れるストリームデータが属するアクセスユニットのデコ
ード時刻を最終時刻とするスロットの番号までに対応し
た全ての前記データ量カウンタに対して、前記パケット
に含まれるストリームデータの長さを夫々加算させ、前
記スロットカウンタが示す番号に対応した前記データ量
カウンタのカウント値が、予め定められた閾値を越えた
場合は、前記スロットカウンタを進めるバッファシミュ
レータと、を具備することを特徴とするものである。
[0015] According to a ninth aspect of the present invention, the time at which the data buffer of the receiving device can start inputting packet data is determined by:
An output-capable time calculation device that inputs stream data composed of one or more access units for each packet when calculating the output-capable top time on the transmission side, and calculates the output-capable top time of each packet, When a slot is a period between decoding times of two adjacent access units whose decoding times are adjacent to each other, the slot has a slot counter for outputting a multiplexable head slot number of the packet and one or more data amount counters. , At least all the data amount counters corresponding to at least the number indicated by the slot counter to the number of the slot whose final time is the decoding time of the access unit to which the stream data included in the packet belongs are included in the packet. The length of the stream data is added to each Count value of the data amount counter corresponding to the number that is indicated, if it exceeds a predetermined threshold, it is characterized in that it comprises a buffer simulator to proceed with the slot counter.

【0016】本願の請求項10の発明は、請求項1又は
2のパケット送信装置において、前記出力可能時刻計算
手段は、請求項7記載の出力可能時刻計算装置であるこ
とを特徴とするものである。
According to a tenth aspect of the present invention, in the packet transmitting device of the first or second aspect, the output possible time calculating means is the output possible time calculating device according to the seventh aspect. is there.

【0017】本願の請求項11の発明は、請求項1又は
2のパケット送信装置において、前記出力可能時刻計算
手段は、請求項8記載の出力可能時刻計算装置であるこ
とを特徴とするものである。
According to an eleventh aspect of the present invention, in the packet transmission device of the first or second aspect, the output possible time calculation means is the output possible time calculation device according to the eighth aspect. is there.

【0018】本願の請求項12の発明は、請求項1又は
2のパケット送信装置において、前記出力可能時刻計算
手段は、請求項9記載の出力可能時刻計算装置であるこ
とを特徴とするものである。
According to a twelfth aspect of the present invention, in the packet transmission device of the first or second aspect, the output possible time calculation means is the output possible time calculation device according to the ninth aspect. is there.

【0019】本願の請求項13の発明は、請求項3又は
4のパケット送信装置において、前記出力可能時刻計算
手段は、請求項7記載の出力可能時刻計算装置であるこ
とを特徴とするものである。
According to a thirteenth aspect of the present invention, in the packet transmission device of the third or fourth aspect, the output possible time calculation means is the output possible time calculation device according to the seventh aspect. is there.

【0020】本願の請求項14の発明は、請求項3又は
4のパケット送信装置において、前記出力可能時刻計算
手段は、請求項8記載の出力可能時刻計算装置であるこ
とを特徴とするものである。
According to a fourteenth aspect of the present invention, in the packet transmission device of the third or fourth aspect, the output possible time calculation means is the output possible time calculation device according to the eighth aspect. is there.

【0021】本願の請求項15の発明は、請求項3又は
4のパケット送信装置において、前記出力可能時刻計算
手段は、請求項9記載の出力可能時刻計算装置であるこ
とを特徴とするものである。
According to a fifteenth aspect of the present invention, in the packet transmission device of the third or fourth aspect, the output possible time calculation means is the output possible time calculation device according to the ninth aspect. is there.

【0022】本願の請求項16の発明は、請求項7の出
力可能時刻計算装置において、前記ストリームデータ
は、映像データ又は音声データであることを特徴とする
ものである。
[0022] The invention of claim 16 of the present application is the output possible time calculation device of claim 7, wherein the stream data is video data or audio data.

【0023】本願の請求項17の発明は、請求項8の出
力可能時刻計算装置において、前記ストリームデータ
は、映像データ又は音声データであることを特徴とする
ものである。
According to a seventeenth aspect of the present invention, in the output possible time calculating device of the eighth aspect, the stream data is video data or audio data.

【0024】本願の請求項18の発明は、請求項9の出
力可能時刻計算装置において、前記ストリームデータ
は、映像データ又は音声データであることを特徴とする
ものである。
[0024] The invention of claim 18 of the present application is the output possible time calculation device of claim 9, wherein the stream data is video data or audio data.

【0025】本願の請求項19の発明は、請求項3又は
4のパケット送信装置において、前記蓄積手段は、パケ
ット列管理データの記録領域として、パケットデータ領
域と出力可能時刻情報領域とを有し、前記パケットデー
タ領域にはパケットデータを記録し、前記出力可能時刻
情報領域には前記パケットデータの出力可能先頭時刻を
記録することを特徴とするものである。
According to a nineteenth aspect of the present invention, in the packet transmission device of the third or fourth aspect, the storage means has a packet data area and an outputable time information area as a recording area of packet sequence management data. The packet data area records packet data, and the output available time information area records the output start time of the packet data.

【0026】本願の請求項20の発明は、請求項13の
パケット送信装置において、前記蓄積手段は、前記出力
可能時刻情報領域には前記出力可能時刻計算手段が出力
した出力可能先頭時刻を記録することを特徴とするもの
である。
According to a twentieth aspect of the present invention, in the packet transmitting apparatus according to the thirteenth aspect, the storage means records the output available start time output by the output available time calculation means in the output available time information area. It is characterized by the following.

【0027】本願の請求項21の発明は、請求項14の
パケット送信装置において、前記蓄積手段は、前記出力
可能時刻情報領域には前記出力可能時刻計算手段が出力
した出力可能先頭時刻を記録することを特徴とするもの
である。
[0027] According to a twenty-first aspect of the present invention, in the packet transmission device of the fourteenth aspect, the storage means records the outputtable start time output by the outputable time calculation means in the outputable time information area. It is characterized by the following.

【0028】本願の請求項22の発明は、請求項15の
パケット送信装置において、前記蓄積手段は、前記出力
可能時刻情報領域には前記出力可能時刻計算手段が出力
した出力可能先頭時刻を記録することを特徴とするもの
である。
According to a twenty-second aspect of the present invention, in the packet transmitting apparatus according to the fifteenth aspect, the accumulating means records the outputable start time output by the outputable time calculating means in the outputable time information area. It is characterized by the following.

【0029】[0029]

【発明の実施の形態】(実施の形態1)以下、本発明の
実施の形態1におけるパケット送信装置について、図1
を用いて説明する。図1は本実施の形態のパケット送信
装置の構成を示すブロック図である。本図に示すように
このパケット送信装置には、従来例と同様に出力タイマ
104、出力データ量カウンタ105、出力タイミング
決定手段106、出力制御手段107が設けられてい
る。
(Embodiment 1) Hereinafter, a packet transmitting apparatus according to Embodiment 1 of the present invention will be described with reference to FIG.
This will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of the packet transmission device according to the present embodiment. As shown in the figure, this packet transmitting apparatus is provided with an output timer 104, an output data amount counter 105, an output timing determining means 106, and an output control means 107 as in the conventional example.

【0030】入力端子112は、予め規定された一定周
期のフレームパルスが入力される端子である。出力可能
時刻計算手段101は、映像デコーダとして機能する受
信装置内のデータバッファのデータ量を推定し、入力端
子110を介してデータソースから出力されたパケット
列に対して、出力可能な時刻の最小値である出力可能先
頭時刻を演算するものである。基準時計103は、入力
パケット列の出力開始の基準となる基準時刻でリセット
され、基準時刻から入力端子112を介して入力された
フレームパルスの数をカウントし、フレームパルス数と
フレームパルス周期とを乗じることにより、現在時刻を
出力するものである。時刻比較手段102は、基準時計
103の示す現在時刻と出力可能時刻計算手段101に
よって指定された出力可能先頭時刻とを比較するもので
ある。入力端子110はパケット列を入力する入力端子
である。出力タイマ104は、時刻比較手段102の比
較結果に基づいて、フレームパルスの数をカウントし、
カウント数にフレームパルス周期を乗じることによって
経過時間を出力するものである。出力データ量カウンタ
105は、基準時刻以降に実際に出力されたパケットの
データ長を積算し、出力タイミング決定手段106に与
えるものである。出力タイミング決定手段106は、パ
ケットの出力レートが、予め設定された最大伝送レート
以下になるようにパケットの出力タイミングを制御する
ものである。出力制御手段107は、出力タイミング決
定手段106の指示する出力タイミングに基づいて、入
力端子110を介して入力された入力パケット列の出力
制御を行い、出力端子111を介してパケット列を出力
するものである。出力端子111はネットワーク等を介
して受信装置に接続される。
The input terminal 112 is a terminal to which a frame pulse having a predetermined fixed period is input. The possible output time calculating means 101 estimates the amount of data in the data buffer in the receiving device that functions as a video decoder, and calculates the minimum output time of the packet sequence output from the data source via the input terminal 110. It calculates the output start time as a value. The reference clock 103 is reset at a reference time serving as a reference for starting output of an input packet sequence, counts the number of frame pulses input via the input terminal 112 from the reference time, and determines the number of frame pulses and the frame pulse period. By multiplying, the current time is output. The time comparing means 102 compares the current time indicated by the reference clock 103 with the output start time designated by the output possible time calculating means 101. The input terminal 110 is an input terminal for inputting a packet sequence. The output timer 104 counts the number of frame pulses based on the comparison result of the time comparing unit 102,
The elapsed time is output by multiplying the count number by the frame pulse period. The output data amount counter 105 accumulates the data lengths of the packets actually output after the reference time and provides the output timing determination means 106. The output timing determination means 106 controls the output timing of the packet so that the output rate of the packet is equal to or less than a preset maximum transmission rate. The output control means 107 controls the output of the input packet sequence input via the input terminal 110 based on the output timing instructed by the output timing determination means 106, and outputs the packet sequence via the output terminal 111. It is. The output terminal 111 is connected to a receiving device via a network or the like.

【0031】以上のように構成されたパケット送信装置
の動作について説明する。なお、本実施の形態では、入
力端子110を介して入力されるパケット列は、一例と
してMPEG−2の可変レート形式で圧縮された映像デ
ータを、MPEG−2のTS(Transport Stream)形式の
パケットに分割して出力されたストリームデータとす
る。なお、パラメータとして予めパケット列の最大出力
レートが、出力タイミング決定手段106に対して設定
される。この値は、可変レート形式で圧縮された映像デ
ータが、受信装置におけるデータバッファでアンダーフ
ローすることなく、伝送可能な十分に高い値とする。
The operation of the packet transmitting apparatus configured as described above will be described. In the present embodiment, the packet sequence input via the input terminal 110 is, for example, a video stream compressed in a variable rate format of MPEG-2, a packet of MPEG-2 TS (Transport Stream) format. And output stream data. Note that the maximum output rate of the packet sequence is set in advance for the output timing determining unit 106 as a parameter. This value is set to a sufficiently high value that the video data compressed in the variable rate format can be transmitted without underflow in the data buffer in the receiving device.

【0032】まず、パケット列入力端子110からパケ
ット列が出力制御手段107に対してパケット単位で与
えられる。前述したように入力パケット列は可変レート
形式で符号化された映像データである。このため、受信
装置におけるデータバッファがオーバーフローしないよ
うに、映像データのデコードタイミングに合わせて、各
パケットの出力開始タイミングを調整する必要がある。
そこで出力可能時刻計算手段101は、後に詳しく述べ
る方法で、入力されたパケットの出力可能な時刻の最小
値である出力可能先頭時刻を求める。
First, a packet sequence is supplied from the packet sequence input terminal 110 to the output control means 107 in packet units. As described above, the input packet sequence is video data encoded in a variable rate format. Therefore, it is necessary to adjust the output start timing of each packet in accordance with the video data decode timing so that the data buffer in the receiving device does not overflow.
Therefore, the available output time calculating means 101 obtains the available output start time which is the minimum value of the available output time of the input packet by a method described later in detail.

【0033】基準時計103は、基準時刻でリセットさ
れ、基準時刻からのフレームパルスの数をカウントし、
フレームパルス数にフレームパルス周期を乗じて、現在
時刻を出力する。時刻比較手段102では、基準時計1
03の示す現在時刻と、出力可能時刻計算手段101に
よって指定された出力可能先頭時刻とを比較する。時刻
比較手段102は、現在時刻が出力可能先頭時刻に達し
ている場合のみ、出力タイマ104及び出力データ量カ
ウンタ105に対して「有効」(イネーブル)を出力
し、現在時刻が出力可能先頭時刻に達していない場合は
「無効」を出力する。
The reference clock 103 is reset at the reference time and counts the number of frame pulses from the reference time.
The current time is output by multiplying the number of frame pulses by the frame pulse period. In the time comparing means 102, the reference clock 1
03 is compared with the output start time designated by the output possible time calculation means 101. The time comparing means 102 outputs “valid” (enable) to the output timer 104 and the output data amount counter 105 only when the current time has reached the output-capable top time, and the current time becomes the output-capable top time. If not reached, "invalid" is output.

【0034】出力タイマ104は、時刻比較手段102
の出力が「無効」から「有効」に変化した直後に自己を
リセットし、時刻比較手段102の出力が「有効」であ
る間だけフレームパルスの数をカウントし、カウント数
にフレームパルス周期を乗じることによって、「有効」
になってからの経過時間を求める。出力タイミング決定
手段106は、出力タイマ104の示す経過時間にパケ
ット列の最大出力レートを乗じて、経過時間の間に出力
可能なデータ長を求める。出力データ量カウンタ105
は、時刻比較手段102の出力が「無効」から「有効」
に変化した直後に自己をリセットし、リセット後から実
際に出力したパケットのデータ長を積算し、積算結果を
出力する。
The output timer 104 includes a time comparing means 102
Resets itself immediately after the output of ".times." Changes from "invalid" to "valid", counts the number of frame pulses only while the output of the time comparison means 102 is "valid", and multiplies the counted number by the frame pulse period. By "valid" by
Find the elapsed time since The output timing determining means 106 multiplies the elapsed time indicated by the output timer 104 by the maximum output rate of the packet sequence to obtain a data length that can be output during the elapsed time. Output data amount counter 105
Means that the output of the time comparison means 102 is changed from "invalid" to "valid"
Immediately after it changes to, it resets itself, integrates the data length of the packet actually output after the reset, and outputs the integration result.

【0035】出力タイミング決定手段106は、先ほど
求めた出力可能なデータ長と、実際に出力したデータ長
である出力データ量カウンタ105の出力を比較し、両
者の差が常に一定の範囲内に収まるように、出力制御手
段107にパケットの出力タイミングを指示する。出力
制御手段107は、出力タイミング決定回路106に指
示されたタイミングでパケットデータを出力する。以上
の動作により、各パケットは、出力可能時刻計算手段1
01が求めた時刻以降に、最大出力レートを上限とする
頻度で出力される。
The output timing determining means 106 compares the outputable data length obtained previously with the output of the output data amount counter 105 which is the actually output data length, and the difference between the two always falls within a certain range. Thus, the output control unit 107 is instructed on the output timing of the packet. The output control means 107 outputs the packet data at the timing specified by the output timing determination circuit 106. By the above operation, each packet is output to the output possible time calculation means 1.
After the time obtained by 01, the output is performed at a frequency up to the maximum output rate.

【0036】(実施の形態2)次に本発明の実施の形態
2におけるパケット送信装置について、図2を用いて説
明する。図2は本実施の形態のパケット送信装置の構成
を示すブロック図である。このパケット送信装置には、
実施の形態1と同様に、出力可能時刻計算手段101、
時刻比較手段102、基準時計103、出力タイマ10
4、出力データ量カウンタ105、出力タイミング決定
手段106、出力制御手段107が設けられている。こ
れらのブロックの機能は実施の形態1と同一であるの
で、それらの説明は省略する。
(Embodiment 2) Next, a packet transmitting apparatus according to Embodiment 2 of the present invention will be described with reference to FIG. FIG. 2 is a block diagram illustrating a configuration of the packet transmission device according to the present embodiment. In this packet transmission device,
As in the first embodiment, the output possible time calculation means 101,
Time comparison means 102, reference clock 103, output timer 10
4. An output data amount counter 105, an output timing determining means 106, and an output control means 107 are provided. The functions of these blocks are the same as those in the first embodiment, and a description thereof will be omitted.

【0037】パケットメモリ108は、パケットデータ
記憶領域と、出力可能時刻情報領域とを有し、入力端子
110を介して入力されたパケットデータと、出力可能
時刻計算手段101で演算された出力可能先頭時刻情報
とを一時記憶し、パケットデータを出力制御手段107
に与え、出力可能先頭時刻情報を時刻比較手段102に
与える蓄積手段である。
The packet memory 108 has a packet data storage area and an output available time information area, and stores the packet data input via the input terminal 110 and the output available time calculated by the output available time calculation means 101. The time information is temporarily stored, and the packet data is output to the output control unit 107.
, And output possible start time information to the time comparing means 102.

【0038】本実施の形態のパケット送信装置の動作
は、以下の手順を除いて、実施の形態1におけるパケッ
ト送信装置の動作と同じである。即ちパケットメモリ1
08は、入力端子110から入力されたパケット列にお
ける各パケットデータと共に、出力可能時刻計算手段1
01で求められた各パケットの出力可能時刻情報を、パ
ケットデータと対応させながら記録する。出力時は、パ
ケットメモリ108からパケットデータと出力可能時刻
先頭情報とを順に読み出し、出力可能先頭時刻情報を時
刻比較手段102に出力し、パケットデータを出力制御
手段107に出力する。
The operation of the packet transmitting apparatus according to the present embodiment is the same as the operation of the packet transmitting apparatus according to the first embodiment except for the following procedure. That is, the packet memory 1
08 is the output possible time calculation means 1 together with each packet data in the packet sequence input from the input terminal 110.
The output available time information of each packet obtained in step 01 is recorded in association with the packet data. At the time of output, packet data and output-capable time head information are sequentially read from the packet memory 108, output-capable head time information is output to the time comparison means 102, and packet data is output to the output control means 107.

【0039】以後は、実施の形態1における動作と同様
に、各パケットの出力タイミングが決定され、出力端子
111を介してパケットデータが出力される。このよう
な構成をとることにより、処理量の多い出力可能時刻計
算手段101の演算処理を予め行っておくことができ
る。このことにより、リアルタイム処理が必要な実際の
伝送時の演算処理を減らすことができる。
Thereafter, similarly to the operation in the first embodiment, the output timing of each packet is determined, and the packet data is output via the output terminal 111. With such a configuration, it is possible to perform in advance the arithmetic processing of the output possible time calculating means 101 having a large processing amount. As a result, it is possible to reduce the number of calculation processes at the time of actual transmission that requires real-time processing.

【0040】(実施の形態3)次に本発明の実施の形態
3として、パケット多重化装置について図3を用いて説
明する。図3は本実施の形態のパケット多重化装置の構
成図であり、一例として入力ストリーム数が3の場合の
構成を示す。尚、入力ストリーム数が3以外の場合につ
いても同様に実施可能である。図3において、図1又は
図2で示すものと同様のパケット送信装置301,30
2,303が設けられている。パケットインターリーブ
手段310は、パケット送信装置301,302,30
3から出力されたパケットデータをパケット毎に並べ、
予め設定された出力レートに不足する分はダミーパケッ
トで埋め、一定レートの一本のパケット列に変換し、出
力端子320を介して出力するものである。
(Embodiment 3) Next, as Embodiment 3 of the present invention, a packet multiplexing apparatus will be described with reference to FIG. FIG. 3 is a configuration diagram of the packet multiplexing apparatus according to the present embodiment, and shows a configuration when the number of input streams is three as an example. It should be noted that the present invention can be similarly implemented when the number of input streams is other than three. 3, packet transmitting apparatuses 301 and 30 similar to those shown in FIG. 1 or FIG.
2,303 are provided. Packet interleaving means 310 includes packet transmitting devices 301, 302, 30
3. Arrange the packet data output from 3 for each packet,
Insufficiency in the preset output rate is filled with dummy packets, converted into one packet stream of a constant rate, and output via the output terminal 320.

【0041】このように構成されたパケット多重化装置
の動作について説明する。先ず、パケットインターリー
ブ手段310に対して、出力端子320から出力すべき
パケット列の出力レートが予め設定される。パケット列
の入力端子321、322、323から入力された入力
パケット列は、夫々パケット送信装置301、302、
303に与えられ、実施の形態1又は2で示した手順で
パケット毎に出力タイミングを制御され、パケットイン
ターリーブ手段310に入力される。パケットインター
リーブ手段310では、これらのパケットデータをパケ
ット毎に並べ、予め設定された出力レートに不足する分
はダミーパケットで埋める。そして、一定レートの一本
のパケット列を出力する。
The operation of the packet multiplexing apparatus thus configured will be described. First, the output rate of the packet sequence to be output from the output terminal 320 is set in advance for the packet interleaving means 310. The input packet sequence input from the input terminal 321, 322, 323 of the packet sequence is the packet transmission device 301, 302, respectively.
The output timing is supplied to the packet interleaving unit 310, and the output timing is controlled for each packet by the procedure described in the first or second embodiment. The packet interleaving means 310 arranges these pieces of packet data for each packet, and fills in the shortage of the preset output rate with dummy packets. Then, it outputs one packet sequence at a constant rate.

【0042】パケット送信装置301、302、303
は、固定レート形式及び可変レート形式で符号化された
ストリームデータの両方が送信可能であるため、図3の
ような構成により、固定レート形式及び可変レート形式
のストリームデータの両方が多重可能となる。
Packet transmitting devices 301, 302, 303
Can transmit both stream data encoded in the fixed rate format and the stream data encoded in the variable rate format. With the configuration shown in FIG. 3, both the fixed rate format and the variable rate format stream data can be multiplexed. .

【0043】このようなパケット多重化装置は、例えば
放送局において、複数の固定レート又は可変レートの映
像・音声などのストリームデータを、送出用の固定レー
トのパケット列に変換する場合に用いることができる。
また、DVD(Digital VideoDisk)に蓄積されている映
像・音声データのような可変レートのストリームデータ
を、ディジタルVTRのように常に一定レートのストリ
ームしか記録できないような記録装置に記録する場合の
ストリーム変換装置としても用いることもできる。
Such a packet multiplexing apparatus can be used, for example, in a broadcast station when converting a plurality of fixed-rate or variable-rate video / audio stream data into a fixed-rate packet stream for transmission. it can.
Stream conversion for recording variable-rate stream data such as video / audio data stored in a DVD (Digital Video Disk) on a recording device such as a digital VTR that can always record only a constant-rate stream. It can also be used as a device.

【0044】(実施の形態4)次に、以上に述べたパケ
ット送信装置における出力可能時刻計算手段(出力可能
時刻計算装置)の詳細を、実施の形態4及び5として以
下に説明する。前述したように出力可能時刻計算手段1
01は、受信装置のデータバッファに保持されたデータ
量の時間変化を計算し、バッファがオーバフローしない
範囲の最小時刻として、出力可能先頭時刻を求めるもの
である。尚、以下の説明では、入力されるストリームデ
ータの符号化単位をアクセスユニット又はAUと呼ぶ。
例えばストリームデータが映像データの場合、1映像フ
レーム又は1映像フィールド相当の符号化データがAU
である。また、ストリームデータを含むパケット列をパ
ケット送信装置から受信装置に伝送した場合、このスト
リームデータは受信装置における映像デコーダのデータ
バッファに蓄積される。各AUのデータは、夫々予め定
められた時刻にデコードされると、データバッファから
削除される。この時刻を各AUのデコード時刻と呼ぶ。
また、2つの連続するAUのデコード時刻に挟まれた期
間をスロットと呼ぶ。
(Embodiment 4) Next, details of the output possible time calculating means (output possible time calculating device) in the packet transmitting apparatus described above will be described below as Embodiments 4 and 5. Output possible time calculation means 1 as described above
01 calculates the temporal change of the amount of data held in the data buffer of the receiving apparatus, and obtains the output-capable top time as the minimum time within a range where the buffer does not overflow. In the following description, a coding unit of input stream data is referred to as an access unit or an AU.
For example, if the stream data is video data, the encoded data corresponding to one video frame or one video field is AU
It is. When a packet sequence including stream data is transmitted from a packet transmitting device to a receiving device, the stream data is accumulated in a data buffer of a video decoder in the receiving device. When the data of each AU is decoded at a predetermined time, it is deleted from the data buffer. This time is called the decoding time of each AU.
Further, a period between the decoding times of two consecutive AUs is called a slot.

【0045】以下の実施の形態では、各スロットに対し
て各スロットの最終時刻にデコードされるAUと同一番
号を付与する。つまり、(i−1)番目のAUのデコー
ド時刻からi番目のAUのデコード時刻までをスロット
iと呼ぶ。但し、基準時刻から1番目のAUのデコード
時刻までのスロット番号は1とする。このようなAU番
号とスロット番号の関係を図6に示す。
In the following embodiment, each slot is given the same number as the AU decoded at the last time of each slot. That is, the period from the decoding time of the (i-1) -th AU to the decoding time of the i-th AU is called a slot i. However, the slot number from the reference time to the decoding time of the first AU is 1. FIG. 6 shows the relationship between such AU numbers and slot numbers.

【0046】先ず本実施の形態4における出力可能時刻
計算手段について説明する。図4は本実施の形態におけ
る出力可能時刻計算手段101Aの構成図である。本図
において、データ量検出手段401は、入力端子110
を介して入力された入力パケット列において、ペイロー
ドに格納されているストリームデータの長さを検出する
ものである。AU境界検出手段402は、入力パケット
においてAUの先頭データが存在するか否かを判断する
ものである。AUカウンタ404は、AU境界検出手段
402の検出結果に基づき、現在入力されているAU番
号を出力するものである。
First, the possible output time calculating means according to the fourth embodiment will be described. FIG. 4 is a configuration diagram of the output possible time calculation means 101A in the present embodiment. In the figure, the data amount detection means 401 is
Is to detect the length of the stream data stored in the payload in the input packet sequence input via the. The AU boundary detection means 402 determines whether or not the first packet of the AU exists in the input packet. The AU counter 404 outputs the currently input AU number based on the detection result of the AU boundary detection means 402.

【0047】デコード時刻検出手段403は、入力パケ
ットからAUのデコード時刻を抽出し、AUデコード時
刻メモリ407に記録するものである。バッファシミュ
レータ405は、受信装置におけるデータバッファ内の
データ量の推移を再現するものである。AUサイズカウ
ンタ406は、AU番号毎にカウンタを持ち、データ量
検出手段401の出力に基づき、AU毎のデータ量を求
めるものである。AUデコード時刻メモリ407は、A
U毎のデコード時刻を記憶するメモリであり、このメモ
リより読み出されたデコード時刻は、出力可能先頭時刻
のデータとして出力端子113を介して出力される。ス
ロットカウンタ408は、入力パケットを出力できる最
も早いスロットの番号、即ち出力可能先頭スロット番号
を出力するものである。
The decoding time detecting means 403 extracts the AU decoding time from the input packet and records it in the AU decoding time memory 407. The buffer simulator 405 reproduces the transition of the data amount in the data buffer in the receiving device. The AU size counter 406 has a counter for each AU number, and obtains the data amount for each AU based on the output of the data amount detection means 401. The AU decode time memory 407 stores
This is a memory for storing the decoding time for each U, and the decoding time read from this memory is output via the output terminal 113 as the data of the output start time. The slot counter 408 outputs the number of the earliest slot that can output an input packet, that is, the number of the first slot that can be output.

【0048】このように構成された出力可能時刻計算手
段101Aの動作について、図7及び図8に示したタイ
ムチャートを参照しながら説明する。尚、バッファシミ
ュレータ405には予め、受信装置におけるデータバッ
ファのバッファ容量が閾値として設定される。 (1);パケット列をパケット毎に入力する。以下、
(2)〜(5)の手順をパケット毎に繰り返す。 (2);AU境界検出手段402は、入力パケットにお
いて、AUの先頭データが存在するかどうかを判断す
る。そして、AUの先頭データを検出した場合は、AU
カウンタ404を1だけ増加させる。図7及び図8の例
では、AU境界検出手段402が802に示すタイミン
グでAUの先頭データを検出したとすると、AUカウン
タの示すカウント値は804のように変化する。デコー
ド時刻検出手段403は、入力パケットからAUのデコ
ード時刻を抽出し、AUデコード時刻メモリ407は、
この値を、AUカウンタ404の示すAUのデコード時
刻として記憶する。 (3);データ量検出手段401は、入力パケットのペ
イロードに格納されているストリームデータの長さを検
出し、AUサイズカウンタ406及びバッファシミュレ
ータ405に出力する。図7及び図8の例では、データ
量検出手段401はパケット毎に801に示した値を出
力するとする。 (4);AUサイズカウンタ406は、データ量検出手
段401の出力をAUカウンタ404の示す番号のカウ
ンタで積算する。こうして、入力パケットにおけるAU
毎のデータ量が、AUサイズカウンタ406より得られ
る。図7及び図8の例では、AUサイズカウンタ406
におけるそれぞれのカウンタの値は806のように変化
する。例えば、パケット番号1から4までは、AUカウ
ンタ404の出力804は1を示しているため、データ
量検出手段401の出力はAUデータ量カウンタに40
6におけるカウンタ1に積算され(811)、最終的
に、1番目のAUのデータ量822が求められる。5番
目のパケットの入力の際にAUカウンタが2に変わるた
め、5番目と6番目のパケットのデータ量はカウンタ2
に加算される(812)。
The operation of the output possible time calculating means 101A thus configured will be described with reference to the time charts shown in FIGS. Note that the buffer capacity of the data buffer in the receiving device is set as a threshold value in the buffer simulator 405 in advance. (1); A packet sequence is input for each packet. Less than,
Steps (2) to (5) are repeated for each packet. (2); The AU boundary detecting unit 402 determines whether or not the input packet has the AU head data. If the head data of the AU is detected, the AU
Increment counter 404 by one. In the examples of FIGS. 7 and 8, if the AU boundary detecting unit 402 detects the head data of the AU at the timing 802, the count value indicated by the AU counter changes as 804. The decoding time detection means 403 extracts the AU decoding time from the input packet, and the AU decoding time memory 407
This value is stored as the AU decoding time indicated by the AU counter 404. (3): The data amount detection means 401 detects the length of the stream data stored in the payload of the input packet, and outputs it to the AU size counter 406 and the buffer simulator 405. In the examples of FIGS. 7 and 8, it is assumed that the data amount detection unit 401 outputs the value indicated by 801 for each packet. (4); The AU size counter 406 integrates the output of the data amount detection means 401 with the counter of the number indicated by the AU counter 404. Thus, the AU in the input packet
The amount of data for each is obtained from the AU size counter 406. 7 and 8, the AU size counter 406
The values of the respective counters change as in 806. For example, since the output 804 of the AU counter 404 indicates 1 for packet numbers 1 to 4, the output of the data amount detection means 401 is 40
The data is accumulated in the counter 1 in 6 (811), and finally the data amount 822 of the first AU is obtained. Since the AU counter changes to 2 when the fifth packet is input, the data amount of the fifth and sixth packets is calculated by the counter 2
(812).

【0049】(5);入力パケットの出力可能先頭時刻
は以下の手順で求められる。 (i);バッファシミュレータ405は、(3)で得ら
れたペイロードデータ長を積算する。(図7及び図8に
おける805) (ii);バッファシミュレータ405の積算値が、予め
設定された閾値を越えなければ、スロットカウンタ40
8が示すスロットで入力パケットのデータを送信して
も、受信装置におけるデータバッファはオーバフローし
ないと判定する。この場合、そのパケットはスロットカ
ウンタ408が示すスロット以降で出力可能であり、ス
ロットカウンタ408が示す値は、入力パケットの出力
可能な先頭のスロット番号を示すことになる。AUデコ
ード時刻メモリ407は、このスロットの先頭時刻、す
なわち、スロットカウンタ408が示すスロット番号か
ら1だけ減じた番号のAUのデコード時刻を出力するこ
とにより、入力パケットの出力可能先頭時刻が求められ
る。ただし、スロット1の先頭時刻は0とし、スロット
カウンタ408が1を示すときは、AUデコード時刻メ
モリは0を出力する。図7及び図8の例では、番号1か
ら6までのパケットを入力しても、バッファシミュレー
タ405のカウント値は閾値を越えない。従って、これ
らのパケットはスロット1以降に出力可能であり、これ
らの出力可能先頭時刻はすべてスロット1の先頭時刻、
即ち0となる。 (iii);もしもバッファシミュレータ405の積算値が
閾値を越えた場合は、入力パケットをスロットカウンタ
408が示すスロットで出力すると、受信装置における
データバッファがオーバフローすると判定できる。この
ことは、そのスロットでは入力パケットは出力できない
ことを示す。そこで、次のスロットについて調べるため
に次の手順を行う。ここで、受信装置のデコーダにおい
ては、次のスロットに移る時刻、即ち現在のスロットの
最終時刻において、スロット番号と同じ番号を持つAU
が、デコード後バッファから削除される。AUサイズは
AUサイズカウンタ406で求められているので、スロ
ットカウンタ408が示した番号のAUのサイズ(即
ち、AUサイズカウンタ406の出力値)をバッファシ
ミュレータ405から減じることにより、デコーダのデ
ータバッファにおけるデータ量の推移を再現することが
できる。その後、スロットカウンタ408を1だけ増加
させ、(ii)に戻り、新しいスロットについて出力可能か
どうかを調べる。図7及び図8の例では、7番目のパケ
ットを入力するとバッファシミュレータ405のカウン
ト値は閾値を越える。したがって、このパケットはスロ
ット1では送信できない。そこで、スロット2について
調べるために、1番目のAUのデータ量821をバッフ
ァシミュレータ405のカウント値から減じた後、スロ
ットカウンタを1だけ進める。すると、バッファシミュ
レータ405のカウント値は閾値以下になるので、7番
目のパケットはスロット2以降で出力可能と判定され、
このパケットの出力可能先頭時刻は、スロット2の先頭
時刻、すなわち、1番目のAUのデコード時刻となる。
(5) The output start time of an input packet is obtained by the following procedure. (I): The buffer simulator 405 integrates the payload data length obtained in (3). (805 in FIGS. 7 and 8) (ii) If the integrated value of the buffer simulator 405 does not exceed a preset threshold, the slot counter 40
Even if the data of the input packet is transmitted in the slot indicated by No. 8, it is determined that the data buffer in the receiving device does not overflow. In this case, the packet can be output after the slot indicated by the slot counter 408, and the value indicated by the slot counter 408 indicates the head slot number at which the input packet can be output. The AU decode time memory 407 outputs the start time of the slot, that is, the decode time of the AU whose number is one less than the slot number indicated by the slot counter 408, thereby obtaining the output start time of the input packet. However, the start time of slot 1 is set to 0, and when the slot counter 408 indicates 1, the AU decode time memory outputs 0. 7 and 8, the count value of the buffer simulator 405 does not exceed the threshold value even when packets of numbers 1 to 6 are input. Therefore, these packets can be output after slot 1, and all of these outputable start times are the start time of slot 1,
That is, it becomes 0. (Iii); If the integrated value of the buffer simulator 405 exceeds the threshold, if the input packet is output in the slot indicated by the slot counter 408, it can be determined that the data buffer in the receiving device overflows. This indicates that no input packet can be output in that slot. Therefore, the following procedure is performed to check the next slot. Here, in the decoder of the receiving apparatus, the AU having the same number as the slot number at the time of moving to the next slot, that is, the last time of the current slot.
Is deleted from the buffer after decoding. Since the AU size is obtained by the AU size counter 406, the size of the AU of the number indicated by the slot counter 408 (that is, the output value of the AU size counter 406) is subtracted from the buffer simulator 405, so that the data in the data buffer of the decoder is obtained. The transition of the data amount can be reproduced. Thereafter, the slot counter 408 is incremented by one, and the process returns to (ii) to check whether output is possible for a new slot. In the examples of FIGS. 7 and 8, when the seventh packet is input, the count value of the buffer simulator 405 exceeds the threshold value. Therefore, this packet cannot be transmitted in slot 1. Therefore, in order to check the slot 2, the data amount 821 of the first AU is subtracted from the count value of the buffer simulator 405, and then the slot counter is advanced by one. Then, since the count value of the buffer simulator 405 becomes equal to or smaller than the threshold value, it is determined that the seventh packet can be output in the slot 2 and thereafter.
The output start time of this packet is the start time of slot 2, that is, the decode time of the first AU.

【0050】以上のような手順で、入力パケットの出力
可能先頭時刻が順次求められる。なお、(5)の(iii)
で、スロットカウンタ408が示した番号のAUサイズ
をバッファシミュレータ405から減じた後は、その番
号のAUサイズを表すカウンタは不要になるので、AU
サイズカウンタ406から削除してもよい。また、図6
では(i−1)番目のAUのデコード時刻からi番目の
AUのデコード時刻までを、スロットiと呼ぶこととし
たが、i番目のAUのデコード時刻から(i+1)番目
のAUのデコード時刻までを、スロットiと規定するこ
ともできる。この場合、上記の(iii )の手順におい
て、まずスロットカウンタ408を増加させた後に、バ
ッファシミュレータ405はAUサイズカウンタ406
の出力値を減じるという処理を行うことによって、出力
可能時刻を同様に求めることができる。
According to the above procedure, the output start time of the input packet is sequentially obtained. In addition, (iii) of (5)
Then, after the AU size of the number indicated by the slot counter 408 is subtracted from the buffer simulator 405, the counter indicating the AU size of the number becomes unnecessary.
It may be deleted from the size counter 406. FIG.
In the above description, the period from the decoding time of the (i-1) th AU to the decoding time of the i-th AU is referred to as slot i, but from the decoding time of the i-th AU to the decoding time of the (i + 1) -th AU. Can be defined as a slot i. In this case, in the above procedure (iii), after increasing the slot counter 408 first, the buffer simulator 405 sets the AU size counter 406
By performing the process of reducing the output value of the above, the possible output time can be similarly obtained.

【0051】(実施の形態5)次に本発明の実施の形態
5として、実施の形態4と異なる構成を有する出力可能
時刻計算手段について図5を用いて説明する。図5は本
実施の形態の出力可能時刻計算手段101Bの構成を示
すブロック図である。この出力可能時刻計算手段101
Bには、図4の出力可能時刻計算手段101Aと同様
に、データ量検出手段401、AU境界検出手段40
2、デコード時刻検出手段403、AUカウンタ40
4、AUデコード時刻メモリ407、スロットカウンタ
408が設けられている。これらのブロックの機能は実
施の形態4と同様であるので、説明を省略する。
(Embodiment 5) Next, as Embodiment 5 of the present invention, an available output time calculating means having a configuration different from that of Embodiment 4 will be described with reference to FIG. FIG. 5 is a block diagram showing a configuration of the output possible time calculation means 101B of the present embodiment. This output possible time calculation means 101
B, like the output possible time calculation means 101A of FIG.
2. Decode time detection means 403, AU counter 40
4. An AU decode time memory 407 and a slot counter 408 are provided. The functions of these blocks are the same as in the fourth embodiment, and a description thereof will not be repeated.

【0052】バッファシミュレータ505は、スロット
番号に対応したデータ量カウンタを複数個持ち、データ
量検出手段401の検出手段を入力し、スロットカウン
タ408の示す番号から、AUカウンタ404の示す番
号までに対応したすべてのカウンタに対して加算するこ
とにより、入力パケットを各スロットで送信した場合に
受信装置のデータバッファに蓄積されるであろうデータ
量をシミュレートするものである。スロットカウンタ4
08は、入力パケットを出力可能な最も早いスロットの
番号である出力可能な先頭のスロット番号を出力するも
のである。
The buffer simulator 505 has a plurality of data amount counters corresponding to the slot numbers, inputs the detection means of the data amount detection means 401, and responds from the number indicated by the slot counter 408 to the number indicated by the AU counter 404. By adding to all the counters, the amount of data that would be accumulated in the data buffer of the receiving device when the input packet was transmitted in each slot is simulated. Slot counter 4
08 outputs the number of the first slot that can be output, which is the number of the earliest slot that can output an input packet.

【0053】このように構成された出力可能時刻計算手
段101Bの動作について、図9に示したタイムチャー
トを参照しながら説明する。尚、バッファシミュレータ
5005には予め、受信装置におけるデータバッファの
バッファ容量が閾値として設定される。 (1);パケット列がパケット毎に入力される。以下、
(2)〜(6)の手順をパケット毎に繰り返す。 (2);AU境界検出手段402は、入力された各パケ
ットにおいて、AUの境界が存在するかどうかを判断す
る。そしてAUの境界を検出した場合は、AUカウンタ
403を1だけ増加させる。図9の例では、AU境界検
出手段402が902に示すタイミングでAUの先頭デ
ータを検出したとすると、AUカウンタの示すカウント
値は904のように変化する。 (3);データ量検出手段401は、入力パケットのペ
イロードに格納されているストリームデータの長さを検
出し、検出結果をバッファシミュレータ505に与え
る。図9の例では、データ量検出手段401はパケット
毎に901に示した値を出力するとする。 (4);バッファシミュレータ505は、データ量検出
手段401の出力を入力し、スロットカウンタ408の
示す番号からAUカウンタ404の示す番号までに対応
したすべてのカウンタに対し、データ量を加算する。こ
のとき、バッファシミュレータ505における各データ
量カウンタに対して、入力パケットをそのスロットで送
信した場合に受信装置のデータバッファに蓄積されるで
あろうデータ量が、スロット番号毎に求められる。デー
タ量検出手段401の出力をAUカウンタ404の示す
番号よりも後のカウンタに加算しないのは、各スロット
の開始時刻以前にデコードされるAUのデータは、その
時刻よりも後には存在し得ないためである。また、スロ
ットカウンタ408の示す番号よりも前のカウンタは判
定には用いられないため、データ量検出手段401の出
力を加算することは省略している。図9の例では、番号
1〜4のパケットの場合はスロットカウンタ及びAUカ
ウンタの値は共に1であるので、データ量検出手段40
1の出力はバッファシミュレータ505のカウンタ1に
のみ加算される(911)。しかし、5番目のパケット
の入力の際にAUカウンタ401が2に変わるため、5
番目と6番目のパケットのデータ量は、カウンタ1(9
11)及びカウンタ2(912)の両方に加算される。
このようにして、カウンタ1、2、3、...には、入
力パケットをスロット番号1、2、3、...で送信し
た場合の受信装置のデータバッファに蓄積されるであろ
うデータ量が求められる。 (5);もしもバッファシミュレータ505において、
スロットカウンタ408が指定する番号のデータ量カウ
ンタが、予め設定された閾値を越えなければ、入力パケ
ットをそのスロットで送信しても、受信装置におけるデ
ータバッファはオーバフローしないと判定する。この場
合、そのパケットはスロットカウンタ408が示すスロ
ット内で出力可能であり、スロットカウンタ408が示
す値は、入力パケットの出力可能な先頭のスロット番号
を示すことになる。AUデコード時刻メモリ407は、
このスロットの先頭時刻、すなわち、スロットカウンタ
408が示すスロット番号から1だけ減じた番号のAU
のデコード時刻を出力することにより、入力パケットの
出力可能先頭時刻が求められる。ただし、スロット1の
先頭時刻は0とし、スロットカウンタ408が1を示す
ときは、AUデコード時刻メモリは0を出力する。図9
の例では、番号1から5のパケットを入力してもカウン
タ1の値(911)は閾値を越えないため、これらのパ
ケットはスロット1以降に送信可能であり、これらの出
力可能先頭時刻はすべてスロット1の先頭時刻、即ち0
となる。 (6);もしもバッファシミュレータ505において、
スロットカウンタ408が指定する番号のデータ量カウ
ンタが閾値を越えた場合は、入力パケットをそのスロッ
トで出力すると、受信装置におけるデータバッファがオ
ーバフローすると判定できる。この場合、入力パケット
をそのスロット内で伝送することはできない。そのた
め、スロットカウンタ408の値を、バッファシミュレ
ータ505における閾値以下であるカウンタの番号を示
すようになるまで増加させる。その後、(5)の場合と
同様の手順で、入力パケットの出力可能先頭時刻を求め
る。図9の例では、6番目のパケット入力すると、カウ
ンタ1の値(911)は閾値を越える。したがって、こ
のパケットはスロット1では送信できない。そこで、ス
ロット2について調べるためにスロットカウンタを1だ
け進め、カウンタ2を参照する。すると、カウンタ2の
カウント値は閾値以下であるため、6番目のパケットは
スロット2以降で出力可能と判定され、このパケットの
出力可能先頭時刻は、スロット2の先頭時刻、すなわ
ち、1番目のAUのデコード時刻となる。
The operation of the output possible time calculation means 101B thus configured will be described with reference to the time chart shown in FIG. The buffer capacity of the data buffer in the receiving device is set as a threshold value in the buffer simulator 5005 in advance. (1); A packet sequence is input for each packet. Less than,
The procedure of (2) to (6) is repeated for each packet. (2); The AU boundary detection means 402 determines whether or not an AU boundary exists in each of the input packets. When the AU boundary is detected, the AU counter 403 is incremented by one. In the example of FIG. 9, if the AU boundary detection unit 402 detects the head data of the AU at the timing indicated by 902, the count value indicated by the AU counter changes as indicated by 904. (3); The data amount detection means 401 detects the length of the stream data stored in the payload of the input packet, and provides the detection result to the buffer simulator 505. In the example of FIG. 9, it is assumed that the data amount detection unit 401 outputs the value indicated by 901 for each packet. (4); The buffer simulator 505 receives the output of the data amount detection means 401 and adds the data amount to all counters corresponding to the numbers indicated by the slot counter 408 to the numbers indicated by the AU counter 404. At this time, for each data amount counter in the buffer simulator 505, the amount of data that would be accumulated in the data buffer of the receiving device when the input packet was transmitted in that slot is obtained for each slot number. The reason that the output of the data amount detection means 401 is not added to the counter after the number indicated by the AU counter 404 is that the data of the AU decoded before the start time of each slot cannot exist after that time. That's why. Further, since the counters before the number indicated by the slot counter 408 are not used for the determination, the addition of the output of the data amount detecting means 401 is omitted. In the example of FIG. 9, the values of the slot counter and the AU counter are both 1 for the packets of numbers 1 to 4, so that the data amount detection means 40
The output of 1 is added only to the counter 1 of the buffer simulator 505 (911). However, since the AU counter 401 changes to 2 when the fifth packet is input, 5
The data amount of the sixth and sixth packets is determined by the counter 1 (9
11) and the counter 2 (912).
In this way, the counters 1, 2, 3,. . . , Input packets are assigned slot numbers 1, 2, 3,. . . The amount of data that would be stored in the data buffer of the receiving device when the transmission was performed in step (1) is obtained. (5); If the buffer simulator 505
If the data amount counter of the number designated by the slot counter 408 does not exceed a preset threshold value, it is determined that the data buffer in the receiving device does not overflow even if the input packet is transmitted in the slot. In this case, the packet can be output within the slot indicated by the slot counter 408, and the value indicated by the slot counter 408 indicates the head slot number at which the input packet can be output. The AU decode time memory 407
The AU of the start time of this slot, that is, the number obtained by subtracting 1 from the slot number indicated by slot counter 408
, The output start time of the input packet is obtained. However, the start time of slot 1 is set to 0, and when the slot counter 408 indicates 1, the AU decode time memory outputs 0. FIG.
In the example of the above, since the value (911) of the counter 1 does not exceed the threshold value even if the packets of the numbers 1 to 5 are input, these packets can be transmitted after the slot 1, and the output start times of these packets are all Start time of slot 1, that is, 0
Becomes (6); If the buffer simulator 505
When the data amount counter of the number designated by the slot counter 408 exceeds the threshold, it is possible to determine that the data buffer in the receiving apparatus overflows when the input packet is output in the slot. In this case, the input packet cannot be transmitted in that slot. Therefore, the value of the slot counter 408 is increased until the number of the counter in the buffer simulator 505 that is equal to or smaller than the threshold value is indicated. After that, the output available start time of the input packet is obtained by the same procedure as in the case (5). In the example of FIG. 9, when the sixth packet is input, the value (911) of the counter 1 exceeds the threshold value. Therefore, this packet cannot be transmitted in slot 1. Therefore, to check slot 2, the slot counter is advanced by 1, and the counter 2 is referred to. Then, since the count value of the counter 2 is equal to or smaller than the threshold value, it is determined that the sixth packet can be output in the slot 2 and thereafter. Is the decoding time.

【0054】尚、バッファシミュレータ505におい
て、スロットカウンタ408の示す番号より前のスロッ
ト番号に対応したデータ量カウンタについては、使用さ
れないので削除してもよい。
In the buffer simulator 505, the data amount counter corresponding to the slot number before the number indicated by the slot counter 408 is not used and may be deleted.

【0055】尚、以上に述べたパケット送信装置、パケ
ット多重化装置、及び出力可能時刻計算手段における各
ブロックの機能は、一部または全てをソフトウェアによ
っても実現することができる。また、上記のパケット送
信装置における出力タイミング決定手段は、入力パケッ
トそのもののデータ長について、出力可能なデータ長と
実際に出力したデータ長の比較を行うことによって、パ
ケットを出力するタイミングを決定するとしたが、各パ
ケットのペイロードに格納されているストリームデータ
の長さを比較することによっても同様の処理を行うこと
もできる。その場合、出力タイミング決定手段は、スト
リームデータの最大出力レートが設定され、出力データ
量カウンタは、各パケットのペイロードに格納されてい
るストリームの長さを積算することになる。
The functions of each block in the packet transmitting device, the packet multiplexing device, and the possible output time calculating means described above can be partially or entirely realized by software. Further, the output timing determining means in the above packet transmitting apparatus determines the packet output timing by comparing the data length of the input packet itself with the data length that can be output and the data length that is actually output. However, the same processing can be performed by comparing the length of stream data stored in the payload of each packet. In that case, the output timing determination means sets the maximum output rate of the stream data, and the output data amount counter accumulates the length of the stream stored in the payload of each packet.

【0056】また、入力パケット列は一例として、スト
リームデータとしてMPEG−2の可変レート形式で圧
縮された映像データを、MPEG−2のTS形式のパケ
ットに分割して格納したものとして説明したが、その
他、ストリームデータとして、MPEG−2以外で可変
レート符号化された映像データや、可変レート符号化さ
れた音声データを入力する場合について、更に、MPE
G−2のTS形式以外のパケット列についても、同様に
実施することができる。また、同一の構成で、固定レー
トで符号化された映像・音声データ等のデータを入力す
る場合についても、同様に実施することができる。ま
た、同一の装置で、固定レート形式および可変レート形
式のいずれのデータでも伝送可能である。
Also, as an example, the input packet sequence has been described as one in which video data compressed in the MPEG-2 variable rate format as stream data is divided into MPEG-2 TS format packets and stored. In addition, in the case of inputting video data variable-rate coded other than MPEG-2 and audio data variable-rate coded as stream data, the MPE
The same can be applied to a packet sequence other than the G-2 TS format. Further, the same configuration can be applied to a case where data such as video / audio data encoded at a fixed rate is input. In addition, the same device can transmit both fixed-rate and variable-rate data.

【0057】[0057]

【発明の効果】以上のように本願の請求項1〜6,10
〜15及び19〜22の発明によれば、固定レートのス
トリームデータだけではなく、可変レートのストリーム
データも伝送することができるという有利な効果が得ら
れる。また受信装置のデータバッファのデータ量を、送
信側で把握するようにしているので、受信側のデータバ
ッファをオーバフローさせたり、アンダーフローさせる
ことはない。
As described above, the first to sixth and tenth aspects of the present invention are described.
According to the inventions of Nos. 15 to 19 and 19 to 22, the advantageous effect that not only the fixed-rate stream data but also the variable-rate stream data can be transmitted is obtained. Also, since the data amount of the data buffer of the receiving device is grasped on the transmitting side, the data buffer on the receiving side does not overflow or underflow.

【0058】特に請求項3、4記載の発明によれば、上
記の効果に加えて、蓄積手段に各パケットデータと共に
出力可能先頭時刻の情報を蓄積するようにしているの
で、パケットデータの送出タイミングの演算を、リアル
タイムで行う必要がなくなる。
In particular, according to the third and fourth aspects of the present invention, in addition to the above-described effects, information on the output start time is stored in the storage means together with each packet data. Does not need to be performed in real time.

【0059】特に請求項6記載の発明によれば、複数チ
ャンネルのパケットデータを、指定された伝送帯域(転
送レート)内で多重化して送信することができる。
According to the present invention, packet data of a plurality of channels can be multiplexed and transmitted within a specified transmission band (transfer rate).

【0060】また請求項7〜9及び16〜18記載の発
明によれば、受信装置のデータバッファにおけるデータ
量を送信装置側で正確に把握できる。このため可変レー
トのパケットデータを送出しても、受信装置のデータバ
ッファの破綻は生じない。
According to the present invention, the data amount in the data buffer of the receiving device can be accurately grasped on the transmitting device side. For this reason, even if packet data of a variable rate is transmitted, the failure of the data buffer of the receiving device does not occur.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態1におけるパケット送信装
置の概略構成図である。
FIG. 1 is a schematic configuration diagram of a packet transmission device according to Embodiment 1 of the present invention.

【図2】本発明の実施の形態2におけるパケット送信装
置の概略構成図である。
FIG. 2 is a schematic configuration diagram of a packet transmission device according to a second embodiment of the present invention.

【図3】本発明の実施の形態3におけるパケット多重化
装置の概略構成図である。
FIG. 3 is a schematic configuration diagram of a packet multiplexing device according to a third embodiment of the present invention.

【図4】本発明の実施の形態4における出力可能時刻計
算装置の概略構成図である。
FIG. 4 is a schematic configuration diagram of an output possible time calculation device according to a fourth embodiment of the present invention.

【図5】本発明の実施の形態5における出力可能時刻計
算装置の概略構成図である。
FIG. 5 is a schematic configuration diagram of an output possible time calculation device according to a fifth embodiment of the present invention.

【図6】AUデコード時刻とスロットの関係を表した説
明図である。
FIG. 6 is an explanatory diagram showing a relationship between an AU decode time and a slot.

【図7】本発明の実施の形態4の動作を示すタイムチャ
ート(その1)である。
FIG. 7 is a time chart (No. 1) showing the operation of the fourth embodiment of the present invention.

【図8】本発明の実施の形態4の動作を示すタイムチャ
ート(その2)である。
FIG. 8 is a time chart (No. 2) showing the operation of the fourth embodiment of the present invention.

【図9】本発明の実施の形態5の動作を示すタイムチャ
ートである。
FIG. 9 is a time chart showing the operation of the fifth embodiment of the present invention.

【図10】従来例のパケット送信装置の概略構成図であ
る。
FIG. 10 is a schematic configuration diagram of a conventional packet transmission device.

【符号の説明】[Explanation of symbols]

101,101A,101B 出力可能範囲計算手段 102 時刻比較手段 103 基準時計 104 出力タイマ 105 出力データ量カウンタ 106 出力タイミング決定手段 107 出力制御手段 110,112,321,322,323 入力端子 111,113,320 出力端子 108 パケットメモリ 301,302,303 パケット送信装置 310 パケットインターリーブ手段 401 データ量検出手段 402 AU境界検出手段 403 デコード時刻検出手段 404 AUカウンタ 405,505 バッファシミュレータ 406 AUサイズカウンタ 407 AUデコード時刻メモリ 408 スロットカウンタ 410 パケット列入力端子 801 データ量検出手段401の出力値 802 AU境界検出手段402の出力 804 AUカウンタ404のカウント値 806 AUサイズカウンタ406のカウント値 805 バッファシミュレータ405のカウント値 808 スロットカウンタ404のカウント値 811 AUサイズカウンタ406におけるカウンタ1
のカウント値 812 AUサイズカウンタ406におけるカウンタ2
のカウント値 821 1番目のAUのデータ量 822 2番目のAUのデータ量 823 3番目のAUのデータ量 824 4番目のAUのデータ量 902 AU境界検出手段402の出力 904 AUカウンタ404のカウント値 901 データ量検出手段401の出力値 905 バッファシミュレータ505のカウント値 908 スロットカウンタ408のカウント値 911 バッファシミュレータ505におけるカウンタ
1のカウント値 912 バッファシミュレータ505におけるカウンタ
2のカウント値
101, 101A, 101B Output possible range calculation means 102 Time comparison means 103 Reference clock 104 Output timer 105 Output data amount counter 106 Output timing determination means 107 Output control means 110, 112, 321, 322, 323 Input terminals 111, 113, 320 Output terminal 108 Packet memory 301, 302, 303 Packet transmitting device 310 Packet interleaving means 401 Data amount detecting means 402 AU boundary detecting means 403 Decoding time detecting means 404 AU counter 405,505 Buffer simulator 406 AU size counter 407 AU decoding time memory 408 Slot counter 410 packet sequence input terminal 801 output value of data amount detection means 401 802 output of AU boundary detection means 402 804 AU card Counter at the count value 811 AU size counter 406 count value 808 slot counter 404 count value 805 buffer simulator 405 of the count value 806 AU size counter 406 of printer 404 1
Count value 812 Counter 2 in AU size counter 406
821 Data amount of the first AU 822 Data amount of the second AU 823 Data amount of the third AU 824 Data amount of the fourth AU 902 Output of the AU boundary detection means 402 904 Count value of the AU counter 404 901 Output value of data amount detection means 401 905 Count value of buffer simulator 505 908 Count value of slot counter 408 911 Count value of counter 1 in buffer simulator 505 912 Count value of counter 2 in buffer simulator 505

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 データソースに保持されたデータをパケ
ット単位で読み出し、伝送媒体を介して前記データをパ
ケット単位で受信装置に送信するパケット送信装置であ
って、 前記受信装置のデータバッファがパケットデータの入力
開始可能な時刻を、送信側の出力可能先頭時刻とすると
き、パケット列を入力して各パケットの出力可能先頭時
刻を求める出力可能時刻計算手段と、 前記出力可能時刻計算手段で求められた出力可能先頭時
刻と現在時刻とを比較する時刻比較手段と、 前記時刻比較手段での比較結果に応じて前記パケットの
出力タイミングを制御する出力制御手段と、を具備する
ことを特徴とするパケット送信装置。
1. A packet transmission device for reading data held in a data source in packet units and transmitting the data to a reception device in packet units via a transmission medium, wherein the data buffer of the reception device is a packet data When the time at which the input can be started is set as the output start time on the transmitting side, the output possible time calculation means for inputting a packet sequence to obtain the output start time for each packet, A time comparing unit that compares the output start time and the current time, and an output control unit that controls the output timing of the packet according to the comparison result of the time comparing unit. Transmission device.
【請求項2】 データソースに保持されたデータをパケ
ット単位で読み出し、伝送媒体を介して前記データをパ
ケット単位で受信装置に送信するパケット送信装置であ
って、 前記受信装置のデータバッファがパケットデータの入力
開始可能な時刻を、送信側の出力可能先頭時刻とすると
き、パケット列を入力して各パケットの出力可能先頭時
刻を求める出力可能時刻計算手段と、 前記出力可能時刻計算手段で求められた出力可能先頭時
刻と現在時刻とを比較する時刻比較手段と、 前記時刻比較手段での比較結果に応じて前記パケットの
出力タイミングを制御する出力制御手段と、 現在時刻が出力可能先頭時刻を越えたことを示すイネー
ブル信号が、前記時刻比較手段により出力されたとき、
前記パケットの出力タイミングの計算を行い、前記出力
制御手段に対して前記出力タイミングを指示する出力タ
イミング決定手段と、を具備することを特徴とするパケ
ット送信装置。
2. A packet transmitting apparatus for reading data held in a data source in packet units and transmitting the data to a receiving apparatus via a transmission medium in packet units, wherein the data buffer of the receiving apparatus is When the time at which the input can be started is set as the output start time on the transmitting side, the output possible time calculation means for inputting a packet sequence to obtain the output start time for each packet, Time comparing means for comparing the output-capable start time with the current time; output control means for controlling the output timing of the packet in accordance with the result of comparison by the time comparing means; and When the enable signal indicating that the time comparison means is output,
An output timing determining unit that calculates output timing of the packet and instructs the output control unit of the output timing.
【請求項3】 データソースに保持されたデータをパケ
ット単位で読み出し、伝送媒体を介して前記データをパ
ケット単位で受信装置に送信するパケット送信装置であ
って、 前記受信装置のデータバッファがパケットデータの入力
開始可能な時刻を、送信側の出力可能先頭時刻とすると
き、パケット列を入力して各パケットの出力可能先頭時
刻を求める出力可能時刻計算手段と、 前記出力可能時刻計算手段で求められた出力可能先頭時
刻と入力パケットのデータとを一時蓄積する蓄積手段
と、 前記蓄積手段に蓄積された出力可能先頭時刻と現在時刻
とを比較する時刻比較手段と、 前記蓄積手段からパケットデータを読み出し、前記時刻
比較手段での比較結果に応じて前記パケットの出力タイ
ミングを制御する出力制御手段と、を具備することを特
徴とするパケット送信装置。
3. A packet transmission device for reading data held in a data source in packet units and transmitting the data to a reception device in packet units via a transmission medium, wherein the data buffer of the reception device is packet data. When the time at which the input can be started is set as the output start time on the transmitting side, the output possible time calculation means for inputting a packet sequence to obtain the output start time for each packet, Storage means for temporarily storing the output-capable start time and the data of the input packet, a time comparison means for comparing the output-capable start time stored in the storage means with the current time, and reading packet data from the storage means Output control means for controlling the output timing of the packet in accordance with the result of comparison by the time comparison means. Packet transmission device according to claim.
【請求項4】 データソースに保持されたデータをパケ
ット単位で読み出し、伝送媒体を介して前記データをパ
ケット単位で受信装置に送信するパケット送信装置であ
って、 前記受信装置のデータバッファがパケットデータの入力
開始可能な時刻を、送信側の出力可能先頭時刻とすると
き、パケット列を入力して各パケットの出力可能先頭時
刻を求める出力可能時刻計算手段と、 前記出力可能時刻計算手段で求められた出力可能先頭時
刻と入力パケットのデータとを一時蓄積する蓄積手段
と、 前記蓄積手段に蓄積された出力可能先頭時刻と現在時刻
とを比較する時刻比較手段と、 前記蓄積手段からパケットデータを読み出し、前記時刻
比較手段での比較結果に応じて前記パケットの出力タイ
ミングを制御する出力制御手段と、 現在時刻が出力可能先頭時刻を越えたことを示すイネー
ブル信号が、前記時刻比較手段により出力されたとき、
前記パケットの出力タイミングの計算を行い、前記出力
制御手段に対して前記出力タイミングを指示する出力タ
イミング決定手段と、を具備することを特徴とするパケ
ット送信装置。
4. A packet transmitting device for reading data held in a data source in packet units and transmitting the data to a receiving device via a transmission medium in packet units, wherein the data buffer of the receiving device is a When the time at which the input can be started is set as the output start time on the transmitting side, the output possible time calculation means for inputting a packet sequence to obtain the output start time for each packet, Storage means for temporarily storing the output-capable start time and the data of the input packet, a time comparison means for comparing the output-capable start time stored in the storage means with the current time, and reading packet data from the storage means Output control means for controlling the output timing of the packet in accordance with the result of the comparison by the time comparison means; When the enable signal indicating that exceeds the available beginning time, output by the time comparison means,
An output timing determining unit that calculates output timing of the packet and instructs the output control unit of the output timing.
【請求項5】 所定量以下のデータが記載されたパケッ
トをパケット列として入力する第1のステップと、 受信装置のデータバッファがパケットデータの入力開始
可能な時刻を、送信側の出力可能先頭時刻とするとき、
前記第1のステップで得られた各パケットの出力可能先
頭時刻を求める第2のステップと、 前記第2のステップで得られた出力可能先頭時刻と現在
時刻とを比較し、比較結果に応じて前記パケットの出力
タイミングを制御する第3のステップと、を有すること
を特徴とするパケット送信方法。
5. A first step of inputting a packet in which data of a predetermined amount or less is described as a packet sequence, and a time at which the data buffer of the receiving device can start inputting the packet data is set as an output start time on the transmitting side. When
A second step of obtaining the output available start time of each packet obtained in the first step; and comparing the output available start time obtained in the second step with the current time. A third step of controlling output timing of the packet.
【請求項6】 請求項1〜4のいずれか1項記載のパケ
ット送信装置をチャンネル数に応じて複数組設け、 前記各パケット送信装置から出力される各パケットをイ
ンタリーブし、一本のパケット列に変換するパケットイ
ンターリーブ手段を有することを特徴とするパケット多
重化装置。
6. A packet transmission device according to claim 1, wherein a plurality of packet transmission devices are provided in accordance with the number of channels, each packet output from each of the packet transmission devices is interleaved, and one packet sequence is provided. A packet multiplexing apparatus comprising a packet interleave means for converting the packet into a packet.
【請求項7】 受信装置のデータバッファがパケットデ
ータの入力開始可能な時刻を、送信側の出力可能先頭時
刻とするとき、1つ以上のアクセスユニットから構成さ
れるストリームデータをパケット毎に入力し、前記各パ
ケットの出力可能先頭時刻を計算する出力可能時刻計算
装置であって、 前記アクセスユニットに対応したデータの挿入期間をス
ロットとするとき、前記パケットの多重可能な先頭スロ
ット番号を出力するスロットカウンタと、 前記パケットに含まれるストリームデータの長さを前記
アクセスユニット別に積算し、前記スロットカウンタの
示す値に対応した前記アクセスユニットのデータサイズ
を出力するアクセスユニットサイズカウンタと、 前記パケットに含まれるストリームデータの長さを積算
し、積算値が予め定められた閾値を越える場合は、先ず
前記スロットカウンタを進め、次に前記アクセスユニッ
トサイズカウンタの出力を現在の積算値から減じるバッ
ファシミュレータと、を具備するものであることを特徴
とする出力可能時刻計算装置。
7. When the time at which the data buffer of the receiving device can start inputting packet data is set as the output start time on the transmitting side, stream data composed of one or more access units is input for each packet. An output possible time calculation device for calculating an output possible start time of each packet, wherein a slot for outputting a multiplexable head slot number of the packet when an insertion period of data corresponding to the access unit is a slot. A counter, an access unit size counter that accumulates the length of the stream data included in the packet for each access unit, and outputs a data size of the access unit corresponding to the value indicated by the slot counter; Integrates the length of the stream data, and the integrated value is determined in advance A buffer simulator for advancing the slot counter first, and then subtracting the output of the access unit size counter from the current integrated value when the threshold value is exceeded. apparatus.
【請求項8】 受信装置のデータバッファがパケットデ
ータの入力開始可能な時刻を、送信側の出力可能先頭時
刻とするとき、1つ以上のアクセスユニットから構成さ
れるストリームデータをパケット毎に入力し、前記各パ
ケットの出力可能先頭時刻を計算する出力可能時刻計算
装置であって、 前記アクセスユニットに対応したデータの挿入期間をス
ロットとするとき、前記パケットの多重可能な先頭スロ
ット番号を出力するスロットカウンタと、 前記パケットに含まれるストリームデータの長さを前記
アクセスユニット別に積算し、前記スロットカウンタの
示す値に対応した前記アクセスユニットのデータサイズ
を出力するアクセスユニットサイズカウンタと、 前記パケットに含まれるストリームデータの長さを積算
し、積算値が予め定められた閾値を越える場合は、先ず
前記アクセスユニットサイズカウンタの出力を現在の積
算値から減じ、次に前記スロットカウンタを進めるバッ
ファシミュレータと、を具備するものであることを特徴
とする出力可能時刻計算装置。
8. When the time at which the data buffer of the receiving apparatus can start inputting packet data is set as the output start time on the transmitting side, stream data composed of one or more access units is input for each packet. An output possible time calculation device for calculating an output possible start time of each packet, wherein a slot for outputting a multiplexable head slot number of the packet when an insertion period of data corresponding to the access unit is a slot. A counter, an access unit size counter that accumulates the length of the stream data included in the packet for each access unit, and outputs a data size of the access unit corresponding to the value indicated by the slot counter; Integrates the length of the stream data, and the integrated value is determined in advance A buffer simulator that first subtracts the output of the access unit size counter from the current integrated value and then advances the slot counter when the threshold exceeds the threshold value. apparatus.
【請求項9】 受信装置のデータバッファがパケットデ
ータの入力開始可能な時刻を、送信側の出力可能先頭時
刻とするとき、1つ以上のアクセスユニットから構成さ
れるストリームデータをパケット毎に入力し、前記各パ
ケットの出力可能先頭時刻を計算する出力可能時刻計算
装置であって、 デコード時刻が隣り合う2つの前記アクセスユニットの
デコード時刻で挟まれた期間をスロットとするとき、前
記パケットの多重可能な先頭スロット番号を出力するス
ロットカウンタと、 1つ以上のデータ量カウンタを有し、少なくとも前記ス
ロットカウンタが示す番号から前記パケットに含まれる
ストリームデータが属するアクセスユニットのデコード
時刻を最終時刻とするスロット番号までに対応した全て
の前記データ量カウンタに対して、前記パケットに含ま
れるストリームデータの長さを夫々加算させ、前記スロ
ットカウンタが示す番号に対応した前記データ量カウン
タのカウント値が、予め定められた閾値を越えた場合
は、前記スロットカウンタを進めるバッファシミュレー
タと、を具備するものであることを特徴とする出力可能
時刻計算装置。
9. When the time at which the data buffer of the receiving device can start inputting packet data is set as the output start time on the transmitting side, stream data composed of one or more access units is input for each packet. An output possible time calculation device for calculating an output possible start time of each of the packets, wherein when the time between the decode times of two adjacent access units is a slot, the packet can be multiplexed. And a slot counter having at least one data amount counter, wherein at least the decoding time of the access unit to which the stream data included in the packet belongs from the number indicated by the slot counter has a final time. For all the data amount counters corresponding to the numbers up to A buffer simulator that increments the length of the stream counter included in the packet when the count value of the data amount counter corresponding to the number indicated by the slot counter exceeds a predetermined threshold. And an output possible time calculation device characterized by comprising:
【請求項10】 前記出力可能時刻計算手段は、請求項
7記載の出力可能時刻計算装置であることを特徴とする
請求項1又は2記載のパケット送信装置。
10. The packet transmission device according to claim 1, wherein said output possible time calculation means is the output possible time calculation device according to claim 7.
【請求項11】 前記出力可能時刻計算手段は、請求項
8記載の出力可能時刻計算装置であることを特徴とする
請求項1又は2記載のパケット送信装置。
11. The packet transmission device according to claim 1, wherein said output possible time calculation means is the output possible time calculation device according to claim 8.
【請求項12】 前記出力可能時刻計算手段は、請求項
9記載の出力可能時刻計算装置であることを特徴とする
請求項1又は2記載のパケット送信装置。
12. The packet transmission device according to claim 1, wherein said output possible time calculation means is the output possible time calculation device according to claim 9.
【請求項13】 前記出力可能時刻計算手段は、請求項
7記載の出力可能時刻計算装置であることを特徴とする
請求項3又は4記載のパケット送信装置。
13. The packet transmitting apparatus according to claim 3, wherein said output possible time calculating means is the output possible time calculating apparatus according to claim 7.
【請求項14】 前記出力可能時刻計算手段は、請求項
8記載の出力可能時刻計算装置であることを特徴とする
請求項3又は4記載のパケット送信装置。
14. The packet transmission device according to claim 3, wherein said output possible time calculation means is the output possible time calculation device according to claim 8.
【請求項15】 前記出力可能時刻計算手段は、請求項
9記載の出力可能時刻計算装置であることを特徴とする
請求項3又は4記載のパケット送信装置。
15. The packet transmission device according to claim 3, wherein said output possible time calculation means is the output possible time calculation device according to claim 9.
【請求項16】 前記ストリームデータは、映像データ
又は音声データであることを特徴とする請求項7記載の
出力可能時刻計算装置。
16. The output available time calculation device according to claim 7, wherein said stream data is video data or audio data.
【請求項17】 前記ストリームデータは、映像データ
又は音声データであることを特徴とする請求項8記載の
出力可能時刻計算装置。
17. The apparatus according to claim 8, wherein the stream data is video data or audio data.
【請求項18】 前記ストリームデータは、映像データ
又は音声データであることを特徴とする請求項9記載の
出力可能時刻計算装置。
18. The output available time calculation device according to claim 9, wherein said stream data is video data or audio data.
【請求項19】 前記蓄積手段は、 パケット列管理データの記録領域として、パケットデー
タ領域と出力可能時刻情報領域とを有し、 前記パケットデータ領域にはパケットデータを記録し、
前記出力可能時刻情報領域には前記パケットデータの出
力可能先頭時刻を記録することを特徴とする請求項3又
は4記載のパケット送信装置。
19. The storage means has a packet data area and an outputable time information area as a recording area of packet sequence management data, and stores packet data in the packet data area.
5. The packet transmitting apparatus according to claim 3, wherein an output start time of the packet data is recorded in the output available time information area.
【請求項20】 前記蓄積手段は、 前記出力可能時刻情報領域には前記出力可能時刻計算手
段が出力した出力可能先頭時刻を記録することを特徴と
する請求項13記載のパケット送信装置。
20. The packet transmitting apparatus according to claim 13, wherein said storage means records the output start time outputted by said output possible time calculation means in said output possible time information area.
【請求項21】 前記蓄積手段は、 前記出力可能時刻情報領域には前記出力可能時刻計算手
段が出力した出力可能先頭時刻を記録することを特徴と
する請求項14記載のパケット送信装置。
21. The packet transmitting apparatus according to claim 14, wherein said storage means records the output start time outputted by said output possible time calculation means in said output possible time information area.
【請求項22】 前記蓄積手段は、 前記出力可能時刻情報領域には前記出力可能時刻計算手
段が出力した出力可能先頭時刻を記録することを特徴と
する請求項15記載のパケット送信装置。
22. The packet transmitting apparatus according to claim 15, wherein said storage means records an output start time output by said output possible time calculation means in said output possible time information area.
JP17875098A 1998-06-25 1998-06-25 Packet transmitter, packet transmission method, packet multiplexer and output enable time calculating device Pending JP2000013441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17875098A JP2000013441A (en) 1998-06-25 1998-06-25 Packet transmitter, packet transmission method, packet multiplexer and output enable time calculating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17875098A JP2000013441A (en) 1998-06-25 1998-06-25 Packet transmitter, packet transmission method, packet multiplexer and output enable time calculating device

Publications (1)

Publication Number Publication Date
JP2000013441A true JP2000013441A (en) 2000-01-14

Family

ID=16053945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17875098A Pending JP2000013441A (en) 1998-06-25 1998-06-25 Packet transmitter, packet transmission method, packet multiplexer and output enable time calculating device

Country Status (1)

Country Link
JP (1) JP2000013441A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009290868A (en) * 2008-05-26 2009-12-10 Thomson Licensing Simplified transmission method of signal flow between transmitter and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009290868A (en) * 2008-05-26 2009-12-10 Thomson Licensing Simplified transmission method of signal flow between transmitter and electronic device
US9225758B2 (en) 2008-05-26 2015-12-29 Thomson Licensing Simplified transmission method for a stream of signals between a transmitter and an electronic device

Similar Documents

Publication Publication Date Title
US7342961B2 (en) Encoded data outputting apparatus and method
KR100407085B1 (en) Buffer management in variable bit-rate compression systems
KR100564057B1 (en) Encoding system and method, decoding system and method, encoding data recording device and method, encoding data transmission device and method
US5963256A (en) Coding according to degree of coding difficulty in conformity with a target bit rate
US5790745A (en) Variable transfer rate control coding apparatus, reproducing apparatus and recording medium
CN101534405B (en) Video recording device for recording variable frame rate
KR20020052188A (en) Data Stream Processing Device and Method, and Program Storage Medium
JPH09509035A (en) Audio / video timing mismatch management
US20010026585A1 (en) Image signal coding apparatus with bit stream buffer of reduced storage capacity
US6754239B2 (en) Multiplexing apparatus and method, transmitting apparatus and method, and recording medium
JP3052824B2 (en) Audio playback time adjustment circuit
JP2004056809A (en) Synchronizing system of data buffer
JP3558983B2 (en) Digital broadcast recording and playback device
JP3248669B2 (en) Multiplexing method and multiplexer
JPH09247670A (en) Information multiplexer
JP3617655B2 (en) Encoding system and encoding method, decoding system and decoding method, encoded data recording apparatus and encoded data recording method, encoded data transmission apparatus and encoded data transmission method, and recording medium
JP2000013441A (en) Packet transmitter, packet transmission method, packet multiplexer and output enable time calculating device
US7274863B2 (en) Data stream processing device and method and program storage medium
JP2005151463A (en) Device and method for receiving stream data
JP4016215B2 (en) Digital signal encoding method and apparatus, and digital signal transmission method and apparatus
JPH1118071A (en) Slow reproduction system
JPH0946390A (en) Digital signal transmitter and recordor
JP2008066817A (en) Communication device and communication method
JP4240880B2 (en) Reception signal reproduction method and reception signal reproduction apparatus
JPH0832621A (en) Video and audio encoded data transmission device