JP2001177487A - Data transmission method and its system - Google Patents

Data transmission method and its system

Info

Publication number
JP2001177487A
JP2001177487A JP35674999A JP35674999A JP2001177487A JP 2001177487 A JP2001177487 A JP 2001177487A JP 35674999 A JP35674999 A JP 35674999A JP 35674999 A JP35674999 A JP 35674999A JP 2001177487 A JP2001177487 A JP 2001177487A
Authority
JP
Japan
Prior art keywords
data
transport stream
transport streams
multiplexing
transport
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
JP35674999A
Other languages
Japanese (ja)
Inventor
Haruhiro Koto
晴洋 古藤
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.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP35674999A priority Critical patent/JP2001177487A/en
Publication of JP2001177487A publication Critical patent/JP2001177487A/en
Pending 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 realize a compression data multiplexer that can decrease a transmission rate of compressed data in the case of multiplexing a plurality of transport streams and can process data at a low data rate. SOLUTION: In the data transmission where a transmitter side multiplexes a plurality of transport streams and the multiplexed streams are transmitted and a receiver side demultiplexes the received multiplexed transport streams and recovers the streams, when a plurality of the transport streams is multiplexed, a plurality of the transport streams is multiplexed in the unit of a prescribed data length, a synchronous code incidence sequence of each transport streams is detected from the received multiplexed transport streams so as to demultiplex and recover a plurality of the transport streams on the basis of the incidence.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、動画像圧縮データ
を伝送し、受信再生する圧縮データ伝送方法及び伝送装
置の改良に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improved method and apparatus for transmitting and receiving compressed video data and transmitting and receiving compressed video data.

【0002】[0002]

【従来の技術】近年、画像処理技術、とりわけ画像情
報、音声情報の圧縮技術は、めざましい発展を遂げてお
り、容量の小さい伝送路であっても高品質な動画像や音
声の伝送が可能となった。ところで、上記システムにお
いて、伝送路上に流されるデータ群は、トランスポート
ストリームと呼ばれる。 トランスポートストリーム
は、一定量のデータの集まりから構成される。 このト
ランスポートストリームを構成する一定量のデータをパ
ケットと呼び、トランスポートストリームの最小構成単
位となる。トランスポートストリームは、複数個のパケ
ットから成る。 全てのパケットは一定のデータ量であ
るためパケット長は一定である。また、パケット間に隙
間があることは許されず、パケットの前後は必ず接して
おり、パケット位置が重複することも無い。 パケット
の先頭には、必ず、同期コードが付いており、この同期
コードの位置を手がかりとしてパケットを見つけ出し、
内部のデータを解析する。
2. Description of the Related Art In recent years, image processing techniques, especially compression techniques for image information and audio information, have been remarkably developed, and high-quality moving images and audio can be transmitted even on a transmission line having a small capacity. became. By the way, in the above system, a group of data flowing on a transmission path is called a transport stream. A transport stream is made up of a fixed amount of data. A certain amount of data constituting the transport stream is called a packet, and is a minimum unit of the transport stream. The transport stream is composed of a plurality of packets. Since all packets have a fixed data amount, the packet length is constant. Also, it is not allowed that there is a gap between the packets, and the packets are always in contact before and after the packets, and the packet positions do not overlap. The packet always has a sync code at the beginning. The position of the sync code is used as a clue to find the packet.
Analyze internal data.

【0003】次に、トランスポートストリームとパケッ
トの構造を図2を用いて説明する。トランスポートスト
リーム30は、複数個のパケット31から成る。 全て
のパケット31は、一定のデータ量であるためパケット
長は一定である。 また、パケット31は、ヘッダ領域
32と圧縮データ領域33の2つの領域から成る。この
パケット31の大部分の領域は、圧縮データ領域33が
占めている。 圧縮データ領域33には、画像や音声を
圧縮したデータが格納されている。パケット31の先頭
には、そのパケットの情報を示すデータや圧縮データ領
域の情報を示すデータを格納したヘッダ領域32があ
る。ヘッダ領域32の先頭データは、同期コード34と
呼ばれ、全てのパケットにおいて同じ値のデータになっ
ている。この同期コード34は、トランスポートストリ
ーム30の中からパケット31の先頭を検出するための
目印になる。パケット31を構成する圧縮データの中に
は、同期コード34と同じ値となるデータがランダムに
存在することがある。そのため、検出したデータが、本
当の同期コード34であるか否かを判断するには、同期
コード34と思われるデータがパケット長と同じ間隔で
数回連続して出現することを検出する必要がある。即
ち、パケット長の間隔で、数回連続して同期コード34
と同じ値のデータを検出することが出来た場合に、現在
のデータを同期コード34であると判断し、この位置を
基準にパケット31の内部のデータを解析する。
Next, the structure of a transport stream and a packet will be described with reference to FIG. The transport stream 30 includes a plurality of packets 31. Since all the packets 31 have a fixed data amount, the packet length is constant. The packet 31 is composed of two areas, a header area 32 and a compressed data area 33. Most of the area of the packet 31 is occupied by the compressed data area 33. The compressed data area 33 stores data obtained by compressing images and sounds. At the head of the packet 31, there is a header area 32 storing data indicating information of the packet and data indicating information of the compressed data area. The head data of the header area 32 is called a synchronization code 34, and has the same value in all packets. The synchronization code 34 serves as a mark for detecting the head of the packet 31 from the transport stream 30. Data having the same value as the synchronization code 34 may exist at random in the compressed data constituting the packet 31. Therefore, in order to determine whether or not the detected data is the real synchronization code 34, it is necessary to detect that the data which is considered to be the synchronization code 34 appears several times continuously at the same interval as the packet length. is there. That is, the synchronization code 34 is continuously transmitted several times at intervals of the packet length.
When the data having the same value as the above is detected, the current data is determined to be the synchronization code 34, and the data inside the packet 31 is analyzed based on this position.

【0004】トランスポートストリームデータは、伝送
クロックと同期させ、1クロックで1データを伝送す
る。複数のトランスポートストリームを多重する場合、
パケット単位で切り出して多重する。 パケットを多重
する順序は特に定められてはいないが、均等に配置する
のが一般的である。 例えば、2つのトランスポートス
トリームを多重する場合、2種類のトランスポートスト
リームパケットを交互に配置するのが、最も簡単にパケ
ットの均等配置を実現する方法である。しかし前述した
ように、トランスポートストリームパケットの間には、
隙間や重なりがあってはならない。本来、パケット間に
隙間のないトランスポートストリームに、他のパケット
を多重して、再び連続したパケット構造の1つのトラン
スポートストリームにするためには、隙間の無いパケッ
トの間に、他のパケットを挿入する隙間を作る必要があ
る。そのため、多重したトランスポートストリームを伝
送する時に、データレートを上げ、個々のデータの間隔
を狭くして隙間を作ることになる。すなわち、伝送デー
タは、伝送クロックに同期しているのであるから、デー
タレートを上げるということは、伝送クロックの周波数
を上げることである。
The transport stream data is synchronized with a transmission clock, and one data is transmitted in one clock. When multiplexing multiple transport streams,
Cut out and multiplex in packet units. The order in which the packets are multiplexed is not particularly defined, but is generally arranged evenly. For example, in a case where two transport streams are multiplexed, it is easiest to arrange two types of transport stream packets alternately in order to realize an even distribution of the packets. However, as mentioned above, between transport stream packets,
There must be no gaps or overlap. Originally, in order to multiplex another packet into a transport stream having no gap between packets and to make one transport stream having a continuous packet structure again, another packet is inserted between packets having no gap. It is necessary to make a gap to insert. Therefore, when transmitting a multiplexed transport stream, a gap is created by increasing the data rate and narrowing the interval between individual data. In other words, since the transmission data is synchronized with the transmission clock, increasing the data rate means increasing the frequency of the transmission clock.

【0005】ここで、一例として、2つのトランスポー
トストリームを多重する場合を考えてみるために、デー
タレート変換前と変換後におけるトランスポートストリ
ームのタイムチャートを図3に示し、説明する。図3に
示す様に、データレート変換後における伝送クロック3
8の1クロック幅は、データレート変換前における伝送
クロック35の1クロック幅の半分になっている。即
ち、2つのトランスポートストリームを多重して伝送す
るためには、データレート変換後の伝送クロック38
を、データレート変換前のトランスポートストリームに
おける伝送クロック35の2倍の周波数にする必要があ
る。 従って、トランスポートストリームのデータレー
トは2倍に上がることになる。このようなデータレート
変換処理を、パケット単位で繰り返えすことにより、デ
ータレート変換処理により作られたパケット間の隙間
に、他のパケットを挿入してトランスポートストリーム
を多重する。このデータレート変換処理によってパケッ
ト間に隙間を作り、その隙間に他のパケットを挿入する
様子を図4に示す。トランスポートストリーム40を、
パケット単位に切り出し、そのパケットに対しデータレ
ート変換処理を行なう。 これにより、パケットの長さ
は見かけ上半分になり、次のパケットとの間に隙間が生
じる。トランスポートストリーム41は、トランスポー
トストリーム40と多重して伝送しようとしている、も
う一方のトランスポートストリームである。トランスポ
ートストリーム41も、トランスポートストリーム40
と同様に、データレート変換処理を行なう。 これによ
って、パケットの長さは、トランスポートストリーム4
0の処理と同様に半分になる。ここで、トランスポート
ストリーム41は、トランスポートストリーム40と同
じデータレートであって、1パケットのデータ長も等し
く、データレート変換処理後のトランスポートストリー
ム41のパケット長は、トランスポートストリーム40
のデータレート変換処理で生じた隙間の長さと一致する
ことになる。従って、データレート変換処理後のトラン
スポートストリーム41のパケットを、データレート変
換処理後のトランスポートストリーム40の隙間に挿入
することにより、パケット間に隙間の無い、多重化され
たトランスポートストリーム42を生成することが出来
る。
Here, as an example, in order to consider a case where two transport streams are multiplexed, a time chart of a transport stream before and after data rate conversion is shown in FIG. 3 and described. As shown in FIG. 3, the transmission clock 3 after the data rate conversion
The one clock width of 8 is half the one clock width of the transmission clock 35 before the data rate conversion. That is, in order to multiplex and transmit two transport streams, the transmission clock 38 after the data rate conversion is used.
Must be twice the frequency of the transmission clock 35 in the transport stream before the data rate conversion. Therefore, the data rate of the transport stream is doubled. By repeating such a data rate conversion process on a packet basis, other packets are inserted into gaps between packets created by the data rate conversion process to multiplex the transport stream. FIG. 4 shows a state in which a gap is created between packets by this data rate conversion process, and another packet is inserted into the gap. Transport stream 40
The packet is cut out in packet units, and data rate conversion processing is performed on the packet. As a result, the length of the packet is apparently halved, and a gap is generated between the next packet. The transport stream 41 is another transport stream to be multiplexed with the transport stream 40 and transmitted. The transport stream 41 is also the transport stream 40
Similarly, the data rate conversion process is performed. Thereby, the length of the packet becomes the transport stream 4
It is halved in the same way as the processing of 0. Here, the transport stream 41 has the same data rate as the transport stream 40, and the data length of one packet is equal. The packet length of the transport stream 41 after the data rate conversion processing is the transport stream 40
The length of the gap generated in the data rate conversion process. Therefore, by inserting the packets of the transport stream 41 after the data rate conversion processing into the gaps of the transport stream 40 after the data rate conversion processing, the multiplexed transport stream 42 with no gap between the packets is inserted. Can be generated.

【0006】図5に、2つのトランスポートストリーム
を多重して伝送する場合のトランスポートストリーム多
重分離回路の従来技術の構成例を示し、説明する。トラ
ンスポートストリーム多重分離回路は、送信側を構成す
るトランスポートストリーム多重部Tx’と、受信側を
構成するトランスポートストリーム分離部Rx’からな
る。トランスポートストリーム多重部Tx'は、入力側
に、エンコーダ50,51が接続され、伝送クロック5
8が供給される。 また、出力側には、伝送路69が接
続され、多重化されたトランスポートストリーム68
と、伝送クロック58が出力される。トランスポートス
トリーム分離部Rx'は、入力側に、伝送路69が接続さ
れ、出力側にはデコーダ72,73が接続されている。
FIG. 5 shows an example of a configuration of a conventional technology of a transport stream demultiplexing circuit when two transport streams are multiplexed and transmitted. The transport stream demultiplexing circuit includes a transport stream demultiplexing unit Tx 'forming the transmitting side and a transport stream demultiplexing unit Rx' forming the receiving side. The transport stream multiplexing unit Tx ′ has an input side to which encoders 50 and 51 are connected and a transmission clock 5.
8 are supplied. A transmission path 69 is connected to the output side, and the multiplexed transport stream 68
Then, the transmission clock 58 is output. The transport stream separation unit Rx ′ has an input side connected to the transmission line 69 and an output side connected to the decoders 72 and 73.

【0007】まず、トランスポートストリーム多重部T
x'の構成と動作について説明する。トランスポートスト
リーム多重部Tx'は、エンコーダ50,51、クロック
分周器59、パケット長カウンタ61、パケット選択信
号発生器63、データ蓄積器66,67、同期コード検
出器54,56からなる。クロック分周器59は、トラ
ンスポートストリーム多重部Tx'の外部から入力した伝
送クロック58を分周して、より低い周波数の分周クロ
ック60を生成して、エンコーダ50,51、データ蓄
積器66,67へ出力する。 例えば、2つのトランス
ポートストリーム52と53を多重する場合には、伝送
クロック58をクロック分周器59で2分周して半分の
周波数のクロック信号を生成し、分周クロック60とし
て出力する。パケット長カウンタ61は、外部から入力
した伝送クロック58に同期して、内部カウンタを動か
す。 この内部カウンタでは、パケット長と等しい数だ
けのカウントをすると、桁あふれ信号62を出力し、ま
た新たにパケット長と等しい数だけカウントを始める。
そして、この動作を延々と繰り返すことによって、連
続的にパケット長と等しい間隔で桁あふれ信号62を出
力することになる。パケット選択信号発生器63は、パ
ケット長カウンタ61から出力された桁あふれ信号62
を入力し、パケット選択信号を出力する。 このパケッ
ト選択信号の出力数は、トランスポートストリーム多重
部のデータ蓄積器の数と一致する数になっている。 例
えば、2つのトランスポートストリームを多重する場合
は、データ蓄積器66用のパケット選択信号64と、デ
ータ蓄積器67用のパケット選択信号65の2つを出力
する。また、各々のパケット選択信号は、桁あふれ信号
62が入力されるたびに切り替わる。 なお桁あふれ信
号62が出力される間隔はパケット長と等しいため、パ
ケット選択信号が切り替わる間隔もパケット長と等しく
なる。 パケット選択信号が切り替わる順序は、1つの
パケット選択信号が有効になると、他の全てのパケット
選択信号は無効になり、必ず1つのパケット選択信号の
みが有効になるように切り替わる。また、パケット選択
信号全てに対して、個々のパケット選択信号が有効にな
る割合は、全て等しい割合となる。 従って、2つのト
ランスポートストリームを多重する場合、2つのパケッ
ト選択信号が出力されるが、それぞれを同じ割合で有効
にするには、2つを交互に有効とするのが同じ割合を実
現するのに最も容易な方法である。
First, the transport stream multiplexing section T
The configuration and operation of x 'will be described. The transport stream multiplexing unit Tx 'includes encoders 50 and 51, a clock divider 59, a packet length counter 61, a packet selection signal generator 63, data accumulators 66 and 67, and synchronization code detectors 54 and 56. The clock frequency divider 59 divides the frequency of the transmission clock 58 input from outside the transport stream multiplexing unit Tx ′ to generate a frequency-divided clock 60 having a lower frequency, and generates the encoders 50 and 51 and the data accumulator 66. , 67. For example, when the two transport streams 52 and 53 are multiplexed, the transmission clock 58 is frequency-divided by a clock frequency divider 59 to generate a clock signal having a half frequency and output as a frequency-divided clock 60. The packet length counter 61 operates an internal counter in synchronization with a transmission clock 58 input from outside. When the internal counter counts the number equal to the packet length, it outputs an overflow signal 62, and starts counting a new number equal to the packet length.
By repeating this operation endlessly, the overflow signal 62 is continuously output at intervals equal to the packet length. The packet selection signal generator 63 outputs an overflow signal 62 output from the packet length counter 61.
And outputs a packet selection signal. The number of outputs of this packet selection signal is equal to the number of data accumulators of the transport stream multiplexing unit. For example, when multiplexing two transport streams, two packet selection signals 64 for the data storage 66 and a packet selection signal 65 for the data storage 67 are output. Further, each packet selection signal is switched every time the overflow signal 62 is input. Since the interval at which the overflow signal 62 is output is equal to the packet length, the interval at which the packet selection signal switches is also equal to the packet length. The order in which the packet selection signals are switched is such that when one packet selection signal becomes valid, all other packet selection signals become invalid, and only one packet selection signal becomes valid. Also, the ratios at which the individual packet selection signals are valid for all the packet selection signals are equal. Therefore, when two transport streams are multiplexed, two packet selection signals are output, but in order to make them effective at the same rate, it is effective to alternately enable the two to achieve the same rate. The easiest way to do it.

【0008】同期コード検出器54では、エンコーダ5
0がクロック分周器59からの分周クロック60に同期
して出力したトランスポートストリーム52を解析し、
トランスポートストリーム52中の同期コードを検出す
る。 そして、同期コードの検出によりパケットの先頭
を見つけ出す。 そしてパケットの先頭が見つかると書
き込み許可信号55を無効から有効に切り換え、データ
蓄積器66へ出力し、パケットの先頭からトランスポー
トストリーム52が蓄積されるようにする。以後、書き
込み許可信号55の状態は有効を維持する。同期コード
検出器56も同期コード検出器54と同様にして、エン
コーダ51がクロック分周器59からの分周クロック6
0に同期して出力したトランスポートストリーム53を
解析し、トランスポートストリーム53中の同期コード
を検出することによりパケットの先頭を見つけ出す。
そしてパケットの先頭が見つかると、書き込み許可信号
57を無効から有効に切り換え、データ蓄積器67へ出
力し、パケットの先頭からトランスポートストリーム5
3が蓄積されるようにする。 以後、書き込み許可信号
57の状態は有効を維持する。データ蓄積器66は、エ
ンコーダ50から出力されたトランスポートストリーム
52を、クロック分周器59からの分周クロック60に
同期して書き込み蓄積する。 この時、同期コード検出
器54が出力した書き込み許可信号55が有効の状態で
ないとトランスポートストリーム52を書き込まない。
つまり、書き込み許可信号55が有効になってから書き
込むことにより、蓄積されたデータの先頭は、パケット
の先頭位置と一致するようになる。
[0008] In the synchronous code detector 54, the encoder 5
0 analyzes the transport stream 52 output in synchronization with the divided clock 60 from the clock divider 59,
The synchronization code in the transport stream 52 is detected. Then, the head of the packet is found by detecting the synchronization code. Then, when the head of the packet is found, the write permission signal 55 is switched from invalid to valid and output to the data storage 66 so that the transport stream 52 is accumulated from the head of the packet. Thereafter, the state of the write permission signal 55 remains valid. In the same manner as the synchronous code detector 54, the synchronous code detector 56 outputs the divided clock 6 from the clock frequency divider 59.
The transport stream 53 output in synchronization with 0 is analyzed, and the head of the packet is found by detecting the synchronization code in the transport stream 53.
When the head of the packet is found, the write enable signal 57 is switched from invalid to valid, output to the data storage 67, and the transport stream 5 is transferred from the head of the packet.
3 is accumulated. Thereafter, the state of the write permission signal 57 remains valid. The data accumulator 66 writes and accumulates the transport stream 52 output from the encoder 50 in synchronization with the divided clock 60 from the clock divider 59. At this time, the transport stream 52 is not written unless the write permission signal 55 output from the synchronization code detector 54 is in a valid state.
That is, by writing after the write permission signal 55 becomes valid, the head of the accumulated data coincides with the head position of the packet.

【0009】また、蓄積されたトランスポートストリー
ム52の読み出しは、伝送クロック58に同期して行わ
れる。 ここで、パケット選択信号発生器63から出力
されたパケット選択信号64が無効であった場合は、ト
ランスポートストリーム52を蓄積したまま出力しな
い。 そして、パケット選択信号64が有効になると、
データ蓄積器66は蓄積したトランスポートストリーム
52を出力する。なお、前述のように、パケット選択信
号64が切り替わる間隔は、パケット長と等しい長さで
あるため、蓄積データ出力の切り換え間隔は、パケット
長を最小とした長さを単位として行われる。データ蓄積
器67もデータ蓄積器66と同様にして、エンコーダ5
1から出力されたトランスポートストリーム53を、ク
ロック分周器59からの分周クロック60に同期して書
き込み蓄積する。 ここで、同期コード検出器56から
出力された書き込み許可信号57が有効の状態でない
と、トランスポートストリーム53を書き込まず、書き
込み許可信号57が有効になってから書き込む。また、
蓄積されたトランスポートストリーム53の読み出し
は、伝送クロック58に同期して行われる。 ここで、
パケット選択信号発生器63から出力されたパケット選
択信号65が無効であった場合は、トランスポートスト
リーム53を蓄積したまま出力しない。 そして、パケ
ット選択信号65が有効になると、データ蓄積器67は
蓄積したトランスポートストリーム53を出力する。こ
のようにして、データ蓄積器66とデータ蓄積器67か
ら交互に出力されたトランスポートストリーム68は、
伝送クロック58と共に伝送路69に送られ、伝送され
る。ここで、トランスポートストリーム68の出力デー
タレートは、全てのデータ蓄積器において、データレー
ト変換処理によりトランスポートストリームデータの入
力データレートの2倍になっている。 すなわち、各エ
ンコーダが出力するトランスポートストリームデータの
2倍のデータレートで、伝送路69に対して多重化され
たトランスポートストリーム68が出力されている。
The reading of the stored transport stream 52 is performed in synchronization with the transmission clock 58. Here, when the packet selection signal 64 output from the packet selection signal generator 63 is invalid, the transport stream 52 is not output while being stored. Then, when the packet selection signal 64 becomes valid,
The data storage 66 outputs the stored transport stream 52. As described above, the switching interval of the packet selection signal 64 is equal to the packet length. Therefore, the switching interval of the stored data output is performed in units of the minimum packet length. The data storage 67 is the same as the data storage 66, and
The transport stream 53 output from 1 is written and stored in synchronization with the divided clock 60 from the clock divider 59. Here, unless the write permission signal 57 output from the synchronization code detector 56 is in a valid state, the transport stream 53 is not written, and the write is performed after the write permission signal 57 becomes valid. Also,
Reading of the stored transport stream 53 is performed in synchronization with the transmission clock 58. here,
When the packet selection signal 65 output from the packet selection signal generator 63 is invalid, the transport stream 53 is not output while being stored. Then, when the packet selection signal 65 becomes valid, the data storage 67 outputs the stored transport stream 53. In this manner, the transport stream 68 alternately output from the data storage 66 and the data storage 67 is
The signal is transmitted to the transmission line 69 together with the transmission clock 58 and transmitted. Here, the output data rate of the transport stream 68 is twice as high as the input data rate of the transport stream data in all data accumulators due to the data rate conversion process. That is, the transport stream 68 multiplexed to the transmission path 69 is output at a data rate twice as high as the transport stream data output from each encoder.

【0010】次に、トランスポートストリーム分離部R
x'の構成と動作について説明する。トランスポートスト
リーム分離部Rx'は、伝送路69からトランスポートス
トリーム70を入力し、そのままトランスポートストリ
ーム70を、デコーダ72,73へ出力する。デコーダ
72,73では、トランスポートストリーム70中から
同期コードを検出し、必要なパケットのみを取り込んで
データを伸張する。前述の様に、トランスポートストリ
ーム多重部Tx'で、エンコーダ50,51のトランスポ
ートストリームデータが、パケット単位で交互に多重化
されているため、エンコーダ50から出力されたトラン
スポートストリーム52だけに注目すると、パケット長
と同じ長さだけ連続して出力された後、さらに同じ長さ
だけトランスポートストリーム52が来ないということ
を繰り返す。即ち、エンコーダ50が発生したトランス
ポートストリーム52を、トランスポートストリーム分
離部Rx'のデコーダ側から見ると、エンコーダ50のト
ランスポートストリーム52のデータレートの2倍であ
る、伝送路69と同じデータレートでトランスポートス
トリーム52が入力され続けた後、しばらくトランスポ
ートストリーム52が消え、またトランスポートストリ
ーム52が入力されるように見える。 これは、データ
レート変換処理により2倍の伝送速度になっているため
である。従って、デコーダ72,73は、エンコーダ5
0がトランスポートストリーム52を発生する速度の2
倍の速度でトランスポートストリーム70を取り込み、
同期コードを検出する処理を行なわなければならない。
Next, the transport stream separation unit R
The configuration and operation of x 'will be described. The transport stream separating unit Rx ′ receives the transport stream 70 from the transmission path 69 and outputs the transport stream 70 to the decoders 72 and 73 as it is. The decoders 72 and 73 detect a synchronization code from the transport stream 70 and take in only necessary packets to expand the data. As described above, since the transport stream data of the encoders 50 and 51 are alternately multiplexed in the transport stream multiplexing unit Tx ′ in packet units, only the transport stream 52 output from the encoder 50 is focused. Then, after continuously outputting the same length as the packet length, it repeats that the transport stream 52 does not come again by the same length. That is, when the transport stream 52 generated by the encoder 50 is viewed from the decoder side of the transport stream separation unit Rx ′, the same data rate as the transmission path 69, which is twice the data rate of the transport stream 52 of the encoder 50, After the transport stream 52 has been continuously input in step (1), the transport stream 52 disappears for a while, and the transport stream 52 appears to be input. This is because the transmission rate is doubled by the data rate conversion processing. Therefore, the decoders 72, 73
0 is the speed at which the transport stream 52 is generated.
Captures the transport stream 70 at twice the speed,
Processing for detecting the synchronization code must be performed.

【0011】3つ以上のトランスポートストリームを多
重する場合も同様に、データレート変換処理を行うが、
2つのトランスポートストリームの多重方法と異なるの
は、3つのトランスポートストリームを多重する場合は
データレートを3倍に、4つのトランスポートストリー
ムを多重する場合はデータレートを4倍にしないと、パ
ケット間に隙間の無いトランスポートストリームを生成
することが出来なくなることである。従って、このデー
タレート変換処理においては、1パケットの長さを、3
つのトランスポートストリームなら3分の1、4つのト
ランスポートストリームなら4分の1に縮める必要があ
る。例えば、あるエンコーダが発生するトランスポート
ストリームが15MHzのクロックに同期したデータレ
ートである場合、このトランスポートストリームと同じ
データレートのトランスポートストリームを集めて、4
つのトランスポートストリームを多重して伝送しようと
すると、15MHzの4倍である60MHzの伝送クロ
ックに同期して伝送しなければならないことになる。つ
まり、トランスポートストリーム分離部の全てのデコー
ダは、パケットの先頭を検出するために、60MHzの
伝送クロックに同期したトランスポートストリームデー
タを取り込み処理する必要がある。しかし、一般に普及
しているデコーダでは、各エンコーダが発生するトラン
スポートストリームデータの4倍のデータレートでトラ
ンスポートストリーム多重部が出力したトランスポート
ストリームデータを取り込み、パケットの先頭を検出す
るだけの処理能力を持っておらず、使用できないことが
ある。これは、通常のエンコーダとデコーダの接続形態
が、1対1を想定しており、デコーダにこれだけのデー
タレートによるデータ処理能力を要求していないためで
ある。 そのため、複数のトランスポートストリームを
多重する場合、一般に使用されているデコーダよりも処
理能力が高い、特別なデコーダが必要となってしまう。
Similarly, when multiplexing three or more transport streams, data rate conversion processing is performed.
The difference from the method of multiplexing two transport streams is that the data rate must be tripled when multiplexing three transport streams, and the data rate must be quadrupled when multiplexing four transport streams. That is, it is impossible to generate a transport stream having no gap between them. Therefore, in this data rate conversion processing, the length of one packet is set to 3
One transport stream needs to be reduced to one third, and four transport streams need to be reduced to one fourth. For example, when a transport stream generated by a certain encoder has a data rate synchronized with a clock of 15 MHz, transport streams having the same data rate as this transport stream are collected and collected.
If one transport stream is to be multiplexed and transmitted, it must be transmitted in synchronization with a transmission clock of 60 MHz, which is four times 15 MHz. That is, all the decoders of the transport stream separation unit need to fetch and process the transport stream data synchronized with the 60 MHz transmission clock in order to detect the head of the packet. However, a generally used decoder takes in the transport stream data output by the transport stream multiplexing unit at a data rate four times that of the transport stream data generated by each encoder, and only detects the beginning of a packet. You may not be able to use it because you do not have the ability. This is because the connection form between the normal encoder and the decoder is assumed to be one-to-one, and the decoder does not require data processing capability at such a data rate. Therefore, when multiplexing a plurality of transport streams, a special decoder having higher processing capability than a generally used decoder is required.

【0012】[0012]

【発明が解決しようとする課題】複数のエンコーダから
出力されるトランスポートストリームデータをトランス
ポートストリーム多重部で多重して伝送路へ出力する場
合に、受信側のトランスポートストリーム分離部に接続
されたデコーダでは、1台のエンコーダから出力される
トランスポートストリームのデータレートの数倍のデー
タレートで入力されたデータに対し、パケットの先頭を
検出する処理を行なわねばならず、一般に普及している
デコーダでは、そのような高いデータレートのトランス
ポートストリームを処理することが出来ない。本発明は
これらの欠点を除去し、複数のトランスポートストリー
ムを多重する場合にも、各エンコーダ・デコーダが扱う
圧縮データの伝送速度を下げることができ、高いデータ
レートを処理することの出来ないシステムにも対応でき
る圧縮データ多重化装置の実現を目的とするものであ
る。
In the case where transport stream data output from a plurality of encoders is multiplexed by a transport stream multiplexing unit and output to a transmission path, the data is connected to a transport stream separating unit on the receiving side. The decoder must detect the head of the packet for data input at a data rate several times the data rate of the transport stream output from one encoder. Cannot handle such a high data rate transport stream. The present invention eliminates these drawbacks, and can reduce the transmission speed of compressed data handled by each encoder / decoder even when multiplexing a plurality of transport streams, and cannot process a high data rate. It is an object of the present invention to realize a compressed data multiplexing apparatus that can cope with the above.

【0013】[0013]

【課題を解決するための手段】本発明は上記目的を達成
するため、送信側で複数のトランスポートストリームを
多重化して伝送し、受信側で受信した当該多重化された
トランスポートストリームから上記複数のトランスポー
トストリームを分離して再生するデータ伝送において、
上記複数のトランスポートストリームを多重化する際、
所定のデータ長を単位として上記複数のトランスポート
ストリームを多重化するようにしたものである。また、
入力された複数のトランスポートストリームに含まれる
各同期コードに基づき、当該複数のトランスポートスト
リームの各同期コード及び各データを、多重化の順序に
従い所定のデータ長を単位として配列・多重し、送出す
るようにしたものである。さらに、受信側で受信した上
記多重化されたトランスポートストリームから、上記各
トランスポートストリームの同期コード出現順序を検出
し、これに基づき上記複数のトランスポートストリーム
を分離、再生するようにしたものである。即ち、複数の
エンコーダから出力されるトランスポートストリームデ
ータを多重化する際、1つのデータを1単位としてデー
タを分割し多重することにより、1つのトランスポート
ストリームのデータのみに注目すると、データの出現す
る速度が伝送クロックよりも低い速度に見えることで、
あたかも低いデータレートのように見せる。これによ
り、実際の伝送路でのデータレートよりも低いデータレ
ートしか処理できないデコーダでも接続できるようにな
る。即ち、送信側は各チャンネルのデータを1データ毎
に交互に多重して伝送し、受信側は伝送クロックを分周
したクロックにより、伝送データより各チャンネルの圧
縮データを取り出す。その結果、各エンコーダ、デコー
ダで取り扱われる圧縮データの伝送速度は、遅いものと
なり、高いデータレートを扱うことの出来ないシステム
にも対応できるようになる。
According to the present invention, in order to achieve the above object, a plurality of transport streams are multiplexed and transmitted on a transmitting side, and the plurality of transport streams are received from a multiplexed transport stream received on a receiving side. In data transmission that separates and reproduces the transport stream of
When multiplexing the plurality of transport streams,
The plurality of transport streams are multiplexed in units of a predetermined data length. Also,
Based on the synchronization codes included in the plurality of input transport streams, the synchronization codes and the data of the plurality of transport streams are arranged and multiplexed in units of a predetermined data length according to the multiplexing order, and transmitted. It is something to do. Further, from the multiplexed transport stream received on the receiving side, the synchronization code appearance order of each transport stream is detected, and based on this, the plurality of transport streams are separated and reproduced. is there. That is, when multiplexing the transport stream data output from a plurality of encoders, the data is divided and multiplexed with one data as a unit. Speed is lower than the transmission clock,
Make it look like a low data rate. As a result, a decoder that can process only a data rate lower than the data rate on the actual transmission path can be connected. That is, the transmitting side alternately multiplexes the data of each channel for each data and transmits the data, and the receiving side extracts the compressed data of each channel from the transmission data using a clock obtained by dividing the transmission clock. As a result, the transmission speed of the compressed data handled by each encoder and decoder becomes slow, and the system can cope with a system that cannot handle a high data rate.

【0014】[0014]

【発明の実施の形態】以下、本発明に基づく圧縮データ
多重化装置の一実施例の構成を図1に示し、詳細に説明
する。 これは、2つのトランスポートストリームを多
重化して伝送する場合のトランスポートストリーム多重
分離回路の構成例である。トランスポートストリーム多
重分離回路は、送信側を構成するトランスポートストリ
ーム多重部Txと受信側を構成するトランスポートスト
リーム分離部Rxからなる。トランスポートストリーム
多重部Txには、入力側にエンコーダ1,2が接続さ
れ、伝送クロック6が入力されている。 また、出力側
には伝送路15が接続され、トランスポートストリーム
24と伝送クロック6が出力される。トランスポートス
トリーム分離部Rxには、入力側に伝送路15が接続さ
れ、出力側にデコーダ17,18が接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration of an embodiment of a compressed data multiplexing apparatus according to the present invention is shown in FIG. 1 and will be described in detail below. This is a configuration example of a transport stream demultiplexing circuit in a case where two transport streams are multiplexed and transmitted. The transport stream demultiplexing circuit includes a transport stream multiplexing unit Tx forming the transmitting side and a transport stream demultiplexing unit Rx forming the receiving side. Encoders 1 and 2 are connected to the input side of the transport stream multiplexing unit Tx, and a transmission clock 6 is input thereto. The transmission line 15 is connected to the output side, and the transport stream 24 and the transmission clock 6 are output. To the transport stream separation unit Rx, the transmission line 15 is connected to the input side, and the decoders 17 and 18 are connected to the output side.

【0015】まず、トランスポートストリーム多重部T
xの構成と動作について説明する。トランスポートスト
リーム多重部Txは、エンコーダ1,2、クロック分周
器7、データ選択信号発生器10、データ蓄積器9、同
期コード検出器5、データ選択器14からなる。クロッ
ク分周器7は、トランスポートストリーム多重部Txの
外部から入力した伝送クロック6を分周して、より低い
周波数の分周クロック8を生成し、エンコーダ1,2、
データ蓄積器9へ出力する。 例えば、2つのトランス
ポートストリームを多重する場合には、伝送クロック6
を2分周して半分の周波数の分周クロック8を出力す
る。データ選択信号発生器10はトランスポートストリ
ーム多重部Txの外部から伝送クロック6を入力し、デ
ータ選択信号12をデータ選択器14へ出力する。デー
タ選択信号12は、伝送クロック6と同期して切り換わ
る。 これは、トランスポートストリームを構成するデ
ータ1つに相当する単位で切り換わることと等価であ
る。データ選択器14は、複数のエンコーダ(1,2)か
ら入力したトランスポートストリームを、データ選択信
号12に応じて切り換えることで、1つのトランスポー
トストリームだけを選択し伝送路15へ出力する。 こ
こで個々のトランスポートストリームを選択する割合
は、全てのトランスポートストリームにおいて等しい割
合になるようにする。 即ち、2つのトランスポートス
トリームを多重する場合、それぞれを同じ割合で選択す
るには、2つのトランスポートストリームを伝送クロッ
ク6に同期して交互に選択するのが、同じ割合での切換
えを実現するのに最も容易な方法である。
First, the transport stream multiplexing unit T
The configuration and operation of x will be described. The transport stream multiplexing unit Tx includes encoders 1 and 2, a clock divider 7, a data selection signal generator 10, a data storage 9, a synchronization code detector 5, and a data selector 14. The clock frequency divider 7 divides the frequency of the transmission clock 6 input from outside the transport stream multiplexing unit Tx to generate a frequency-divided clock 8 having a lower frequency.
Output to the data storage 9. For example, when multiplexing two transport streams, the transmission clock 6
Is divided by 2 to output a frequency-divided clock 8 having a half frequency. The data selection signal generator 10 receives the transmission clock 6 from outside the transport stream multiplexing unit Tx and outputs a data selection signal 12 to the data selector 14. The data selection signal 12 switches in synchronization with the transmission clock 6. This is equivalent to switching in units corresponding to one data constituting the transport stream. The data selector 14 selects only one transport stream and outputs it to the transmission path 15 by switching the transport streams input from the plurality of encoders (1, 2) according to the data selection signal 12. Here, the rate at which individual transport streams are selected is set to be equal for all transport streams. That is, when two transport streams are multiplexed, selecting the two transport streams alternately in synchronization with the transmission clock 6 in order to select them at the same rate realizes switching at the same rate. The easiest way to do that.

【0016】同期コード検出器5は、エンコーダ1がク
ロック分周器7からの分周クロック8に同期して出力し
たトランスポートストリーム3と、エンコーダ2がクロ
ック分周器7からの分周クロック8に同期して出力した
トランスポートストリーム4とを解析して、双方のトラ
ンスポートストリームから同期コードを検出する。同期
コード検出器5で同期コードを検出すると、トランスポ
ートストリーム3の同期コード位置を基準にしてトラン
スポートストリーム4の同期コード位置を合わせて出力
するための読み出し許可信号11をデータ蓄積器9へ出
力する。この読み出し許可信号11についての詳細は、
データ蓄積器9の説明と併せて説明する。データ蓄積器
9は、エンコーダ2から出力されたトランスポートスト
リーム4を、クロック分周器7からの分周クロック8に
同期して書き込み蓄積する。またデータ蓄積器9は、同
期コード検出器5から読み出し許可信号11が出力され
るまで、ここに蓄積されたトランスポートストリーム4
を出力しない。読み出し許可信号11が有効になると、
データ蓄積器9に蓄積されたトランスポートストリーム
13が出力され始める。読み出し許可信号11の出力タ
イミングは、伝送クロック6を基準にして見ると、エン
コーダ1から出力されたトランスポートストリーム3の
同期コードが、データ選択器14に入力された次のクロ
ックで、トランスポートストリーム4の同期コードがデ
ータ選択器14に入力されるタイミングとなるよう読み
出し許可信号11を出力する。 すなわち、トランスポ
ートストリーム4の同期コードがエンコーダ2から出力
されてから、トランスポートストリーム3の同期コード
がエンコーダ1から出力されるまでのデータ数だけ、ト
ランスポートストリーム4をデータ蓄積器9に蓄積して
トランスポートストリーム4の同期コード出力タイミン
グを遅らせているわけである。これにより、データ選択
器14では、データ選択信号発生器10からのデータ選
択信号12に応じて、入力された複数のトランスポート
ストリームを切り換えて伝送路15へ出力する。 例え
ば、2つのトランスポートストリームを多重する場合、
データ選択信号12に合わせて交互に2つのトランスポ
ートストリームを切り換えて伝送路15へ出力する。前
述の様に、2つのトランスポートストリームを多重する
場合、伝送クロック6に同期して1データごとに交互に
選択するのが最も簡単な方法であり、伝送路15へ出力
されるトランスポートストリーム24は、トランスポー
トストリーム3と4が1データ毎に交互に多重されるこ
とになる。
The synchronous code detector 5 includes a transport stream 3 output from the encoder 1 in synchronization with the frequency-divided clock 8 from the clock frequency divider 7, and the encoder 2 outputs the frequency-divided clock 8 from the clock frequency divider 7. The transport stream 4 output in synchronization with the transport stream 4 is analyzed, and a synchronization code is detected from both transport streams. When the synchronization code is detected by the synchronization code detector 5, a read permission signal 11 for outputting the synchronization code position of the transport stream 4 based on the synchronization code position of the transport stream 3 is output to the data storage 9. I do. For details of the read permission signal 11,
This will be described together with the description of the data storage 9. The data accumulator 9 writes and accumulates the transport stream 4 output from the encoder 2 in synchronization with the divided clock 8 from the clock divider 7. Further, the data storage 9 stores the transport stream 4 stored therein until the read permission signal 11 is output from the synchronization code detector 5.
Is not output. When the read permission signal 11 becomes valid,
The transport stream 13 stored in the data storage 9 starts to be output. When the output timing of the read permission signal 11 is viewed on the basis of the transmission clock 6, the synchronization code of the transport stream 3 output from the encoder 1 is the next clock input to the data selector 14. The read permission signal 11 is output so that the timing at which the synchronization code of No. 4 is input to the data selector 14. That is, the transport stream 4 is stored in the data storage 9 by the number of data from when the synchronization code of the transport stream 4 is output from the encoder 2 to when the synchronization code of the transport stream 3 is output from the encoder 1. That is, the synchronization code output timing of the transport stream 4 is delayed. As a result, the data selector 14 switches the plurality of input transport streams and outputs them to the transmission path 15 in accordance with the data selection signal 12 from the data selection signal generator 10. For example, when multiplexing two transport streams,
The two transport streams are alternately switched according to the data selection signal 12 and output to the transmission path 15. As described above, when multiplexing two transport streams, the simplest method is to alternately select every one data in synchronization with the transmission clock 6, and the transport stream 24 output to the transmission path 15 is selected. Means that transport streams 3 and 4 are alternately multiplexed for each data.

【0017】次に、この様なトランスポートストリーム
多重部Txにより、トランスポートストリーム3と4の
2つのトランスポートストリームが多重化される場合を
例にとり、図6を用いて説明する。トランスポートスト
リーム3は、同期コード81と、A1からA(n−1)ま
での(n−1)個のデータからなる合計n個で1パケット
を構成するトランスポートストリームである。 トラン
スポートストリーム4も同様に、同期コード83とB1
からB(n−1)までの(n−1)個のデータからなる合計
n個で1パケットを構成するトランスポートストリーム
である。この2つのトランスポートストリームは、クロ
ック分周器7で伝送クロック6を2分周して作った分周
クロック8に同期して各エンコーダから出力されている
ため、伝送クロック6の2クロックに対し1つのデータ
となる。データ選択器14より出力されるデータ選択信
号12は、前述トランスポートストリーム多重部化xの
構成例でも説明したように、トランスポートストリーム
3とトランスポートストリーム4を1データごとに交互
に多重するために、伝送クロック6の1クロックごとに
変化する。例えば、データ選択信号12が高(H)レベル
の時にトランスポートストリーム3を選択し、低(L)レ
ベルの時にトランスポートストリーム4を選択するよう
にデータ選択器14が動作した場合の多重されたトラン
スポートストリーム24の内容は、同期コード81、同
期コード83、データA1,B1,A2,B2,……,A(n
-1)、B(n-1)という順序に並ぶ、合計2n個のデータ列
となる。この時、同期コード部分の配列順序は、エンコ
ーダ1から出力されたトランスポートストリーム3の同
期コード81の次に、エンコーダ2から出力されたトラ
ンスポートストリーム4の同期コード83が並ぶことが
必須である。 この順序は、トランスポートストリーム
分離部Rxで、トランスポートストリーム16を分離す
る際に重要となる。
Next, a case where two transport streams of transport streams 3 and 4 are multiplexed by such a transport stream multiplexing unit Tx will be described with reference to FIG. The transport stream 3 is a transport stream that constitutes one packet with a total of n pieces including the synchronization code 81 and (n-1) pieces of data from A1 to A (n-1). Similarly, the transport stream 4 has the synchronization code 83 and B1
This is a transport stream that forms one packet with a total of n pieces of (n-1) pieces of data from (n) to B (n-1). These two transport streams are output from each encoder in synchronization with a divided clock 8 generated by dividing the transmission clock 6 by 2 by the clock divider 7. It becomes one data. The data selection signal 12 output from the data selector 14 is used for alternately multiplexing the transport stream 3 and the transport stream 4 for each data as described in the configuration example of the transport stream multiplexing unit x. Then, it changes every clock of the transmission clock 6. For example, when the data selector 14 operates to select the transport stream 3 when the data selection signal 12 is at the high (H) level and to select the transport stream 4 when the data selection signal 12 is at the low (L) level, the multiplexed data is used. The contents of the transport stream 24 include a synchronization code 81, a synchronization code 83, data A1, B1, A2, B2,.
-1) and B (n-1) in order, resulting in a total of 2n data strings. At this time, the arrangement order of the synchronization code portion is that the synchronization code 81 of the transport stream 4 output from the encoder 2 must follow the synchronization code 81 of the transport stream 3 output from the encoder 1. . This order is important when the transport stream separation unit Rx separates the transport stream 16.

【0018】次に、トランスポートストリーム分離部R
xの構成と動作について説明する。トランスポートスト
リーム分離部Rxは、同期コード検出器19、クロック
分周器20、デコーダ17,18からなる。同期コード
検出器19は、トランスポートストリーム多重部Txの
同期コード検出器5と同様の機能を持ち、伝送路15か
ら入力される多重化されたトランスポートストリーム1
6を解析し、トランスポートストリーム16中の同期コ
ードを検出する。 前述したようにトランスポートスト
リーム多重部Txで多重化されたトランスポートストリ
ーム24は、複数のトランスポートストリームの同期コ
ードが連続しており、どの順序で同期コードが並んでい
るかを調べれば、どのエンコーダが出力したトランスポ
ートストリームの同期コードなのかが、分かるようにな
っている。 そして同期コード検出器19は、この連続
した同期コードを検出すると、所定の位置でリセット信
号25を出力する。クロック分周器20は、伝送路15
から入力した伝送クロック21を分周し、より低い周波
数のクロック信号を生成する。ここで、2つのトランス
ポートストリームを多重する場合には、伝送クロック2
1を2分周して半分の周波数の分周クロック信号を生成
し、分周クロック22をデコーダ17へ、分周クロック
23をデコーダ18へ出力する。クロック分周器20
は、同期コード検出器19からリセット信号25が入力
されると、多重されたトランスポートストリーム16の
中の同期コード81をデコーダ17で取り込むことが出
来るタイミングになるよう分周クロック22を出力す
る。 同様にリセット信号25の入力により、トランス
ポートストリーム16の中の同期コード83をデコーダ
18で取り込むことが出来るタイミングになるよう分周
クロック23を出力する。
Next, the transport stream separating unit R
The configuration and operation of x will be described. The transport stream separation unit Rx includes a synchronization code detector 19, a clock frequency divider 20, and decoders 17 and 18. The synchronization code detector 19 has the same function as the synchronization code detector 5 of the transport stream multiplexing unit Tx, and multiplexes the transport stream 1 input from the transmission path 15.
6 is analyzed, and a synchronization code in the transport stream 16 is detected. As described above, in the transport stream 24 multiplexed by the transport stream multiplexing unit Tx, if the synchronization codes of a plurality of transport streams are continuous and it is determined in which order the synchronization codes are arranged, it is possible to determine which encoder Can be recognized as a synchronization code of the transport stream output by the. When detecting the continuous synchronization code, the synchronization code detector 19 outputs a reset signal 25 at a predetermined position. The clock divider 20 is connected to the transmission path 15
Divides the frequency of the transmission clock 21 input from the controller, and generates a clock signal having a lower frequency. Here, when multiplexing two transport streams, the transmission clock 2
1 is divided by 2 to generate a divided clock signal having a half frequency, and the divided clock 22 is output to the decoder 17 and the divided clock 23 is output to the decoder 18. Clock divider 20
When the reset signal 25 is input from the sync code detector 19, the decoder 17 outputs the frequency-divided clock 22 so that the decoder 17 can take in the sync code 81 in the multiplexed transport stream 16. Similarly, when the reset signal 25 is input, the frequency-divided clock 23 is output so that the timing at which the decoder 18 can capture the synchronization code 83 in the transport stream 16 is obtained.

【0019】3つ以上のトランスポートストリームを多
重した場合も同様に、連続した同期コードの位置から対
応するデコーダを判断し、そのデコーダで同期コードを
取り込めるようなタイミングの分周クロックを出力す
る。 全ての分周クロック出力は、一定の間隔で繰り返
えされるため、同じ一定の間隔で多重された1つのトラ
ンスポートストリームのデータを、連続して1つの対応
するデコーダで取り込むことが出来る。これらの複数の
分周クロックの内の1つに注目すると、一定の間隔でク
ロック分周器から出力されており、その分周クロックが
接続されたデコーダから見れば、多重されたトランスポ
ートストリームから取り出すべきトランスポートストリ
ームデータも一定の間隔をおいて出現する。つまり、送
信側のトランスポートストリーム多重部Txで多重する
前のエンコーダが出力したトランスポートストリームデ
ータと同じデータレートになる。従って、デコーダ1
7,18のトランスポートストリーム取り込みでは、伝
送路のデータのような高いデータレートのデータを処理
する能力は必要ない。また、この構成では、送信側と受
信側にデータレート変換のためのデータ蓄積器を持つ必
要がなく、同期コードの位置を合わせるためのデータ蓄
積器を1つ用意するだけで済むため、回路構成が簡単に
なる。
Similarly, when three or more transport streams are multiplexed, the corresponding decoder is determined from the position of the continuous synchronization code, and a frequency-divided clock having a timing such that the decoder can capture the synchronization code is output. Since all frequency-divided clock outputs are repeated at regular intervals, data of one transport stream multiplexed at the same regular intervals can be continuously captured by one corresponding decoder. Paying attention to one of these divided clocks, the clock is output from the clock divider at regular intervals, and from the viewpoint of the decoder to which the divided clock is connected, the multiplexed transport stream is Transport stream data to be taken out also appears at regular intervals. That is, the data rate is the same as the transport stream data output by the encoder before being multiplexed by the transport stream multiplexing unit Tx on the transmission side. Therefore, decoder 1
The transport stream capture of 7, 18 does not require the ability to process high data rate data such as data on a transmission path. Further, in this configuration, there is no need to have a data storage for data rate conversion on the transmission side and the reception side, and only one data storage for adjusting the position of the synchronization code is required. Becomes easier.

【0020】[0020]

【発明の効果】以上説明した様に本発明の構成を用いれ
ば、複数のトランスポートストリームを多重しても従来
のトランスポートストリーム多重のように高いデータレ
ートをデコーダで処理する必要がなく、回路構成も簡単
な圧縮データ多重化装置を実現出来る。
As described above, when the structure of the present invention is used, even if a plurality of transport streams are multiplexed, it is not necessary to process a high data rate by a decoder unlike the conventional transport stream multiplexing. A compressed data multiplexing apparatus having a simple configuration can be realized.

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

【図1】本発明の圧縮データ多重化装置を実現する一実
施例のブロック図
FIG. 1 is a block diagram of one embodiment for realizing a compressed data multiplexing device of the present invention.

【図2】一般的なトランスポートストリームとパケット
の構造を示す図
FIG. 2 is a diagram showing a structure of a general transport stream and a packet;

【図3】トランスポートストリームのデータレート変換
前と変換後を示す図
FIG. 3 is a diagram showing before and after data rate conversion of a transport stream.

【図4】データレート変換処理によるパケットの挿入を
示す図
FIG. 4 is a diagram showing insertion of a packet by a data rate conversion process;

【図5】従来の圧縮データ多重化装置の構成を示すブロ
ック図
FIG. 5 is a block diagram showing a configuration of a conventional compressed data multiplexing device.

【図6】多重した2つのトランスポートストリームを示
す図
FIG. 6 is a diagram showing two multiplexed transport streams.

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

1,2:エンコーダ、3,4,16,24:トランスポ
ートストリーム、5,19:同期コード検出器、6,2
1:伝送クロック、7,20:クロック分周器、8,2
2,23:分周クロック、9:データ蓄積器、10:デ
ータ選択信号発生器、11:読み出し許可信号、12:
データ選択信号、13:蓄積トランスポートストリー
ム、14:データ選択器、15:伝送路、17,18:
デコーダ、25:リセット信号。
1, 2: Encoder, 3, 4, 16, 24: Transport stream, 5, 19: Synchronous code detector, 6, 2
1: transmission clock, 7, 20: clock divider, 8, 2
2, 23: frequency-divided clock, 9: data accumulator, 10: data selection signal generator, 11: read enable signal, 12:
Data selection signal, 13: stored transport stream, 14: data selector, 15: transmission line, 17, 18:
Decoder, 25: reset signal.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 7/24 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 7/24

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 送信側で複数のトランスポートストリー
ムを多重化して伝送し、受信側で受信した当該多重化さ
れたトランスポートストリームから上記複数のトランス
ポートストリームを分離して再生するデータ伝送方法に
おいて、上記複数のトランスポートストリームを多重化
する際、所定のデータ長を単位として上記複数のトラン
スポートストリームを多重化することを特徴とするデー
タ伝送方法。
1. A data transmission method for multiplexing and transmitting a plurality of transport streams on a transmission side and separating and reproducing the plurality of transport streams from the multiplexed transport stream received on a reception side. A method of multiplexing the plurality of transport streams, multiplexing the plurality of transport streams in units of a predetermined data length.
【請求項2】 請求項1記載のデータ伝送方法におい
て、入力された複数のトランスポートストリームに含ま
れる各同期コードに基づき、当該複数のトランスポート
ストリームの各同期コード及び各データを、多重化の順
序に従い所定のデータ長を単位として配列多重し、送出
することを特徴とするデータ伝送方法。
2. The data transmission method according to claim 1, wherein each synchronization code and each data of the plurality of transport streams are multiplexed based on each synchronization code included in the plurality of input transport streams. A data transmission method characterized by performing array multiplexing in units of a predetermined data length according to an order and transmitting the data.
【請求項3】 請求項1または2記載のデータ伝送方法
において、受信側で受信した上記多重化されたトランス
ポートストリームから上記各トランスポートストリーム
の同期コードの出現順序を検出し、これに基づき上記複
数のトランスポートストリームを分離、再生することを
特徴とするデータ伝送方法。
3. The data transmission method according to claim 1, wherein an appearance order of synchronization codes of each of the transport streams is detected from the multiplexed transport stream received at a receiving side, and based on the detected order. A data transmission method comprising separating and reproducing a plurality of transport streams.
【請求項4】 送信側で複数のトランスポートストリー
ムを多重化して伝送し、受信側で受信した当該多重化さ
れたトランスポートストリームから上記複数のトランス
ポートストリームを分離して再生するデータ伝送装置に
おいて、送信側に、上記複数のトランスポートストリー
ムを多重化する際、所定長のデータを単位として上記複
数のトランスポートストリームを多重化するデータ多重
手段を有することを特徴とするデータ伝送装置。
4. A data transmission apparatus for multiplexing and transmitting a plurality of transport streams on a transmitting side and separating and reproducing the plurality of transport streams from the multiplexed transport stream received on a receiving side. And a data transmission unit on the transmitting side for multiplexing the plurality of transport streams in units of data of a predetermined length when multiplexing the plurality of transport streams.
【請求項5】 請求項4に記載のデータ伝送装置におい
て、上記データ多重手段に、入力された複数のトランス
ポートストリームに含まれる各同期コードを検出する手
段と、当該検出タイミングで上記複数のトランスポート
ストリームの各同期コード及び各データを多重化の順序
に従って所定のデータ長を単位として配列多重化する手
段を有することを特徴とするデータ伝送装置。
5. The data transmission apparatus according to claim 4, wherein said data multiplexing means includes means for detecting each synchronization code included in the plurality of input transport streams, and said plurality of transformers at said detection timing. A data transmission device comprising means for array-multiplexing each synchronization code and each data of a port stream in units of a predetermined data length according to a multiplexing order.
【請求項6】 請求項4乃至5記載のデータ伝送装置に
おいて、受信側に、受信した上記多重化されたトランス
ポートストリームから上記各トランスポートストリーム
の同期コードの出現順序を検出する手段と、当該検出結
果に基づいて上記複数のトランスポートストリームを分
離し再生する手段を有することを特徴とするデータ伝送
装置。
6. The data transmission apparatus according to claim 4, wherein the receiving side detects, from the received multiplexed transport stream, an appearance order of synchronization codes of the respective transport streams, and A data transmission device comprising: means for separating and reproducing the plurality of transport streams based on a detection result.
JP35674999A 1999-12-16 1999-12-16 Data transmission method and its system Pending JP2001177487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35674999A JP2001177487A (en) 1999-12-16 1999-12-16 Data transmission method and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35674999A JP2001177487A (en) 1999-12-16 1999-12-16 Data transmission method and its system

Publications (1)

Publication Number Publication Date
JP2001177487A true JP2001177487A (en) 2001-06-29

Family

ID=18450587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35674999A Pending JP2001177487A (en) 1999-12-16 1999-12-16 Data transmission method and its system

Country Status (1)

Country Link
JP (1) JP2001177487A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012124907A (en) * 2011-12-28 2012-06-28 Thomson Licensing System and method for inserting sync bytes into transport packets

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012124907A (en) * 2011-12-28 2012-06-28 Thomson Licensing System and method for inserting sync bytes into transport packets

Similar Documents

Publication Publication Date Title
US6069902A (en) Broadcast receiver, transmission control unit and recording/reproducing apparatus
US6477204B1 (en) Video image decoding method and apparatus
US5781599A (en) Packet receiving device
KR100389950B1 (en) Methods and devices for passing compressed signals between devices receiving audio from superpackets, including timestamps and transport packets, and components in audio / video systems
US6081650A (en) Transport processor interface and video recorder/playback apparatus in a field structured datastream suitable for conveying television information
JP3666625B2 (en) Data recording method and data recording apparatus
CN101076121B (en) Stream generating apparatus, imaging apparatus, data processing apparatus and stream generating method
KR960036743A (en) Multiplexed compressed image / audio data decoding device
KR100633965B1 (en) Image switching device and image outputting devices
US5483538A (en) Audio frame synchronization for embedded audio demultiplexers
US8014452B2 (en) Format conversion circuit
RU2121235C1 (en) Device for formatting packetized digital data streams to transmit television information
EP0768010B1 (en) Transport processor interface and video recorder/playback apparatus for a digital television system
US20010006525A1 (en) System, method and apparatus for data transmission
JP2001177487A (en) Data transmission method and its system
EP0904585A2 (en) Recording of a digital information signal on a record carrier
EP0518644B1 (en) Videosignal multiplexing system
US20010053282A1 (en) Program recording/reproducing method and apparatus
JPH05236009A (en) Multi-medium multiplexing system
JP3019826B2 (en) Multimedia multiplex system
JP3052585B2 (en) Data transmitter and data receiver
EP1152612A2 (en) Multiplex data recording and reproducing apparatus and method for the same
US20020003942A1 (en) Reproducing device, medium, information aggregate, transmitting medium, and recording medium
KR100348262B1 (en) apparatus and method for storing/decoding of digital broadcasting data
KR100251451B1 (en) Converter for i/o rate and format