JP2000324087A - Method and device for multiplexing signal - Google Patents

Method and device for multiplexing signal

Info

Publication number
JP2000324087A
JP2000324087A JP11131731A JP13173199A JP2000324087A JP 2000324087 A JP2000324087 A JP 2000324087A JP 11131731 A JP11131731 A JP 11131731A JP 13173199 A JP13173199 A JP 13173199A JP 2000324087 A JP2000324087 A JP 2000324087A
Authority
JP
Japan
Prior art keywords
multiplexing
data
request
multiplex
data stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11131731A
Other languages
Japanese (ja)
Other versions
JP4206559B2 (en
Inventor
Mamoru Kukumiya
守 久々宮
Junya Saito
潤也 斎藤
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP13173199A priority Critical patent/JP4206559B2/en
Publication of JP2000324087A publication Critical patent/JP2000324087A/en
Application granted granted Critical
Publication of JP4206559B2 publication Critical patent/JP4206559B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4347Demultiplexing of several video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2365Multiplexing of several video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2365Multiplexing of several video streams
    • H04N21/23655Statistical multiplexing, e.g. by controlling the encoder to alter its bitrate to optimize the bandwidth utilization

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To multiplex a plurality of signals by keeping transmission restriction of a received data stream in the case of applying statistic multiplexing to a plurality of the signals that are coded at a variable rate. SOLUTION: Buffers 111-11N of a multiplexer section 10 receive coded streams CS1-CSN such as AV(audio visual) data, a buffer 12 receives a DSM-CC data stream DS, the signals read from the buffers 111-11N, 12 are given to a selector 15, where the signals are multiplexed. A multiplex request section 22 makes a multiplex request of the DSM-CC data stream to a multiplex control circuit 20 on the basis of transmission restrictions such as tCDownloadScenario, DII time-out and DSI time-out received at its terminal 21 and a multiplex delay time in the buffer 12. Thus, the title device multiplexes the streams by keeping the transmission restrictions of the DSM-CC data streams.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、可変レート符号化
された複数の信号を統計多重する信号多重化方法及び装
置に関し、たとえば衛星や地上波でのデジタル多チャン
ネル放送システムにおけるDSM−CCデータカルーセ
ル方式のデータストリームを多重化するような信号多重
化方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal multiplexing method and apparatus for statistically multiplexing a plurality of variable rate coded signals, for example, a DSM-CC data carousel in a satellite or terrestrial digital multi-channel broadcasting system. The present invention relates to a signal multiplexing method and apparatus for multiplexing a data stream of a system.

【0002】[0002]

【従来の技術】例えば、衛星や地上波でのデジタル多チ
ャンネル放送システムにおいて、EPG(電子番組ガイ
ド)等の付加的なデータを伝送することによる種々のサ
ービス、いわゆるデータ放送サービスの充実が望まれて
いる。
2. Description of the Related Art For example, in a digital multi-channel broadcasting system using satellites or terrestrial waves, various services by transmitting additional data such as an EPG (Electronic Program Guide), so-called data broadcasting services, are desired to be enhanced. ing.

【0003】このようなデータ放送サービスのコンテン
ツは、そのサービスをコンテンツ制作者が意図したとお
りに受信機で表現できるような特定の記述形式を用いて
作られる。この記述形式としては、例えばMHEG(Mu
ltimedia and Hypermedia information coding Experts
Group)規格が使われ、コンテンツ制作者は、MHEG
のオーサリングツールを用いてコンテンツ・データを作
成する。また、このようなデータ放送サービスのコンテ
ンツを伝送するための方式の一例として、DSM−CC
(ディジタル蓄積メディア−コマンド・アンド・コント
ロール)が提案されており、このDSM−CCカルーセ
ル伝送方式は、MPEG2−6(ISO/IEC 18
138−6)で標準化されている。
[0003] The content of such a data broadcasting service is created using a specific description format that enables the service to be expressed by a receiver as intended by the content creator. The description format is, for example, MHEG (Mu
ltimedia and Hypermedia information coding Experts
Group) standard, and content creators
Create content data using an authoring tool. In addition, as an example of a method for transmitting the content of such a data broadcasting service, DSM-CC
(Digital Storage Media-Command and Control) has been proposed, and this DSM-CC carousel transmission system is based on MPEG2-6 (ISO / IEC 18).
138-6).

【0004】従来の統計多重による多重化装置において
は、DSM−CC(ディジタル蓄積メディア−コマンド
・アンド・コントロール)におけるデータカルーセル方
式によるデータストリームの入力に関しては、入力され
た発生符号レートを積極的に制御する手段がなく、その
符号レートを変えることなく多重を行っていた。
In a conventional multiplexing apparatus based on statistical multiplexing, with respect to the input of a data stream by a data carousel system in DSM-CC (Digital Storage Media-Command and Control), the input generated code rate is positively increased. There was no control means, and multiplexing was performed without changing the code rate.

【0005】以下、図面を用いて従来の多重化装置の一
例について説明する。図8は従来の統計多重による多重
化装置の一例である。
Hereinafter, an example of a conventional multiplexing apparatus will be described with reference to the drawings. FIG. 8 shows an example of a conventional multiplexing apparatus using statistical multiplexing.

【0006】この図8において、複数の信号、例えばN
個の信号S1〜SNがそれぞれ可変レート符号化部611
〜61Nに入力されて可変レート符号化され、多重化部
60に送られて統計多重される。
In FIG. 8, a plurality of signals, for example, N
Signals S 1 to S N are respectively supplied to the variable rate encoder 61 1.
To 61 N , variable-rate encoded, sent to the multiplexing unit 60, and statistically multiplexed.

【0007】この図8に示す統計多重による多重化装置
では、それぞれの可変レート符号化部611〜61Nに入
力される信号の内容によって時間的に変動する符号化レ
ートに応じて、動的に帯域割り当てを行う。しかしなが
ら多重後の伝送路の伝送容量は限られているので、入力
タイミングが同じデータを多重しようとした場合には、
いずれかのデータが多重化装置内のバッファ内に蓄えら
れたまま待たされることになり、多重遅延が発生する。
[0007] In the multiplexing device according to statistical multiplexing shown in FIG. 8, depending on the coding rate which varies with time by the contents of the signals input to the variable rate encoding unit 61 1 to 61 N, the dynamic Is assigned to the band. However, since the transmission capacity of the transmission line after multiplexing is limited, when trying to multiplex data with the same input timing,
One of the data is kept waiting in the buffer in the multiplexer, and a multiplex delay occurs.

【0008】次に、図8の多重化部60に、図9に示す
ようなDSM−CCデータカルーセル方式のデータ符号
化部63からのデータストリームが加わった場合の多重
化装置の一例を考察する。
Next, an example of a multiplexing apparatus when the data stream from the data encoding section 63 of the DSM-CC data carousel system as shown in FIG. 9 is added to the multiplexing section 60 in FIG. 8 will be considered. .

【0009】この図9では、データ放送サービスのコン
テンツ等のデータDがDSM−CCデータカルーセル方
式のデータ符号化部63に送られて符号化され、このD
SM−CCデータ符号化部63からのデータストリーム
が多重化部60に入力されている。
In FIG. 9, data D such as contents of a data broadcasting service is sent to a data encoding unit 63 of the DSM-CC data carousel system and encoded.
The data stream from the SM-CC data encoding unit 63 is input to the multiplexing unit 60.

【0010】ここで、このDSM−CCカルーセル伝送
方式について説明する。上述したようなデータ放送サー
ビスのコンテンツの制作者は、例えば上記MHEGのオ
ーサリングツールを用いてコンテンツ・データを作成
し、そのコンテンツ・データは、一例として図10のよ
うなディレクトリ構造を持つ。この図10において、フ
ァイルi(i=1,2…)は、それぞれ1つのシーンを
構成するようなデータなどとされる。
Here, the DSM-CC carousel transmission system will be described. The creator of the content of the data broadcasting service as described above creates content data using, for example, the MHEG authoring tool, and the content data has a directory structure as shown in FIG. 10 as an example. In FIG. 10, a file i (i = 1, 2,...) Is data that constitutes one scene.

【0011】DSM−CCデータカルーセル方式では、
データを受信する単位をモジュールというが、通常モジ
ュールは図10でのそれぞれのファイルと対応付けられ
る。この図10において、1つの放送プログラムに対応
するルートディレクトリ30に、例えば各シーンに対応
するサブディレクトリ31,32が設けられ、サブディ
レクトリ31内にビデオ、オーディオ、データ等に対応
するファイル33,34,35が設けられている。な
お、ファイルは他のサブディレクトリやルートディレク
トリに設けられるものもある。
In the DSM-CC data carousel system,
A unit for receiving data is called a module, and a normal module is associated with each file in FIG. In FIG. 10, for example, sub directories 31 and 32 corresponding to each scene are provided in a root directory 30 corresponding to one broadcast program, and files 33 and 34 corresponding to video, audio, data, and the like are provided in the sub directory 31. , 35 are provided. Some files are provided in another subdirectory or root directory.

【0012】次に図11を用いてモジュールの1つをD
SM−CCセクション形式に変換する手順を説明する。
Next, referring to FIG.
The procedure for converting to the SM-CC section format will be described.

【0013】DSM−CCデータカルーセル方式では、
データをMPEG2の伝送形態の1つであるセクション
形式に変換するが、セクションはMPEG2規格により
その大きさが4KBに制限されている。そこで図11に
示すように、上記1つのファイルに相当するモジュール
40は、ブロックサイズと呼ばれる共通の大きさのブロ
ック41に機械的に分割される。なお最後のブロック4
2だけは上記ブロックサイズの大きさより小さくてもよ
い。
In the DSM-CC data carousel system,
The data is converted into a section format, which is one of the transmission formats of MPEG2, and the size of the section is limited to 4 KB according to the MPEG2 standard. Therefore, as shown in FIG. 11, the module 40 corresponding to the one file is mechanically divided into blocks 41 having a common size called a block size. Last block 4
Only 2 may be smaller than the block size.

【0014】このように機械的に分割された1つのブロ
ック41にDSM−CCヘッダ43を付加して、DDB
(Download Data Block) と呼ばれる構造に変換し、さ
らにMPEG2の伝送形態の1つであるセクション形式
にするためのヘッダ45とCRC(Cyclic Redundancy
Check Code)46とを付加して、セクションとする。こ
うして作られるセクションは4KBを超えないように、
上記ブロックサイズが選ばれている。このDDB構造を
格納したセクションを、これ以降DDBセクションと呼
ぶことにする。こうして、1つのデータ放送サービスを
構成する全てのモジュールからDDBセクションを作り
出す。DSM−CCデータカルーセル方式では、DDB
セクションを正しく受信するために必要な制御情報とし
てDII(Download Info Indication)とDSI(Down
load Server Initiate)という2つのダウンロード制御
メッセージが用意されている。なお、これらに対してD
DBはダウンロードデータメッセージに分類される。
A DSM-CC header 43 is added to one block 41 mechanically divided as described above,
(Download Data Block), and a header 45 and a CRC (Cyclic Redundancy) for converting to a section format which is one of the transmission formats of MPEG2.
Check Code) 46 to form a section. The section made in this way should not exceed 4KB
The above block size is selected. The section storing the DDB structure is hereinafter referred to as a DDB section. In this way, a DDB section is created from all modules constituting one data broadcasting service. In the DSM-CC data carousel system, DDB
DII (Download Info Indication) and DSI (Down) are used as control information necessary to correctly receive a section.
Two download control messages of “load Server Initiate” are prepared. Note that D
The DB is classified as a download data message.

【0015】ここで、図12はDSM−CCセクション
の上記DDBのパケット構造を、図13は上記DIIの
パケット構造をそれぞれ示している。これらの図12、
図13において、DSMCC_section() の最初の項目(フィ
ールド)であるtable_id(8ビット)が0x3C(16進数
表示で「3C」、十進数で「60」)のとき上記DDB
を示し、0x3Bのとき上記DII又はDSIを示す。ま
た、DII構造のメッセージヘッダのmessageId フィー
ルドが 0x1002 のとき、DIIセクションを構成するT
S(トランスポートストリーム)であることを示す。さ
らに、DSMCC_section() のdsmcc_section_length(12
ビット)のフィールドは、以下に続くセクションの長さ
を表し、この長さは最大4093(バイト)である。
FIG. 12 shows the packet structure of the DDB in the DSM-CC section, and FIG. 13 shows the packet structure of the DII. These FIG. 12,
In FIG. 13, when the table_id (8 bits), which is the first item (field) of the DSMCC_section (), is 0x3C (“3C” in hexadecimal notation, “60” in decimal), the above DDB
0x3B indicates the above DII or DSI. When the messageId field of the message header of the DII structure is 0x1002, the T
S (transport stream). Furthermore, the dsmcc_section_length of the DSMCC_section () (12
The bit) field indicates the length of the following section, which can be up to 4093 (bytes).

【0016】図12に示すDSMCC_section() のDDBの
パケット構造において、table_id_extentionにはmodule
Idが、section_numberにはDownload_Data_Block() のbl
ockNumber の下位8ビットが、last_section_number に
は最終セクション番号がそれぞれ記載される。また、Do
wnload_Data_Block() の先頭位置のヘッダであるdsmccD
ownloadDataHeader() には、protocalDiscriminatoer、
dsmccType 、messageId 、downloadId、adaptationLeng
th、messageLength 、dsmccadaptationHeader等が設け
られ、adaptationLengthはdsmccadaptationHeader の長
さを、messageLength はdsmccadaptationHeader からDo
wnload_Data_Block() のblockData の終端までの長さを
それぞれ表している。また、Download_Data_Block() の
blockNumber にはブロック番号が記載され、このブロッ
ク番号の下位8ビットがDSMCC_section() の上記sectio
n_number に記載される。
In the DDBC packet structure of DSMCC_section () shown in FIG.
Id is bl of Download_Data_Block () in section_number
The lower 8 bits of ockNumber are described, and the last section number is described in last_section_number. Also, Do
dsmccD which is the header at the beginning of wnload_Data_Block ()
ownloadDataHeader () contains protocolDiscriminatoer,
dsmccType, messageId, downloadId, adaptationLeng
th, messageLength, dsmccadaptationHeader, etc. are provided, adaptationLength is the length of dsmccadaptationHeader, and messageLength is Dom from dsmccadaptationHeader.
It indicates the length to the end of blockData of wnload_Data_Block (). Also, of Download_Data_Block ()
The block number is described in blockNumber, and the lower 8 bits of this block number are the above sectio of DSMCC_section ().
Described in n_number.

【0017】図13に示すDSMCC_section() のDIIの
パケット構造において、table_id_extentionにはtr_id
の下位16ビットが記載される。また、DownloadInfoIn
dication()(DII)には、カルーセルのタイムアウト
値、ブロックサイズなどの情報や、モジュールそれぞれ
のサイズやバージョンなどの情報が記述されている。す
なわち、downloadId、blocksize 、windowsize、ackPer
iod 、tCDownloadWindow、tCDownloadSenario 、compat
ibilityDescriptor() 等、及びモジュール数を示すnumb
erOfModules や、各モジュール毎のmoduleId、moduleSi
ze、moduleVersion 、moduleInfoLength、moduleInfoBy
te等である。図10のような構成の場合には、サブディ
レクトリと対応付けられた複数のDIIと、それらにリ
ンクするための情報がDSIに記述される。なお、コン
テンツデータの構成が簡単な場合はDSIが使われない
こともある。
In the DII packet structure of DSMCC_section () shown in FIG. 13, tr_id is added to table_id_extention.
The lower 16 bits are described. Also, DownloadInfoIn
In dication () (DII), information such as a carousel timeout value and a block size, and information such as the size and version of each module are described. That is, downloadId, blocksize, windowsize, ackPer
iod, tCDownloadWindow, tCDownloadSenario, compat
ibilityDescriptor () etc. and numb indicating the number of modules
erOfModules, moduleId for each module, moduleSi
ze, moduleVersion, moduleInfoLength, moduleInfoBy
te and so on. In the case of the configuration as shown in FIG. 10, a plurality of DIIs associated with subdirectories and information for linking them are described in the DSI. When the configuration of the content data is simple, the DSI may not be used.

【0018】DIIとDSIは、DDBと同じようにヘ
ッダとCRCを付け加えてセクション形式に変換され
る。これらのDII構造、DSI構造を格納したセクシ
ョンを、これ以降それぞれDIIセクション、DSIセ
クションと呼ぶことにする。DSM−CCデータカルー
セル方式では、DDBセクション、DIIセクション、
DSIセクションをMPEG2トランスポートストリー
ム(以後TSと略す)に変換して繰り返し伝送すること
になる。図14に示すように、これらをカルーセル58
という仮想的な回転体の表面にそれぞれ貼り付けて、カ
ルーセルの回転に合わせて順次多重化装置にデータを送
り出す。
DII and DSI are converted into a section format by adding a header and a CRC similarly to DDB. The sections storing these DII structures and DSI structures are hereinafter referred to as DII sections and DSI sections, respectively. In the DSM-CC data carousel system, a DDB section, a DII section,
The DSI section is converted into an MPEG2 transport stream (hereinafter abbreviated as TS) and repeatedly transmitted. As shown in FIG.
Are attached to the surface of a virtual rotating body, and data is sequentially sent to the multiplexing device according to the rotation of the carousel.

【0019】すなわち、この図14において、M1,M
2,・・・の各モジュール51,52,・・・の例えば
M1のモジュール51が、上記図11と共に説明したよ
うにいくつかのブロックに分割され、各ブロック毎にセ
クション化されて、DDBセクション531、532、5
3 とされ、各セクションがトランスポートストリーム
化される。これらのトランスポートストリーム化された
DDBセクション55がカルーセル58に配置される。
That is, in FIG. 14, M1, M
The module 51 of, for example, M1 of the modules 51, 52,... Of M2,... Is divided into several blocks as described with reference to FIG. 53 1 , 53 2 , 5
3 3 is a, each section is a transport stream of. These transport-streamed DDB sections 55 are arranged in the carousel 58.

【0020】このように、カルーセル58にはDSIセ
クション56、DIIセクション57、DDBセクショ
ン55が配置され、周期的に送出されることになるが、
カルーセル上の全データが大きくなると、カルーセル1
周期が長くなり、モジュールの情報を収めたDIIセク
ションや、データ放送サービスを受信した際の最初のシ
ーンを収めたDDBセクションなど、受信時に短い待ち
時間で受信できることが望ましい特定のセクションの周
期もそれに従って長くなってしまう。そこでこのような
短い待ち時間で受信できる方が望ましいセクションは、
カルーセル上に複数、それもできるだけ相互に離して配
置・送出することにより、その他のセクションより送信
間隔を短くなされる。
As described above, the DSI section 56, the DII section 57, and the DDB section 55 are arranged in the carousel 58 and are periodically transmitted.
When all data on the carousel grows, the carousel 1
The period becomes longer, and the period of a specific section, such as a DII section that contains module information and a DDB section that contains the first scene when receiving a data broadcasting service, which should be able to be received with a short waiting time at the time of reception, is also included. It becomes longer according to. Therefore, the section where it is desirable to be able to receive with such a short waiting time,
By arranging and transmitting a plurality of carousels on the carousel as far as possible from each other, the transmission interval can be made shorter than in other sections.

【0021】以上のように構成されたDSM−CCデー
タカルーセル方式のデータ符号化装置においては、符号
化レートはカルーセルの全データ容量とカルーセルの周
期で決まるものとなる。ただし、実際の符号化装置で
は、メモリ上に展開されたカルーセルのデータを、設定
された符号化レートに従って順次多重化装置に送出する
ことになるが、これを前記のように全データ容量とカル
ーセルの回転周期と捉えてもよい。
In the data encoder of the DSM-CC data carousel system configured as described above, the encoding rate is determined by the total data capacity of the carousel and the period of the carousel. However, in the actual encoding device, the carousel data expanded on the memory is sequentially transmitted to the multiplexing device in accordance with the set encoding rate. May be considered as the rotation cycle of

【0022】[0022]

【発明が解決しようとする課題】ところで、従来の多重
化装置においては、入力されたDSM−CCストリーム
の伝送制約を確実に守りながら多重を行う機能が存在し
ていなかった。
Incidentally, the conventional multiplexing apparatus does not have a function of performing multiplexing while securely observing the transmission restriction of the input DSM-CC stream.

【0023】ここでいう「伝送制約」とは、DSM−C
Cのストリームの伝送上で守らなくてはならないいくつ
かの規格を総称しているが、それらは次のとおりであ
る。 (1)"tCDownloadScenario":上述したDIIというD
SM−CCの制御メッセージに格納されている4バイト
のフィールドである。MPEG2−6(ISO/IEC
18138−6)規格では受信機においてモジュール
取得のタイムアウトに利用する目的で、その値はカルー
セル1周期以上とされている。 (2)"time_out_value_DII":DVBデジタル放送規格
(DVB specification fordata broadcasting) に規定さ
れている「データ放送記述子」に格納されている4バイ
トのフィールドで、DIIの受信時のタイムアウト値で
ある。 (3)"time_out_value_DSI":(2)と同様に「データ
放送記述子」に格納されている4バイトのフィールド
で、DSIというDSM−CC制御メッセージの受信時
のタイムアウト値である。
The "transmission constraint" referred to here is the DSM-C
Some of the standards that must be adhered to when transmitting the C stream are as follows. (1) "tCDownloadScenario": D of the above-mentioned DII
This is a 4-byte field stored in the SM-CC control message. MPEG2-6 (ISO / IEC
In the 18138-6) standard, the value is set to one cycle or more of the carousel in order to use the module for timeout of module acquisition in the receiver. (2) "time_out_value_DII": DVB digital broadcasting standard
This is a 4-byte field stored in the “data broadcasting descriptor” defined in the (DVB specification for data broadcasting), and is a timeout value when receiving DII. (3) "time_out_value_DSI": Similar to (2), this is a 4-byte field stored in the "data broadcast descriptor" and is a timeout value when receiving a DSM-CC control message called DSI.

【0024】ここで、上述したように、DSM−CCデ
ータストリームはモジュールの更新などの場合を除き、
一定の符号化レートで多重化装置に送られるが、今まで
は、伝送制約を解析する手段も無く、伝送されてきたデ
ータをそのまま多重をしていた。したがって、統計多重
による多重化装置の場合には、多重時にストリーム同士
の競合が生じた場合、すなわち入力タイミングが同じス
トリームを多重しようとした場合には、いずれかのスト
リームが多重化装置内のバッファで待たされるため多重
遅延が生じ、この多重遅延によって、DSM−CCデー
タストリームの本来守るべき上記伝送制約が守られない
状態で伝送される可能性がある。
Here, as described above, the DSM-CC data stream is used except for the case of updating a module.
Although the data is sent to the multiplexing device at a constant coding rate, there has been no means for analyzing the transmission constraint, and the transmitted data has been multiplexed as it is. Therefore, in the case of a multiplexing apparatus based on statistical multiplexing, when competition between streams occurs during multiplexing, that is, when trying to multiplex streams having the same input timing, one of the streams is buffered in the multiplexing apparatus. Therefore, there is a possibility that the DSM-CC data stream is transmitted in a state where the above-mentioned transmission constraint, which should be strictly observed, is not observed.

【0025】本発明は、上述の問題点に鑑みてなされた
ものであって、DSM−CCデータストリーム等の周期
的にデータが送出されるデータストリームの伝送制約を
守りながら多重することが可能な信号多重化方法及び装
置を提供することを目的とする。
The present invention has been made in view of the above problems, and enables multiplexing while observing transmission restrictions of a data stream such as a DSM-CC data stream to which data is periodically transmitted. It is an object to provide a signal multiplexing method and apparatus.

【0026】[0026]

【課題を解決するための手段】すなわち、本発明に係る
信号多重化方法及び装置は、可変レート符号化された複
数の信号を統計多重する際に、入力される信号の少なく
とも一つに周期的にデータが送出されるデータストリー
ムが用いられ、そのデータストリームを分析して多重要
求を出力し、上記多重要求に応じて上記データストリー
ムを多重制御することにより、上記課題を解決するもの
である。
In other words, a signal multiplexing method and apparatus according to the present invention provide a method for statistically multiplexing a plurality of signals subjected to variable rate coding, wherein at least one of the input signals is periodically multiplexed. The object of the present invention is to solve the above problem by analyzing a data stream, outputting a multiplexing request, and controlling the multiplexing of the data stream in response to the multiplexing request.

【0027】ここで、上記周期的なデータストリームは
DSM−CCデータカルーセル方式のデータストリーム
であり、そのデータストリームの伝送制約に基づいて上
記多重要求を出力することが挙げられる。
Here, the periodic data stream is a data stream of the DSM-CC data carousel system, and the multiplex request is output based on transmission restrictions of the data stream.

【0028】上記多重要求としては、データストリーム
の入力時刻からの多重遅延時間に基づいて、上記多重要
求を段階的に行うことが挙げられる。また、上記入力さ
れる複数の信号についてのそれぞれの入力時刻からの各
多重遅延時間を検出し、これらの各多重遅延時間の内の
遅延量の多い信号から優先して多重することが挙げられ
る。また、上記入力される複数の信号についてのそれぞ
れの優先度に基づいて、優先度の高い信号から優先して
多重することが挙げられる。これらを適宜組み合わせて
もよい。
As the multiplex request, the multiplex request is made stepwise based on a multiplex delay time from the input time of the data stream. In addition, it is also possible to detect each multiplex delay time from the input time of each of the plurality of input signals, and to prioritize multiplexing from a signal having a large delay amount among these multiplex delay times. In addition, based on the priority of each of the plurality of input signals, multiplexing may be performed by giving priority to a signal having a higher priority. These may be appropriately combined.

【0029】[0029]

【発明の実施の形態】以下、本発明に係る信号多重化方
法及び装置の実施の形態について図面を参照しながら説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a signal multiplexing method and apparatus according to the present invention will be described with reference to the drawings.

【0030】先ず図1は、本発明に係る第1の実施の形
態の信号多重化装置の概略構成を示すブロック図であ
る。この本発明の第1の実施の形態においては、入力さ
れる信号の少なくとも一つに周期的にデータが送出され
るデータストリームが用いられ、そのデータストリーム
を分析して多重間隔あるいは周期を求め、その多重間隔
に収まるようにデータストリームを多重化する。具体的
には、上記周期的なデータストリームはDSM−CCデ
ータカルーセル方式のデータストリームであり、上記伝
送単位はセクションであり、DSM−CCストリームの
タイムアウト値等の伝送制約を守るようにデータストリ
ームを多重化制御する。
FIG. 1 is a block diagram showing a schematic configuration of a signal multiplexing apparatus according to a first embodiment of the present invention. In the first embodiment of the present invention, a data stream in which data is periodically transmitted is used for at least one of the input signals, and the data stream is analyzed to determine a multiplex interval or a cycle. The data stream is multiplexed so as to be within the multiplexing interval. Specifically, the periodic data stream is a data stream of the DSM-CC data carousel system, the transmission unit is a section, and the data stream is transmitted so as to comply with transmission restrictions such as a timeout value of the DSM-CC stream. Perform multiplexing control.

【0031】この図1において、それぞれ例えばMPE
G2(ISO/IEC 18138)方式等により可変レ
ート符号化されて得られた複数の信号、例えばN個の符
号化ストリームCS1〜CSNが多重化部10に送られて
統計多重される。また、データ放送サービスのコンテン
ツ等のデータがDSM−CCデータカルーセル方式のデ
ータ符号化部にて符号化されることによって得られたデ
ータストリームDSが多重化部10に入力されている。
N個の符号化ストリームCS1〜CSNは、多重化部10
のバッファ111〜11Nに送られ、データストリームD
Sは多重化部10のバッファ12に送られ、これらのバ
ッファ111〜11N、12から読み出されてセレクタ1
5に送られる。
In FIG. 1, for example,
G2 (ISO / IEC 18138) scheme plurality of signals obtained by the variable rate encoded by such, for example, N pieces of encoded streams CS 1 to CS N are statistical multiplexing is sent to the multiplexer 10. Further, a data stream DS obtained by encoding data such as contents of a data broadcasting service in a data encoding unit of the DSM-CC data carousel system is input to the multiplexing unit 10.
N pieces of encoded streams CS 1 to CS N can multiplexer 10
Sent to the buffer 11 1 to 11 N, the data stream D
S is sent to the buffer 12 of the multiplexing unit 10, and is read out from these buffers 11 1 to 11 N and 12 to be output to the selector 1
Sent to 5.

【0032】多重化制御回路20は、これらのバッファ
111〜11N、12からのデータの読み出しを制御する
と共に、セレクタ15を選択制御している。多重要求部
22は、多重制御回路20に対してDSM−CCストリ
ームの多重要求を行う部分である。多重要求部22に
は、データ符号化装置等から、カルーセルの全データ量
と、各タイムアウト値、すなわち、例えば前述したよう
なtCDownloadScenario、DIIタイムアウト、DSIタ
イムアウトが付帯情報として端子21を介して供給され
る。また、多重要求部22には、DSM−CCのデータ
ストリームDSを一時的に蓄えるバッファ12への入力
時刻t1、及び多重時刻(バッファ12からセレクタ1
5を介しての出力時刻)t2の情報が供給される。
The multiplexing control circuit 20 controls the reading of data from these buffers 11 1 to 11 N and 12 and also controls the selection of the selector 15. The multiplex request unit 22 is a unit that requests the multiplex control circuit 20 to multiplex a DSM-CC stream. The multiplexing request unit 22 is supplied from the data encoding device or the like via the terminal 21 with the total data amount of the carousel and each timeout value, that is, for example, tCDownloadScenario, DII timeout, and DSI timeout as described above, as additional information. You. Further, the multiplexing request unit 22 includes an input time t1 to the buffer 12 for temporarily storing the data stream DS of the DSM-CC, and a multiplexing time (from the buffer 12 to the selector 1).
5) is supplied.

【0033】この図1において、TP(トランスポート
パケット)単位でバッファ12に入力されたデータスト
リームDSについては、バッファ12に入った時点での
TPの入力時刻t1が多重要求部22に送られて記録さ
れる。多重要求部22では、取得した tCDownloadScena
rio の値を基に、DSM−CCデータストリームの第1
のTP多重間隔T1を、以下の式、 T1= tCDownloadScenario /(カルーセル全データ量/1
TP分のデータ量) により求める。式中の1TP分のデータ量は、MPEG
2の規定で188バイトとなる。
In FIG. 1, for the data stream DS input to the buffer 12 in TP (transport packet) units, the input time t1 of the TP at the time of entering the buffer 12 is sent to the multiplex request unit 22. Be recorded. In the multiplex request unit 22, the acquired tCDownloadScena
Based on the value of rio, the first DSM-CC data stream
The TP multiplexing interval T1 of the following equation is expressed by the following equation: T1 = tCDownloadScenario / (carousel total data amount / 1
TP). The data amount for one TP in the formula is MPEG
It becomes 188 bytes by the rule of 2.

【0034】さらに、DIIの伝送間隔を示すDIIタ
イムアウト、DSIの多重間隔を示すDSIタイムアウ
トの各値に基づいて、第2,第3のTPの多重間隔T
2,T3を求める。まず、カルーセルに含まれているT
Pの数(TPC)を、 TPC = カルーセル全データ量 / 1TP分のデータ
量 の式により求める。このTPCを上限としてTPの数を
カウントすることでカルーセルの一周期を知り、DII
とDIIの間にあるTPの数(tpc1)、及びDSI
とDSIの間にあるTPの数(tpc2)をそれぞれ計
測する。DII,DSIがカルーセル中に複数存在した
場合には、それぞれ最も値の大きいtpc1,tpc2
を用いる。
Further, based on the DII timeout indicating the DII transmission interval and the DSI timeout indicating the DSI multiplexing interval, the multiplexing interval T of the second and third TPs is determined.
2. Find T3. First, the T contained in the carousel
The number of Ps (TPC) is determined by the following equation: TPC = total data amount of carousel / 1 data amount for 1 TP. By counting the number of TPs with this TPC as an upper limit, one cycle of the carousel is known, and DII
Number of TPs between t and DII (tpc1), and DSI
And the number of TPs between the DSI and the DSI (tpc2) are measured. When a plurality of DII and DSI exist in the carousel, tpc1 and tpc2 having the largest values respectively.
Is used.

【0035】次に、DIIタイムアウト値Time_out_val
ue_DIIを用いて、 T2 = Time_out_value_DII / tpc1 とすることでTP多重間隔T2を求め、同様に、DSI
のTP多重間隔T3を、DSIタイムアウト値Time_out
_value_DSIを用いて、 T3 = Time_out_value_DSI / tpc2 とすることで求める。これらのT1,T2,T3のうち、
最も小さい値、すなわち最も厳しい値を、TPの多重間
隔Tとして定める。すなわち、 T = min(T1,T2,T3) とする。
Next, the DII timeout value Time_out_val
By using ue_DII, T2 = Time_out_value_DII / tpc1 to obtain a TP multiplexing interval T2.
TP multiplexing interval T3 is set to DSI timeout value Time_out
Using _value_DSI, T3 = Time_out_value_DSI / tpc2. Of these T1, T2, T3,
The smallest value, that is, the strictest value, is determined as the multiplexing interval T of TP. That is, T = min (T1, T2, T3).

【0036】データストリーム中のTPは、常に周期T
以下の間隔で多重することにより、いずれのタイムアウ
ト値も遵守することができる。例えば多重要求として3
段階のレベルを用いる場合、それぞれ、 レベルLV1:他に競合するデータが無ければ多重する
よう要求、 レベルLV2:他のAVデータより優先的に多重するよ
う要求、 レベルLV3:他のどんなデータよりも優先して多重す
るよう要求 とすることが挙げられる。
The TP in the data stream always has a period T
By multiplexing at the following intervals, any timeout value can be observed. For example, 3 as a multiplex request
When using different levels, level LV1: request to multiplex if there is no other competing data, level LV2: request to multiplex with priority over other AV data, and level LV3: more than any other data. It is required to give priority to multiplexing.

【0037】ここで図2は、上記MPEG2等のAV
(オーディオ・ビジュアル)データストリームを蓄える
N個のバッファ111〜11Nと、上記DSM−CCデー
タカルーセル方式のデータストリームを蓄えるバッファ
12と、制御データであるSIデータを蓄えるバッファ
13とがセレクタ15に接続され、これらのバッファ1
1〜11N,12,13からのデータをセレクタ15に
より選択して多重する場合を示している。通常は、これ
らのデータの内バッファ13のSIデータ(制御デー
タ)が最も優先度が高く、他のデータに優先して多重さ
れる。
FIG. 2 shows an example of the AV such as MPEG2.
(Audio-visual) and N buffers 11 1 to 11 N for storing a data stream, the DSM-CC data carousel scheme buffer 12 for storing the data streams, buffer 13 and the selector 15 for storing SI data is control data Connected to these buffers 1
1 1 to 11 N, the data from the 12 and 13 selected by the selector 15 shows a case of multiplexing. Normally, among these data, the SI data (control data) in the buffer 13 has the highest priority, and is multiplexed prior to other data.

【0038】この図2において、上記レベルLV1で
は、AVストリームを蓄えるN個のバッファ111〜1
Nと、DSM−CCストリームを蓄えるバッファ12
との内の優先度の高いバッファから順に、例えばバッフ
ァ占有量(データ蓄積量)の多いバッファから優先的
に、データを読み出して多重する。ただし、SIデータ
よりは優先度は低い。次に上記レベルLV2では、DS
M−CCストリームを蓄えるバッファ12を、AVスト
リームを蓄えるN個のバッファ111〜11Nのいずれよ
りも優先して読み出して多重するが、SIデータよりは
優先度は低い。さらに上記レベルLV3では、AVスト
リームを蓄えるN個のバッファ111〜11N、SIデー
タを蓄えるバッファ13のいずれよりも優先して、バッ
ファ12からDSM−CCデータを読み出し、多重す
る。
In FIG. 2, at the level LV1, N buffers 111 to 1 for storing AV streams are used.
1 N and buffer 12 for storing DSM-CC stream
The data is read out and multiplexed in order from the buffer with the highest priority among the buffers, for example, from the buffer with the largest buffer occupancy (data storage amount). However, the priority is lower than the SI data. Next, at the level LV2, DS
A buffer 12 for storing the M-CC stream, read in preference to any of the N buffers 11 1 to 11 N for storing an AV stream and multiplexed, but priority than SI data is low. Further, in the level LV3, in preference to any of the N buffers 11 1 to 11 N, store SI data buffer 13 for storing the AV stream, reads a DSM-CC data from the buffer 12 are multiplexed.

【0039】これらの多重要求レベルLV1〜LV3
は、現在の時刻t2と、多重されるデータのバッファに
対する入力時間t1の関係によって決まる。前記の最小
多重間隔T以下で2つの閾値QT1,QT2を、QT1
<QT2<Tとなるように設定し、t2−t1<QT1
の場合はレベル1の多重要求、QT1<t2−t1<Q
T2の場合はレベルLV2の多重要求、QT2<t2−
t1<Tの場合はレベルLV3の多重要求を行う。多重
制御回路では、多重要求部から出された要求にしたがっ
て、セレクタを操作し多重を行う。常に上記のように多
重要求をすることで常に一定のTP多重間隔T以下での
多重を守ることができ、DSM−CCストリームの伝送
制約を守りながら多重を行うことができる。
These multiple request levels LV1 to LV3
Is determined by the relationship between the current time t2 and the input time t1 to the multiplexed data buffer. The two thresholds QT1 and QT2 below the minimum multiplexing interval T are defined as QT1
<QT2 <T, t2−t1 <QT1
Is a level 1 multiplex request, QT1 <t2-t1 <Q
In the case of T2, a multiplex request of level LV2, QT2 <t2-
If t1 <T, a multiplex request for level LV3 is made. The multiplexing control circuit operates the selector to perform multiplexing according to the request issued from the multiplexing request unit. By always making a multiplexing request as described above, multiplexing at a fixed TP multiplexing interval T or less can be always maintained, and multiplexing can be performed while observing the transmission restriction of the DSM-CC stream.

【0040】次に、多重化間隔及び上記レベルLV1〜
LV3の多重化要求についてさらに詳細に説明する。
Next, the multiplexing interval and the level LV1
The multiplexing request of LV3 will be described in more detail.

【0041】図3は、DSM−CCストリーム以外のス
トリームが多重されていない状態において、3種類のD
SM−CCストリームDS1、DS2、DS3 のみを多重
する例を示しており、それぞれのデータストリームDS
1、DS2、DS3 に対応した遅延量の推移を示してい
る。この図3のような場合に、上記閾値QT1は、例え
ば、 QT1 = (1パケット分のデータ量×多重チャンネル
数)/出力ビットレート により決めることができる。これは、DSM−CCスト
リーム以外のストリームが多重されていない状態でDS
M−CCストリームのみが多重されている場合における
遅延量の最大値に相当する。すなわち、この状態での遅
延量を超える遅延が発生した場合は、レベルLV2の多
重要求を行うことになる。
FIG. 3 shows three types of D in a state where streams other than the DSM-CC stream are not multiplexed.
An example is shown in which only SM-CC streams DS 1 , DS 2 and DS 3 are multiplexed, and each data stream DS
Shows the transition of the delay amount corresponding to 1, DS 2, DS 3. In the case as shown in FIG. 3, the threshold value QT1 can be determined by, for example, QT1 = (data amount of one packet × number of multiplexed channels) / output bit rate. This is because DS streams are not multiplexed except for DSM-CC streams.
This corresponds to the maximum value of the delay amount when only the M-CC stream is multiplexed. That is, when a delay exceeding the delay amount in this state occurs, a multiplex request of the level LV2 is performed.

【0042】また、上記閾値QT2については、実際の
運用を考慮して決まる値であり、例えば、 QT2 = T × 0.8 程度の値を用いることができる。
The threshold value QT2 is a value determined in consideration of actual operation, and for example, a value of about QT2 = T × 0.8 can be used.

【0043】図4は、DSM−CCストリーム以外にも
他のストリームパケットが多重されている例を示してい
る。この図4の例では、他のAVストリームデータST
や、制御データSI等が多重化されているため、遅延量
が上記閾値QT1を超えて増大し、場合によっては上記
閾値QT2を超えることもある。遅延量が閾値QT1を
超えるまでは、上記多重要求レベルLV1であるが、閾
値QT1を超えると、多重要求レベルLV2となり、さ
らに閾値QT2を超えると多重要求レベルLV3とな
る。すなわち、遅延時間がQT1〜QT2の範囲内にあ
るときにはレベルLV2,QT2〜Tの範囲内にあると
きはレベルLV3とする。
FIG. 4 shows an example in which other stream packets besides the DSM-CC stream are multiplexed. In the example of FIG. 4, the other AV stream data ST
Further, since the control data SI and the like are multiplexed, the delay amount increases beyond the threshold value QT1, and in some cases, exceeds the threshold value QT2. The multiplex request level LV1 is maintained until the delay amount exceeds the threshold value QT1, but when the delay amount exceeds the threshold value QT1, the multiplex request level becomes LV2. When the delay amount exceeds the threshold value QT2, the multiplex request level becomes LV3. That is, when the delay time is within the range between QT1 and QT2, the level is set to LV2, and when the delay time is within the range between QT2 and T, the level is set to LV3.

【0044】以上説明したような本発明の第1の実施の
形態の動作をまとめて、図5のフローチャートに示す。
The operation of the first embodiment of the present invention as described above is summarized in a flowchart of FIG.

【0045】図5において、最初のステップS1では上
記伝送制約、すなわち、上述したような tCDownloadSce
nario 、DIIタイムアウト、DSIタイムアウト等を
検出する。次のステップS2では、上記 tCDownloadSce
nario の値に基づきDSM−CCデータストリームのT
P多重間隔T1求め、DIIの伝送間隔を示すDIIタ
イムアウト、DSIの多重間隔を示すDSIタイムアウ
トに基づきTPの多重間隔T2,T3をそれぞれ求め
て、これらのT1,T2,T3の内の最も小さい値をT
Pの多重間隔Tとして決定する。次のステップS3で
は、上述した多重要求レベルの閾値QT1,QT2を設
定する。
In FIG. 5, in the first step S1, the above-mentioned transmission constraint, that is, tCDownloadSce
nario, DII timeout, DSI timeout, etc. are detected. In the next step S2, the tCDownloadSce
T of the DSM-CC data stream based on the value of nario
The P multiplex interval T1 is determined, the TP multiplex intervals T2 and T3 are determined based on the DII timeout indicating the DII transmission interval and the DSI timeout indicating the DSI multiplex interval, respectively, and the smallest value among these T1, T2 and T3 is obtained. To T
The multiplexing interval T of P is determined. In the next step S3, the threshold values QT1 and QT2 of the multiplex request level described above are set.

【0046】次に、ステップS4では、DSM−CCデ
ータストリームのバッファの遅延量、すなわち上記t2
−t1を検出する。次のステップS5では、ステップS
4で検出されたバッファ遅延量t2−t1が上記閾値Q
T1より小さい(t2−t1<QT1)か否かを判別
し、YESのときはステップS6に進み、NOのときは
ステップS7に進む。ステップS6では、上記レベルL
V1の多重要求を行う。ステップS7では、テップS4
で検出されたバッファ遅延量t2−t1が、上記閾値Q
T1より大きくかつ上記閾値QT2より小さい(QT1
<t2−t1<QT2)か否かを判別し、YESのとき
はステップS8に進み、NOのときはステップS9に進
む。ステップS8では、上記レベルLV2の多重要求を
行い、ステップS9では、上記レベルLV3の多重要求
を行う。ステップS6,S8,S9の後は、ステップS
4に戻って、上記バッファ遅延量t2−t1を検出す
る。
Next, in step S4, the delay amount of the buffer of the DSM-CC data stream, that is, t2
-Detect t1. In the next step S5, step S5
4 is equal to the threshold value Q2.
It is determined whether or not it is smaller than T1 (t2−t1 <QT1). If YES, the process proceeds to step S6, and if NO, the process proceeds to step S7. In step S6, the level L
A multiplex request for V1 is made. In step S7, step S4
Is equal to the threshold value Q2.
Larger than T1 and smaller than the threshold value QT2 (QT1
It is determined whether or not <t2−t1 <QT2). If YES, the process proceeds to step S8, and if NO, the process proceeds to step S9. In step S8, a multiplex request for the level LV2 is made, and in step S9, a multiplex request for the level LV3 is made. After steps S6, S8 and S9, step S
Returning to 4, the buffer delay amount t2-t1 is detected.

【0047】以上説明した本発明の第1の実施の形態に
よれば、DSM−CC方式のデータストリームの伝送制
約を守って多重することが可能となり、受信側で破綻を
起こすことないような多重伝送することが可能となる。
また、多重要求にレベルを設けることで、他のストリー
ムの多重を妨げてDSM−CC方式のデータストリーム
だけを多重することなく、効率の良い多重が可能とな
る。
According to the first embodiment of the present invention described above, multiplexing can be performed while observing the transmission restriction of the data stream of the DSM-CC system, and multiplexing that does not cause failure on the receiving side. It becomes possible to transmit.
Also, by providing a level in the multiplexing request, efficient multiplexing becomes possible without preventing multiplexing of other streams and multiplexing only the DSM-CC data stream.

【0048】なお、上記第1の実施の形態では、カルー
セルの全データ量と、各タイムアウト値である tCDownl
oadScenario 、DIIタイムアウト、DSIタイムアウ
トとを、端子21を介して外部から得るようにしている
が、 tCDownloadScenario については、DSM−CCデ
ータストリームのDIIセクションのシンタックスを解
析して取得するようにしてもよい。
In the first embodiment, the total data amount of the carousel and the time-out value tCDownl
Although oadScenario, DII timeout, and DSI timeout are obtained from the outside via the terminal 21, tCDownloadScenario may be obtained by analyzing the syntax of the DII section of the DSM-CC data stream. .

【0049】すなわち、図6に示すように、バッファ1
2に蓄積されたDSM−CCのデータ符号化ストリーム
中のDIIセクションについて、ストリーム解析部23
で上記図12に示したシンタックスを解析することによ
り、 tCDownloadScenario の値を求め、多重要求部22
に送る。なお、端子21からは、カルーセルの全データ
量と、DIIタイムアウト及びDSIタイムアウトの各
値とが多重要求部22に送られている。他の構成及び動
作は、上記図1の場合と同様であるため、説明を省略す
る。
That is, as shown in FIG.
2 for the DII section in the DSM-CC data encoded stream stored in
The value of tCDownloadScenario is obtained by analyzing the syntax shown in FIG.
Send to From the terminal 21, the total data amount of the carousel and the respective values of the DII timeout and the DSI timeout are sent to the multiplex request unit 22. Other configurations and operations are the same as those in FIG. 1 described above, and thus description thereof will be omitted.

【0050】次に、本発明に係る信号多重化装置の第2
の実施の形態について、図7を参照しながら説明する。
この図7において、N個の符号化ストリームCS1〜C
Nが多重化部10のバッファ111〜11Nに送られ、
DSM−CCデータストリームDSはバッファ12に送
られ、これらのバッファ111〜11N、12から読み出
されてセレクタ15に送られる。多重化制御回路20
は、これらのバッファ111〜11N、12からのデータ
の読み出しを制御すると共に、セレクタ15を切換選択
制御する。端子21には、外部のデータ符号化装置等か
ら、カルーセルの全データ量と、上記DIIタイムアウ
ト、DSIタイムアウトとが供給され、多重要求部25
に送られる。多重要求部25は、多重制御回路20に対
してDSM−CCストリームの多重要求を行う。ストリ
ーム解析部23は、バッファ12に蓄積されたDSM−
CCのデータ符号化ストリーム中のDIIセクションの
シンタックスを解析することにより、上記 tCDownloadS
cenario の値を取得し、多重要求部25に送る。この第
2の実施の形態の多重要求部25は、セレクタ15から
出力される多重化されたTSストリームを常に監視して
いる。すなわち、多重要求部25では、DSM−CCの
ストリームのPID(パケットID)と、そのパケット
の多重間隔Δtを調べ、上記第1の実施の形態と同様に
計算したTPの多重間隔Tとの差を調べる。その結果を
元に多重要求部25は、多重制御回路20に対して多重
要求を行う。
Next, the second embodiment of the signal multiplexer according to the present invention will be described.
The embodiment will be described with reference to FIG.
In FIG. 7, N encoded streams CS 1 -C
S N is sent to the buffer 11 1 to 11 N of the multiplexer 10,
DSM-CC data stream DS is sent to buffer 12 and sent to the selector 15 is read from these buffers 11 1 to 11 N, 12. Multiplex control circuit 20
Controls the reading of data from these buffers 11 1 to 11 N and 12 and also controls the selector 15 to switch and select. The terminal 21 is supplied with the total data amount of the carousel, the DII timeout, and the DSI timeout from an external data encoding device or the like.
Sent to The multiplexing request unit 25 requests the multiplexing control circuit 20 to multiplex the DSM-CC stream. The stream analysis unit 23 stores the DSM-
By analyzing the syntax of the DII section in the CC encoded data stream, the tCDownloadS
The value of cenario is acquired and sent to the multiplex request unit 25. The multiplexing request unit 25 according to the second embodiment constantly monitors the multiplexed TS stream output from the selector 15. That is, the multiplexing request unit 25 checks the PID (packet ID) of the DSM-CC stream and the multiplexing interval Δt of the packet, and finds the difference between the TP multiplexing interval T calculated in the same manner as in the first embodiment. Find out. Based on the result, the multiplexing request unit 25 makes a multiplexing request to the multiplexing control circuit 20.

【0051】具体的には、例えば上記第1の実施の形態
と同様に、閾値QT1,QT2を設定し、Δt<QT1
の場合はレベルLV1の多重要求、QT1<Δt<QT
2の場合はレベルLV2の多重要求、QT2<Δt<T
の場合はレベルLV3の多重要求を行う。多重制御回路
では、多重要求部からの多重要求に従いセレクタを操作
して多重化を行う。
More specifically, for example, threshold values QT1 and QT2 are set in the same manner as in the first embodiment, and Δt <QT1
Is the multiplex request of level LV1, QT1 <Δt <QT
In the case of 2, multiplex request of level LV2, QT2 <Δt <T
In the case of, a multiplex request for level LV3 is made. The multiplexing control circuit performs multiplexing by operating the selector according to the multiplexing request from the multiplexing request unit.

【0052】この第2の実施の形態の他の構成及び動作
は、上述した第1の実施の形態と同様であるため、説明
を省略する。
The other configuration and operation of the second embodiment are the same as those of the first embodiment, and thus the description is omitted.

【0053】以上のように多重要求を行い多重化を行う
ことで、DSM−CCストリームの伝送制約を守りなが
ら多重伝送することが可能となる。
By performing multiplexing by making a multiplex request as described above, multiplex transmission can be performed while observing the transmission restrictions of the DSM-CC stream.

【0054】なお、本発明は上述した実施の形態のみに
限定されるものではなく、例えば、上述した実施の形態
では、多重要求レベルを3つとしたが、この数に限定さ
れるものではない。例えば、多重要求が出されていたら
必ず多重するようにしたり、4段階あるいは5段階以上
の多重要求レベルを用いて、より細かく多重要求を分け
てもよい。
It should be noted that the present invention is not limited to only the above-described embodiment. For example, in the above-described embodiment, the number of multiplex request is three, but the number is not limited to this. For example, if a multiplex request has been issued, the multiplex request may always be multiplexed, or the multiplex request may be divided more finely using four or five or more multiplex request levels.

【0055】[0055]

【発明の効果】本発明の信号多重化方法及び装置によれ
ば、可変レート符号化された複数の信号を統計多重する
際に、入力される信号の少なくとも一つに周期的にデー
タが送出されるデータストリームが用いられ、そのデー
タストリームを分析して多重要求を出力し、この多重要
求に応じてデータストリームを多重制御することによ
り、データストリーム、例えばDSM−CC方式のデー
タストリームの伝送制約を守って多重することが可能と
なり、受信側で破綻を起こすことないような多重伝送す
ることが可能となる。
According to the signal multiplexing method and apparatus of the present invention, when statistically multiplexing a plurality of signals subjected to variable rate coding, data is periodically transmitted to at least one of the input signals. The data stream is used, the data stream is analyzed, a multiplexing request is output, and the data stream is multiplexed and controlled in response to the multiplexing request. It is possible to multiplex while guarding, and it is possible to perform multiplex transmission without causing a failure on the receiving side.

【0056】また、多重要求にレベルを設けることで、
他のストリームの多重を妨げてDSM−CC方式のデー
タストリームだけを多重することなく、効率の良い多重
が可能となる。
By providing a level for the multiplex request,
Efficient multiplexing is possible without multiplexing other data streams and multiplexing only DSM-CC data streams.

【0057】さらに、データストリームの多重遅延時間
と、データストリームの優先度との一方あるいは双方を
考慮して、多重要求を行うことにより、受信側で破綻を
起こすことなく、遅延時間や優先度についても最適化が
行われたデータ伝送が実現できる。
Further, by making a multiplex request in consideration of one or both of the multiplex delay time of the data stream and the priority of the data stream, the delay time and the priority can be reduced without causing a failure on the receiving side. Also, optimized data transmission can be realized.

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

【図1】本発明の第1の実施の形態の概略構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a first embodiment of the present invention.

【図2】複数種類のデータストリームを多重する多重化
部の構成例を示す図である。
FIG. 2 is a diagram illustrating a configuration example of a multiplexing unit that multiplexes a plurality of types of data streams.

【図3】データストリーム多重の際のバッファ遅延量の
変化の一例を示す図である。
FIG. 3 is a diagram illustrating an example of a change in a buffer delay amount during data stream multiplexing.

【図4】データストリーム多重の際のバッファ遅延量の
変化の他の例を示す図である。
FIG. 4 is a diagram illustrating another example of a change in a buffer delay amount during data stream multiplexing.

【図5】本発明の第1の実施の形態の動作を説明するた
めのフローチャートである。
FIG. 5 is a flowchart for explaining the operation of the first exemplary embodiment of the present invention.

【図6】本発明の第1の実施の形態の他の構成例を示す
ブロック図である。
FIG. 6 is a block diagram showing another configuration example of the first embodiment of the present invention.

【図7】本発明の第2の実施の形態の概略構成を示すブ
ロック図である。
FIG. 7 is a block diagram showing a schematic configuration of a second embodiment of the present invention.

【図8】統計多重による多重化装置の一例を示すブロッ
ク図である。
FIG. 8 is a block diagram illustrating an example of a multiplexing apparatus using statistical multiplexing.

【図9】統計多重による多重化装置の他の例を示すブロ
ック図である。
FIG. 9 is a block diagram showing another example of a multiplexing apparatus using statistical multiplexing.

【図10】データ放送サービスのコンテンツを説明する
ためのディレクトリ構造を示す図である。
FIG. 10 is a diagram showing a directory structure for explaining contents of a data broadcasting service.

【図11】DSM−CCデータカルーセル方式における
モジュールとセクションとを説明するための図である。
FIG. 11 is a diagram for explaining modules and sections in the DSM-CC data carousel system.

【図12】DSM−CCデータカルーセル方式における
DDBセクションの構造を説明するための図である。
FIG. 12 is a diagram for explaining the structure of a DDB section in the DSM-CC data carousel method.

【図13】DSM−CCデータカルーセル方式における
DIIセクションの構造を説明するための図である。
FIG. 13 is a diagram for explaining the structure of a DII section in the DSM-CC data carousel system.

【図14】DSM−CCデータカルーセル方式における
データ伝送を説明するための図である。
FIG. 14 is a diagram for explaining data transmission in the DSM-CC data carousel system.

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

10、60 多重化部、 11,61 可変レート符号
化部、 21,63DSM−CCデータ符号化部、 2
3 多重バッファ、 24 レート制御手段、 25
セクション分離回路、 26 セクション分析回路、
28多重制御部
10, 60 multiplexing section, 11, 61 variable rate coding section, 21, 63 DSM-CC data coding section, 2
3 multiplex buffer, 24 rate control means, 25
Section separation circuit, 26 section analysis circuit,
28 multiplex control unit

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 可変レート符号化された複数の信号を統
計多重する信号多重化方法において、 入力される信号の少なくとも一つに周期的にデータが送
出されるデータストリームが用いられ、そのデータスト
リームを分析して多重要求を出力する工程と、 上記多重要求に応じて上記データストリームを多重制御
する工程とを有することを特徴とする信号多重化方法。
1. A signal multiplexing method for statistically multiplexing a plurality of variable-rate-encoded signals, wherein a data stream in which data is periodically transmitted to at least one of input signals is used. And outputting a multiplexing request, and multiplexing the data stream in response to the multiplexing request.
【請求項2】 上記周期的なデータストリームはDSM
−CCデータカルーセル方式のデータストリームであ
り、そのデータストリームの伝送制約に基づいて上記多
重要求を出力することを特徴とする請求項1記載の信号
多重化方法。
2. The method of claim 2, wherein the periodic data stream is a DSM.
2. The signal multiplexing method according to claim 1, wherein the signal is a data stream of a CC data carousel system, and the multiplexing request is output based on transmission restrictions of the data stream.
【請求項3】 上記周期的なデータストリームの入力時
刻からの多重遅延時間に基づいて、上記多重要求を段階
的に行うことを特徴とする請求項1記載の信号多重化方
法。
3. The signal multiplexing method according to claim 1, wherein the multiplexing request is made stepwise based on a multiplex delay time from the input time of the periodic data stream.
【請求項4】 上記入力される複数の信号についてのそ
れぞれの入力時刻からの各多重遅延時間を検出し、これ
らの各多重遅延時間の内の遅延量の多い信号から優先し
て多重することを特徴とする請求項1記載の信号多重化
方法。
4. A method for detecting each multiplex delay time from the input time of each of the plurality of input signals, and multiplexing the signals with a larger delay amount among the multiplex delay times with priority. The signal multiplexing method according to claim 1, wherein:
【請求項5】 上記入力される複数の信号についてのそ
れぞれの優先度に基づいて、優先度の高い信号から優先
して多重することを特徴とする請求項1記載の信号多重
化方法。
5. The signal multiplexing method according to claim 1, wherein the multiplexing is performed in such a manner that a signal having a higher priority is preferentially multiplexed based on the respective priorities of the plurality of input signals.
【請求項6】 上記入力される複数の信号についてのそ
れぞれの入力時刻からの各多重遅延時間を検出し、これ
らの各多重遅延時間と、上記優先度とに基づく順序に従
って多重することを特徴とする請求項5記載の信号多重
化方法。
6. The method according to claim 1, further comprising detecting respective multiplex delay times of the plurality of input signals from respective input times, and multiplexing the signals in an order based on the respective multiplex delay times and the priority. The signal multiplexing method according to claim 5, wherein
【請求項7】 可変レート符号化された複数の信号を統
計多重する信号多重化装置において、 入力される信号の少なくとも一つに周期的にデータが送
出されるデータストリームが用いられ、そのデータスト
リームを分析して多重要求を出力する多重要求手段と、 上記多重要求に応じて上記データストリームを多重制御
する多重制御手段と、を有することを特徴とする信号多
重化装置。
7. A signal multiplexing apparatus for statistically multiplexing a plurality of signals subjected to variable rate coding, wherein at least one of input signals uses a data stream in which data is periodically transmitted, and A signal multiplexing apparatus comprising: a multiplexing request unit that analyzes the data stream and outputs a multiplexing request; and a multiplexing control unit that multiplexes and controls the data stream in response to the multiplexing request.
【請求項8】 上記周期的なデータストリームはDSM
−CCデータカルーセル方式のデータストリームであ
り、上記多重要求手段は、DSM−CCデータカルーセ
ル方式のデータストリームの伝送制約に基づいて上記多
重要求を出力することを特徴とする請求項7記載の信号
多重化装置。
8. The periodic data stream is a DSM.
8. A signal multiplexing method according to claim 7, wherein the multiplexing request means outputs the multiplexing request based on a transmission restriction of a data stream of a DSM-CC data carousel method. Device.
【請求項9】 上記多重要求手段は、上記周期的なデー
タストリームの入力時刻からの多重遅延時間に基づい
て、上記多重要求を段階的に行うことを特徴とする請求
項7記載の信号多重化装置。
9. The signal multiplexing apparatus according to claim 7, wherein said multiplexing request means makes the multiplexing request stepwise based on a multiplexing delay time from an input time of said periodic data stream. apparatus.
【請求項10】 上記多重要求手段は、上記入力される
複数の信号についてのそれぞれの入力時刻からの各多重
遅延時間を検出し、これらの各多重遅延時間の内の遅延
量の多い信号から優先した多重要求を行うことを特徴と
する請求項7記載の信号多重化装置。
10. The multiplex requesting means detects each multiplex delay time from the input time of each of the plurality of input signals, and gives priority to a signal having a large delay amount among these multiplex delay times. The signal multiplexing device according to claim 7, wherein the multiplexing request is made.
【請求項11】 上記多重要求手段は、上記入力される
複数の信号についてのそれぞれの優先度に基づいて、優
先度の高い信号から優先した多重要求を行うことを特徴
とする請求項7記載の信号多重化装置。
11. The multiplexing request unit according to claim 7, wherein said multiplexing requesting unit issues a multiplexing request with a higher priority to a higher priority signal based on the respective priorities of said plurality of input signals. Signal multiplexer.
【請求項12】 上記多重要求手段は、上記入力される
複数の信号についてのそれぞれの入力時刻からの各多重
遅延時間を検出し、これらの各多重遅延時間と、上記優
先度とに基づく順序に従った多重要求を行うことを特徴
とする請求項11記載の信号多重化装置。
12. The multiplex requesting means detects each multiplex delay time from the input time of each of the plurality of input signals, and determines the multiplex delay time in an order based on each of the multiplex delay times and the priority. 12. The signal multiplexing device according to claim 11, wherein a multiplexing request is made according to the request.
JP13173199A 1999-05-12 1999-05-12 Signal multiplexing method and apparatus Expired - Fee Related JP4206559B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13173199A JP4206559B2 (en) 1999-05-12 1999-05-12 Signal multiplexing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13173199A JP4206559B2 (en) 1999-05-12 1999-05-12 Signal multiplexing method and apparatus

Publications (2)

Publication Number Publication Date
JP2000324087A true JP2000324087A (en) 2000-11-24
JP4206559B2 JP4206559B2 (en) 2009-01-14

Family

ID=15064887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13173199A Expired - Fee Related JP4206559B2 (en) 1999-05-12 1999-05-12 Signal multiplexing method and apparatus

Country Status (1)

Country Link
JP (1) JP4206559B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012090039A (en) * 2010-10-19 2012-05-10 Mitsubishi Electric Corp Data multiplexing device and data multiplexing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012090039A (en) * 2010-10-19 2012-05-10 Mitsubishi Electric Corp Data multiplexing device and data multiplexing method

Also Published As

Publication number Publication date
JP4206559B2 (en) 2009-01-14

Similar Documents

Publication Publication Date Title
JP3305183B2 (en) Digital broadcast receiving terminal
JP3791720B2 (en) Transmission apparatus and transmission method
US8365228B2 (en) Information transmitting apparatus and method, information receiving apparatus and method, provider, and broadcasting system
JP4014241B2 (en) Method, encoder and decoder for transmitting a digital signal hierarchically structured into a plurality of parts
US8139611B2 (en) Apparatus and method for coding an information signal into a data stream, converting the data stream and decoding the data stream
US6542518B1 (en) Transport stream generating device and method, and program transmission device
AU692223B2 (en) Method and device for transmitting data packets
EP2058968A1 (en) Method and apparatus for FEC encoding and decoding
EP1383335B1 (en) Efficient method and system for delivering resources in broadcast environment
KR20050079194A (en) Method for adjusting transmission rate of mpeg-2 data and apparatus therefor
KR20000028781A (en) Digital signal processing and signal format
US6798756B1 (en) Data transmission system and method, and data receiving method and device
CN100416689C (en) Reproducing apparatus and method, and recording medium
JP3622451B2 (en) Data processing apparatus, data processing method, and recording medium
KR100463698B1 (en) Digital broadcast signal multiplex transmitting apparatus
KR100973835B1 (en) Method for processing digital streams
JP4206559B2 (en) Signal multiplexing method and apparatus
JP3649266B2 (en) Data multiplexing apparatus and method, and recording medium
EP2557786B1 (en) Delay controlled decoding apparatus and method
JP4491918B2 (en) Data distribution apparatus and method, data distribution system
JP4193303B2 (en) Information processing apparatus and method, and recording medium
JP4362950B2 (en) Signal multiplexing apparatus and method, and recording medium
WO2000045535A1 (en) Method and apparatus for data transmission
JP2000252966A (en) Method and device for multiplexing signal
JPH09312625A (en) Data multiplexer and its method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080903

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080924

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081007

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees