JPH0888615A - Signal multiplexer and multiplex signal demultiplexer - Google Patents

Signal multiplexer and multiplex signal demultiplexer

Info

Publication number
JPH0888615A
JPH0888615A JP7027876A JP2787695A JPH0888615A JP H0888615 A JPH0888615 A JP H0888615A JP 7027876 A JP7027876 A JP 7027876A JP 2787695 A JP2787695 A JP 2787695A JP H0888615 A JPH0888615 A JP H0888615A
Authority
JP
Japan
Prior art keywords
signal
synchronization
data
code
packet
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
JP7027876A
Other languages
Japanese (ja)
Inventor
Junichi Kimura
淳一 木村
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 Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7027876A priority Critical patent/JPH0888615A/en
Publication of JPH0888615A publication Critical patent/JPH0888615A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: To eliminate the need for an identification signal and to reduce the scale of the demultiplexer by automatically identifying a transport stream(TS)/a program stream(PS) which are disabled discrimination without other identification signal in the method employing the TS or the method employing the PS as the system to multiples audio and video data or the like. CONSTITUTION: The multiplexer (demultiplexer) is constituted of a circuit 101 detecting TS synchronization from a received multiplex signal, a circuit 104 detecting PS synchronization, and a changeover control circuit 103 identifying the PS/TS based on the result of two synchronization detecting circuit and switching any of them. Therefor, according to the constitution, an identification signal is not required the automatically identifying the TS/PS to reduce the scale of the multiplexer (demultiplexer) and the multiplex signal demultiplexer is realized with high flexibility by processing a code string in which the TS and PS are in existence in mixture.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は映像信号や音声音響信号
など、複数の情報が多重された符号列より所望の情報を
分離する多重信号分離装置および多重化装置に係わり、
特にデジタル放送あるいはケーブルテレビジョン等の映
像復号化装置・符号化装置あるいはデジタルビデオディ
スクなどの再生装置の音声音響映像信号の分離部分に適
用される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplexing signal demultiplexing device and a demultiplexing device for demultiplexing desired information from a code string in which a plurality of information such as video signals and audio-acoustic signals are multiplexed.
In particular, it is applied to an audio / audio video signal separation part of a video decoding device / encoding device such as digital broadcasting or cable television or a reproducing device such as a digital video disc.

【0002】[0002]

【従来の技術】映像信号や音響信号をデジタル化して圧
縮し蓄積あるいは伝送する検討が盛んに行われている。
一方、これら圧縮したデジタル信号を複数多重する検討
も行われている。複数の音響映像情報を多重する事によ
り、これら各個別の情報の相互の関連を明確化できた
り、伝送あるいは蓄積するときの管理が容易になった
り、受信端末の標準化が容易に図れるなどのメリットが
生じる。音響映像情報を多重する方式の代表的なもの
に、インターナショナル オーガニゼーション スタン
ダーダイゼーション(ISO)が標準化を行ったISO/IEC DIS
13818-1(94.6、通称MPEG2 systems)がある。MPEG2 s
ystemsの詳細については上記のISO/IEC DIS 13818-1に
詳しい説明が記載されているため、本説明ではこの概略
のみを説明する。
2. Description of the Related Art Studies have been actively conducted to digitize video signals and audio signals, compress them, and store or transmit them.
On the other hand, studies are being made to multiplex these compressed digital signals. By multiplexing multiple pieces of audiovisual information, it is possible to clarify the mutual relationship between these individual pieces of information, facilitate management during transmission or storage, and facilitate standardization of receiving terminals. Occurs. ISO / IEC DIS standardized by International Organization Standardization (ISO) is a typical method of multiplexing audiovisual information.
There is 13818-1 (94.6, also known as MPEG2 systems). MPEG2 s
Details of the ystems are described in detail in the above ISO / IEC DIS 13818-1. Therefore, only this outline will be described in this description.

【0003】MPEG2 systemsでは2つの多重法を規定し
ている。1つはトランスポート・ストリームもう1つは
プログラム・ストリームである。
MPEG2 systems specify two multiplexing methods. One is the transport stream and the other is the program stream.

【0004】図1はトランスポート・ストリーム(T
S)の構成を示した図である。TSは188バイトの固
定長パケットからなり、その先頭には16進数表示で4
7(以下16進数表示は0X47のように数字の先頭に
0Xをつけて表す。ここでビット単位に伝送蓄積する場
合は8ビットのバイトデータの最上位ビットから順に処
理する)のシンクバイト30―1〜3(同期用バイト)
がつけられている。各パケットの残りの187バイト
(31―1〜3)には音響あるいは映像などのデータの
一部がそのデータの種類を示す識別番号や、復号に必要
な情報などとともに格納されている。データの多重は1
88バイトのパケット毎に行い、受信側ではデータの種
類の識別番号を元に必要なデータを分離することができ
る。TS比較的短い固定長パケットにて構成されている
ため、エラー等による影響を少なくでき、また高速大量
のデータを数多く多重場合に有利である。一般には通信
や放送などの用途に用いられることが想定されている。
FIG. 1 shows a transport stream (T
It is a figure showing composition of S). The TS consists of a fixed-length packet of 188 bytes, and at the beginning of it is 4 in hexadecimal notation.
Sync byte 30 of 7 (hereinafter, hexadecimal notation is represented by adding 0X to the beginning of the number like 0X47. Here, when transmitting and accumulating in bit units, processing is performed in order from the most significant bit of 8-bit byte data) 1-3 (byte for synchronization)
Is attached. In the remaining 187 bytes (31-1 to 3) of each packet, a part of data such as audio or video is stored together with an identification number indicating the type of the data and information necessary for decoding. Data multiplexing is 1
This is performed for each 88-byte packet, and the receiving side can separate the required data based on the identification number of the data type. Since the TS is composed of a relatively short fixed length packet, the influence of an error or the like can be reduced, and it is advantageous when a large amount of high-speed data is multiplexed. Generally, it is assumed to be used for applications such as communication and broadcasting.

【0005】図2はプログラムストリーム(PS)の構
成を示した図である。PSは可変長のパックと呼ばれる
パケットからなり、パックの先頭には0X000001
BAで表される32ビットのパック・ヘッダ40―1〜
2が付加されている。ISO/IEC 13818で規定される符号
列ではパック・ヘッダ等の特殊な符号以外には0ビット
が23個以上連続することを禁止しているため、符号の
途中からデータ(ビット単位に並られバイトの区切りの
わからないデータの場合も含む)を読み出しても、一意
的にパックの先頭を識別することができる。パック・ヘ
ッダ以降(41―1〜2)には、1つあるいは複数のPE
Sパケットが格納され、1つのPESパケットには1つの音
響あるいは映像などのデータの一部が格納されている。
PESパケットは可変長のパケットであり、その長さやデ
ータの種類を示す識別番号や、復号に必要な情報などが
データと共に格納されている。全データの終了は0X0
000019からなる、MPEG program end codeにて通
知される。PSはTSに比べるとかなり長いパケットに
て構成されているため、パケットのヘッダの解析処理等
の処理量が少なく、また多重するデータも比較的少ない
ことが多い。このためソフトウェアによる廉価な多重信
号分離装置を構成することも可能である。一般には蓄積
やコンピュータ間のファイル転送などの用途に用いられ
ることが想定されている。そのため、全データの終了を
示す符号が厳密に定められている(TSでは特に定めら
れていない)。
FIG. 2 is a diagram showing the structure of a program stream (PS). The PS consists of packets called variable-length packs, and the pack starts with 0X000001.
32-bit pack header 40-1 represented by BA
2 is added. In the code string stipulated by ISO / IEC 13818, it is prohibited to have 23 or more consecutive 0 bits except for special codes such as pack headers, so data (from the bit unit to the byte unit) (Including the case of data whose delimiter is unknown) is read, the head of the pack can be uniquely identified. One or more PEs after the pack header (41-1 and 2)
S packets are stored, and one PES packet stores a part of data such as one audio or video.
The PES packet is a variable-length packet, and its length, an identification number indicating the type of data, and information necessary for decoding are stored together with the data. End of all data is 0X0
It is notified by an MPEG program end code composed of 000019. Since the PS is composed of packets that are considerably longer than the TS, the amount of processing such as packet header analysis processing is small, and the amount of multiplexed data is often relatively small. Therefore, it is possible to construct an inexpensive multiple signal demultiplexing device by software. Generally, it is assumed to be used for storage and file transfer between computers. Therefore, a code indicating the end of all data is strictly defined (TS does not specifically define).

【0006】図3に従来の多重信号分離装置の構成を示
す。図3の多重信号分離装置ではTSおよびPSの両方
の多重データを分離できる機能を持つ。
FIG. 3 shows the configuration of a conventional multiple signal demultiplexer. The multiplex signal separation device of FIG. 3 has a function of separating multiplex data of both TS and PS.

【0007】多重信号1はスイッチ2によりTSを処理
する回路あるいはPSを処理する回路のいずれかに入力
される。スイッチの切り替えは装置外部より指示され
る。指示はデータバス24、アドレス25、RW選択信
号26、外部IF20の状態通知信号27により行わ
れ、外部IF回路20は所定のアドレスに書き込まれた
信号を信号線21に出力しTSとPSの選択を行う。例
えば信号線21が1の時はTSが選択され、0の時はP
Sが選択される。信号線21は選択回路7にも入力さ
れ、分離後のデータの選択にも用いられる。
The multiplexed signal 1 is input to either a circuit for processing TS or a circuit for processing PS by the switch 2. Switching of the switch is instructed from outside the device. The instruction is given by the data bus 24, the address 25, the RW selection signal 26, and the status notification signal 27 of the external IF 20, and the external IF circuit 20 outputs the signal written at a predetermined address to the signal line 21 to select TS and PS. I do. For example, when the signal line 21 is 1, TS is selected, and when the signal line 21 is 0, P is selected.
S is selected. The signal line 21 is also input to the selection circuit 7 and is also used to select the separated data.

【0008】TS同期検出回路3に入力された多重信号
は、同回路にてシンクバイト(30―1〜3等)が検出
される。シンクバイトが検出され、同期が正しく確立し
た後は多重信号4が出力され、併せてシンクバイトのデ
ータのタイミングで同期を示すパルスを出力する同期信
号22が出力される。TS分離回路5では同期信号22
で示されるタイミングを元にパケット内部のデータを解
析し所望のデータを分離データ6―1〜nのうち指定さ
れた箇所に出力する。ここでnの値は装置の機能・構成
によってあらかじめ定められる値である。例えば最小限
の装置では音響信号と映像信号だけでよいためn=2と
なる。さらに多数の音響や映像あるはその他のデータを
同時に必要とする装置ではnは3以上の値となる。な
お、多重信号に多重されていた制御情報や復号に必要な
情報などは分離データ6―0に出力される。
In the multiplexed signal input to the TS synchronization detection circuit 3, sync bytes (30-1 to 3 etc.) are detected in the same circuit. After the sync byte is detected and the synchronization is correctly established, the multiplex signal 4 is output, and at the same time, the synchronization signal 22 that outputs the pulse indicating the synchronization at the timing of the data of the sync byte is output. In the TS separation circuit 5, the synchronization signal 22
The data inside the packet is analyzed on the basis of the timing indicated by and the desired data is output to the designated portion of the separated data 6-1 to n. Here, the value of n is a value predetermined according to the function / configuration of the device. For example, in the minimum device, n = 2 because only the audio signal and the video signal are required. In a device that requires a large number of audio, video or other data at the same time, n takes a value of 3 or more. The control information and the information necessary for decoding, which are multiplexed in the multiplexed signal, are output as the separated data 6-0.

【0009】PS同期検出回路13に入力された多重信
号は、同回路にてパックヘッダの同期信号(40―1〜
2等)が検出される。パック先頭が検出され、同期が正
しく確立した後は多重信号14が出力され、併せてパッ
ク先頭のデータのタイミングで同期を示すパルスを出力
する同期信号23が出力される。PS分離回路15では
同期信号23で示されるタイミングを元にパケット内部
のデータを解析し所望のデータを分離データ7―1〜n
のうち指定された箇所に出力する。多重信号に多重され
ていた制御情報や復号に必要な情報などは分離データ7
―0に出力される。
The multiplex signal input to the PS sync detection circuit 13 is the same as the sync signal (40-1 to 40-1) of the pack header.
2) is detected. After the pack head is detected and synchronization is correctly established, the multiplex signal 14 is output, and the sync signal 23 that outputs a pulse indicating synchronization at the timing of the data at the pack head is also output. The PS separation circuit 15 analyzes the data in the packet based on the timing indicated by the synchronization signal 23 and separates the desired data into the separated data 7-1 to n.
Output to the specified location. Separated data 7 is used for control information and information necessary for decoding that were multiplexed in the multiplexed signal.
Output to -0.

【0010】選択回路7ではTS分離回路5にて分離さ
れた分離データ6―1〜nとPS分離回路15にて分離
された分離データ7―1〜nのうち信号線21にて示さ
れるデータを分離データ8―1〜nへ出力する。併せ
て、分離データ6―0あるいは分離データ7―0の制御
情報を分離データ8―0として外部IF回路20へ出力
し、外部の制御機器からこれらの制御データを読み出せ
るようにする。
In the selection circuit 7, the data indicated by the signal line 21 out of the separation data 6-1 to n separated by the TS separation circuit 5 and the separation data 7-1 to n separated by the PS separation circuit 15. To the separated data 8-1 to n. At the same time, the control information of the separated data 6-0 or the separated data 7-0 is output to the external IF circuit 20 as the separated data 8-0 so that the control data can be read from an external control device.

【0011】図4にTS同期検出回路3の詳細図を示
す。入力された多重信号は一旦レジスタ40に格納され
た後比較回路42にて固定データ41(0X47:シン
クバイト符号)と比較される。一方、メモリ45は18
8ビットの容量からなるメモリであり、初期状態では全
ビットが1にセットされている。メモリ45のアドレス
信号57には188周期で入力データに同期して周期的
に動作するカウンタ56が接続されており、メモリ45
の内部の188ビットが順次アクセスされる。全体の回
路はカウンタ56の動作周波数の2倍すなわちデータの
入力周期半分の時間単位で動作する。データの入力周期
の前半部分ではメモリ45の書き込み信号51を禁止、
出力信号54を許可にすることによりメモリを読み出し
状態にする。そしてメモリ45から読み出されたデータ
はレジスタ47に格納される。データの入力周期の後半
部分ではメモリ45の書き込み信号51を一時的に許
可、出力信号54を禁止することによりメモリを書き込
み状態にする。レジスタ47に格納されたデータが先の
シンクバイトとの比較結果43とAND回路44にて比
較され、結果が信号線48に出力される。信号線48は
入力データがシンクバイトと一致し、しかもメモリ内の
対応するビットが1であるときに1となり、それ以外の
場合は0となる。信号線48は3ステートバッファ50
を介してメモリに書き込まれる。書き込まれるアドレス
は先に読み出したアドレスと同一である。制御回路55
は上記の動作をするようにメモリ書き込み信号51出力
信号54等を制御する。このような操作を繰り返すこと
により、メモリ45の188ビットのうち1ビットのみ
が1のまま残り、残りの187ビットは0となる。カウ
ンタ49は上記188ビットのうち1であるビットの個
数を係数する。すなわち制御回路55より、188周期
のうち固定のタイミングでリセット信号53を受け取
る。リセット信号を受け取るとカウンタ49は信号線4
8をカウンタ値の最下位ビットにロードし、残りのビッ
トは全て0にする。その後は信号線48が1の時のみカ
ウンタを歩進させる。このようにすることにより、次の
リセット信号が入力される直前の値が188周期中の1
の個数を表す。これが1になったときにTSのシンクバ
イトが検出され同期がとれた状態になる。これに同期し
て制御回路55は同期位置を示す信号22を出力する。
FIG. 4 shows a detailed view of the TS synchronization detection circuit 3. The input multiplexed signal is once stored in the register 40 and then compared with the fixed data 41 (0X47: sync byte code) in the comparison circuit 42. On the other hand, the memory 45 has 18
It is a memory having a capacity of 8 bits, and all bits are set to 1 in the initial state. The address signal 57 of the memory 45 is connected to a counter 56 that operates periodically in synchronization with input data in 188 cycles.
The 188 bits inside are sequentially accessed. The entire circuit operates in a unit of time that is twice the operating frequency of the counter 56, that is, half the data input period. In the first half of the data input cycle, the write signal 51 of the memory 45 is prohibited,
By allowing the output signal 54, the memory is brought into a read state. The data read from the memory 45 is stored in the register 47. In the latter half of the data input cycle, the write signal 51 of the memory 45 is temporarily permitted and the output signal 54 is prohibited to put the memory in the write state. The data stored in the register 47 is compared with the comparison result 43 with the previous sync byte in the AND circuit 44, and the result is output to the signal line 48. The signal line 48 is 1 when the input data coincides with the sync byte and the corresponding bit in the memory is 1, and 0 otherwise. The signal line 48 is a 3-state buffer 50.
Is written to the memory via. The written address is the same as the previously read address. Control circuit 55
Controls the memory write signal 51 output signal 54 and the like so as to perform the above operation. By repeating such an operation, only 1 bit of the 188 bits of the memory 45 remains 1 and the remaining 187 bits become 0. The counter 49 counts the number of 1 bits out of the 188 bits. That is, the reset signal 53 is received from the control circuit 55 at a fixed timing in 188 cycles. Upon receiving the reset signal, the counter 49 causes the signal line 4
8 is loaded into the least significant bit of the counter value and the remaining bits are all zeros. After that, the counter is incremented only when the signal line 48 is 1. By doing so, the value immediately before the next reset signal is input is 1 in 188 cycles.
Represents the number of When this becomes 1, the sync byte of the TS is detected and the synchronization is achieved. In synchronization with this, the control circuit 55 outputs the signal 22 indicating the synchronization position.

【0012】図5にPS同期検出回路13の詳細図を示
す。入力された多重信号は一旦レジスタ60、レジスタ
61順次格納された後、それぞれ比較回路70、73に
て固定データ69、72(それぞれ0XBA,0X0
1)と比較される。一方レジスタ61の出力信号41は
比較回路62において固定データ63(0X00)と比
較される。比較結果76が一致していれば(1)次のデ
ータ入力のタイミングでカウンタ64を歩進させ、一致
していなければ(0)次のデータ入力のタイミングでカ
ウンタ0にリセットする。カウンタ64の初期値は0で
ある。カウンタ64の出力65は比較回路66にて固定
データ68(3)と比較される。パックのヘッダが(0
X00、0X00、0X01、0XBA)が順次入力さ
れた場合、データ0XBAがレジスタ60に格納された
時点で、レジスタ61の出力は0X01に、カウンタ6
4の出力65は2になり、3つの比較結果71、74、
67が全て一致(1)状態になる。AND回路75はこ
れら比較結果71、74、67が全て1の時に同期信号
23に1を出力して同期符号を検出したことを知らせ
る。
FIG. 5 is a detailed diagram of the PS sync detection circuit 13. The input multiplexed signal is temporarily stored in the register 60 and the register 61 in order, and then fixed data 69 and 72 (0XBA and 0X0, respectively) in the comparison circuits 70 and 73, respectively.
1). On the other hand, the output signal 41 of the register 61 is compared with the fixed data 63 (0X00) in the comparison circuit 62. If the comparison results 76 match, the counter 64 is incremented at the timing of (1) next data input, and if they do not match, the counter 64 is reset to the counter 0 at the timing of (0) next data input. The initial value of the counter 64 is 0. The output 65 of the counter 64 is compared with the fixed data 68 (3) by the comparison circuit 66. The pack header is (0
X00, 0X00, 0X01, 0XBA) are sequentially input, when the data 0XBA is stored in the register 60, the output of the register 61 becomes 0X01 and the counter 6
The output 65 of 4 becomes 2, and the three comparison results 71, 74,
All 67 are in the coincident (1) state. The AND circuit 75 outputs 1 to the synchronization signal 23 when all the comparison results 71, 74 and 67 are 1 to notify that the synchronization code is detected.

【0013】[0013]

【発明が解決しようとする課題】上記に示した従来の多
重信号分離装置では、次の2つの課題がある。
The conventional multiplex signal separation device described above has the following two problems.

【0014】第1の課題は、TS/PSいずれの符号が
入力されるかを外部より設定しなければならない。その
ため、通信や放送ではTS/PSを受ける手段の他にT
S/PS識別信号を受信・解読・設定する手段が必要に
なる。また、蓄積媒体より読み出す場合には、補助デー
タ等を同時に読み込み、TS/PS識別をおこなう必要
がある。
The first problem is that it is necessary to externally set which code, TS or PS, is input. Therefore, in communication and broadcasting, in addition to the means of receiving TS / PS, T
A means for receiving / decoding / setting the S / PS identification signal is required. When reading from the storage medium, it is necessary to read the auxiliary data and the like at the same time to perform TS / PS identification.

【0015】第2の課題は、TS/PSが混在する符号
列を受信することができない。ISO/IEC 13818-1ではT
S/PSはそれぞれ独立の多重方式と位置づけ、混在す
ることは触れていない。しかし、TS/PSそれぞれ別
に多重した符号列をマージしたり、通信中に回線状況の
変化などに対処するために意図的にTS/PSを切り替
えたり、TSのみサポートする端末とPSのみサポート
する端末とを含めて多地点通信をおこなったりする場合
に対応することができない。
The second problem is that it is not possible to receive a code string in which TS / PS are mixed. T in ISO / IEC 13818-1
S / PS is positioned as an independent multiplex system, and it is not mentioned that they are mixed. However, merging code strings multiplexed for each TS / PS, intentionally switching TS / PS in order to cope with a change in line conditions during communication, a terminal supporting only TS and a terminal supporting only PS It is not possible to handle cases such as when performing multipoint communication including.

【0016】本発明の目的はTS/PSを自動識別する
ことにより、多重信号以外の識別信号を不要とし、装置
規模の削減をはかると同時に、TSとPSの混在する符
号列を扱うことにより多重信号分離装置のフレキシビリ
ティを高めることにある。
An object of the present invention is to automatically identify TS / PS, thereby eliminating the need for identification signals other than multiplexed signals, reducing the size of the apparatus, and at the same time handling multiple code strings in which TS and PS are mixed. It is to increase the flexibility of the signal separation device.

【0017】[0017]

【課題を解決するための手段】本発明は上記の目的を達
成するために、まず、TSの同期とPSの同期を同時に
検出してゆき、先に同期が確立した方を検出する手段を
設ける。また、TSで同期符号がなくなった場合、ある
いはPSでMPEG program end codeを検出した場合には
すみやかに先のTSおよびPSの同期検出動作を行うよ
う制御する手段を設ける。
In order to achieve the above object, the present invention is provided with means for detecting TS synchronization and PS synchronization at the same time, and for detecting the synchronization establishment first. . Further, when the sync code is lost in the TS or when the MPEG program end code is detected in the PS, a means for controlling to perform the sync detection operation of the previous TS and PS is provided promptly.

【0018】[0018]

【作用】TS/PSの同期を同時に検出することによ
り、その符号列がTSかPSかを判定する事ができる。
また、TSおよびPSの終了を検出し、次の同期を検出
することによりTS/PSが混在した符号列を処理する
ことが可能となる。
By detecting TS / PS synchronization at the same time, it is possible to determine whether the code string is TS or PS.
Further, by detecting the end of TS and PS and detecting the next synchronization, it becomes possible to process a code string in which TS / PS are mixed.

【0019】[0019]

【実施例】図6に本発明を用いた実施例を示す。図6は
図3の多重信号分離装置に本発明を適用した例である。
図中100に示した部分が本発明による部分であり、そ
の他の部分は図3のものと同じ機能であるため説明を省
略し、100の部分を中心に説明を行う。
EXAMPLE FIG. 6 shows an example using the present invention. FIG. 6 is an example in which the present invention is applied to the multiplex signal separation device of FIG.
In the figure, the part indicated by 100 is the part according to the present invention, and the other parts have the same functions as those in FIG. 3, so the description thereof will be omitted and the part 100 will be mainly described.

【0020】TS同期検出回路101の同期信号出力2
2、TS終了信号110、PS同期検出回路104の同
期信号出力23、PS終了信号111は切り替え制御回
路103に入力される。切り替え制御回路103では先
に同期の確立した方式を選択するように切り替え信号1
06を出力する。切り替え信号106は選択回路7に入
力されTSあるいはPSの出力を選択すると同時に、外
部IF回路107に入力され外部にTS/PSいずれで
処理をしているかを通知する。選択回路7の選択時には
TS分離回路5あるいはPS分離回路15の処理時間分
だけ、選択信号を遅延回路108にて遅らせる。
Sync signal output 2 of the TS sync detection circuit 101
2, the TS end signal 110, the sync signal output 23 of the PS sync detection circuit 104, and the PS end signal 111 are input to the switching control circuit 103. In the switching control circuit 103, the switching signal 1 is set so that the system in which the synchronization is established is selected first.
06 is output. The switching signal 106 is input to the selection circuit 7 to select the output of TS or PS, and at the same time is input to the external IF circuit 107 to notify the outside whether TS / PS is being processed. When the selection circuit 7 is selected, the delay circuit 108 delays the selection signal by the processing time of the TS separation circuit 5 or the PS separation circuit 15.

【0021】切り替え制御回路103は例えば次のよう
に動作する。
The switching control circuit 103 operates as follows, for example.

【0022】 状態 TS同期 PS同期 TS終了 PS終了 次状態 出力 初期 0 0 X X 初期 不定 初期 1 0 0 X TS同期 TS同期 初期 X 1 X X PS同期 PS同期 TS同期 X 0 0 X TS同期 TS同期 TS同期 X 0 1 X 初期 不定 TS同期 X 1 X X PS同期 PS同期 PS同期 X X X 0 PS同期 PS同期 PS同期 X X X 1 初期 不定 ここで、「X]は入力信号が1/0いぞれでもかまわな
いことを示す。
State TS Sync PS Sync TS End PS End Next State Output Initial 0 0 X X Initial Undefined Initial 1 0 0 X TS Sync TS Sync Initial X 1 X X PS PS PS Sync TS Sync X 0 0 X TS Sync TS Sync TS Sync X 0 1 X Initial Undefined TS Sync X 1 X X PS PS PS Sync PS Sync X X X 0 PS Sync PS Sync PS Sync XX X 1 Initial Undefined Here, “X” is 1/0 input signal Show that you don't care.

【0023】PS同期は一意的に決められる同期符号を
用いているために、TS同期よりも優先的に処理をして
いる。このため、TSからPSへの遷移は随時行うこと
ができる。一方、PS同期から別の状態に移るには必ず
PS終了の信号が必要になる。
Since PS synchronization uses a synchronization code that is uniquely determined, it is processed with priority over TS synchronization. Therefore, the transition from TS to PS can be performed at any time. On the other hand, a PS end signal is always required to shift from PS synchronization to another state.

【0024】なお、次のように制御することにより、T
S同期をPS同期よりも優先させることも可能である。
By controlling as follows, T
It is also possible to prioritize S-sync over PS-sync.

【0025】 状態 TS同期 PS同期 TS終了 PS終了 次状態 出力 初期 0 0 X X 初期 不定 初期 1 X 0 X TS同期 TS同期 初期 0 1 X X PS同期 PS同期 TS同期 X X 0 X TS同期 TS同期 TS同期 X 0 1 X 初期 不定 TS同期 X 1 1 X PS同期 PS同期 PS同期 X X X 0 PS同期 PS同期 PS同期 X X X 1 初期 不定 先のPS優先の制御と異なる点は、以下の2点である。
TS同期からPS同期に遷移する場合には必ずTS終了
信号が1になる(TSの同期がとれなくなったことを示
す)点と、初期状態にてPS同期とTS同期が同時にと
れた場合にはTS同期を優先する点である。PS優先、
TS優先のいずれの場合も本発明を適用することができ
る。また、外部より、PS優先/TS優先を切り替える
機能を持つ場合にも本発明を適用することができる。
State TS Sync PS Sync TS End PS End Next State Output Initial 0 0 X X Initial Undefined Initial 1 X 0 X TS Sync TS Sync Initial 0 1 X X PS Sync PS Sync TS Sync XX 0 X TS Sync TS Sync TS sync X 0 1 X Initial undefined TS sync X 1 1 X PS sync PS sync PS sync X X X X 0 PS sync PS sync PS sync X X X 1 Initial undefined The following points are different from the PS priority control. It is a point.
When the TS synchronization signal is always switched to the PS synchronization, the TS end signal becomes 1 (indicating that the TS synchronization is lost), and when the PS synchronization and the TS synchronization are simultaneously established in the initial state. This is a point that gives priority to TS synchronization. PS priority,
The present invention can be applied to any case of TS priority. The present invention can also be applied to the case where a function of switching PS priority / TS priority is provided from the outside.

【0026】図7に本発明のTS同期回路101の詳細
図を示す。リングバッファ90が付加されている点を除
けば図4のTS同期回路3と同一の動作をする。
FIG. 7 shows a detailed view of the TS synchronizing circuit 101 of the present invention. The operation is the same as that of the TS synchronization circuit 3 of FIG. 4 except that the ring buffer 90 is added.

【0027】同期確立後に所定のタイミングにシンクバ
イトが入力されない場合(シンクバイト消失)、TS同
期検出回路はTS終了信号110を送出する。TS終了
信号はシンクバイト消失を検出した時点で直ちにTS終
了信号を送出してもかまわないし、次のシンクバイト入
力予定時期まで待った後にシンクバイトの未入力を検出
した後に送出してもかまわない。
When the sync byte is not input at a predetermined timing after the synchronization is established (sync byte disappears), the TS sync detection circuit sends the TS end signal 110. As the TS end signal, the TS end signal may be sent immediately after the loss of the sync byte is detected, or the TS end signal may be sent after waiting for the next sync byte input scheduled time and detecting the non-input of the sync byte.

【0028】入力された多重データ1はシンクバイト検
出の処理を行うと同時に、リングバッファ90に格納さ
れる。リングバッファ90は188バイトのM倍の容量
をもち、同期が確立した後のシンクバイトが入力された
時点で、その入力データよりも188*mバイト前のデ
ータを信号線4に出力し始める。ここでmはm<=M
と、188*m<=(入力されたデータ数)を満たす最
大の整数である。このとき最初に出力されるデータはシ
ンクバイトである。TSの同期を確立するには最低でも
189バイトのデータを読む必要がある。例えば図8に
示すようにPSとTSが連続した符号列では、同期確立
までのデータすなわちTP6のパケットをリングバッフ
ァ90に保持しデータの連続性を確保する。TS同期が
確立するまでの時間は入力するデータに依存し、シンク
バイトと同じデータ(0X47が188バイト周期で続
く)の有無により時間が決まる。そのためリングバッフ
ァ90は188バイトより大きい容量すなわちM>=2
であるほうが望ましい。なお、入力データの数がリング
バッファ90の容量を越えた場合にはバッファ内の最も
古いデータから削除してゆく。
The input multiplex data 1 is stored in the ring buffer 90 at the same time that the sync byte detection process is performed. The ring buffer 90 has a capacity of M times 188 bytes, and when a sync byte is input after the synchronization is established, the ring buffer 90 starts to output the data 188 * m bytes before the input data to the signal line 4. Where m is m <= M
And 188 * m <= (the number of input data) is the maximum integer. At this time, the first data output is the sync byte. It is necessary to read at least 189 bytes of data to establish TS synchronization. For example, as shown in FIG. 8, in a code string in which PS and TS are continuous, data until the synchronization is established, that is, a packet of TP6 is held in the ring buffer 90 to ensure data continuity. The time until TS synchronization is established depends on the input data, and is determined by the presence or absence of the same data as the sync byte (0X47 continues at a 188-byte cycle). Therefore, the ring buffer 90 has a capacity larger than 188 bytes, that is, M> = 2.
Is preferable. When the number of input data exceeds the capacity of the ring buffer 90, the oldest data in the buffer are deleted.

【0029】図9に本発明を適用したPS同期検出回路
104の詳細図を示す。PS同期検出回路104は12
0の箇所が追加された以外はPS検出回路13と同じで
ある。120で示した箇所はPSの終了を示すMPEG pro
gram end code(0X000001B9)を検出する。
検出の方法はパックヘッダの先頭を検出する方法と同じ
で、レジスタ60の出力を比較回路121において固定
値122(0XB9)と比較し、比較結果123を用い
てAND回路124においてMPEG program endcodeを検
出し、検出結果をPS終了信号111に出力する。
FIG. 9 shows a detailed diagram of the PS synchronization detection circuit 104 to which the present invention is applied. The PS sync detection circuit 104 has 12
The PS detection circuit 13 is the same as the PS detection circuit 13 except that 0 is added. The place indicated by 120 indicates the end of PS MPEG pro
gram end code (0X000001B9) is detected.
The detection method is the same as the method of detecting the beginning of the pack header. The output of the register 60 is compared with the fixed value 122 (0XB9) in the comparison circuit 121, and the comparison program 123 is used to detect the MPEG program end code in the AND circuit 124. Then, the detection result is output to the PS end signal 111.

【0030】図6に示した多重信号分離装置は入力デー
タの1バイト目から処理をしなくてもかまわない。すな
わち、符号列の任意の箇所からデータを読み出してもT
SあるいはPSの同期をとることができる。逆にデータ
の先頭から読む場合(MPEG program end code検出の直
後を含む)にはその最初のデータがTSのシンクバイト
(0X47)かPSのヘッダ符号化(0X00)かによ
り、同期引き込み時間を短縮することができる。この同
期引き込みはTSの同期引き込み時に顕著になる。すな
わち、第1データが0X47でかつ第189目のデータ
も0X47の場合は、他の箇所にシンクバイトの候補が
あっても優先的に第1のデータのタイミングをシンクバ
イトとして同期を確立する。
The multiplex signal separating apparatus shown in FIG. 6 does not need to process the first byte of the input data. That is, even if the data is read from any part of the code string, T
It is possible to synchronize S or PS. Conversely, when reading from the beginning of the data (including immediately after detection of the MPEG program end code), the sync pull-in time is shortened depending on whether the first data is the TS sync byte (0X47) or PS header encoding (0X00). can do. This synchronization pull-in becomes remarkable at the time of TS synchronization pull-in. That is, when the first data is 0X47 and the 189th data is also 0X47, the synchronization is preferentially established with the timing of the first data as the sync byte even if there are sync byte candidates in other locations.

【0031】図10に本発明の第2の実施例を示す。図
10の多重信号分離装置は図6の多重信号分離装置とほ
ぼ同じ機能を実現する。ただしPS分離は外部のソフト
ウェアで実行することを前提としている。そのための機
能として、多重信号14と同期信号23を出力される外
部IF107を介して外部に出力する手段を持つ。外部
IF107はダイレクトメモリアクセスの機能をもつこ
とにより、より効率的にPSの転送処理をおこなうこと
ができる。
FIG. 10 shows a second embodiment of the present invention. The multiplex signal separating apparatus of FIG. 10 realizes almost the same function as the multiplex signal separating apparatus of FIG. However, PS separation is assumed to be executed by external software. As a function therefor, it has a means for outputting the multiplexed signal 14 and the synchronizing signal 23 to the outside via the external IF 107. Since the external IF 107 has the function of direct memory access, PS transfer processing can be performed more efficiently.

【0032】以上、第1および第2の実施例においては
入力される多重信号は8ビットのパラレル信号であるこ
とを前提としていた。これは16ビットあるいは32ビ
ットのパラレル信号でも構わない。これらの場合入力さ
れたデータを8ビット毎に分割して処理を行うことによ
って前記の実施例をそのまま適用できる。ただし、内部
の動作タイミングは8ビット単位に分割した後のデータ
入力タイミングを基準とする。
As described above, in the first and second embodiments, it is premised that the input multiplexed signal is an 8-bit parallel signal. This may be a 16-bit or 32-bit parallel signal. In these cases, the above-described embodiment can be applied as it is by dividing the input data into 8 bits and performing the processing. However, the internal operation timing is based on the data input timing after being divided into 8-bit units.

【0033】また、本発明ははシリアル入力に対しても
適用可能である。この場合、図7のTS同期回路101
では、メモリ45として188*8ビットのメモリ、カ
ウンタ56としては188*8周期のカウンタが必要に
なる。レジスタ40の部分を8ビットのシフトレジスタ
とし、常に最新の8ビットを比較回路42に入力するこ
とによって、8ビットパラレル入力の場合と同様に処理
するする事ができる。このとき、同期が検出された後の
リングバッファへ90への書き込みは同期がとれた時点
から、入力周期を8分周したタイミングで8ビットパラ
レルに行われる。出力4はリングバッファ90のパラレ
ルデータをそのまま出力しても、再びシリアルに変換し
ても構わない。
The present invention is also applicable to serial input. In this case, the TS synchronization circuit 101 of FIG.
Then, a memory of 188 * 8 bits is required as the memory 45, and a counter of 188 * 8 cycles is required as the counter 56. By making the register 40 part an 8-bit shift register and always inputting the latest 8 bits to the comparison circuit 42, the same processing as in the case of 8-bit parallel input can be performed. At this time, writing to the ring buffer 90 after the synchronization is detected is performed in parallel with 8 bits at a timing obtained by dividing the input cycle by 8 from the time when the synchronization is achieved. The output 4 may output the parallel data of the ring buffer 90 as it is or may convert it again into serial data.

【0034】シリアル入力の場合、図9のPS同期回路
14はレジスタ60の代わりに8ビットのシフトレジス
タを設置し、8ビットのパラレルデータとした後に比較
器71にて比較を行う。一方、レジスタ61は先の8ビ
ットのパラレルデータの1ビット前(古い)ビットを保
持し、比較器62および73は1ビットの比較を行う。
このとき固定データ68は23(十進)となる。
In the case of serial input, the PS synchronizing circuit 14 of FIG. 9 is provided with an 8-bit shift register instead of the register 60, and after making 8-bit parallel data, the comparator 71 performs comparison. On the other hand, the register 61 holds the previous (old) bit of the preceding 8-bit parallel data, and the comparators 62 and 73 perform 1-bit comparison.
At this time, the fixed data 68 becomes 23 (decimal).

【0035】外部より同期検出の補助情報が入力される
場合はその補助情報を元に同期検出を行っても構わな
い。これは特にTSの同期検出を用意にする。188バ
イトのTSパケットを188バイトより短いパケットに
分割し伝送する場合、TSパケットの先頭が常に伝送パ
ケットの先頭に一致していれば、この伝送パケットの先
頭を示す情報を用いて同期を検出することができる。具
体的には長さが47バイトあるいは48バイトのアシン
クロナス・トランスファー・モード(ATM)セルで伝
送する場合、TSパケット1パケットを4セルで、ある
いはTSパケット2パケットを8セルで伝送できる。こ
うした場合、各セルの先頭の情報がわかれば、4通りあ
るいは8通りのシンクバイト比較を行えば同期を検出す
ることができる。その結果、図7ではメモリ45の容量
が4ビットあるいは8ビットで済み、またカウンタ56
も4あるいは8周期でよい。このように、補助情報を用
いることにより、回路規模削減が図れる他、同期パター
ンに類似したデータの影響による同期確立の遅れを軽減
することもできる。
When the auxiliary information for synchronization detection is input from the outside, the synchronization detection may be performed based on the auxiliary information. This particularly facilitates TS sync detection. When dividing a 188-byte TS packet into packets shorter than 188 bytes and transmitting the packets, if the beginning of the TS packet always matches the beginning of the transmission packet, the synchronization is detected using the information indicating the beginning of the transmission packet. be able to. Specifically, when transmitting in an asynchronous transfer mode (ATM) cell having a length of 47 bytes or 48 bytes, 1 TS packet can be transmitted in 4 cells, or 2 TS packets can be transmitted in 8 cells. In such a case, if the head information of each cell is known, synchronization can be detected by performing four or eight sync byte comparisons. As a result, in FIG. 7, the capacity of the memory 45 is 4 bits or 8 bits, and the counter 56
Also, 4 or 8 cycles are sufficient. As described above, by using the auxiliary information, it is possible to reduce the circuit size and reduce the delay in establishing synchronization due to the influence of data similar to the synchronization pattern.

【0036】図11は本発明の多重信号分離装置を応用
した音響映像受信端末である。400で示した部分が本
発明の多重信号分離装置に対応する。端末への入力信号
502は例えばATM(アシンクロナス・トランスファ
ー・モード)や、アナログ変調された信号であり、受信
IF回路503は入力信号に応じた信号処理を行い、伝
送されてきた信号列1を出力する。この信号列1はすな
わち多重信号である。多重信号分離回路400は多重信
号1を解読分離し、符号化された音響信号8―1と符号
化された映像信号8―2をそれぞれ音響復号器401お
よび映像復号器402に入力し、音響信号411と映像
信号412が出力される。音響復号器401および映像
復号器402はそれぞれ、ISO/IEC 13818-3、ISO/IEC 1
3818-2の符号を復号する機能を持つ。制御CPU403
は、これらをバス410を介して制御を行う。500で
示した部分は多重信号1に対応する処理部分であるた
め、単一のLSIに格納すると回路規模削減を図ること
ができる。図11に示した音響映像受信端末あるいは5
00で示した多重音響映像処理回路も本発明に包含され
る。
FIG. 11 shows an audiovisual receiving terminal to which the multiplex signal separating apparatus of the present invention is applied. The portion indicated by 400 corresponds to the multiplex signal separating apparatus of the present invention. The input signal 502 to the terminal is, for example, an ATM (asynchronous transfer mode) or analog modulated signal, and the reception IF circuit 503 performs signal processing according to the input signal and outputs the transmitted signal train 1. To do. This signal train 1 is a multiple signal. The multiple signal separation circuit 400 decodes and separates the multiple signal 1 and inputs the encoded audio signal 8-1 and the encoded video signal 8-2 to the audio decoder 401 and the video decoder 402, respectively, and outputs the audio signal. 411 and the video signal 412 are output. The audio decoder 401 and the video decoder 402 are ISO / IEC 13818-3 and ISO / IEC 1 respectively.
It has a function to decode the code of 3818-2. Control CPU 403
Controls these via the bus 410. Since the part indicated by 500 is a processing part corresponding to the multiplex signal 1, if it is stored in a single LSI, the circuit scale can be reduced. The audiovisual receiving terminal or 5 shown in FIG.
The multiple audiovisual processing circuit indicated by 00 is also included in the present invention.

【0037】図12にTS/PSの混在した符号を出力
する送信装置600の実施例である。図では1つの音響
信号610と1つの映像信号611を多重する例を示し
ている。音響信号610と映像信号611はそれぞれ音
響符号化器601と映像符号化器602により符号列8
−1、8−2に符号化する。符号化された2つの信号は
多重信号生成回路603により多重信号生成回路603
により多重信号1に多重され、送信IF604により伝
送路に適した信号形態に変換され出力される。これらの
制御は制御CPU605によって、バス612を介して
行われる。多重信号生成回路603との間はデータ62
4、アドレス625、読み書き切り替え信号625、状
態表示信号627を用いてデータの読み書きをおこな
う。なお、既に符号化された信号を多重信号生成回路6
03に入力することも可能であり、この場合も本発明に
包含される。符号化された信号を直接入力する場合には
該当する音響符号器あるいは映像符号器は不要になる。
FIG. 12 shows an embodiment of a transmitting apparatus 600 that outputs a code in which TS / PS are mixed. The figure shows an example in which one audio signal 610 and one video signal 611 are multiplexed. The audio signal 610 and the video signal 611 are encoded by the audio encoder 601 and the video encoder 602, respectively.
-1, 8-2 are encoded. The two encoded signals are multiplexed by the multiple signal generation circuit 603.
Is multiplexed with the multiplexed signal 1 by the transmission IF 604, converted into a signal form suitable for the transmission path by the transmission IF 604, and output. These controls are performed by the control CPU 605 via the bus 612. Data 62 is transmitted to and from the multiple signal generation circuit 603.
4, the address 625, the read / write switching signal 625, and the status display signal 627 are used to read / write data. It should be noted that the already encoded signal is converted into the multiple signal generation circuit 6
It is also possible to enter in 03, and this case is also included in the present invention. When the encoded signal is directly input, the corresponding audio encoder or video encoder becomes unnecessary.

【0038】図13は図12の多重信号生成回路603
の実施例である。図13は入力信号8の個数をn個をT
Sとして多重し、外部IF704を介して制御CPU6
05から入力した信号711をPSとして多重する。信
号711としてはプロトコル情報や制御情報、ユーザ情
報等がある。図12の多重信号生成回路603は図13
のn=2の場合である。
FIG. 13 shows the multiple signal generation circuit 603 of FIG.
It is an example of. FIG. 13 shows that the number of input signals 8 is n
S is multiplexed and the control CPU 6 is connected via the external IF 704.
The signal 711 input from 05 is multiplexed as PS. The signal 711 includes protocol information, control information, user information, and the like. The multiple signal generation circuit 603 of FIG.
In the case of n = 2.

【0039】入力された信号8−1〜nはそれぞれバッ
ファ701−1〜nに入力される。各バッファに入力さ
れた信号は適当なタイミングでTS多重回路702によ
り読み出され、TSパケット化される。一方、信号70
5はバッファ705に入力され、適当なタイミングでP
Sパケット生成回路より読み出され、PSパケット化さ
れる。スイッチ703はTSパケットとPSパケットを
その情報量の比に応じて、パケット単位で選択し、TS
/PS混在信号1が得られる。このとき、PSパケット
の大きさを188バイトの整数倍にしておくと、PSパ
ケットをTSのダミーのパケットに置き換えることによ
り、TS/PS混在信号からTS信号を生成することが
容易にできる。
The input signals 8-1 to 8-n are input to the buffers 701-1 to 70-n, respectively. The signal input to each buffer is read by the TS multiplexing circuit 702 at an appropriate timing, and is TS packetized. On the other hand, signal 70
5 is input to the buffer 705, and P is set at an appropriate timing.
It is read from the S packet generation circuit and converted into PS packets. The switch 703 selects the TS packet and the PS packet in packet units according to the ratio of the amount of information,
A / PS mixed signal 1 is obtained. At this time, if the size of the PS packet is set to an integral multiple of 188 bytes, the TS signal can be easily generated from the TS / PS mixed signal by replacing the PS packet with a dummy TS packet.

【0040】生成されたTS/PS信号は先に示した受
信端末500にて受信することができる。
The generated TS / PS signal can be received by the receiving terminal 500 shown above.

【0041】図14は図12の多重信号生成回路603
の別の実施例である。図14はn個の入力信号8を、T
SおよびPSとして多重する。すなわち、最終的には1
つの伝送路に同じ情報が、TSとPSの形で2度伝送さ
れる。図12の多重信号生成回路603は図14のn=
2の場合である。
FIG. 14 shows the multiple signal generation circuit 603 of FIG.
Is another embodiment of the. FIG. 14 shows that n input signals 8 are
Multiplex as S and PS. That is, finally 1
The same information is transmitted twice in two transmission paths, TS and PS. The multiple signal generation circuit 603 of FIG.
This is the case of 2.

【0042】入力された信号8−1〜nはそれぞれバッ
ファ701−1〜nおよびバッファ800−1〜nに入
力される。バッファ701−1〜nに入力された信号は
適当なタイミングでTS多重回路702により読み出さ
れ、TSパケット化される。一方、バッファ800−1
〜nに入力された信号は、適当なタイミングでPS多重
回路回路801より読み出され、PSパケット化され
る。スイッチ703はTSパケットとPSパケットをそ
の情報量の比に応じて、パケット単位で選択し、TS/
PS混在信号1が得られる。このとき、図13の実施例
と同様にPSパケットの大きさを188バイトの整数倍
にしておくと、TS/PS混在信号からTS信号を生成
することが容易にできる。
The input signals 8-1 to n are input to buffers 701-1 to n and buffers 800-1 to n, respectively. The signals input to the buffers 701-1 to 70-n are read out by the TS multiplexing circuit 702 at appropriate timings and are converted into TS packets. On the other hand, buffer 800-1
The signals input to n are read from the PS multiplexing circuit 801 at appropriate timings and converted into PS packets. The switch 703 selects a TS packet and a PS packet in packet units according to the ratio of the amount of information, and TS / PS
PS mixed signal 1 is obtained. At this time, if the size of the PS packet is set to an integral multiple of 188 bytes as in the embodiment of FIG. 13, the TS signal can be easily generated from the TS / PS mixed signal.

【0043】生成されたTS/PS信号は1先に示した
受信端末500にて受信することができる。また、TS
/PS混在信号からTSパケットのみを取り出したり、
あるいはPSパケットのみをとりだしたりすることによ
り従来のTS受信端末やPS受信端末も情報を読むこと
ができる。
The generated TS / PS signal can be received by the receiving terminal 500 shown earlier. Also, TS
Extracting only TS packets from / PS mixed signal,
Alternatively, by extracting only the PS packet, the conventional TS receiving terminal and PS receiving terminal can also read the information.

【0044】図15に本発明を用いた、送信装置600
および受信端末500を用いたTS/PS混在の映像通
信システムの構成例を示している。900で示した部分
は送信設備にあたり、カメラ902、VCR903,デ
ィスク904等から読み出した映像信号あるいは符号化
された映像信号を送信装置600により多重して通信網
910に送出している。一方、受信端末側は例えば受信
端末500−1にモニタ905、VCR906,外部記
憶ディスク908およびデータ入力あるいは選択信号入
力用の入力装置909等からなる構成をとり、通信網9
10から必要な多重信号を取り出し、解読・分離および
復号化することによって受信映像が得られる。
FIG. 15 shows a transmitter 600 using the present invention.
3 shows an example of the configuration of a TS / PS mixed video communication system using the receiving terminal 500. The portion indicated by 900 corresponds to transmission equipment, and the video signal read from the camera 902, the VCR 903, the disk 904, or the like or the coded video signal is multiplexed by the transmission device 600 and transmitted to the communication network 910. On the other hand, the receiving terminal side has, for example, a configuration in which the receiving terminal 500-1 includes a monitor 905, a VCR 906, an external storage disk 908, and an input device 909 for inputting data or selecting signals.
The received video is obtained by taking out the necessary multiple signals from 10 and decoding / separating / decoding.

【0045】多重信号の形態は、例えば先の図13に示
した送信装置の出力するTS/PS混在信号でも、図1
4に示した送信装置の出力するTS/PS混在信号で
も、構わない。通信網はATM、ISDN、アナログ電
話線、専用アナログ線、専用デジタル線、LANあるい
は無線でも構わない。受信する端末500−2、3等は
全て、本発明のTS/PS混在信号を識別する機能を持
たなければならない。図15は映像の伝送のみについて
記したが、これに音響、音声、データ等が加わった場合
も同様に処理することができる。
The form of the multiplexed signal is, for example, the TS / PS mixed signal output from the transmitter shown in FIG.
The mixed TS / PS signal output from the transmitter shown in FIG. 4 may be used. The communication network may be ATM, ISDN, analog telephone line, dedicated analog line, dedicated digital line, LAN or wireless. All the receiving terminals 500-2, 3 and the like must have a function of identifying the TS / PS mixed signal of the present invention. Although FIG. 15 describes only the transmission of video, the same processing can be performed when audio, voice, data, etc. are added.

【0046】図16は本発明を用いた、送信装置600
および受信端末500を用いたTS/PS混在の映像通
信システムの別の構成例を示している。ほとんどの部分
は図15のものと同じであるが、多重信号の形態は、例
えば先の図14に示した送信装置の出力するTS/PS
混在信号が好ましい。本発明のTS/PS混在信号を識
別する機能を持つ受信端末901は通信網910から直
接信号を受信し、映像を再生する。一方、TS/PS混
在信号からTSパケットを抽出するTS抽出回路920
あるいは、あるいはPSパケットを抽出するPS抽出回
路921を設け、それぞれ抽出したTSのみの信号を伝
送する通信網911、PSのみの信号を伝送する通信網
912を設置することにより、従来のTS専用受信端末
950やPS専用受信端末951でも映像を再生するこ
とができる。この場合、本発明のTS/PS混在信号を
識別する機能を持つ受信端末901は通信網910、9
11、912のいずれの網にでも接続することができる
特徴がある。図16は映像の伝送のみについて記した
が、これに音響、音声、データ等が加わった場合も同様
に処理することができる。なお通信網910、911、
912はATM、ISDN、アナログ電話線、専用アナ
ログ線、専用デジタル線、LANあるいは無線のいずれ
でもかまわず、また、物理的に同一の通信網を周波数
的、あるいは時間的に分割して使用する場合も本発明に
包含される。
FIG. 16 shows a transmitter 600 using the present invention.
Another example of the configuration of a video communication system of mixed TS / PS using the receiving terminal 500 is shown. Most of the parts are the same as those in FIG. 15, but the form of the multiplexed signal is, for example, TS / PS output from the transmitter shown in FIG.
Mixed signals are preferred. The receiving terminal 901 of the present invention having the function of identifying mixed TS / PS signals receives signals directly from the communication network 910 and reproduces video. On the other hand, a TS extraction circuit 920 that extracts TS packets from a mixed TS / PS signal
Alternatively, or alternatively, by providing a PS extraction circuit 921 for extracting PS packets, and installing a communication network 911 for transmitting the extracted TS-only signal and a communication network 912 for transmitting the PS-only signal, respectively, the conventional TS-dedicated reception The video can also be reproduced at the terminal 950 or the PS dedicated receiving terminal 951. In this case, the receiving terminal 901 having the function of identifying the TS / PS mixed signal of the present invention is the communication networks 910, 9
It has a feature that it can be connected to any of the networks 11 and 912. Although FIG. 16 describes only video transmission, the same processing can be performed when audio, voice, data, etc. are added. The communication networks 910, 911,
912 may be an ATM, an ISDN, an analog telephone line, a dedicated analog line, a dedicated digital line, a LAN or a wireless line, and when the same physical communication network is used in frequency or time division. Also included in the present invention.

【0047】図17はTS抽出回路921の実施例であ
る。全体の構成は、図6の多重信号分離回路と同じであ
る。入力された多重信号1は図6と同様にTS/PSの
同期を同時にとる。そして、TSの同期がとれた場合の
みバッファ1001にデータを書き込む。書き込まれた
データは新たなTSパケットの伝送速度に合わせて読み
出される。新たな伝送速度は多重信号1の伝送速度にT
Sパケットのデータの割合をかけた値になる。例えばT
Sパケットのデータ量と、PSパケットのデータ量が同
じ時には伝送速度は入力の半分になる。この場合、ばっ
ふぁ1001からのデータ読み出しのタイミングに応じ
てTSのタイムスタンプを更新する必要がある。
FIG. 17 shows an embodiment of the TS extraction circuit 921. The overall configuration is the same as the multiplex signal separation circuit of FIG. The input multiplexed signal 1 is synchronized with TS / PS at the same time as in FIG. Then, the data is written in the buffer 1001 only when the TS is synchronized. The written data is read according to the transmission rate of a new TS packet. The new transmission rate is T
It is a value obtained by multiplying the ratio of S packet data. For example, T
When the data amount of the S packet and the data amount of the PS packet are the same, the transmission speed is half of the input. In this case, it is necessary to update the time stamp of the TS according to the timing of reading the data from the buffer 1001.

【0048】図18はTS抽出回路921の別の実施例
である。図18は入力された多重信号の中のPSパケッ
ト長がすべて188バイトの整数倍の時に用いられる。
入力された多重信号1はTS/PSの同期を同時にと
る。そして、TSの同期がとれた場合は、選択回路10
03はTS信号4を出力し、PSの同期が取れている期
間はTSのヌルパケット(ダミーパケット)をヌルパケ
ット送出回路1002より生成して伝送する。PSパケ
ット長が188バイトの整数倍であれば、PSパケット
は全てTSヌルパッケトに置き換えられ、出力時の伝送
速度は変化しない。TSパケットのタイムスタンプの付
け替えも不要になる。
FIG. 18 shows another embodiment of the TS extraction circuit 921. FIG. 18 is used when the PS packet length in the input multiple signal is all an integral multiple of 188 bytes.
The input multiplexed signal 1 synchronizes TS / PS at the same time. When the TS is synchronized, the selection circuit 10
03 outputs the TS signal 4, and the null packet (dummy packet) of the TS is generated from the null packet sending circuit 1002 and transmitted during the period in which the PS is synchronized. If the PS packet length is an integral multiple of 188 bytes, all PS packets are replaced with TS null packets, and the transmission rate at the time of output does not change. It is not necessary to change the time stamp of the TS packet.

【0049】PS抽出回路は図17、図18のTS抽出
回路と同じ構成で実現できる。PSパケットは可変長で
あるため、TSパケットをダミーデータで置き換える場
合、TSパケット長の制限等はない。
The PS extraction circuit can be realized with the same configuration as the TS extraction circuit of FIGS. Since the PS packet has a variable length, when replacing the TS packet with dummy data, there is no limitation on the TS packet length.

【0050】[0050]

【発明の効果】本発明によれば、TS/PSの同期を同
時に検出することにより、外部からの事前の情報無し
に、その符号列がTSかPSかを判定する事ができる。
あるいは、TSおよびPSの終了を検出し、次の同期を
検出することによりTS/PSが混在した通信が可能と
なる。
According to the present invention, by simultaneously detecting TS / PS synchronization, it is possible to determine whether the code string is TS or PS without any prior information from the outside.
Alternatively, by detecting the end of TS and PS and detecting the next synchronization, TS / PS mixed communication becomes possible.

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

【図1】トランスポート・ストリームを説明する図であ
る。
FIG. 1 is a diagram illustrating a transport stream.

【図2】プログラム・ストリームを説明する図である。FIG. 2 is a diagram illustrating a program stream.

【図3】従来の多重信号分離装置を説明する図である。FIG. 3 is a diagram illustrating a conventional multiple signal separation device.

【図4】従来のTS同期検出の詳細図である。FIG. 4 is a detailed diagram of conventional TS synchronization detection.

【図5】従来のPS同期検出の詳細図である。FIG. 5 is a detailed diagram of conventional PS synchronization detection.

【図6】本発明を適用したの多重信号分離装置の第1の
実施例を説明する図である。
FIG. 6 is a diagram illustrating a first embodiment of a multiplex signal separation device to which the present invention has been applied.

【図7】本発明を適用したTS同期検出の詳細図であ
る。
FIG. 7 is a detailed diagram of TS synchronization detection to which the present invention is applied.

【図8】TSとPSの混在を説明する図である。FIG. 8 is a diagram illustrating a mixture of TS and PS.

【図9】本発明を適用したPS同期検出の詳細図であ
る。
FIG. 9 is a detailed diagram of PS synchronization detection to which the present invention is applied.

【図10】本発明を適用したの多重信号分離装置の第2
の実施例を説明する図である。
FIG. 10 is a second multiplex signal demultiplexing apparatus to which the present invention is applied.
It is a figure explaining the Example of this.

【図11】本発明の多重信号分離装置を応用した音響映
像受信端末を説明する図である。
FIG. 11 is a diagram illustrating an audiovisual receiving terminal to which the multiplex signal separating apparatus of the present invention is applied.

【図12】本発明の多重信号多重装置を応用した音響映
像送信端末を説明する図である。
FIG. 12 is a diagram illustrating an audiovisual transmission terminal to which the multiplex signal multiplexing device of the present invention is applied.

【図13】多重信号生成回路の詳細図である。FIG. 13 is a detailed diagram of a multiple signal generation circuit.

【図14】多重信号生成回路の別の構成例である。FIG. 14 is another configuration example of the multiple signal generation circuit.

【図15】本発明の多重信号多重・分離装置を応用した
映像送信システムを説明する図である。
FIG. 15 is a diagram illustrating a video transmission system to which the multiplex signal multiplexing / demultiplexing device of the present invention is applied.

【図16】本発明の多重信号多重・分離装置を応用した
映像送信システムの別の構成例を説明する図である。
FIG. 16 is a diagram illustrating another configuration example of a video transmission system to which the multiplex signal multiplexing / demultiplexing device of the present invention is applied.

【図17】TS抽出回路の詳細図である。FIG. 17 is a detailed diagram of a TS extraction circuit.

【図18】TS抽出回路の別の構成例である。FIG. 18 is another configuration example of the TS extraction circuit.

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

1 入力多重信号、 3 TS同期検出回路、 5 TS分離回路、 7 選択回路、 13 PS同期検出回路、 15 PS分離回路、 20 外部IF回路、 22 TS同期信号、 23 PS同期信号、 90リングバッファ、 103 切り替え制御回路、 400 多重信号分離回路、 500 音響映像受信端末、 600 音響映像送信端末。 1 input multiplexed signal, 3 TS sync detection circuit, 5 TS separation circuit, 7 selection circuit, 13 PS sync detection circuit, 15 PS separation circuit, 20 external IF circuit, 22 TS sync signal, 23 PS sync signal, 90 ring buffer, 103 switching control circuit, 400 multiplex signal separation circuit, 500 audiovisual receiving terminal, 600 audiovisual transmitting terminal

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】周期的に挿入される同期符号を用いてデー
タが多重された第1の符号列から所望の符号列を分離す
る第1の多重化信号解読部、および、他の符号と識別可
能なユニーク符号を用いてデータが多重された第2の符
号列のデータから所望の符号列を分離する第2の多重化
信号解読部2からなる多重化信号分離装置において、該
第1の符号列の第1の同期検出部1と、該第2の符号列
の第2の同期検出部と、該第1及び第2の同期検出部の
出力する同期確立の正否の信号を入力し上記第1及び第
2の符号列のいずれかを識別する識別部と、該識別結果
により分離するデータを選択する選択部とを具備するこ
とを特徴とする多重信号分離装置。
1. A first multiplexed signal decoding unit for separating a desired code sequence from a first code sequence in which data is multiplexed by using a synchronization code which is periodically inserted, and is distinguished from other codes. In the multiplex signal demultiplexing device including the second multiplex signal decoding unit 2 for separating a desired code string from the data of the second code string in which data is multiplexed using a possible unique code, the first code The first synchronization detecting section 1 of the sequence, the second synchronization detecting section of the second code sequence, and the signals of whether the synchronization establishment is correct output from the first and second synchronization detecting sections A multiplex signal demultiplexing apparatus comprising: an identification unit that identifies either the first or second code string and a selection unit that selects data to be separated according to the identification result.
【請求項2】周期的に挿入される同期符号を用いてデー
タが多重された第1の符号列から所望の符号列を分離す
る多重化信号解読部からなる多重化信号分離装置におい
て、該第1の符号列の同期検出部1と、該第2の符号列
の第2の同期検出部と、該2つの同期検出部の出力する
同期確立の正否の信号を入力し2つの符号列のいずれか
を識別する識別部と、該識別結果により上記多重信号解
読部により分離されたデータと入力されたデータを選択
する選択部とを具備することを特徴とする多重信号分離
装置。
2. A multiplexed signal demultiplexing device comprising a multiplexed signal decoding unit for demultiplexing a desired code sequence from a first code sequence in which data is multiplexed using a synchronization code inserted periodically. No. 1 of the two code strings by inputting the synchronization establishment corrector 1 of the first code string 1, the second synchronization detector 2 of the second code string 2 A multiplex signal demultiplexing apparatus comprising: an identification unit for identifying whether or not the data is separated by the multiplex signal decoding unit according to the identification result and a selection unit for selecting the input data.
【請求項3】請求項1あるいは請求項2の多重信号分離
装置において第1の符号列がトランスポート・ストリー
ム、第2の符号列がプログラム・ストリームであること
を特徴とする多重信号分離装置。
3. The multiplex signal demultiplexing apparatus according to claim 1, wherein the first code string is a transport stream and the second code string is a program stream.
【請求項4】複数の入力データを、周期的に挿入される
同期符号を用いてパケットを生成する手段と、他の符号
と識別可能なユニーク符号を用いてパケットを生成する
手段と、該2種類のパケット生成されたパケットを選択
する手段と、選択したパケットを送出するする手段を具
備することを特徴とする信号多重装置。
4. A means for generating a packet from a plurality of pieces of input data using a synchronization code which is periodically inserted, a means for generating a packet using a unique code which can be distinguished from other codes, and 2. 1. A signal multiplexing apparatus comprising: a unit for selecting a generated packet of a type; and a unit for transmitting the selected packet.
【請求項5】周期的に挿入される同期符号を用いた第1
のパケットと、他の符号と識別可能なユニーク符号を用
いた第2のパケットとが混在するパケット列から、所望
のパケット列を分離する多重化信号分離装置において、
上記第1のパケットの第1の同期検出部と、上記第2の
パケットの第2の同期検出部と、該2つの同期検出部の
出力する同期確立の正否の信号を入力し2つの符号列の
いずれかを識別する識別部と、該識別結果により分離す
るパケットを選択する選択部とを具備することを特徴と
する多重信号分離装置。
5. A first method using a synchronization code which is periodically inserted.
In a multiplexing signal demultiplexing device that demultiplexes a desired packet sequence from a packet sequence in which the packet of 1) and a second packet using a unique code that can be distinguished from other codes are mixed,
The first synchronization detecting unit of the first packet, the second synchronization detecting unit of the second packet, and the two synchronization signal inputting the signals of correctness of synchronization establishment output from the two synchronization detecting units. 2. A multiplex signal demultiplexing device, comprising: an identification unit that identifies any of the above, and a selection unit that selects a packet to be separated according to the identification result.
JP7027876A 1994-07-22 1995-02-16 Signal multiplexer and multiplex signal demultiplexer Pending JPH0888615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7027876A JPH0888615A (en) 1994-07-22 1995-02-16 Signal multiplexer and multiplex signal demultiplexer

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP17070294 1994-07-22
JP6-170702 1994-07-22
JP7027876A JPH0888615A (en) 1994-07-22 1995-02-16 Signal multiplexer and multiplex signal demultiplexer

Publications (1)

Publication Number Publication Date
JPH0888615A true JPH0888615A (en) 1996-04-02

Family

ID=26365872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7027876A Pending JPH0888615A (en) 1994-07-22 1995-02-16 Signal multiplexer and multiplex signal demultiplexer

Country Status (1)

Country Link
JP (1) JPH0888615A (en)

Similar Documents

Publication Publication Date Title
US6172989B1 (en) Transmitting apparatus and method, receiving apparatus and method
US6069902A (en) Broadcast receiver, transmission control unit and recording/reproducing apparatus
RU2273111C2 (en) Method for transformation of packet stream of information signals to stream of information signals with time stamps and vice versa
US5781599A (en) Packet receiving device
KR100360134B1 (en) Signal processing system
US6778537B1 (en) Data processing system and time stamp creating method
KR19980042154A (en) Method and apparatus for transmitting AT cell over 1394 serial data bus
US6577813B1 (en) Transmitting system and transmitting apparatus
US6282205B1 (en) Digital audio-video network system
JPH11163817A (en) Digital encoding multiplexer
US6868096B1 (en) Data multiplexing apparatus having single external memory
JPH0888615A (en) Signal multiplexer and multiplex signal demultiplexer
US6763037B1 (en) Transmitting apparatus and method, receiving apparatus and method
US7248780B2 (en) Reproducing device, medium, information aggregate, transmitting medium, and recording medium
JP2001268518A (en) Data recording and reproducing device
JP4604395B2 (en) Data processing device
JP2001339688A (en) Playback equipment of transport stream
WO2000044125A1 (en) Method and apparatus for data transmission, and method and apparatus for data reception
JP2001111610A (en) Receiver for information data transmission system
JP2000187940A (en) Recording/reproducing device and recorder
US7058279B2 (en) Special reproduction data generating device, medium and information aggregate
JP2000134259A (en) Transmission method and transmitter
JP3417290B2 (en) Multiplexer
KR0175604B1 (en) Atm connection apparatus at stb for vod
JP2001320343A (en) Data multiplex transmitting method