JP3541413B2 - Information signal transmission method and apparatus - Google Patents

Information signal transmission method and apparatus Download PDF

Info

Publication number
JP3541413B2
JP3541413B2 JP02726294A JP2726294A JP3541413B2 JP 3541413 B2 JP3541413 B2 JP 3541413B2 JP 02726294 A JP02726294 A JP 02726294A JP 2726294 A JP2726294 A JP 2726294A JP 3541413 B2 JP3541413 B2 JP 3541413B2
Authority
JP
Japan
Prior art keywords
data
video
variable
length data
time
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.)
Expired - Fee Related
Application number
JP02726294A
Other languages
Japanese (ja)
Other versions
JPH07221715A (en
Inventor
茂 吉野
元久 西川
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 JP02726294A priority Critical patent/JP3541413B2/en
Publication of JPH07221715A publication Critical patent/JPH07221715A/en
Application granted granted Critical
Publication of JP3541413B2 publication Critical patent/JP3541413B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、情報信号伝送方法及び装置に関し、特に、圧縮符号化されたビデオデータ等の可変長データをディスク状記録媒体に対して記録再生するような情報信号伝送方法及び装置に関するものである。
【0002】
【従来の技術】
一般に、アナログのビデオ信号をディジタル化すると、データ量が膨大なものとなり、そのまま記録したり通信したりすることが困難あるいはコスト高となるため、データを圧縮して記録・通信することが多い。特にビデオ信号のデータ量はオーディオ信号に比べて非常に大きいため、圧縮率の高い符号化方法の採用が重要とされ、近年における高能率のビデオ信号データ圧縮符号化には、単位時間当りの符号化出力データ量が変化するような符号化方法、例えばいわゆる可変長符号化方法が多く採用されてきている。
【0003】
図9はビデオ信号データの圧縮の一例を説明するための図であり、Aはアナログのビデオ信号を示している。一般にビデオ信号は1フレーム又は1フィールドで1枚の画像を構成していることから、図9のAのアナログのビデオ信号は、時間軸方向に、この1フレーム又は1フィールド単位で標本化(サンプリング)されている。これをディジタル化し、圧縮・伸張する場合も、この情報は保存される。なお、動画の圧縮において、フレーム間又はフィールド間の相関を利用して動き情報を圧縮する場合は、圧縮・伸張の処理が数フレーム又は数フィールドに跨るが、圧縮回路への入力及び伸張回路からの出力では、元のフレーム又はフィールド単位の画像になっている。
【0004】
図9は、ビデオ信号の圧縮の時間単位TV を1フィールド=(1/60)秒としたフィールド内圧縮の例を示しており、サンプリング周波数Fsを13.5MHzとしている。この例では、コンポジットビデオ信号を輝度(Y)信号と色(C)信号とに分け、それぞれFs=13.5MHzでサンプリングし8ビットずつに量子化して、図9のBの信号、すなわちディジタルビデオデータを得ている。これは、13.5MHz×8ビットのデータがYとCとの2チャンネル分で216Mbps(メガビット/秒)であり、1フィールド当りで3.6Mビット、すなわち1ワード8ビットのワード数では1フィールド当り450Kワードとなる。
【0005】
これを1フィールド毎に圧縮し、最大12Mbpsの可変長データにする場合には、1フィールド当り最大200Kビット、すなわち1ワード8ビットのワード数で最大25Kワードとなる。これは、1フィールド当り上記3.6Mビット=450Kワードのビデオデータを1/18以下に圧縮して、図9のCに示すように1フィールド当り200Kビット以内、すなわち25Kワード以内のデータに圧縮することになる。
【0006】
このような圧縮符号化の場合、圧縮率は複数フィールドで平均すればほぼ一定であるが、1フィールド時間単位では変動することが多い。
【0007】
ところで、近年においては、ビデオ情報とオーディオ情報とを含む情報信号を伝送、すなわち、記録再生あるいは送受信する場合に、近年においては、いわゆるマルチメディアシステムへの適用等を考慮して、各情報をディジタル化し符号化して合成することが多くなってきている。
【0008】
図10は、オーディオ信号のデータ圧縮の一例を説明するための図であり、Aはアナログのオーディオ信号を示している。オーディオ信号はビデオ信号と違い連続信号であるから、圧縮の単位は任意に選ぶことができる。この場合、上記ビデオ信号の圧縮の単位時間、すなわちフィールドあるいはフレーム時間と同じかあるいは整数比の時間を単位として圧縮することが考えられるが、ビデオ信号とは無関係の既存のオーディオ圧縮技術を用いる場合には、これらの圧縮の単位時間は一致していない。
【0009】
ここで、市販の記録再生型小型オーディオディスク用に開発された圧縮方式として、サンプリング周波数が44.1kHzで、ステレオの左右のチャンネルがそれぞれ16ビットでディジタル化されたオーディオPCMデータを512サンプル毎に212バイトに圧縮する方式の例について説明する。
【0010】
図10のAに示すアナログのオーディオ信号は、サンプリング周波数が44.1kHzのときの512サンプル分に相当する時間TA 、すなわち、

Figure 0003541413
を単位として圧縮符号化される。すなわち、図10のBに示す1チャンネル当たり1サンプル16ビットの512サンプル分の2チャンネル(ステレオ)分、すなわち512×16ビット×2チャンネル分を圧縮符号化して、図10のCに示す212×8ビット×2チャンネルの固定長データとしている。この固定長データの単位時間、例えば1秒当りのデータ量、すなわちデータレートRA は、
A =212×2×8/TA (ビット/秒=bps)
である。このようなオーディオ信号の圧縮の単位時間TA は、上記ビデオ信号の圧縮の単位時間TV とは無関係であり、簡単な整数比の関係にはない。
【0011】
【発明が解決しようとする課題】
ところで、上述したビデオデータのような可変長データを伝送する場合、あるいは可変長のビデオデータと固定長のオーディオデータとを合成して伝送する場合等において、可変長データのままでは取り扱いが不便であることから、ダミーデータを付加して固定レート化することが多く行われている。
【0012】
しかしながら、このダミーデータを生成して付加するためには、可変長データ量の計測や、伝送データバスの伝送レートとの差分の計算等が必要となり、演算処理や回路構成が複雑化する。また、データバスと可変長データの動作クロックとが非同期で動作している場合には、データバスのレートと可変長データのレートとが正確に合わず誤差が生じ、例えばビデオデータの場合にフィールド画面が連続すると、徐々にこの誤差が蓄積される。そのため、これを補正する回路がさらに必要になったりする。
【0013】
本発明は、このような実情に鑑みてなされたものであり、可変長データを伝送する場合に、固定レート化するためのダミーデータの生成付加が容易に行え、回路構成も簡単な情報信号伝送方法及び装置の提供を目的とする。
【0014】
また、本発明の他の目的は、可変長データと固定長データとを合成して伝送する場合に、ダミーデータを付加して固定レート化することにより、これらのデータの合成や分離が容易にかつ簡単な回路構成で行えるような情報信号伝送方法及び装置を提供することである。
【0015】
【課題を解決するための手段】
本発明に係る情報信号伝送方法は、入力データを一定時間毎に圧縮符号化して得られた単位時間当りのデータ量が変化する可変長データを、一定の伝送単位時間毎にブロック化して伝送する情報信号伝送方法において、上記可変長データを記憶する記憶手段の蓄積データ量が所定値に達したときにオン状態となるフラグを用い、上記一定時間に対応する可変長データの終端で上記フラグを検出して、オン状態のときには上記記憶手段から上記可変長データを読み出し続け、オフ状態のときには上記記憶手段からのデータ読み出しを停止してダミーデータを出力し、上記ブロック化して伝送する。
【0016】
また、本発明に係る情報信号伝送装置は、入力データを一定時間毎に圧縮符号化して得られた単位時間当りのデータ量が変化する可変長データを、一定の伝送単位時間毎にブロック化して伝送する情報信号伝送装置において、上記圧縮符号化されて得られた可変長データを記憶し、蓄積データ量が所定値に達したときにオン状態となるフラグを出力する記憶手段と、この記憶手段から読み出された上記可変長データが入力され、上記一定時間に対応する可変長データの終端で上記フラグを検出して、オン状態のときには上記記憶手段から上記可変長データを読み出し続け、オフ状態のときには上記記憶手段からのデータ読み出しを停止してダミーデータを出力する手段とを有している。
【0017】
ここで、上記記憶手段の蓄積データ量の所定値としては、例えば全記憶容量の半分の値を挙げることができる。また、上記可変長データと、単位時間当りのデータ量が一定の固定長データとを合成して、上記伝送単位時間毎にブロック化して伝送することが挙げられる。上記可変長データとしては、ビデオ信号のフィールド単位あるいはフレーム単位で圧縮符号化されたビデオデータを用いることが好ましい。
【0018】
【作用】
記憶手段の蓄積データ量が所定値に達したか否かに応じてダミーデータの生成付加を制御しているため、容易かつ簡単な構成でダミーデータを付加することができ、誤差の蓄積もない。
【0019】
また、可変長データと固定長データとを合成して伝送する場合にも、これらのデータの合成や分離が容易にかつ簡単な回路構成で行える。
【0020】
【実施例】
以下、本発明に係る実施例について、図面を参照しながら説明する。
この実施例においては、オーディオ、ビデオデータを複数の端末装置との間で送受信するいわゆるAVサーバ内の記録再生装置に対してデータの記録、再生を行う場合の情報信号伝送を想定している。
【0021】
図1は、上述したようなビデオ、オーディオ信号を合成しブロック化して伝送する場合、すなわち記録媒体に対して記録再生したり通信系を介して送受信する場合の信号伝送装置のエンコーダ側の構成の一例を示している。
【0022】
この図1において、入力端子11にはアナログビデオ信号が、入力端子21にはアナログオーディオ信号がそれぞれ供給されている。入力端子11からのアナログビデオ信号は、アンプ12を介してA/D(アナログ/ディジタル)変換器13に送られ、ディジタルビデオ信号に変換される。A/D変換器13からのディジタルビデオ信号は、ビデオエンコーダ14に送られて、単位時間当りのデータ量が変動する可変長データに圧縮符号化される。この可変長データは、圧縮符号化の単位時間TV 毎に一定の最大データ量以下の可変データ量のデータとして得られる。ビデオエンコーダ14としては、例えば、いわゆるJPEG(Joint Photographic Coding Experts Group )で規定されている符号化方式を実現するエンコーダを用いることができる。
【0023】
ビデオエンコーダ14からの可変長データは、ビデオバッファ15を介してエンド検出回路16に送られており、これらのビデオバッファ15及びエンド検出回路16は、ダミーデータ付加部17を構成している。このダミーデータ付加部17では、後述するようにダミーデータの付加が行われて、データレートが固定化される。これは、圧縮符号化の単位時間毎に上記最大データ量となるまで可変長データにダミーデータを付加することで、固定レートのデータとする。
【0024】
一方、入力端子21からのアナログオーディオ信号は、アンプ22を介してA/D変換器23に送られディジタルオーディオ信号に変換された後、オーディオエンコーダ24に送られて圧縮符号化され、固定長のオーディオデータとなる。このオーディオエンコーダ24としては、例えば、記録可能な小型オーディオ光ディスク装置や、ディジタルの小型オーディオテープレコーダ等に採用されている圧縮符号化方式のエンコーダを用いることができる。
【0025】
このオーディオエンコーダ24からの固定長データは、オーディオバッファ25を介してデータ合成回路26に送られている。データ合成回路26には、上記ダミーデータ付加部16からの固定レート化された可変長ビデオデータと、CPU29からのヘッダ情報データとが送られており、これらが合成されて、後述する図4のCあるいは図6のAやBに示すようなブロックフォーマットのデータとされる。アンプ12からの入力ビデオ信号に付加されているタイムコード情報や文字情報等の付加データは、圧縮処理時に失われるため、付加データ検出回路18で抜き出している。付加データ検出回路18により取り出された付加データはCPU29に送られ、このCPU29で上記ヘッダ情報データが形成される。CPU29はコントローラ28との間で制御信号が入出力されており、コントローラ28は、データ合成回路26及び各バッファ15、25をそれぞれ制御する。出力バッファ27からの合成データは、AVサーバのインターフェースバス31に送られ、このインターフェースバス31を介して、例えば、ハードディスク装置や光磁気ディスク装置、あるいはこれらの複数台より成るディスクアレイ装置等の記録装置に送られて記録される。
【0026】
次に、図2〜図4は、上記ダミーデータ付加部17の具体的な構成及び動作を説明するための図であり、図2において、ビデオバッファ15にはいわゆるFIFO(First In First Out)メモリを用いている。このビデオバッファ15は、蓄積されたデータ量が全データ容量の半分以上か否かに応じてON、OFFされるHF(ハーフフル)フラグを出力する。ビデオバッファ15には、ビデオエンコーダ14からの書き込み制御信号Wと、エンド検出回路16からの読み出し制御信号Rとが供給され、エンド検出回路16には上記図1のコントローラ28からの読み出し制御信号Rが供給されている。
【0027】
図1のAに示すように、ビデオバッファ15内に蓄えられているビデオデータVが全データ容量の半分以上のとき、HFフラグはON状態にある。エンド検出回路16は、ビデオバッファ15からビデオデータを読み出して上記図1のデータ合成回路26に送っており、ビデオデータのフィールドの終端、すなわちエンドオブピクチャ(EOP)あるいはエンドオブイメージ(EOI)が検出されると、上記HFフラグを読む。このときのHFフラグがONであれば、そのままビデオバッファ15からビデオデータを読み続けて、上記図1のデータ合成回路26に送る。
【0028】
ビデオバッファ15内に蓄えられているビデオデータVが全データ容量の半分より少なくなると、図3のBに示すようにHFフラグがOFF状態となる。エンド検出回路26がビデオデータのフィールドの終端、すなわち上記EOPあるいはEOIを検出したとき、HFフラグがOFFであると、エンド検出回路26はビデオバッファ15からのビデオデータの読み出しを中止し、図3のBに示すようにダミーデータを上記データ合成回路26に出力する。この間もビデオバッファ15にはビデオエンコーダ14からのビデオデータが書き込まれ続けるため、徐々にデータ量が増加してゆき、全データ容量の半分以上となる時点で上記HFフラグがONとなる。このHFフラグがONとなった時点で、エンド検出回路16はダミーデータの出力を停止すると共にビデオバッファ15からのビデオデータの読み出しを開始し、読み出されたビデオデータを上記データ合成回路26に送る。
【0029】
以上のような動作の各部の動作波形及び合成された出力データを図4に示す。この図4のAがエンド検出出力信号を、図4のBがHFフラグを、図4のCが上記データ合成回路26からの合成出力データをそれぞれ示している。このようにして、例えばAVサーバに書き込むダミーデータの量を調節し、伝送路のデータレートに合わせ込むことができる。しかも、図2の回路を用いることにより、簡単な回路構成でダミーデータ生成が行える。
【0030】
次に、このようなデコーダ側構成において用いられるビデオとオーディオとの合成データについて、図5及び図6を参照しながら説明する。
【0031】
図5は、前述した図9のビデオ信号と図10のオーディオ信号との合成信号の具体例を示す図であり、いずれの信号も圧縮符号化処理されて、ビデオデータをV、オーディオデータをAでそれぞれ表している。ビデオデータVは、前述した第1の一定時間であるTV 、例えばTV =1フィールド=1/60(秒)単位でビデオ信号が圧縮符号化処理されて得られた可変長データであり、オーディオデータAは、前述した第2の一定時間であるTA 単位でオーディオ信号が圧縮処理されて得られた固定長データである。このオーディオの固定長データのレートはRA である。
【0032】
先ず、図5のAは、可変長のビデオデータVの終端E、すなわちいわゆるエンドオブピクチャ(EOP)に続けて固定長のオーディオデータAを付加したものであり、このときのオーディオデータAの一連あるいは1かたまりは、上記固定レートRA のオーディオデータのTV 分、すなわちRA ×TV である。
【0033】
ここで具体例として、ビデオ信号のサンプリング周波数Fsを13.5MHzとし、コンポジットビデオ信号を輝度(Y)信号と色(C)信号とに分け、それぞれ13.5MHzでサンプリングし8ビットずつに量子化した216Mbps(メガビット/秒)のビデオ信号データを、TV =1フィールド単位で圧縮しており、1フィールド当り3.6Mビットあるいは450Kワードのビデオ信号データを、1フィールド当り最大200Kビット、すなわち1ワード8ビットのワード数で最大25Kワードの可変長データにしている。また、オーディオ信号については、サンプリング周波数が44.1kHzで、ステレオの左右のチャンネルがそれぞれ16ビットでディジタル化されたオーディオPCMデータを512サンプル毎に212バイトの固定長データに圧縮しており、圧縮の単位時間である時間TA は、512/(44.1×103 )(秒)、圧縮された固定長データのデータレートRA は、RA =212×2×8/TA (bps:ビット/秒)となる。
【0034】
このとき、上記TV =1フィールド毎のオーディオデータAのデータ量RA ×TV は、
Figure 0003541413
であり、AVサーバのデータバス上でデータを16ビット幅で扱うとき、すなわち1ワード16ビットとするときには、
A ×TV ≒304.336×16 (ビット)
となる。これは、TV =1/60(秒)当り304ワード又は305ワードとなることを意味する。
【0035】
ここで、一定スループット、あるいは固定レートのAVサーバにAVデータを記録する場合を考える。
いま、AVデータの1チャンネル当りのデータ転送容量がRS のサーバがあり、このサーバに対してデータを記録再生するときのデータ量の最小単位がA×Nであるとする。これらのAとNは自然数であり、Nは記録再生装置、例えばハードディスクの台数、Aはこの記録再生装置が扱えるデータの最小単位、いわゆるセクタのデータ量である。具体例として、上記RS が14Mbpsであり、ハードディスクの台数Nが14で、1セクタのデータ量Aが512バイト=512×8ビットのときを想定すると、14Mbpsのデータレートで、A×Nビットのデータを送るのに要する時間TS は、
Figure 0003541413
である。
【0036】
このAVサーバは、データをTS 毎に分割あるいは組立していることになる。従って、AVサーバとの入出力のデータの時間単位をtとすると、tは上記時間TS との整数比の関係、すなわちt=nTS になっている方が、リアルタイムで記録、再生するAVサーバにとっては都合がよいことになる。この実施例においては、n=1、すなわちt=TS としている。このサーバの伝送単位t=TS のブロックで図5のAのデータを区分した状態を図5のBに示している。
【0037】
上記時間TS は、上記各圧縮の単位時間TV ともTA とも関連のないものであるので、AV合成データのビデオデータのスタートSとエンドEとは、上記時間TS 単位のサーバのデータブロックのどこに位置するか不定である。従って、そのまま記録すると、再生時にオーディオデータとビデオデータとを分離するのが困難になる。
【0038】
ところで、ビデオデータVは、上述したように可変長データであるので、データ内のスタート位置SにSOP:スタートオブピクチャ、エンド位置EにEOP:エンドオブピクチャをそれぞれ示すデータパターンが設けられていることが多い。再生時にこれらを判別できれば、ビデオデータを抜き出すことは可能である。また、オーディオデータは固定長であるから、ビデオのエンドEOPから一定量のデータがオーディオデータであると予め設定しておけば、オーディオデータを抜き出すことも可能である。
【0039】
しかしながら、これらのSOPやEOPのような特殊なデータパターン、あるいは制御用データパターンは、そのビデオデータの中には現れないように規定されていることもあり、無関係のオーディオデータの場合にデータ中に現れることもあり得る。これはオーディオ、ビデオ以外のデータを付加する場合も同様である。また、オーディオデータは、一度上記TA 時間単位で圧縮したものを、上記TV 時間単位で合成しており、これをさらに上記TS 時間単位に分割あるいは組立していることになる。
【0040】
このような問題点を解決するために、本発明の実施例においては、図5のCに示すように、一定スループットあるいは固定レートのAVサーバのデータブロックを、固定量のオーディオデータで区分し、その隙間にビデオデータを入れるように構成している。すなわち、上記可変長のビデオデータVにダミーデータDを付加して一定のデータレートの固定レート化可変長データを形成しておき、伝送の単位となる1ブロックの上記時間t内に、固定長のオーディオデータAを所定量(RA ×t)を配分し、残りの部分に上記固定レート化可変長データを配置している。
【0041】
具体的には、上記TA 時間単位で圧縮されたオーディオデータAを時間t毎のデータに直す。今、t=TS とすると、
Figure 0003541413
となり、1ワード16ビットとすると、オーディオデータAは、1ブロック当り74ワード又は75ワード分用意すればよいことになる。現在のブロックのオーディオデータが74ワードか75ワードかは、ブロック毎にマークデータをつけること等により判別することができる。ブロック内のオーディオデータ領域としては75ワード分を設定しておき、74ワードのときは1ワード捨てるようにすればよい。
【0042】
図6のAは、1ブロック内のデータの構造、いわゆるブロックフォーマットの一具体例を示しており、ブロック先頭位置から、例えば3ワードのヘッダデータH、75ワードのオーディオデータA、3506ワードのオーディオデータVが順次配置されており、1ブロックは3584ワードとなっている。なお、オーディオデータ領域には74ワードのオーディオデータが入ることもあり、3506ワードのビデオデータ領域にはエンドと次のフィールドのスタートとの間に空き領域が含まれてダミーデータが入ることもある。
【0043】
すなわち、固定レートのサーバに可変長のビデオデータを記録するので、空き領域が発生する。この空き領域には、図6のBのようにダミーデータDが入る。これは、記録時に、ビデオデータのエンドEOPに続けて後述するようにダミーデータを生成して付加している。再生時には、ビデオデータのエンドEOPから次のフィールドのスタートSOPまでを空き領域と判別し、その部分のデータをビデオデコーダあるいはデータ伸張回路に送らないようにする。ヘッダH内に上記SOP、EOPの位置情報、すなわちブロック先頭位置からのワード数情報が記述されていれば、この情報に基づいて空き領域を予め予測することもできる。また、デコーダや伸張回路が自動的に無視するようなダミーデータを空き領域に書き込んでおけば、SOP、EOPを読み取らなくても上記空き領域を飛ばしてビデオデータのみをデコード処理にまわすことができる。
【0044】
このようなデータブロック単位でサーバに記録することにより、再生時は、そのファイルのデータブロックの構成、すなわち各領域のワード数が予め分かっていれば、ブロック先頭からのデータのワード数をカウントするだけで、ヘッダ領域、オーディオ領域、ビデオ領域の各データをそれぞれ判別でき、各データの分離を単純化できる。
【0045】
また、このブロック内のデータ構造について、固定的に設定しておく以外に、合成・分離回路等の外側から設定を変更し得るようにしておけば、データファイル毎やシステム毎に設定を変えることも可能である。
【0046】
各データ領域のデータが正しく分離されれば、各データの制御データ、例えば上記ビデオのフィールドデータの先端、終端を表すSOP、EOP等も利用できるため、ビデオデータはどのように分割されていてもよい。
【0047】
また、実際には、ヘッダ領域に、ビデオの上記SOP、EOPの有無とそれらの位置、すなわちブロック内のアドレス、ブロック先頭からのワード数、を書き込んでおくことにより、ビデオフィールドの始まりが分かる。これを利用して、圧縮時に失われてしまうビデオ信号に付随する付加データ、例えば、垂直ブランキング期間中のデータで、タイムコード、フレーム番号、クローズキャプションデータ等を、上記ヘッダ領域に書き込んでおき、再生時に対応するフレーム画像に付加することもできる。
【0048】
以上のようにオーディオデータとビデオデータとを同時にブロック化すれば、各データの時間軸はそれぞれ同時進行している。従って、ファイルの先頭等でブロックの先頭とオーディオ、ビデオ各データの先頭が一致するようにすれば、そのまま時間ははずれることなく、オーディオとビデオの同時性は保たれる。
【0049】
なお、上記図6のBに示す空き領域のダミーデータDは、本来不要なデータであるから、サーバの記録媒体を有効活用するために、この部分を記録しないようにすることが考えられる。すなわち、図6のCに示すように、上記空き領域の部分をつめて記録しておき、ヘッダH内にそのダミーデータ量あるいは空き領域のデータ量等の情報を記述しておき、再生時には空きデータ量分だけサーバからデータがこないように制御すること、又はサーバに対してデータを要求しないこと等によって、仮想的に空き領域を再生系で生成することも可能である。このときのサーバのスループットは、この時間で固定ではなく、変動していることになる。なお、この場合、図6のCのように記録しても、再生系では図6のBのように解釈する。
【0050】
次に、図7は、上記図1のエンコーダ側構成に対応するデコーダ側の構成の一例を示している。
【0051】
この図7において、上述した例えばAVサーバ等のインターフェースバス31からのデータが入力ラッチ41を介してデータ分離回路42に供給される。また入力ラッチ41からのデータは、ヘッダ検出回路43に送られて、上述した図6のAやBに示すようなデータブロックの先頭位置のヘッダHが検出される。このヘッダ検出回路43は、ブロック先頭からのデータ数又はクロックをカウントして、データブロックのフォーマットに従って、上記図6のAやBに示すヘッダ領域、オーディオ領域、ビデオ領域の各データを分離するための制御信号をデータ分離回路42に送る。なお、データブロックのフォーマットは、固定ではなく、例えばシステム制御回路30からCPU44へ変更情報を送って、CPU44がヘッダ検出回路43を制御することにより、任意のフォーマットのデータブロックについての各領域の分離が行える。
【0052】
データ分離回路42で分離されたビデオデータは、ビデオデコーダ46に送られて、上記図1のビデオエンコーダ14での圧縮符号化処理と対称的な伸張復号化処理が施され、D/A(ディジタル/アナログ)変換器47でアナログビデオ信号に変換される。D/A変換器47からのアナログビデオ信号は、アンプ48を介して出力端子49より取り出される。
【0053】
データ分離回路42で分離されたオーディオデータは、オーディオデコーダ56に送られて、上記図1のオーディオエンコーダ24での圧縮符号化処理と対称的な伸張復号化処理が施され、D/A(ディジタル/アナログ)変換器57でアナログオーディオ信号に変換される。D/A変換器57からのアナログオーディオ信号は、アンプ58を介して出力端子59より取り出される。
【0054】
また、データ分離回路42は、上記ヘッダ領域等に存在するその他のデータ、例えば回路制御用データやビデオ信号に付随するタイムコードや文字情報等の付加データを分離して、CPU44に送っている。このCPU44により、ビデオ信号に付随させる付加データ信号が付加データ出力回路54を介して上記ビデオアンプ48に送られ、D/A変換器47からのビデオ信号に加算される。
【0055】
次に、本発明に係る情報信号伝送方法あるいは情報信号伝送装置が適用される情報データ信号記録再生システムについて、図8を参照しながら説明する。この情報データ記録再生システムは、ディスク状記録媒体を用いた記録再生装置を複数台備え、ビデオ信号やオーディオ信号を記録、再生するシステム、即ちAVサーバ・システムである。
【0056】
具体的には、このAVサーバ・システムは、コマーシャルや映画等のアナログ信号のAV素材をディジタル化したデータを多数記録しておき、要求に応じてAV素材を複数チャンネルに同時に供給することが可能なシステムである。AVデータの記録媒体として複数のハードディスクを使用することにより、従来のテープを利用したビデオテープレコーダ、即ちVTR等を用いた場合とは異なり、各AV素材にランダムにアクセスすることができる。このAVサーバ・システムは、コマーシャルの自動送出、カラオケの提供、語学学習等の様々な用途への利用が考えられる。
【0057】
先ず、データ記録時には、アナログAVデータが複数の入力チャンネルから入力される。図8の具体例では、アナログAVデータは信号入力端子104、105等から入力される。それぞれの入力されたアナログAVデータはアナログ/ディジタル(A/D)変換器108、109でディジタル化された後、エンコーダ112、113で圧縮される。これは、ディジタル化されたデータはサイズが大きいので、圧縮することによりデータの転送レートを上げるためである。この圧縮方法としては、カラー動画像符号化方式のMPEGやカラー静止画像符号化方式のJPEG等の方法が一般的である。
【0058】
複数の入力チャンネルから入力され、ディジタル符号化されたデータは、タイミング・コントローラ115によってチャンネル毎に少しずつ時間がずらされて時分割多重化ブロック114に順に入力される。ある1つのチャンネルからのデータは、ある単位、例えば2バイト毎にハードディスクの台数分に分割されて各ハードディスクに記録される。ここで、AVサーバ・システムのデータ転送能力に関して一般的に問題となるのはハードディスクである。そこで、データを複数のハードディスクに分割して記録することにより、ハードディスク群のデータ転送レートをほぼ台数分倍に高めることができる。
【0059】
上記時分割多重化ブロック114で時分割多重化されたデータは、タイミング・コントローラ116の制御により、ある単位、例えば2バイト毎に少しずつ時間ずらされてバッファ117、118、119に書き出される。このとき、タイミング・コントローラ116は、どの時間のデータをどのバッファに書き込むかという制御を行う。上記バッファ117、118、119に書き出されたデータは、それぞれデバイス制御ブロック120、121、122によりハードディスク123、124、125に記録される。
【0060】
なお、上記タイミング・コントローラ116と各デバイス制御ブロック120、121、122との動作タイミングはサーバ制御ブロック126により制御される。また、上記ハードディスク123、124、125に分割されて記録されたデータに関するアプリケーション情報、例えばタイトル等の情報は、図示しないホスト・コンピュータ101の入力装置から入力され、アプリケーション制御ブロック127で管理される。
【0061】
次に、データ再生時には、ホスト・コンピュータ101により、どの出力チャンネルにどのデータを出力するのかが指定される。この指定は、アプリケーション制御ブロック127からサーバ制御ブロック126に伝達され、所望のデータがハードディスクのどこに記録されているかが特定される。この情報は各デバイス制御ブロック120、121、122に伝達される。各デバイス制御ブロック120、121、122の制御により、上記情報に基づいて各ハードディスク123、124、125からデータが読み出されて各バッファ117、118、119に書き込まれる。各バッファ117、118、119に分割されて存在するデータは、タイミング・コントローラ115の制御により時分割多重化ブロック114に送られて、この時分割多重化ブロック114で元の圧縮されたデータに組み立て直される。このデータはタイミング・コントローラ115の制御により所望の出力チャンネルに供給される。タイミング・コントローラ115の制御により時分割多重化ブロック114からの圧縮データはデコーダ110、111に送られる。デコーダ110、111では送られた圧縮データを伸長する。この伸長されたデータはディジタル/アナログ(D/A)変換器106、107で元のアナログAV素材に変換され、信号出力端子102、103より出力される。
【0062】
なお、本発明は上述したような実施例のみに限定されるものではなく、例えば、上記可変長データや固定長データとしてはビデオデータやオーディオデータ以外にも他の種々のデータを用いることができる。また、可変長データや固定長データは、それぞれ1種類ずつ用いる以外に、それぞれ複数種類を用いるようにしてもよい。
【0063】
【発明の効果】
以上説明したように、本発明に係る情報信号伝送方法によれば、可変長データを記憶する記憶手段の蓄積データ量が所定値に達したときにオン状態となるフラグを用い、上記一定時間に対応する可変長データの終端で上記フラグを検出して、オン状態のときには上記記憶手段から上記可変長データを読み出し続け、オフ状態のときには上記記憶手段からのデータ読み出しを停止してダミーデータを出力することにより、容易かつ簡単な構成でダミーデータを付加することができる。また、可変長データのレートと伝送レートとの差分の計算等を行う必要がなく、これらのレートが非同期であってレートが正確に合っていなくとも誤差が蓄積することもない。
【0064】
また、本発明に係る情報信号伝送装置によれば、圧縮符号化されて得られた可変長データを記憶し、蓄積データ量が所定値に達したときにオン状態となるフラグを出力する記憶手段と、この記憶手段から読み出された上記可変長データが入力され、上記一定時間に対応する可変長データの終端で上記フラグを検出して、オン状態のときには上記記憶手段から上記可変長データを読み出し続け、オフ状態のときには上記記憶手段からのデータ読み出しを停止してダミーデータを出力する手段とを有することにより、簡単な構成でダミーデータの付加が行える。
【0065】
また、上記可変長データと、単位時間当りのデータ量が一定の固定長データとを合成して、上記伝送単位時間毎にブロック化して伝送する場合にも、これらのデータの合成や分離が容易にかつ簡単な回路構成で行える。
【0066】
ここで、ビデオ信号をディジタル化する場合には一般にデータ量が膨大なものとなるため、可変長圧縮符号化等の高能率圧縮符号化が適しており、圧縮符号化されたデータは可変長データとなるから、上記可変長データとしてビデオデータを用いることが好ましい。
【図面の簡単な説明】
【図1】本発明の一実施例に用いられるビデオ、オーディオ各データのエンコーダ側の構成を一例を示すブロック図である。
【図2】図3中のダミーデータ付加部の具体例を示すブロック図である。
【図3】図4の構成の動作を説明するための図である。
【図4】図4の構成の動作を説明するための図である。
【図5】本発明の一実施例に用いられるデータフォーマットを示す図である。
【図6】本発明の一実施例に用いられるデータブロックのブロックフォーマットを示す図である。
【図7】本発明の一実施例に用いられるビデオ、オーディオ各データのデコーダ側の構成を一例を示すブロック図である。
【図8】本発明の実施例が適用される情報データ記録再生システムの概略的な構成を示すブロック図である。
【図9】ビデオ信号のディジタル化及び圧縮符号化の一例を説明するための図である。
【図10】オーディオ信号のディジタル化及び圧縮符号化の一例を説明するための図である。
【符号の説明】
14 ビデオエンコーダ
15 ビデオバッファ
16 エンド検出回路
17 ダミーデータ付加部
24 オーディオエンコーダ
25 オーディオバッファ
26 データ合成回路
27 出力バッファ
28 コントローラ
29、44 CPU
41 入力ラッチ
42 データ分離回路
43 ヘッダ検出回路
46 ビデオデコーダ
56 オーディオデコーダ[0001]
[Industrial applications]
The present invention relates to an information signal transmission method and apparatus, and more particularly to an information signal transmission method and apparatus that records and reproduces variable-length data such as compression-encoded video data on a disk-shaped recording medium.
[0002]
[Prior art]
Generally, when an analog video signal is digitized, the amount of data becomes enormous, and it becomes difficult or expensive to record and communicate as it is. Therefore, data is often compressed and recorded and communicated. In particular, since the data amount of a video signal is much larger than that of an audio signal, it is important to employ an encoding method with a high compression rate. An encoding method in which the amount of coded output data changes, for example, a so-called variable-length encoding method, has been widely adopted.
[0003]
FIG. 9 is a diagram for explaining an example of compression of video signal data, where A indicates an analog video signal. Generally, a video signal constitutes one image in one frame or one field. Therefore, the analog video signal in FIG. 9A is sampled (sampled) in a unit of one frame or one field in the time axis direction. ) Has been. This information is preserved even when it is digitized and compressed / decompressed. In the compression of moving images, when motion information is compressed using correlation between frames or fields, the processing of compression / expansion extends over several frames or several fields. Is an original frame or field unit image.
[0004]
FIG. 9 shows a time unit T of video signal compression. V Is an example of intra-field compression where 1 field = (1/60) second, and the sampling frequency Fs is 13.5 MHz. In this example, the composite video signal is divided into a luminance (Y) signal and a chrominance (C) signal, each of which is sampled at Fs = 13.5 MHz, quantized into 8 bits, and the signal of FIG. I have data. This means that 13.5 MHz.times.8-bit data is 216 Mbps (megabits / second) for two channels of Y and C, and 3.6 Mbits per field, that is, one field has a word number of 8 bits. This is 450K words.
[0005]
When this is compressed for each field to obtain variable-length data of a maximum of 12 Mbps, the maximum is 200 K bits per field, that is, the maximum number of words of 8 bits per word is 25 K words. This is because the above-mentioned video data of 3.6M bits = 450K words per field is compressed to 1/18 or less, and is compressed to data within 200K bits per field, that is, data within 25K words as shown in FIG. 9C. Will do.
[0006]
In the case of such compression encoding, the compression ratio is almost constant when averaged over a plurality of fields, but often fluctuates in units of one field time.
[0007]
By the way, in recent years, when transmitting information signals including video information and audio information, that is, for recording / reproducing or transmitting / receiving, in recent years, in consideration of application to a so-called multimedia system, each information is digitally converted. , Encoding and combining are increasing.
[0008]
FIG. 10 is a diagram for explaining an example of data compression of an audio signal, where A indicates an analog audio signal. Since the audio signal is a continuous signal unlike the video signal, the compression unit can be arbitrarily selected. In this case, it is conceivable to compress the video signal in a unit time of the compression of the video signal, that is, in a unit of time which is the same as the field or frame time or an integer ratio. The compression unit times do not match.
[0009]
Here, as a compression method developed for a commercially available recording / playback type small audio disk, audio PCM data in which the sampling frequency is 44.1 kHz and the left and right stereo channels are 16 bits each are sampled every 512 samples. An example of a method of compressing to 212 bytes will be described.
[0010]
The analog audio signal shown in FIG. 10A has a time T corresponding to 512 samples when the sampling frequency is 44.1 kHz. A That is,
Figure 0003541413
Is compressed and encoded in units of. That is, as shown in FIG. Per channel 512 samples of 16 bits per sample 2 channels (stereo), that is, 512 × 16 bits × 2 channels Is compression-encoded, and 212 shown in FIG. × 8 bits × 2 channels Fixed-length data. The unit time of this fixed-length data, for example, the data amount per second, that is, the data rate R A Is
R A = 212 × 2 × 8 / T A (Bits / second = bps)
It is. The unit time T of such audio signal compression A Is the unit time T of compression of the video signal V And has no simple integer ratio relationship.
[0011]
[Problems to be solved by the invention]
By the way, in the case of transmitting variable-length data such as the above-described video data, or in the case of transmitting by combining variable-length video data and fixed-length audio data, it is inconvenient to handle the variable-length data as it is. For this reason, a fixed rate is often added by adding dummy data.
[0012]
However, in order to generate and add the dummy data, it is necessary to measure the amount of variable-length data, calculate a difference from the transmission rate of the transmission data bus, and the like, which complicates arithmetic processing and a circuit configuration. When the data bus and the operation clock of the variable-length data operate asynchronously, an error occurs because the rate of the data bus and the rate of the variable-length data do not exactly match. As the screens continue, this error gradually accumulates. For this reason, a circuit for correcting this may be required.
[0013]
The present invention has been made in view of such circumstances, and when transmitting variable-length data, it is possible to easily generate and add dummy data for achieving a fixed rate and to transmit an information signal with a simple circuit configuration. It is intended to provide a method and apparatus.
[0014]
Another object of the present invention is to easily combine and separate these data by adding dummy data to a fixed rate when combining variable-length data and fixed-length data for transmission. Another object of the present invention is to provide an information signal transmission method and apparatus which can be performed with a simple circuit configuration.
[0015]
[Means for Solving the Problems]
In the information signal transmission method according to the present invention, variable-length data in which the amount of data per unit time obtained by compressing and encoding input data at fixed time intervals is changed and transmitted at fixed transmission unit time intervals. In the information signal transmission method, a flag that is turned on when the amount of data stored in the storage unit that stores the variable length data reaches a predetermined value is used, and the flag is set at the end of the variable length data corresponding to the fixed time. Upon detection, the variable-length data is continuously read from the storage means when in the ON state, and data reading from the storage means is stopped and dummy data is output when the state is OFF, and the data is blocked and transmitted.
[0016]
Further, the information signal transmission apparatus according to the present invention, the variable-length data that changes the amount of data per unit time obtained by compressing and encoding the input data every fixed time, is divided into blocks every fixed transmission unit time In an information signal transmission device for transmission, storage means for storing the variable-length data obtained by the compression encoding, and outputting a flag that is turned on when the amount of stored data reaches a predetermined value; The variable-length data read from the memory is input, the flag is detected at the end of the variable-length data corresponding to the predetermined time, and when the variable-length data is on, the variable-length data is continuously read from the storage means, Means for stopping data reading from said storage means and outputting dummy data.
[0017]
Here, the predetermined value of the amount of data stored in the storage means may be, for example, a half of the total storage capacity. Further, the variable length data and the fixed length data having a constant data amount per unit time are combined, and the data is divided into blocks for each transmission unit time and transmitted. As the variable-length data, it is preferable to use video data that has been compression-encoded in units of fields or frames of a video signal.
[0018]
[Action]
Since the generation and addition of the dummy data are controlled according to whether or not the amount of data stored in the storage means has reached a predetermined value, the dummy data can be added with an easy and simple configuration and there is no accumulation of error. .
[0019]
In addition, even when variable-length data and fixed-length data are combined and transmitted, the combination and separation of these data can be performed easily and with a simple circuit configuration.
[0020]
【Example】
Hereinafter, embodiments according to the present invention will be described with reference to the drawings.
In this embodiment, it is assumed that an information signal is transmitted when recording and reproducing data in a recording and reproducing apparatus in a so-called AV server that transmits and receives audio and video data to and from a plurality of terminal devices.
[0021]
FIG. 1 shows a configuration of an encoder side of a signal transmission apparatus in a case where the above-described video and audio signals are synthesized and blocked and transmitted, that is, in a case where recording / reproduction is performed on a recording medium or transmission / reception is performed via a communication system. An example is shown.
[0022]
In FIG. 1, an input terminal 11 is supplied with an analog video signal, and an input terminal 21 is supplied with an analog audio signal. An analog video signal from the input terminal 11 is sent to an A / D (analog / digital) converter 13 via an amplifier 12 and converted into a digital video signal. The digital video signal from the A / D converter 13 is sent to the video encoder 14 and is compression-encoded into variable-length data in which the amount of data per unit time varies. This variable-length data is obtained by compressing and encoding a unit time T. V Each time, it is obtained as data having a variable data amount equal to or less than a certain maximum data amount. As the video encoder 14, for example, an encoder that realizes an encoding method defined by the so-called JPEG (Joint Photographic Coding Experts Group) can be used.
[0023]
The variable length data from the video encoder 14 is sent to an end detection circuit 16 via a video buffer 15, and the video buffer 15 and the end detection circuit 16 constitute a dummy data adding unit 17. In the dummy data adding section 17, dummy data is added as described later, and the data rate is fixed. This is done by adding dummy data to variable-length data until the maximum data amount is reached for each unit time of compression encoding, thereby obtaining fixed-rate data.
[0024]
On the other hand, an analog audio signal from the input terminal 21 is sent to an A / D converter 23 via an amplifier 22 to be converted into a digital audio signal, and then sent to an audio encoder 24 where it is compression-encoded and has a fixed length. It becomes audio data. As the audio encoder 24, for example, a compression-encoding encoder used for a small-sized recordable audio optical disk device or a small digital audio tape recorder can be used.
[0025]
The fixed-length data from the audio encoder 24 is sent to a data synthesis circuit 26 via an audio buffer 25. The fixed-rate variable-length video data from the dummy data adding unit 16 and the header information data from the CPU 29 are sent to the data synthesizing circuit 26, and these are synthesized, and are combined as shown in FIG. C or data in a block format as shown in FIGS. Since additional data such as time code information and character information added to the input video signal from the amplifier 12 is lost during the compression processing, the additional data is extracted by the additional data detection circuit 18. The additional data extracted by the additional data detection circuit 18 is sent to the CPU 29, where the header information data is formed. The CPU 29 inputs and outputs control signals to and from a controller 28, and the controller 28 controls the data synthesizing circuit 26 and the buffers 15 and 25, respectively. The synthesized data from the output buffer 27 is sent to the interface bus 31 of the AV server, and the data is recorded via the interface bus 31 on a hard disk device, a magneto-optical disk device, or a disk array device including a plurality of these devices. It is sent to the device and recorded.
[0026]
Next, FIGS. 2 to 4 are diagrams for explaining a specific configuration and operation of the dummy data adding unit 17. In FIG. 2, the video buffer 15 has a so-called FIFO (First In First Out) memory. Is used. The video buffer 15 outputs an HF (half-full) flag that is turned ON and OFF depending on whether the accumulated data amount is equal to or more than half of the total data amount. A write control signal W from the video encoder 14 and a read control signal R from the end detection circuit 16 are supplied to the video buffer 15, and the read control signal R from the controller 28 in FIG. Is supplied.
[0027]
As shown in FIG. 1A, when the video data V stored in the video buffer 15 is more than half of the total data capacity, the HF flag is in the ON state. The end detecting circuit 16 reads out the video data from the video buffer 15 and sends it to the data synthesizing circuit 26 shown in FIG. 1, and detects the end of the field of the video data, that is, the end of picture (EOP) or the end of image (EOI). Then, the HF flag is read. If the HF flag at this time is ON, the video data is continuously read from the video buffer 15 and sent to the data synthesizing circuit 26 in FIG.
[0028]
When the video data V stored in the video buffer 15 becomes smaller than half of the total data capacity, the HF flag is turned off as shown in FIG. 3B. When the end detection circuit 26 detects the end of the video data field, that is, the EOP or EOI, and the HF flag is OFF, the end detection circuit 26 stops reading the video data from the video buffer 15, and The dummy data is output to the data synthesizing circuit 26 as shown in FIG. During this time, the video data from the video encoder 14 continues to be written to the video buffer 15, so that the data amount gradually increases, and the HF flag is turned on when the data amount becomes half or more of the total data capacity. When the HF flag is turned ON, the end detection circuit 16 stops outputting the dummy data and starts reading the video data from the video buffer 15, and sends the read video data to the data synthesizing circuit 26. send.
[0029]
FIG. 4 shows the operation waveforms of the respective units in the above operation and the combined output data. 4A shows the end detection output signal, FIG. 4B shows the HF flag, and FIG. 4C shows the combined output data from the data combining circuit 26. In this way, for example, the amount of dummy data to be written to the AV server can be adjusted to match the data rate of the transmission path. Moreover, by using the circuit of FIG. 2, dummy data can be generated with a simple circuit configuration.
[0030]
Next, synthesized data of video and audio used in such a decoder-side configuration will be described with reference to FIGS.
[0031]
FIG. 5 is a diagram showing a specific example of a composite signal of the above-described video signal of FIG. 9 and the audio signal of FIG. 10. All of the signals are subjected to compression encoding processing, and video data is V, and audio data is A. Are represented by. The video data V is the above-mentioned first fixed time T V , For example T V = 1 field = 1/60 (seconds), which is variable-length data obtained by subjecting a video signal to compression encoding processing, and audio data A is T, which is the above-mentioned second fixed time. A This is fixed-length data obtained by compressing an audio signal in units. The fixed-length data rate of this audio is R A It is.
[0032]
First, A in FIG. 5 is obtained by adding fixed-length audio data A to the end E of variable-length video data V, that is, a so-called end-of-picture (EOP). One lump is the fixed rate R A T of audio data of V Minutes, ie R A × T V It is.
[0033]
Here, as a specific example, the sampling frequency Fs of the video signal is set to 13.5 MHz, the composite video signal is divided into a luminance (Y) signal and a color (C) signal, and each is sampled at 13.5 MHz and quantized into 8 bits. 216 Mbps (megabits / second) video signal data V = Compression in units of one field, converting video signal data of 3.6 Mbits or 450 Kwords per field into variable length data of a maximum of 200 Kbits per field, that is, a maximum of 25 Kwords with a word number of 8 bits per word. ing. As for the audio signal, the sampling frequency is 44.1 kHz, and the left and right stereo channels are compressed into 16-bit digital audio PCM data into 512-byte fixed-length data every 512 samples. Time T which is the unit time of A Is 512 / (44.1 × 10 Three ) (Sec), data rate R of compressed fixed-length data A Is R A = 212 × 2 × 8 / T A (Bps: bits / second).
[0034]
At this time, T V = Data amount R of audio data A per field A × T V Is
Figure 0003541413
When data is handled with a 16-bit width on the data bus of the AV server, that is, when one word is 16 bits,
R A × T V $ 304.336 x 16 (bit)
It becomes. This is T V = 304 words or 305 words per 1/60 (second).
[0035]
Here, a case where AV data is recorded in an AV server having a fixed throughput or a fixed rate is considered.
Now, the data transfer capacity per AV data channel is R S It is assumed that the minimum unit of the data amount when recording and reproducing data with respect to this server is A × N. A and N are natural numbers, N is the number of recording / reproducing devices, for example, hard disks, and A is the minimum unit of data that can be handled by the recording / reproducing device, that is, the so-called sector data amount. As a specific example, the above R S Is 14 Mbps, the number N of hard disks is 14, and the data amount A of one sector is 512 bytes = 512 × 8 bits. It is necessary to transmit A × N bits of data at a data rate of 14 Mbps. Time T S Is
Figure 0003541413
It is.
[0036]
This AV server stores data in T S It is divided or assembled every time. Therefore, if the time unit of data input to and output from the AV server is t, t is the time T S , Ie, t = nT S Is more convenient for an AV server that records and reproduces data in real time. In this embodiment, n = 1, ie, t = T S And Transmission unit of this server t = T S FIG. 5B shows a state in which the data of FIG.
[0037]
The above time T S Is the unit time T of each compression V Tomo T A The start S and the end E of the video data of the AV combined data are not related to the time T. S It is indeterminate where in the unit's server data block it is located. Therefore, if recorded as it is, it becomes difficult to separate audio data and video data during reproduction.
[0038]
By the way, since the video data V is variable length data as described above, a data pattern indicating SOP: start of picture at the start position S and an EOP: end of picture at the end position E in the data is provided. There are many. If these can be determined at the time of reproduction, it is possible to extract video data. Further, since the audio data has a fixed length, it is possible to extract the audio data if a predetermined amount of data is set as the audio data from the end EOP of the video in advance.
[0039]
However, special data patterns such as SOP and EOP, or control data patterns are sometimes defined so as not to appear in the video data. May appear in This is the same when data other than audio and video is added. The audio data is once stored in the T A What was compressed in time units is V It is synthesized in units of time, and this S It is divided or assembled in units of time.
[0040]
In order to solve such a problem, in an embodiment of the present invention, as shown in FIG. 5C, a data block of an AV server having a fixed throughput or a fixed rate is divided by a fixed amount of audio data, The video data is inserted into the gap. That is, dummy data D is added to the variable-length video data V to form fixed-rate variable-length data at a fixed data rate, and the fixed-length variable-length data is transmitted within the time t of one block serving as a transmission unit. Audio data A of a predetermined amount (R A × t), and the fixed-rate variable length data is arranged in the remaining portion.
[0041]
Specifically, the above T A The audio data A compressed in time units is converted into data for each time t. Now, t = T S Then
Figure 0003541413
Assuming that one word has 16 bits, the audio data A may be prepared for 74 words or 75 words per block. Whether the audio data of the current block is 74 words or 75 words can be determined by attaching mark data to each block. 75 words may be set as the audio data area in the block, and one word may be discarded for 74 words.
[0042]
FIG. 6A shows a specific example of the structure of data in one block, that is, a so-called block format. From the head of the block, for example, header data H of 3 words, audio data A of 75 words, audio data of 3506 words Data V is sequentially arranged, and one block has 3584 words. Note that the audio data area may contain 74 words of audio data, and the 3506 word video data area may contain empty space between the end and the start of the next field and may contain dummy data. .
[0043]
That is, since variable-length video data is recorded on a fixed-rate server, an empty area is generated. Dummy data D enters this empty area as shown in B of FIG. In this case, at the time of recording, dummy data is generated and added following the end EOP of the video data as described later. At the time of reproduction, the area from the end EOP of the video data to the start SOP of the next field is determined as an empty area, and the data in that part is not sent to the video decoder or the data expansion circuit. If the position information of the SOP and EOP, that is, the number of words from the block head position, is described in the header H, the empty area can be predicted in advance based on this information. If dummy data which is automatically ignored by a decoder or a decompression circuit is written in an empty area, the above empty area can be skipped and only video data can be sent to decoding processing without reading SOP and EOP. .
[0044]
By recording in the server in such data block units, at the time of reproduction, if the configuration of the data blocks of the file, that is, the number of words in each area is known in advance, the number of words of data from the head of the block is counted. With only this, each data of the header area, the audio area, and the video area can be distinguished, and the separation of each data can be simplified.
[0045]
In addition to setting the data structure in this block fixedly, if the setting can be changed from outside the synthesis / separation circuit, etc., the setting can be changed for each data file or each system. Is also possible.
[0046]
If the data in each data area is correctly separated, control data of each data, for example, SOP and EOP indicating the start and end of the video field data can be used. Good.
[0047]
In practice, the start of the video field can be determined by writing the presence or absence of the SOP and EOP of the video and their positions, that is, the address in the block and the number of words from the beginning of the block, in the header area. By utilizing this, additional data accompanying the video signal which is lost at the time of compression, for example, data during a vertical blanking period, time code, frame number, close caption data, etc. are written in the header area. Can be added to the corresponding frame image at the time of reproduction.
[0048]
As described above, if the audio data and the video data are simultaneously blocked, the time axes of the respective data proceed simultaneously. Therefore, if the beginning of a block and the beginning of each of audio and video data coincide with each other at the beginning of a file or the like, the synchronization of audio and video is maintained without time lag.
[0049]
Since the dummy data D in the empty area shown in FIG. 6B is essentially unnecessary data, it is conceivable that this part is not recorded in order to effectively use the recording medium of the server. That is, as shown in FIG. 6C, the empty area is packed and recorded, and information such as the dummy data amount or the data amount of the empty area is described in the header H. By controlling so that data does not come from the server by the amount of data or not requesting data to the server, it is also possible to virtually generate an empty area in the reproduction system. The server throughput at this time is not fixed at this time, but fluctuates. In this case, even if recording is performed as shown in FIG. 6C, the reproduction system interprets it as shown in FIG. 6B.
[0050]
Next, FIG. 7 shows an example of a configuration on the decoder side corresponding to the configuration on the encoder side in FIG.
[0051]
In FIG. 7, data from the interface bus 31 of the above-described AV server or the like is supplied to a data separation circuit 42 via an input latch 41. The data from the input latch 41 is sent to the header detection circuit 43, and the header H at the head position of the data block as shown in A and B in FIG. 6 is detected. The header detection circuit 43 counts the number of data or the clock from the head of the block, and separates each data of the header area, the audio area, and the video area shown in FIGS. 6A and 6B according to the format of the data block. Is sent to the data separation circuit 42. The format of the data block is not fixed. For example, by sending change information from the system control circuit 30 to the CPU 44 and the CPU 44 controlling the header detection circuit 43, the separation of each area of the data block of an arbitrary format is performed. Can be performed.
[0052]
The video data separated by the data separation circuit 42 is sent to a video decoder 46, where the video data is subjected to decompression decoding processing symmetrical to the compression encoding processing by the video encoder 14 shown in FIG. (/ Analog) converter 47 converts the signal into an analog video signal. An analog video signal from the D / A converter 47 is taken out from an output terminal 49 via an amplifier 48.
[0053]
The audio data separated by the data separation circuit 42 is sent to an audio decoder 56, where the data is subjected to decompression decoding processing symmetrical to the compression encoding processing by the audio encoder 24 shown in FIG. (Analog) converter 57 converts the signal into an analog audio signal. An analog audio signal from the D / A converter 57 is extracted from an output terminal 59 via an amplifier 58.
[0054]
Further, the data separation circuit 42 separates other data existing in the header area and the like, for example, additional data such as time code and character information attached to circuit control data and video signals, and sends them to the CPU 44. The CPU 44 sends an additional data signal to be attached to the video signal to the video amplifier 48 via the additional data output circuit 54, and adds it to the video signal from the D / A converter 47.
[0055]
Next, an information data signal recording / reproducing system to which the information signal transmission method or the information signal transmission device according to the present invention is applied will be described with reference to FIG. This information data recording / reproducing system is a system that includes a plurality of recording / reproducing devices using a disk-shaped recording medium and records and reproduces video signals and audio signals, that is, an AV server system.
[0056]
Specifically, this AV server system can record a large number of digitized data of AV materials of analog signals such as commercials and movies, and supply the AV materials to multiple channels at the same time as required. System. By using a plurality of hard disks as recording media for AV data, unlike a conventional video tape recorder using a tape, that is, a VTR or the like, each AV material can be randomly accessed. This AV server system can be used for various applications such as automatic transmission of commercials, provision of karaoke, and language learning.
[0057]
First, at the time of data recording, analog AV data is input from a plurality of input channels. In the specific example of FIG. 8, analog AV data is input from the signal input terminals 104 and 105 and the like. Each input analog AV data is digitized by analog / digital (A / D) converters 108 and 109 and then compressed by encoders 112 and 113. This is because the digitized data has a large size and is compressed to increase the data transfer rate. As this compression method, a method such as MPEG of a color moving picture coding method or JPEG of a color still picture coding method is generally used.
[0058]
Digitally encoded data input from a plurality of input channels is sequentially input to the time division multiplexing block 114 by the timing controller 115 with the time being slightly shifted for each channel. Data from a certain channel is divided into a certain unit, for example, every two bytes, and is recorded on each hard disk. Here, the hard disk generally poses a problem with respect to the data transfer capability of the AV server system. Therefore, by dividing and recording data on a plurality of hard disks, the data transfer rate of the group of hard disks can be almost doubled by the number of hard disks.
[0059]
The data time-division multiplexed by the time-division multiplexing block 114 is written out to the buffers 117, 118, and 119 under the control of the timing controller 116 while being slightly shifted by a certain unit, for example, every two bytes. At this time, the timing controller 116 controls which time data is written to which buffer. The data written to the buffers 117, 118, and 119 are recorded on the hard disks 123, 124, and 125 by the device control blocks 120, 121, and 122, respectively.
[0060]
The operation timing of the timing controller 116 and each of the device control blocks 120, 121, and 122 is controlled by a server control block 126. Further, application information on data divided and recorded on the hard disks 123, 124, and 125, for example, information such as titles is input from an input device (not shown) of the host computer 101 and managed by an application control block 127.
[0061]
Next, at the time of data reproduction, the host computer 101 specifies which data is to be output to which output channel. This designation is transmitted from the application control block 127 to the server control block 126 to specify where desired data is recorded on the hard disk. This information is transmitted to each device control block 120, 121, 122. Under the control of the device control blocks 120, 121, and 122, data is read from the hard disks 123, 124, and 125 based on the information and written into the buffers 117, 118, and 119. The data divided and stored in each of the buffers 117, 118, and 119 is sent to the time division multiplexing block 114 under the control of the timing controller 115, and is assembled into the original compressed data by the time division multiplexing block 114. Will be fixed. This data is supplied to a desired output channel under the control of the timing controller 115. Under the control of the timing controller 115, the compressed data from the time division multiplex block 114 is sent to the decoders 110 and 111. The decoders 110 and 111 decompress the transmitted compressed data. The decompressed data is converted into original analog AV materials by digital / analog (D / A) converters 106 and 107 and output from signal output terminals 102 and 103.
[0062]
Note that the present invention is not limited to only the above-described embodiments. For example, various data other than video data and audio data can be used as the variable length data and the fixed length data. . In addition to the variable length data and the fixed length data, a plurality of types may be used instead of using one type each.
[0063]
【The invention's effect】
As described above, according to the information signal transmission method of the present invention, the flag that is turned on when the amount of data stored in the storage unit that stores variable-length data reaches a predetermined value is used, The flag is detected at the end of the corresponding variable-length data. When the flag is on, the variable-length data is continuously read from the storage unit. When the flag is off, data reading from the storage unit is stopped and dummy data is output. Thus, dummy data can be added with an easy and simple configuration. Further, there is no need to calculate the difference between the rate of the variable-length data and the transmission rate, and errors are not accumulated even if these rates are asynchronous and the rates do not match exactly.
[0064]
Further, according to the information signal transmission device of the present invention, the storage means for storing the variable length data obtained by compression encoding and outputting a flag which is turned on when the accumulated data amount reaches a predetermined value. And the variable length data read from the storage means is input, the flag is detected at the end of the variable length data corresponding to the predetermined time, and when the variable length data is on, the variable length data is read from the storage means. Means for stopping the data reading from the storage means and outputting the dummy data when the reading means is in the OFF state, whereby the dummy data can be added with a simple configuration.
[0065]
Also, when combining the variable-length data and the fixed-length data having a fixed data amount per unit time and transmitting the data in blocks for each transmission unit time, it is easy to combine and separate these data. And a simple circuit configuration.
[0066]
Here, when a video signal is digitized, the amount of data generally becomes enormous, so high-efficiency compression coding such as variable-length compression coding is suitable. Therefore, it is preferable to use video data as the variable length data.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an example of a configuration of an encoder for video and audio data used in an embodiment of the present invention.
FIG. 2 is a block diagram showing a specific example of a dummy data adding unit in FIG.
FIG. 3 is a diagram for explaining the operation of the configuration of FIG. 4;
FIG. 4 is a diagram for explaining the operation of the configuration of FIG. 4;
FIG. 5 is a diagram showing a data format used in one embodiment of the present invention.
FIG. 6 is a diagram showing a block format of a data block used in one embodiment of the present invention.
FIG. 7 is a block diagram showing an example of a configuration of a decoder for video and audio data used in an embodiment of the present invention.
FIG. 8 is a block diagram showing a schematic configuration of an information data recording / reproducing system to which an embodiment of the present invention is applied.
FIG. 9 is a diagram illustrating an example of digitization and compression encoding of a video signal.
FIG. 10 is a diagram illustrating an example of digitization and compression encoding of an audio signal.
[Explanation of symbols]
14 Video encoder
15 Video buffer
16 End detection circuit
17 Dummy data addition section
24 audio encoder
25 audio buffer
26 Data synthesis circuit
27 Output buffer
28 Controller
29, 44 CPU
41 Input latch
42 Data Separation Circuit
43 Header Detection Circuit
46 Video Decoder
56 audio decoder

Claims (4)

入力データを一定時間毎に圧縮符号化して得られた単位時間当りのデータ量が変化する可変長データを、一定の伝送単位時間毎にブロック化して伝送する情報信号伝送方法において、
上記可変長データを記憶する記憶手段の蓄積データ量が所定値に達したときにオン状態となるフラグを用い、上記一定時間に対応する可変長データの終端で上記フラグを検出して、オン状態のときには上記記憶手段から上記可変長データを読み出し続け、オフ状態のときには上記記憶手段からのデータ読み出しを停止してダミーデータを出力し、上記ブロック化して伝送することを特徴とする情報信号伝送方法。
An information signal transmission method for transmitting variable-length data in which the amount of data per unit time obtained by compressing and encoding input data at fixed time intervals is changed at fixed transmission unit time intervals,
Using a flag that is turned on when the amount of data stored in the storage means for storing the variable length data reaches a predetermined value, detecting the flag at the end of the variable length data corresponding to the predetermined time, and Wherein the variable length data is continuously read out from the storage means when the data is in the off state, the data reading from the storage means is stopped when the data is in the off state, dummy data is output, and the data is transmitted in the form of blocks. .
単位時間当りのデータ量が一定の固定長データと、上記可変長データとを合成して、上記伝送単位時間毎にブロック化して伝送することを特徴とする請求項1記載の情報信号伝送方法。2. The information signal transmission method according to claim 1, wherein the fixed length data having a constant data amount per unit time and the variable length data are combined, and the data is divided into blocks for each transmission unit time and transmitted. 上記可変長データは、ビデオ信号のフィールド単位あるいはフレーム単位で圧縮符号化されたビデオデータであることを特徴とする請求項1記載の情報信号伝送方法。2. The information signal transmission method according to claim 1, wherein the variable length data is video data that is compression-encoded in a field unit or a frame unit of a video signal. 入力データを一定時間毎に圧縮符号化して得られた単位時間当りのデータ量が変化する可変長データを、一定の伝送単位時間毎にブロック化して伝送する情報信号伝送装置において、
上記圧縮符号化されて得られた可変長データを記憶し、蓄積データ量が所定値に達したときにオン状態となるフラグを出力する記憶手段と、
この記憶手段から読み出された上記可変長データが入力され、上記一定時間に対応する可変長データの終端で上記フラグを検出して、オン状態のときには上記記憶手段から上記可変長データを読み出し続け、オフ状態のときには上記記憶手段からのデータ読み出しを停止してダミーデータを出力する手段とを有することを特徴とする情報信号伝送装置。
In an information signal transmission apparatus for transmitting variable-length data in which the amount of data per unit time obtained by compressing and encoding input data at fixed time intervals changes per fixed transmission unit time,
Storage means for storing the variable-length data obtained by compression-encoding and outputting a flag that is turned on when the amount of accumulated data reaches a predetermined value;
The variable length data read from the storage means is input, the flag is detected at the end of the variable length data corresponding to the predetermined time, and when the variable length data is on, the variable length data is continuously read from the storage means. Means for stopping reading of data from the storage means and outputting dummy data when in the OFF state.
JP02726294A 1994-01-31 1994-01-31 Information signal transmission method and apparatus Expired - Fee Related JP3541413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02726294A JP3541413B2 (en) 1994-01-31 1994-01-31 Information signal transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02726294A JP3541413B2 (en) 1994-01-31 1994-01-31 Information signal transmission method and apparatus

Publications (2)

Publication Number Publication Date
JPH07221715A JPH07221715A (en) 1995-08-18
JP3541413B2 true JP3541413B2 (en) 2004-07-14

Family

ID=12216169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02726294A Expired - Fee Related JP3541413B2 (en) 1994-01-31 1994-01-31 Information signal transmission method and apparatus

Country Status (1)

Country Link
JP (1) JP3541413B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0946691A (en) * 1995-07-31 1997-02-14 Victor Co Of Japan Ltd Information storage output method and information storage output device
AU4601697A (en) * 1996-12-18 1998-07-15 Thomson Consumer Electronics, Inc Efficient fixed-length block compression and decompression
TW451188B (en) * 1997-09-10 2001-08-21 Sony Corp Information recording method and apparatus and information recording medium
DE69834317T2 (en) * 1997-11-29 2007-03-29 Koninklijke Philips Electronics N.V. METHOD AND DEVICE FOR AUDIO RECORDING, RECORDING CARRIER AND PLAYING DEVICE
KR100595503B1 (en) * 2000-01-20 2006-07-03 엘지전자 주식회사 Apparatus and method for recording and reproducing data of digital signal recording and reproducing apparatus
KR100575527B1 (en) * 2000-08-22 2006-05-03 엘지전자 주식회사 Method for recording a digital data stream
KR100475604B1 (en) * 2001-03-09 2005-03-10 엘지전자 주식회사 Read only optical disc, and method for reproducing a data in read only optical disc player

Also Published As

Publication number Publication date
JPH07221715A (en) 1995-08-18

Similar Documents

Publication Publication Date Title
US7369756B2 (en) Method for decoding non-DV data stored in a DV format
JP4515465B2 (en) Moving picture photographing apparatus and moving picture photographing method, moving picture reproducing apparatus and moving picture reproducing method for reproducing a video signal recorded on a recording medium
US6064795A (en) Method of and apparatus for data recording, method of and apparatus for data reproduction, recording medium, and method of and apparatus for data transmission
US6754239B2 (en) Multiplexing apparatus and method, transmitting apparatus and method, and recording medium
US6185229B1 (en) Data multiplexing apparatus and method thereof
KR100329391B1 (en) Method and apparatus for recording digital data streams
JP3541413B2 (en) Information signal transmission method and apparatus
AU762222B2 (en) Transmitting device for transmitting a digital information signal alternately in encoded form and non-encoded form
JPH08289247A (en) Digital signal recording and reproducing device
JPH07221716A (en) Method and device for transmitting information signal
JP2989417B2 (en) Digital information playback device
JP3477789B2 (en) Information signal recording method and reproducing method, information signal recording apparatus and reproducing apparatus
JP3556293B2 (en) Multimedia data recording device
JP4062832B2 (en) Data recording / reproducing apparatus and data recording / reproducing method
KR100306930B1 (en) Digital data transmitter and method for transmitting the same
JP3858274B2 (en) Video signal transmission device
JP2004120799A (en) Digital data transmission apparatus and its transmission method
JP3430613B2 (en) Information signal reproducing method and apparatus
JPH10199141A (en) Code recording device and code multiplexing method
JPH0974535A (en) Video data recording and reproducing device
JP4287992B2 (en) Digital data recording / reproducing apparatus and method
JP3176020B2 (en) Multi-channel recording and playback device
JP3674717B2 (en) Data recording method and apparatus, data reproduction method and apparatus, data transmission method and apparatus
JP3630248B2 (en) Data recording method and apparatus, data reproduction method and apparatus, data transmission method and apparatus
JPH10199140A (en) Code recording device and code multiplexing method

Legal Events

Date Code Title Description
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: 20040309

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040322

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

Free format text: PAYMENT UNTIL: 20080409

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120409

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees