JPH0955767A - Data transmission device - Google Patents

Data transmission device

Info

Publication number
JPH0955767A
JPH0955767A JP23071295A JP23071295A JPH0955767A JP H0955767 A JPH0955767 A JP H0955767A JP 23071295 A JP23071295 A JP 23071295A JP 23071295 A JP23071295 A JP 23071295A JP H0955767 A JPH0955767 A JP H0955767A
Authority
JP
Japan
Prior art keywords
data
packet
packets
clock
clock information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP23071295A
Other languages
Japanese (ja)
Other versions
JP3441257B2 (en
Inventor
Shigeyuki Sakasawa
茂之 酒澤
Yasuhiro Takishima
康弘 滝嶋
Masahiro Wada
正裕 和田
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.)
KDDI Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK filed Critical Kokusai Denshin Denwa KK
Priority to JP23071295A priority Critical patent/JP3441257B2/en
Publication of JPH0955767A publication Critical patent/JPH0955767A/en
Application granted granted Critical
Publication of JP3441257B2 publication Critical patent/JP3441257B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To mix and send out video information, audio information, etc., to a transmission line with a fixed transmission speed by packetizing data having a plurality of relative attributes and selecting and sending out the packets, one by one, according to specific priority. SOLUTION: PES packetizers 2 and 3 read video ES data and audio ES data out and generate packets called PES(packet sized ES) data. Further, TS packetizers 4-6 generate TS(transport stream) packets. The TS packets each consist of a TS header and a TS payload and have 188-byte fixed length. The generated packets are stored in a buffer, and selected and read out, one by one, by a selection part 10. Then the selection part 10 selects one packet according to the specific priority and outputs it to a PCR giving part 1 when the packet is present at one of the packetizers 4-6.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明はデータ伝送装置に
関し、特に関連する画像や音声データをパケット多重化
して伝送することが可能なデータ伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission apparatus, and more particularly to a data transmission apparatus capable of packet-multiplexing related image and audio data and transmitting the data.

【0002】[0002]

【従来の技術】従来、ビデオカメラやVTRの出力信号
をMPEG方式等によって直接符号化する実時間符号化
の場合には、多重化装置の持つバッファに溜まっている
データ量を基に、符号化装置に対して発生するデータ量
のフィードバック制御を行うことによって、固定伝送速
度による伝送時のバッファのオーバーフローやアンダー
フローを防止していた。また、実時間で符号化を行って
いるので、クロックカウンタの値をそのままクロック情
報としてデータ中に挿入することにより、再生側におけ
るクロック同期に使用していた。
2. Description of the Related Art Conventionally, in the case of real-time coding in which an output signal of a video camera or a VTR is directly coded by an MPEG system or the like, the coding is performed based on the amount of data accumulated in a buffer of a multiplexer. By performing feedback control of the amount of data generated in the device, overflow or underflow of the buffer during transmission at a fixed transmission rate was prevented. Moreover, since the encoding is performed in real time, the value of the clock counter is inserted as it is into the data as clock information to be used for clock synchronization on the reproducing side.

【0003】[0003]

【発明が解決しようとする課題】前記したような実時間
符号化の場合には、符号化データ量を制御することによ
って、伝送路との整合が可能であったが、例えば画像信
号を非実時間で符号化して、一旦蓄積装置に蓄積された
データを送信する場合には、符号化装置に対してフィー
ドバック制御を行うことができない。従って蓄積データ
を固定速度の伝送路にどのようにして送出するかが問題
となる。
In the case of real-time coding as described above, it is possible to match the transmission path by controlling the amount of coded data. When the data is encoded by time and once stored in the storage device, the feedback control cannot be performed on the encoding device. Therefore, how to send the accumulated data to the fixed-rate transmission line becomes a problem.

【0004】この発明の目的は、この問題点を解決し、
受信側において正確なタイミングでデコードできるよう
に、ビデオ、オーディオ情報等を混合して固定伝送速度
の伝送路に送出することが可能なデータ伝送装置を提供
することにある。
The object of the present invention is to solve this problem,
It is an object of the present invention to provide a data transmission device capable of mixing video information, audio information and the like and sending them to a transmission line having a fixed transmission rate so that they can be decoded at a correct timing on the receiving side.

【0005】[0005]

【課題を解決するための手段】この発明は、データをパ
ケット化して伝送するデータ伝送装置において、クロッ
ク情報を発生するクロック手段と、クロック情報に基づ
き、関連のある複数の属性のデータをそれぞれパケット
化するパケット生成手段と、所定の優先順位に基づき生
成されたパケットを1つづつ選択して送出する選択手段
とを含むことを特徴とする。また、少なくとも一部のパ
ケット内にクロック情報を挿入するクロック情報挿入手
段を含むことを特徴とする。本発明はこのような構成に
よって、一旦符号化されて蓄積されたデータを固定速度
の伝送路に送出でき、また受信側において、厳密なクロ
ック再生を行うことが可能となる。
SUMMARY OF THE INVENTION According to the present invention, in a data transmission device for packetizing and transmitting data, clock means for generating clock information and data of a plurality of related attributes based on the clock information are respectively packeted. It is characterized by including a packet generating means for converting the packets into packets and a selecting means for selecting and transmitting the packets generated one by one according to a predetermined priority. Further, it is characterized by including clock information inserting means for inserting clock information into at least a part of the packets. According to the present invention, with such a configuration, the data once encoded and accumulated can be sent to the fixed-rate transmission path, and the receiving side can perform strict clock reproduction.

【0006】[0006]

【発明の実施の形態】以下に、図面を参照して本発明を
詳細に説明する。図1は本発明が適用されるパケットデ
ータ伝送システムの構成を示すブロック図である。送信
側装置は例えばビデオオンデマンドシステムのサーバあ
るいはサーバに蓄積されるデータを転送する装置であ
り、受信側装置は例えばビデオオンデマンド機能を有す
るCATVの受信装置あるいはデータを受信するサーバ
である。データ蓄積装置1は、例えばビデオフレームデ
ータであるビデオES(エレメンタリーストリーム)デ
ータおよびオーディオフレームデータであるオーディオ
ESデータを蓄積している。このデータは、例えばテレ
ビカメラやVTRから取り込まれ、所定の伝送速度で伝
送可能なデータ量に符号化されており、また所定周期の
フレームごとにデータが区切られている。
DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a packet data transmission system to which the present invention is applied. The transmission side device is, for example, a server of the video on demand system or a device for transferring data accumulated in the server, and the reception side device is, for example, a CATV reception device having a video on demand function or a server for receiving the data. The data storage device 1 stores, for example, video ES (elementary stream) data which is video frame data and audio ES data which is audio frame data. This data is taken in from, for example, a television camera or a VTR, encoded into a data amount that can be transmitted at a predetermined transmission rate, and the data is divided into frames of a predetermined cycle.

【0007】PESパケタイザ2、3はそれぞれビデオ
ESデータおよびオーディオESデータを読み出し、P
ES(パケタイズドES)データと呼ばれるパケットを
生成する。PESパケット列は、ビデオおよびオーディ
オESデータのフレームに対応してグループ化され、各
PESパケットはPESヘッダおよびPESペイロード
から成る。そして、各グループの先頭の、フレームの先
頭の情報を含むPESパケットのヘッダにはDTS(デ
コーディングタイムスタンプ:該データをデコードすべ
き時間情報)フィールドが含まれる。なお、PESパケ
タイザの仕様によっては、DTSフィールドの代わり
に、あるいはDTSフィールドに加えてPTS(プレゼ
ンテーションタイムスタンプ:該データを表示、出力す
べき時間情報)フィールドが存在する場合もあるが、P
TSフィールドのみが存在する場合には、DTS値をP
TS値で代用する。PESパケタイザは、パケット化の
際、例えばESデータのフレーム数をカウントすること
により、該データをデコード、表示すべき時間情報を生
成し、DTSあるいはPTSフィールドに該時間情報を
挿入する。なお、PESパケット化処理はデータの伝送
に先だって予め実行し、PESパケットが蓄積装置に蓄
積されている状態から伝送処理を開始する。
The PES packetizers 2 and 3 read out the video ES data and the audio ES data, respectively.
A packet called ES (packetized ES) data is generated. The PES packet sequence is grouped corresponding to frames of video and audio ES data, and each PES packet is composed of a PES header and a PES payload. Then, the header of the PES packet including the information on the head of the frame at the head of each group includes a DTS (decoding time stamp: time information for decoding the data) field. Depending on the specifications of the PES packetizer, there may be a PTS (presentation time stamp: time information for displaying and outputting the data) field instead of or in addition to the DTS field.
If only the TS field is present, set the DTS value to P
Substitute with the TS value. When packetizing, the PES packetizer counts the number of frames of ES data, for example, to decode the data, generate time information to be displayed, and insert the time information in the DTS or PTS field. It should be noted that the PES packetization process is executed in advance prior to the data transmission, and the transmission process is started from the state where the PES packet is stored in the storage device.

【0008】TSパケタイザ4、5、6はそれぞれTS
(トランスポートストリーム)パケットを生成する。T
SパケットはTSヘッダおよびTSペイロードから成
り、188バイトの固定長である。生成されたパケット
はバッファに格納され、選択部10によって1つづつ選
択されて読み出される。なお、ビデオ用およびオーディ
オ用のTSパケタイザ4、5はそれぞれ比較部8、9に
よってパケット化(データ入力)タイミングが制御され
る。
TS packetizers 4, 5 and 6 are TS
(Transport Stream) Generate a packet. T
The S packet is composed of a TS header and a TS payload and has a fixed length of 188 bytes. The generated packets are stored in the buffer, selected one by one by the selection unit 10, and read out. The packetizing (data input) timings of the video and audio TS packetizers 4 and 5 are controlled by the comparing units 8 and 9, respectively.

【0009】ビデオ用のTSパケタイザ4は、所定周期
(例えば100ミリ秒に1回以上)でTSヘッダ内にP
CRフィールドを挿入する機能を有している。クロック
情報であるPCR値は頻繁に伝送する必要があるが、周
期は一定である必要はない。従って、パケットの殆どを
占めるビデオTSパケットにのみ、所定周期でPCRフ
ィールドを設ける。ただし、TSパケタイザにおいて、
該フィールドには仮のPCR値が付与されるが、後述す
るPCR付与部において更新される。
[0009] The TS packetizer 4 for video uses the P header in the TS header at a predetermined cycle (for example, once or more every 100 milliseconds).
It has a function of inserting a CR field. The PCR value, which is clock information, needs to be transmitted frequently, but the cycle does not have to be constant. Therefore, the PCR field is provided in a predetermined cycle only in the video TS packets that occupy most of the packets. However, in the TS packetizer,
Although a temporary PCR value is added to this field, it is updated in the PCR adding unit described later.

【0010】PSI(プログラムスペシフィックインフ
ォメーション)データは、例えばCATV等におけるプ
ログラムのチャネル番号情報等のデータであり、所定周
期でデータに挿入される必要がある。PSI用のTSパ
ケタイザ6は所定周期でPSIデータを含むTSパケッ
トを生成する。ヌルパケット発生部7は、何の情報も含
まないヌルTSパケットを生成する。このヌルTSパケ
ットは、選択部10において、他に選択すべきパケット
が存在しない場合に、時間を埋めるために選択され、読
み出される。
PSI (Program Specific Information) data is data such as channel number information of a program in, for example, CATV, and needs to be inserted into the data at a predetermined cycle. The TS packetizer 6 for PSI generates a TS packet containing PSI data at a predetermined cycle. The null packet generator 7 generates a null TS packet that does not contain any information. The null TS packet is selected and read by the selection unit 10 to fill the time when there is no other packet to be selected.

【0011】送信クロック13は所定周波数(例えば2
7MHz)のクロック信号を発生し、PCRカウンタ1
2は、該クロック信号をカウントして、クロック情報P
CRを出力する。比較部8、9はそれぞれPCRカウン
タから出力されるPCR値と、各TSパケタイザ4、5
に入力されるPESデータ中のDTS値とを常に比較し
ている。そして、両方の値が一致するか、あるいはDT
S値の方が小さい場合には該データの再生(送信)タイ
ミングが到来しているので、次にDTS値を含むPES
データが現れるまで、PESデータを順にTSパケタイ
ザに入力させ(パケタイザを動作させ)、パケットを生
成させる。また、DTS値の方が大きい場合には、TS
パケタイザの動作を停止させる。
The transmission clock 13 has a predetermined frequency (for example, 2
7MHz) clock signal, PCR counter 1
2 counts the clock signal to obtain clock information P
Output CR. The comparators 8 and 9 respectively use the PCR values output from the PCR counters and the TS packetizers 4 and 5, respectively.
The DTS value in the PES data input to is always compared. And if both values match or DT
When the S value is smaller, the reproduction (transmission) timing of the data has arrived, so that the PES including the DTS value is next.
The PES data is sequentially input to the TS packetizer (the packetizer is operated) until data appears, and packets are generated. If the DTS value is larger, TS
Stop the packetizer operation.

【0012】選択部10は、各TSパケタイザ4、5、
6のいずれかにパケットが存在する場合には、所定の優
先順位で1つのパケットを選択し、PCR付与部11に
出力する。優先順位は例えばオーディオ、PSI、ビデ
オの順であり、3つのパケタイザに送出すべきパケット
が1つも無い場合には、ヌルTSパケット発生部7から
ヌルTSパケットを読み出す。
The selection unit 10 includes the TS packetizers 4, 5,
When there is a packet in any of the six, one packet is selected in a predetermined priority order and output to the PCR assigning unit 11. The order of priority is, for example, audio, PSI, and video. If there are no packets to be sent to the three packetizers, the null TS packet generator 7 reads the null TS packet.

【0013】PCR付与部11は、選択部10から出力
されるTSパケットにPCRフィールドが存在するか否
かをチェックし、PCRフィールドが存在する場合に
は、該フィールド内にPCRカウンタの値、即ち現在の
クロック情報を挿入し、伝送路14に送出する。伝送路
14は、伝送路独自(固有)のクロックを基準として、
固定の伝送速度でパケットを伝送する通信網であり、例
えばCATV、LAN、専用線、公衆通信網など、任意
の伝送路を使用可能である。
The PCR assigning unit 11 checks whether or not the PCR field is present in the TS packet output from the selecting unit 10. If the PCR field is present, the PCR counter value in the field, that is, The current clock information is inserted and sent to the transmission line 14. The transmission line 14 is based on a clock unique to the transmission line (unique).
It is a communication network that transmits packets at a fixed transmission rate, and any transmission path such as CATV, LAN, leased line, and public communication network can be used.

【0014】受信側の装置においては、まずPCR抽出
部15において、受信したパケット中からPCR値を抽
出する。受信クロック18は、送信クロックと同一の周
波数で発振する、外部から周波数を制御可能な発振回路
であり、受信側のPCRカウンタ17は、このクロック
信号をカウントして、受信側のクロック情報PCRを出
力する。比較部16はPCRカウンタ17から出力され
るPCR値と受信されたPCR値とを比較し、受信PC
R値の方が大きい場合には受信クロック18の周波数が
高くなるように、また受信PCR値の方が小さい場合に
は受信クロック18の周波数が低くなるように、受信ク
ロック18を制御する。従って、受信クロック18は送
信クロック13に従属同期する。
In the device on the receiving side, the PCR extraction unit 15 first extracts the PCR value from the received packet. The reception clock 18 is an oscillation circuit that oscillates at the same frequency as the transmission clock and whose frequency can be controlled from the outside. The PCR counter 17 on the reception side counts this clock signal and outputs the clock information PCR on the reception side. Output. The comparison unit 16 compares the PCR value output from the PCR counter 17 with the received PCR value, and the reception PC
The reception clock 18 is controlled so that the frequency of the reception clock 18 becomes higher when the R value is larger, and the frequency of the reception clock 18 becomes lower when the reception PCR value is smaller. Therefore, the reception clock 18 is slave-synchronized with the transmission clock 13.

【0015】アンパケタイザ19は受信バッファを有し
ており、受信したパケットの内、ヌルTSパケットを破
棄し、その他のパケットを種類別に並べる。そして、種
類ごとにTSパケットを分解してデータを抽出し、ビデ
オおよびオーディオPESデータを再生する。ビデオ再
生部20およびオーディオ再生部21は、それぞれ入力
されたPESデータからESデータを抽出して、更に復
号(伸張)化し、ビデオおよびオーディオデータを出力
する。
The unpacketizer 19 has a reception buffer, discards null TS packets among the received packets and arranges other packets by type. Then, the TS packet is decomposed for each type to extract the data, and the video and audio PES data is reproduced. The video reproducing unit 20 and the audio reproducing unit 21 extract the ES data from the input PES data, further decode (decompress) the ES data, and output the video and audio data.

【0016】比較部22、23はそれぞれPESデータ
からDTS値を抽出し、受信側PCRカウンタ17の値
と比較する。そしてDTS値がPCRカウンタ値以下の
場合にのみ、次のDTS値が現れるまで、それぞれの再
生部20、21の動作を許可し、DTS値がPCR値よ
り大きい場合には、両値が等しくなるまで再生部の動作
を停止させる。従って、各再生部20、21からは、再
生すべきタイミングと同期して、ビデオあるいはオーデ
ィオデータが出力され、アンパケタイザのバッファがオ
ーバーフローあるいはアンダーフローすることはない。
The comparators 22 and 23 respectively extract the DTS value from the PES data and compare it with the value of the reception side PCR counter 17. Only when the DTS value is less than or equal to the PCR counter value, the operations of the respective reproducing units 20 and 21 are permitted until the next DTS value appears, and when the DTS value is larger than the PCR value, both values become equal. Stop the operation of the playback section. Therefore, video or audio data is output from each of the reproducing units 20 and 21 in synchronization with the timing to be reproduced, and the buffer of the unpacketizer does not overflow or underflow.

【0017】図2は、送信されるビデオデータの構造を
示す説明図である。例えば1/30(あるいは1/6
0)秒周期で発生するビデオ信号をA/D変換して取り
込まれたビデオフレームデータは、MPEG方式等の符
号化方式によって符号化され、ESデータとしてデータ
蓄積装置1に蓄積される。ESデータは例えばフレーム
ごとにデータが区切られており、各フレーム対応のデー
タ量は画像の特性等により変化する。PESパケタイザ
2におけるPESパケット化処理においては、例えば1
つのフレームに対応するESデータが幾つかのPESパ
ケットに格納され、先頭のPESパケットのヘッダには
DTSフィールドが設けられ、DTS値が格納される。
FIG. 2 is an explanatory diagram showing the structure of transmitted video data. For example, 1/30 (or 1/6
Video frame data which is obtained by A / D converting a video signal generated in a 0) second cycle is coded by a coding system such as an MPEG system and stored in the data storage device 1 as ES data. The ES data is divided into frames, for example, and the data amount corresponding to each frame changes depending on the characteristics of the image and the like. In the PES packetizing process in the PES packetizer 2, for example, 1
ES data corresponding to one frame is stored in several PES packets, a DTS field is provided in the header of the first PES packet, and a DTS value is stored.

【0018】TSパケタイザ4においては、1つのPE
Sパケットが更に複数の固定長TSパケットに格納され
る。また所定の周期で、TSパケットにPCRフィール
ドが設けられる。なお、1フレーム当たりのTSパケッ
トの数は、元のESデータ量の変化に従って変化する。
従って、パケット数が少ない場合には、選択部10から
空き時間を埋めるためにヌルTSパケットが送出され
る。また、ビデオTSパケットは、オーディオやPSI
データよりも優先順位が低いので、選択部10において
送出を待たされる場合がある。従って、TSパケタイザ
4においては、PCRフィールドには仮のPCR値を格
納するか、あるいは何も格納せず、選択部10の後段の
PCR付与部11においてPCR値を格納する。以上の
ような構成により、ビデオやオーディオなど複数の属性
のデータを混合して所望のタイミングで送出することが
可能となる。
In the TS packetizer 4, one PE
The S packet is further stored in a plurality of fixed length TS packets. A PCR field is provided in the TS packet at a predetermined cycle. The number of TS packets per frame changes according to the change in the original ES data amount.
Therefore, when the number of packets is small, a null TS packet is sent from the selection unit 10 to fill the free time. In addition, video TS packets are audio and PSI.
Since the priority is lower than that of data, the selection unit 10 may have to wait for transmission. Therefore, in the TS packetizer 4, the provisional PCR value is stored in the PCR field or nothing is stored in the PCR field, and the PCR value is stored in the PCR assigning unit 11 in the subsequent stage of the selecting unit 10. With the above configuration, it is possible to mix data having a plurality of attributes such as video and audio and send the mixed data at a desired timing.

【0019】図3は第2の実施例の一部を示すブロック
図である。図1に開示した第1の実施例においては、P
CR付与部11において付与するPCR値を生成するた
めにPCRカウンタ12を使用しているが、第2の実施
例は、ソフトウェアによる計算によりPCR値を生成す
る例である。
FIG. 3 is a block diagram showing a part of the second embodiment. In the first embodiment disclosed in FIG. 1, P
Although the PCR counter 12 is used to generate the PCR value to be added by the CR adding unit 11, the second embodiment is an example of generating the PCR value by calculation by software.

【0020】TSパケットの長さが固定であり、TSパ
ケタイザ4において生成されるPCRフィールドの位置
が常に同じビット位置である場合には、PCRの値はパ
ケット送出ごとに一定値が加算されるカウンタにより構
成することができる。図3は第2の実施例におけるPC
R生成部のブロック図であり、図1のPCRカウンタに
代わるものである。送信クロック13を基準として、パ
ケットを一定の伝送速度で送出するパケット送出部40
(図1においては、PCR付与部11に含まれる)は、
パケットを送出する度に、ソフトウェアにより構成され
るPCRカウンタ41に送出通知を出す。PCRカウン
タ41は、送出通知を受け取る毎に、PCRカウンタ値
に一定のPCR増加値を加算する。PCR増加値は次式
によって算出される。
When the length of the TS packet is fixed and the position of the PCR field generated in the TS packetizer 4 is always the same bit position, the PCR value is a counter to which a constant value is added every packet transmission. It can be configured by. FIG. 3 shows a PC in the second embodiment.
FIG. 3 is a block diagram of an R generation unit, which replaces the PCR counter of FIG. 1. A packet transmission unit 40 that transmits packets at a constant transmission rate with reference to the transmission clock 13.
(In FIG. 1, included in the PCR adding unit 11)
Every time a packet is sent, a sending notification is sent to the PCR counter 41 composed of software. The PCR counter 41 adds a constant PCR increment value to the PCR counter value each time the transmission notification is received. The PCR increase value is calculated by the following equation.

【0021】PCR増加値=(クロック周波数×パケットビ
ット長)÷伝送速度。
PCR increase value = (clock frequency × packet bit length) ÷ transmission rate.

【0022】なお、一般的には、前回伝送されたPCR
値と新たに伝送されるPCR値との差は、前回のPCR
フィールドと新たに伝送されるPCRフィールド間のビ
ット間隔に基づき、次式によって求められる。
Generally, the PCR transmitted last time
The difference between the value and the newly transmitted PCR value is
Based on the bit interval between the field and the newly transmitted PCR field, it is calculated by the following equation.

【0023】PCR増加値=(クロック周波数×PCRビッ
ト間隔)÷伝送速度。
PCR increase value = (clock frequency × PCR bit interval) ÷ transmission rate.

【0024】更に、第2の実施例において、TSパケッ
トデータをリアルタイムに伝送路に送出せず、蓄積装置
に蓄積する場合には、パケット送出部40の代わりに、
蓄積装置へパケットを格納するパケット格納部を使用し
て、パケットを1つ格納するたびにPCRカウンタ41
に格納通知を出せばよい。従って、この場合には送信ク
ロックとは全く非同期に処理可能となる。
Further, in the second embodiment, when the TS packet data is not sent to the transmission line in real time but is stored in the storage device, instead of the packet sending unit 40,
The PCR counter 41 is used every time one packet is stored by using the packet storage unit that stores the packet in the storage device.
The storage notification should be issued to. Therefore, in this case, processing can be performed completely asynchronously with the transmission clock.

【0025】以上、実施例を開示したが、更に以下に述
べるような変形例も考えられる。第1の実施例において
は、PCRとDTSの比較部によりパケタイザを制御す
る例を開示したが、他の方式として以下のような構成も
考えられる。まず、TSパケタイザにおいては、PCR
と非同期でパケット化を行い、生成されたパケットにそ
れぞれDTS値を付加する。選択部においては、各パケ
ットに付加されたDTS値とPCRとを比較し、DTS
値がPCR以下であるパケットを所定の優先順位に従っ
て、1つづつ選択し、送出する。このように構成すれ
ば、TSパケタイザはパケット化処理を先行して行うこ
とが可能となり、処理による遅延が減少する。
Although the embodiments have been disclosed above, the following modified examples are also conceivable. In the first embodiment, an example in which the packetizer is controlled by the comparison unit of PCR and DTS has been disclosed, but the following configuration may be considered as another system. First, in the TS packetizer, PCR
Packetization is performed asynchronously with, and a DTS value is added to each of the generated packets. In the selection unit, the DTS value added to each packet is compared with the PCR, and the DTS
Packets whose value is less than or equal to PCR are selected one by one according to a predetermined priority order and transmitted. According to this structure, the TS packetizer can perform the packetizing process in advance, and the delay due to the process is reduced.

【0026】実施例においては、PCRをビデオTSパ
ケットにのみ設ける方式を開示したが、PCRを他のパ
ケット、例えばオーディオTSパケット、PSIパケッ
ト、ヌルTSパケットにのみ設けてもよい。オーディオ
TSパケット、PSIパケットは周期的に伝送されるの
で、例えば、オーディオTSパケットの所定個数ごとに
PCRフィールドを設けるか、あるいはPSIの伝送周
期とPCRの伝送周期が近ければ、PSIパケットに全
てPCRフィールドを設けるようにすれば、周期の制御
が簡単になる。更に、通常、ビデオ信号のフレーム周期
で必ずヌルTSパケットが送出されるのであれば、ヌル
TSパケットにPCRフィールドを設けてもよい。オー
ディオTSパケットを使用してPCRを伝送する場合に
は、オーディオTSパケットは優先順位が最も高いの
で、第2の実施例のごとく、計算によりPCR値を算出
して、TSパケタイザ5においてPCR値を書き込むこ
ともできる。
In the embodiment, the system in which the PCR is provided only in the video TS packet is disclosed, but the PCR may be provided only in other packets, for example, the audio TS packet, the PSI packet and the null TS packet. Since the audio TS packets and PSI packets are transmitted periodically, for example, if a PCR field is provided for each predetermined number of audio TS packets, or if the PSI transmission period and the PCR transmission period are close, all the PSI packets are PCR Providing a field simplifies the control of the cycle. Further, normally, if the null TS packet is always sent at the frame period of the video signal, the PCR field may be provided in the null TS packet. When the PCR is transmitted using the audio TS packet, the audio TS packet has the highest priority. Therefore, as in the second embodiment, the PCR value is calculated and the TS packetizer 5 calculates the PCR value. You can also write.

【0027】[0027]

【発明の効果】以上述べたように、この発明によれば、
データをパケット化して伝送するデータ伝送装置におい
て、クロック情報に基づき、関連のある複数の属性のデ
ータをそれぞれパケット化するパケット生成手段と、所
定の優先順位に基づき生成されたパケットを1つづつ選
択して送出する選択手段とを含み、また、少なくとも一
部のパケット内にクロック情報を挿入するクロック情報
挿入手段を含むので、一旦符号化されて蓄積されたデー
タを固定速度の伝送路に送出でき、また受信側におい
て、厳密なクロック再生を行うことが可能となるという
効果がある。
As described above, according to the present invention,
In a data transmission device for packetizing and transmitting data, packet generating means for packetizing data of a plurality of related attributes based on clock information and packet generation based on a predetermined priority are selected one by one. Since it includes a selection means for transmitting and then transmitting the clock information and a clock information insertion means for inserting clock information in at least a part of the packet, the data once encoded and accumulated can be transmitted to a fixed-rate transmission path. Moreover, there is an effect that it is possible to perform strict clock reproduction on the receiving side.

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

【図1】本発明が適用されるパケットデータ伝送システ
ムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a packet data transmission system to which the present invention is applied.

【図2】送信されるビデオデータの構造を示す説明図で
ある。
FIG. 2 is an explanatory diagram showing the structure of transmitted video data.

【図3】第2の実施例の一部を示すブロック図である。FIG. 3 is a block diagram showing a part of a second embodiment.

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

1…データ蓄積装置、2、3…PESパケタイザ、4、
5、6…TSパケタイザ、7…ヌルTSパケット発生
部、8、9…比較部、10…選択部、11…PCR付与
部、12…PCRカウンタ、13…送信クロック、14
…伝送路、15…PCR抽出部、16、22、23…比
較部、17…PCRカウンタ、18…受信クロック、1
9…アンパケタイザ、20…ビデオ再生部、21…オー
ディオ再生部
1 ... Data storage device 2, 3 ... PES packetizer, 4,
5, 6 ... TS packetizer, 7 ... Null TS packet generation unit, 8, 9 ... Comparison unit, 10 ... Selection unit, 11 ... PCR addition unit, 12 ... PCR counter, 13 ... Transmission clock, 14
... Transmission path, 15 ... PCR extraction section, 16, 22, 23 ... Comparison section, 17 ... PCR counter, 18 ... Reception clock, 1
9 ... Unpacketizer, 20 ... Video playback unit, 21 ... Audio playback unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データをパケット化して伝送するデータ
伝送装置において、 クロック情報を発生するクロック手段と、 クロック情報に基づき、関連のある複数の属性のデータ
をそれぞれ再生すべきタイミングでパケット化するパケ
ット生成手段と、 所定の優先順位に基づき、パケット生成手段により生成
されたパケットを1つづつ選択して送出する選択手段と
を含むことを特徴とするデータ伝送装置。
1. A data transmission apparatus for packetizing and transmitting data, wherein: clock means for generating clock information; and a packet for packetizing data of a plurality of related attributes based on the clock information at a timing to be reproduced, respectively. A data transmission device comprising: a generation unit and a selection unit that selects and transmits the packets generated by the packet generation unit one by one based on a predetermined priority.
【請求項2】 データをパケット化して伝送するデータ
伝送装置において、 クロック情報を発生するクロック手段と、 関連のある複数の属性のデータをそれぞれパケット化
し、再生すべきタイミング情報を付加するパケット生成
手段と、 クロック情報を参照して、再生すべきタイミングに到達
したパケットを所定の優先順位に基づき、1つづつ選択
して送出する選択手段とを含むことを特徴とするデータ
伝送装置。
2. A data transmission device for packetizing and transmitting data, wherein a clock means for generating clock information and a packet generating means for packetizing data of a plurality of related attributes and adding timing information to be reproduced. And a selecting unit which refers to the clock information and selects and sends the packets which have reached the timing to be reproduced one by one on the basis of a predetermined priority order.
【請求項3】 更に、少なくとも一部のパケット内にク
ロック情報を挿入するクロック情報挿入手段を含むこと
を特徴とする請求項1ないし2のいずれかに記載のデー
タ伝送装置。
3. The data transmission device according to claim 1, further comprising clock information insertion means for inserting clock information into at least a part of the packets.
【請求項4】 ビデオおよびオーディオデータをパケッ
ト化して伝送するデータ伝送装置において、 クロック情報を発生するクロック手段と、 クロック情報に基づき、ビデオデータをそれぞれ再生す
べきタイミングでパケット化し、かつ所定の間隔でパケ
ット内にクロック情報エリアを設けるビデオデータパケ
ット化手段と、 クロック信号に基づき、少なくともオーディオデータを
それぞれ再生すべきタイミングでパケット化するオーデ
ィオデータパケット化手段と、 所定の間隔でプログラムに関する情報を含むパケットを
生成するプログラム情報パケット生成手段と、 無効パケット生成手段と、 送出可能なパケットの中から、オーディオデータパケッ
ト、ビデオデータパケット、プログラム情報パケット、
無効パケットの優先順位で、パケットを1つづつ選択し
て送出する選択手段と、 選択手段の出力パケットにクロック情報エリアが存在す
る場合には、クロック情報を該エリアに書き込むクロッ
ク情報挿入手段とを含むことを特徴とするデータ伝送装
置。
4. A data transmission device for packetizing and transmitting video and audio data, comprising: clock means for generating clock information; and packetizing video data at a timing to be reproduced based on the clock information, and at a predetermined interval. A video data packetizing means for providing a clock information area in a packet, an audio data packetizing means for packetizing at least audio data at a timing based on a clock signal, and information about a program at predetermined intervals A program information packet generating means for generating a packet, an invalid packet generating means, and an audio data packet, a video data packet, a program information packet from among the packets that can be transmitted,
Selecting means for selecting and transmitting the packets one by one in the priority order of the invalid packets; and clock information inserting means for writing the clock information in the output packet of the selecting means when the clock information area exists in the area. A data transmission device comprising:
【請求項5】 パケット内に挿入されるクロック情報
は、クロック情報挿入間隔データに基づき、計算により
算出されることを特徴とする請求項3ないし4のいずれ
かに記載のデータ伝送装置。
5. The data transmission device according to claim 3, wherein the clock information inserted in the packet is calculated by calculation based on the clock information insertion interval data.
JP23071295A 1995-08-17 1995-08-17 Data transmission equipment Expired - Fee Related JP3441257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23071295A JP3441257B2 (en) 1995-08-17 1995-08-17 Data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23071295A JP3441257B2 (en) 1995-08-17 1995-08-17 Data transmission equipment

Publications (2)

Publication Number Publication Date
JPH0955767A true JPH0955767A (en) 1997-02-25
JP3441257B2 JP3441257B2 (en) 2003-08-25

Family

ID=16912131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23071295A Expired - Fee Related JP3441257B2 (en) 1995-08-17 1995-08-17 Data transmission equipment

Country Status (1)

Country Link
JP (1) JP3441257B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6452943B1 (en) 1998-08-07 2002-09-17 Matsushita Electric Industrial Co., Ltd. Data server system where the cycle for transmitting video or audio data is adjusted according to control data transmitted to a transmitter by a receiver that monitors its buffer state
KR100640467B1 (en) 2005-01-18 2006-10-31 삼성전자주식회사 IP Streaming Apparatus Capable of Smoothness
JP2010136010A (en) * 2008-12-03 2010-06-17 Yamaha Corp Audio signal transmitting system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6452943B1 (en) 1998-08-07 2002-09-17 Matsushita Electric Industrial Co., Ltd. Data server system where the cycle for transmitting video or audio data is adjusted according to control data transmitted to a transmitter by a receiver that monitors its buffer state
KR100640467B1 (en) 2005-01-18 2006-10-31 삼성전자주식회사 IP Streaming Apparatus Capable of Smoothness
JP2010136010A (en) * 2008-12-03 2010-06-17 Yamaha Corp Audio signal transmitting system

Also Published As

Publication number Publication date
JP3441257B2 (en) 2003-08-25

Similar Documents

Publication Publication Date Title
US6016166A (en) Method and apparatus for adaptive synchronization of digital video and audio playback in a multimedia playback system
EP1699240B1 (en) Video data processing method and video data processing device
KR100226528B1 (en) Decoder for compressed and multiplexed video and audio data
US5602992A (en) System for synchronizing data stream transferred from server to client by initializing clock when first packet is received and comparing packet time information with clock
JP3402177B2 (en) Digital signal multiplexing apparatus and method, digital signal transmission method, digital signal recording method, and recording medium
CN102891984B (en) Sending device receives system, communication system, sending method, method of reseptance and program
US6449352B1 (en) Packet generating method, data multiplexing method using the same, and apparatus for coding and decoding of the transmission data
KR100378718B1 (en) Method and apparatus for transmitting data packets
US20020041609A1 (en) Multiplexed data producing apparatus, encoded data reproducing apparatus, clock conversion apparatus, encoded data recording medium, encoded data transmission medium, multiplexed data producing method, encoded data reproducing method, and clock conversion method
JP2001359072A (en) Data converter and method, data distributor and method, data distribution system
JPH0897837A (en) Packet receiver
US6088366A (en) Device and method for converting a data transfer rate in communication of digital audio and video data
JP2007053668A (en) Moving video distribution system and moving video distribution server
JP3438223B2 (en) Multiplexing device and multiplexing method, and transmission device and transmission method
JPH11317768A (en) Transmission system, transmitting device, recording and reproducing device, and recording device
JP3644995B2 (en) Time stamp value calculation method in coded transmission system
JPH11163817A (en) Digital encoding multiplexer
JPH11215083A (en) Device and method for digital signal multiplex, device and method for digital signal transmission, device and method for digital signal recording, and recording medium thereof
EP0873019B1 (en) Device and method for transmitting digital audio and video data
JP2872104B2 (en) Time stamp adding apparatus and method, and moving image compression / expansion transmission system and method using the same
JP3441257B2 (en) Data transmission equipment
JPH08275151A (en) Distribution decoder for multiplexed compressed image-audio data
JPH1141193A (en) Data packet re-multiplexing method and re-multiplexer
JPH10271482A (en) Synchronous reproduction control method and system for coded video
JPH09312656A (en) Transmitter and method therefor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees