JP2000308052A - Method and device for receiving data - Google Patents

Method and device for receiving data

Info

Publication number
JP2000308052A
JP2000308052A JP11020299A JP11020299A JP2000308052A JP 2000308052 A JP2000308052 A JP 2000308052A JP 11020299 A JP11020299 A JP 11020299A JP 11020299 A JP11020299 A JP 11020299A JP 2000308052 A JP2000308052 A JP 2000308052A
Authority
JP
Japan
Prior art keywords
data
error detection
correction
added
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11020299A
Other languages
Japanese (ja)
Inventor
Ichiro Tanji
一郎 丹治
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 JP11020299A priority Critical patent/JP2000308052A/en
Publication of JP2000308052A publication Critical patent/JP2000308052A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To properly process received data when the transmission of a program is performed by using the transmission packet of a serial/digital transfer interface by constituting a content package. SOLUTION: In a step ST1, whether or not a range is a correctable range is discriminated by performing ECC decoding. When the range is correctable, the process advances to a step ST2 and, when an ECC on/off flag is in an 'ON' state, it is discriminated that ECC is in an 'ON' state and CRC is in an 'OFF state in a step ST3. When no error is detected when the even parity of 'CRC flag' or the CRC of header data are used even when the process advances to a step ST5 from the step ST1, whether or not the 'CRC flag' is in an 'ON' state is discriminated in a step ST6. When the 'CRC flag' is the 'ON' state, it is discriminated that the ECC is in an 'OFF' state and the CRC is in an 'ON' state in a step ST7. When the 'CRC flag' is not in the 'ON', state, it is discriminated that the ECC is in an 'ON' state and the CRC is in an 'OFF' state. Therefore, the process can be carried out by accurately discriminating the 'ON' and 'OFF' states of the ECC and CRC even when the 'CRC flag' becomes erroneous information.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、データ受信方法
およびデータ受信装置に関する。詳しくは、誤り検出用
データあるいは誤り検出訂正用データの何れかと、誤り
検出用データおよび誤り検出訂正用データの使用状況を
示す情報が付加された伝送パケットを受信したときに、
誤り検出用データおよび誤り検出訂正用データの使用状
況を示す情報と、誤り検出用データが付加されたものと
して行った誤り検出結果と、誤り検出訂正用データが付
加されたものとして行った誤り訂正処理結果とに基づい
て、誤り検出用データあるいは誤り検出訂正用データの
何れが付加されているかを正しく判別するものである。
[0001] The present invention relates to a data receiving method and a data receiving apparatus. Specifically, when receiving a transmission packet to which either the data for error detection or the data for error detection and correction and the information indicating the use status of the data for error detection and the data for error detection and correction are added,
Information indicating the usage status of the error detection data and the error detection and correction data, an error detection result performed assuming that the error detection data is added, and an error correction performed with the error detection and correction data added Based on the processing result, it is correctly determined whether the data for error detection or the data for error detection and correction is added.

【0002】[0002]

【従来の技術】従来、SMPTE(Society of Motion
Picture and Television Engineers:米国映画テレビ技
術協会)やEBU(European Broadcasting Union:欧
州放送連合)において、放送局間における番組交換の検
討が為されており、その成果として「EBU/SMPTE Task F
orce for Harmonized Standards for the Exchange ofP
rogramme Material as Bitstreams」が発表されてい
る。
2. Description of the Related Art Conventionally, SMPTE (Society of Motion)
The Picture and Television Engineers (American Motion Picture and Television Engineers) and the European Broadcasting Union (EBU) are studying the exchange of programs between broadcasting stations, and as a result, the EBU / SMPTE Task F
orce for Harmonized Standards for the Exchange ofP
rogramme Material as Bitstreams "has been announced.

【0003】この発表では、番組の本質的なデータ例え
ばビデオやオーディオの素材をエッセンス(Essence)と
し、エッセンスの内容例えば番組のタイトルやビデオ方
式(NTSCあるいはPAL)およびオーディオサンプ
リング周波数等の情報をメタデータ(Metadata)とする。
In this announcement, essential data of a program, for example, video or audio material is regarded as essence, and information on the content of the essence, for example, the title of the program, the video system (NTSC or PAL), and the audio sampling frequency are meta-data. Data (Metadata).

【0004】次に、エッセンスとメタデータからコンテ
ントエレメント(Content Element)を構成して、さらに
複数のコンテントエレメントを用いて映像や音声のコン
テントアイテム(Content ltem)を生成する。例えば、画
像索引集として有用なビデオクリップがこれに相当す
る。また、複数のコンテントアイテムやコンテントエレ
メントからコンテントパッケージ(Content Package)を
構成する。このコンテントパッケージが1つの番組に相
当し、コンテントパッケージの集合をラッパー(Wrappe
r)とする。このラッパーを伝送する手段や蓄積する手段
を放送局間で標準化することにより番組交換を容易とす
る提案がなされている。
Next, a content element (Content Element) is formed from the essence and the metadata, and a video or audio content item (Content item) is generated using a plurality of content elements. For example, a video clip useful as an image index collection corresponds to this. Further, a content package (Content Package) is configured from a plurality of content items and content elements. This content package corresponds to one program, and a set of content packages is called a wrapper (Wrappe
r). A proposal has been made to facilitate program exchange by standardizing means for transmitting and storing the wrapper between broadcast stations.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述の発表
では、番組交換の概念が記述されているだけで、どのよ
うな方法で番組の伝送を行うかについては具体的に定め
られていない。このため、番組を上述したようにコンテ
ントパッケージとして実際に伝送することはできなかっ
た。
In the above-mentioned announcement, only the concept of program exchange is described, but no specific method for transmitting a program is specified. For this reason, the program could not be actually transmitted as a content package as described above.

【0006】そこで、この発明ではコンテントパッケー
ジを構成して番組の伝送をシリアルディジタルトランス
ファーインタフェースの伝送パケットを用いて行う場合
に、受信したデータを正しく処理することができるデー
タ受信方法およびデータ受信装置を提供するものであ
る。
Accordingly, the present invention provides a data receiving method and a data receiving apparatus capable of correctly processing received data when a content package is formed and a program is transmitted using a transmission packet of a serial digital transfer interface. To provide.

【0007】[0007]

【課題を解決するための手段】この発明に係るデータ受
信方法は、映像フレームの各1ラインの区間を、終了同
期符号が挿入される終了同期符号領域と、補助データが
挿入される補助データ領域と、開始同期符号が挿入され
る開始同期符号領域と、映像および/または音声のアイ
テムのデータを含むデータが挿入されるペイロード領域
とで構成されると共に、誤り検出用データあるいは誤り
検出訂正用データの何れかと、誤り検出用データおよび
誤り検出訂正用データの使用状況を示す情報を付加した
シリアルディジタルトランスファーインタフェースの伝
送パケットを受信するデータ受信方法であって、受信し
た誤り検出用データおよび誤り検出訂正用データの使用
状況を示す情報と、誤り検出用データが付加されたもの
として行った誤り検出結果と、誤り検出訂正用データが
付加されたものとして行った誤り訂正処理結果とに基づ
いて、誤り検出用データあるいは誤り検出訂正用データ
の何れが付加されているかを判別するものである。
According to the data receiving method of the present invention, each one-line section of a video frame is divided into an end synchronization code area in which an end synchronization code is inserted, and an auxiliary data area in which auxiliary data is inserted. And a start synchronization code area into which a start synchronization code is inserted, and a payload area into which data including data of video and / or audio items is inserted, and data for error detection or error detection and correction. And a data reception method for receiving a transmission packet of a serial digital transfer interface to which information indicating the use status of the error detection data and the error detection and correction data is added. Information indicating the usage status of the error data, and errors performed with the error detection data added And output a result, on the basis of the error correction processing result performed as the error detection and correction data is added, it is to determine which of the data correction error detection data or error detection is added.

【0008】また、データ受信装置は、映像フレームの
各1ラインの区間を、終了同期符号が挿入される終了同
期符号領域と、補助データが挿入される補助データ領域
と、開始同期符号が挿入される開始同期符号領域と、映
像および/または音声のアイテムのデータを含むデータ
が挿入されるペイロード領域とで構成されると共に、誤
り検出用データあるいは誤り検出訂正用データの何れか
と、誤り検出用データおよび誤り検出訂正用データの使
用状況を示す情報を付加したシリアルディジタルトラン
スファーインタフェースの伝送パケットを受信するデー
タ受信装置であって、誤り検出用データおよび誤り検出
訂正用データの使用状況を示す情報と、誤り検出用デー
タが付加されたものとして行った誤り検出結果と、誤り
検出訂正用データが付加されたものとして行った誤り訂
正処理結果とに基づいて、誤り検出用データあるいは誤
り検出訂正用データの何れが付加されているかを判別す
る判別手段と、誤り訂正処理を行うデコード手段と、判
別手段で誤り検出訂正用データが付加されているものと
判断されたときに受信したデータをデコード手段に供給
する信号切替手段とを有するものである。
Further, the data receiving apparatus inserts a section of each line of the video frame into an end synchronization code area in which an end synchronization code is inserted, an auxiliary data area in which auxiliary data is inserted, and a start synchronization code. And a payload area into which data including video and / or audio item data is inserted. Either error detection data or error detection and correction data, and error detection data A data receiving apparatus for receiving a transmission packet of a serial digital transfer interface to which information indicating the use state of the error detection and correction data is added, and information indicating the use state of the error detection data and the error detection and correction data, The result of error detection performed assuming that the data for error detection is added, and the data for error detection and correction Determining means for determining which of the error detection data or the error detection and correction data has been added based on the result of the error correction processing performed as added, and decoding means for performing the error correction processing; And signal switching means for supplying the received data to the decoding means when the means has determined that the data for error detection and correction has been added.

【0009】この発明においては、受信データに例えば
ECC等の誤り検出訂正用データが付加されたものとし
て行った誤り訂正処理結果が訂正可能範囲であり、誤り
検出訂正用データの使用状況を示す情報によって誤り検
出訂正用データが使用されていると判別されたときいは
誤り検出訂正用データが付加されているものと判断され
る。また、誤り検出訂正用データが付加されたものとし
て行った誤り訂正処理結果が訂正不可能であり、CRC
等の誤り検出用データが付加されたものとして行った誤
り検出結果が正しいものとされた場合、誤り検出用デー
タ使用状況を示す情報によって誤り検出用データが使用
されていると判別されたときには誤り検出用データが付
加されているものと判断されると共に、誤り検出用デー
タ使用状況を示す情報によって誤り検出用データが使用
されていない判別されたときには誤り検出訂正用データ
が付加されているものと判断される。
According to the present invention, the result of the error correction processing performed assuming that the data for error detection and correction such as ECC is added to the received data is the correctable range, and the information indicating the use status of the data for error detection and correction. When it is determined that the data for error detection and correction is used, it is determined that the data for error detection and correction is added. Also, the result of the error correction processing performed on the assumption that the data for error detection and correction has been added cannot be corrected, and
If the result of the error detection performed assuming that the error detection data is added is correct, and if it is determined that the error detection data is being used by the information indicating the use status of the error detection data, an error occurs. When it is determined that the data for detection is added, and when it is determined that the data for error detection is not used by the information indicating the use status of the data for error detection, it is determined that the data for error detection and correction is added. Is determined.

【0010】[0010]

【発明の実施の形態】以下、図面を参照しながら、この
発明の実施の形態について説明する。本実施の形態にお
いては、映像や音声の素材等のデータをパッケージ化し
てそれぞれのコンテントアイテム(例えばピクチャアイ
テム(Picture Item)やオーディオアイテム(Audio Ite
m))を生成すると共に、各コンテントアイテムに関する
情報や各コンテントに関するメタデータ等をパッケージ
化して1つのコンテントアイテム(システムアイテム(S
ystem Item))を生成し、これらの各コンテントアイテ
ムをコンテントパッケージとする。さらに、このコンテ
ントパッケージから伝送パケットを生成して、シリアル
ディジタルトランスファーインタフェースを用いて伝送
するものである。
Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, data such as video and audio materials are packaged and each content item (for example, a picture item (Picture Item) or an audio item (Audio Item)) is packaged.
m)), as well as packaging information about each content item, metadata about each content, and the like to form one content item (system item (S
ystem Item)), and make each of these content items a content package. Further, a transmission packet is generated from the content package and transmitted using a serial digital transfer interface.

【0011】このシリアルディジタルトランスファーイ
ンタフェースとしては、例えばSMPTEで規格化され
たSMPTE−259M「10-bit 4:2:2
Component and 4fsc Composi
te Digital Signals −Seria
l Digital Interface」(以下「シ
リアルディジタルインタフェースSDI(Serial Digita
l Interface)フォーマット」という)のディジタル信号
シリアル伝送フォーマットや、パケット化したディジタ
ル信号を伝送する規格SMPTE−305M「Seri
al DataTransport Interfac
e」(以下「SDTIフォーマット」という)を利用し
て、上述のコンテントパッケージを伝送するものであ
る。
As the serial digital transfer interface, for example, SMPTE-259M "10-bit 4: 2: 2" standardized by SMPTE
Component and 4fsc Composi
te Digital Signals -Seria
l Digital Interface ”(hereinafter“ Serial Digital Interface SDI (Serial Digita
l Interface) format) and the SMPTE-305M “Seri” standard for transmitting packetized digital signals.
al DataTransport Interface
e "(hereinafter referred to as" SDTI format ") to transmit the above-mentioned content package.

【0012】まず、SMPTE−259Mで規格化され
ているSDIフォーマットを映像フレームに配置した場
合、NTSC525方式のディジタルのビデオ信号は、
水平方向に1ライン当たり1716(4+268+4+
1440)ワード、垂直方向は525ラインで構成され
ている。また、PAL625方式のディジタルのビデオ
信号は、水平方向に1ライン当たり1728(4+28
0+4+1440)ワード、垂直方向は625ラインで
構成されている。ただし、10ビット/ワードである。
First, when the SDI format standardized by SMPTE-259M is arranged in a video frame, the digital video signal of the NTSC 525 system is
1716 (4 + 268 + 4 +) per line in the horizontal direction
1440) The word is composed of 525 lines in the vertical direction. Also, a digital video signal of the PAL625 system is 1728 (4 + 28) per line in the horizontal direction.
(0 + 4 + 1440) words and 625 lines in the vertical direction. However, it is 10 bits / word.

【0013】各ラインについて、第1ワードから第4ワ
ードまでの4ワードは、ビデオ信号の領域である144
0ワードのアクティブビデオ領域の終了を示し、アクテ
ィブビデオ領域と後述するアンシラリデータ領域とを分
離するための符号EAV(End of Active Video)を格
納する領域として用いられる。
[0013] For each line, four words from the first word to the fourth word are used as a video signal area 144.
Indicates the end of the 0-word active video area, and is used as an area for storing a code EAV (End of Active Video) for separating the active video area and an ancillary data area described later.

【0014】また、各ラインについて、第5ワードから
第272ワードまでの268ワードは、アンシラリデー
タ領域として用いられ、ヘッダ情報等が格納される。第
273ワードから第276ワードまでの4ワードは、ア
クティブビデオ領域の開始を示し、アクティブビデオ領
域とアンシラリデータ領域とを分離するための符号SA
V(Start of Active Video)を格納する領域として用
いられ、第277ワード以降がアクティブビデオ領域と
されている。
Further, for each line, 268 words from the fifth word to the 272th word are used as an ancillary data area, and header information and the like are stored. Four words from the 273rd word to the 276th word indicate the start of the active video area, and a code SA for separating the active video area from the ancillary data area.
It is used as an area for storing V (Start of Active Video), and the 277th word and subsequent words are used as an active video area.

【0015】SDTIフォーマットでは、上述のアクテ
ィブビデオ領域をペイロード領域として用いるものと
し、符号EAVおよびSAVがペイロード領域の終了お
よび開始を示すものとされる。
In the SDTI format, the above-mentioned active video area is used as a payload area, and the codes EAV and SAV indicate the end and start of the payload area.

【0016】ここで、各アイテムのデータをコンテント
パッケージとしてSDTIフォーマットのペイロード領
域に挿入すると共に、SDIフォーマットの符号EAV
およびSAVを付加して図1に示すようなフォーマット
のデータとする。この図1に示すフォーマット(以下
「SDTI−CPフォーマット」という)のデータを伝
送するときには、SDIフォーマットやSDTIフォー
マットと同様に、P/S変換および伝送路符号化が行わ
れてシリアルデータとして伝送される。なお、図1にお
いて、括弧内の数字はPAL625方式のビデオ信号の
数値を示しており、括弧がない数字はNTSC525方
式のビデオ信号の数値を示している。以下、NTSC方
式についてのみ説明する。
Here, the data of each item is inserted into the payload area of the SDTI format as a content package and the code EAV of the SDI format is inserted.
And SAV are added to form data in a format as shown in FIG. When data in the format shown in FIG. 1 (hereinafter referred to as "SDTI-CP format") is transmitted, P / S conversion and transmission path encoding are performed and transmitted as serial data, as in the SDI format and SDTI format. You. In FIG. 1, the numbers in parentheses indicate the numerical values of the PAL625 video signal, and the numbers without the parentheses indicate the numerical values of the NTSC 525 video signal. Hereinafter, only the NTSC system will be described.

【0017】図2は符号EAVおよびアンシラリデータ
領域に含まれるヘッダデータ(Header Data)の構成を
示している。
FIG. 2 shows the structure of the code EAV and the header data included in the ancillary data area.

【0018】符号EAVは、3FFh,000h,000
h,XYZh(hは16進表示であることを示しており以
下の説明でも同様である)とされている。
The code EAV is 3FFh, 000h, 000
h, XYZh (h indicates hexadecimal notation, and the same applies to the following description).

【0019】「XYZh」は、ビットb9が「1」に設
定されると共に、ビットb0,b1が「0」に設定され
る。ビットb8はフィールドが第1あるいは第2フィー
ルドのいずれであるかを示すフラグであり、ビットb7
は垂直ブランキング期間を示すフラグである。またビッ
トb6は、4ワードのデータがEAVであるかSAVで
あるかを示すフラグである。このビットb6のフラグ
は、EAVのときに「1」とされると共にSAVのとき
に「0」となる。またビットb5〜b2は誤り検出訂正
を行うためのデータである。
In "XYZh", the bit b9 is set to "1" and the bits b0 and b1 are set to "0". Bit b8 is a flag indicating whether the field is the first field or the second field.
Is a flag indicating a vertical blanking period. Bit b6 is a flag indicating whether the 4-word data is EAV or SAV. The flag of the bit b6 is set to "1" for EAV and "0" for SAV. Bits b5 to b2 are data for performing error detection and correction.

【0020】次に、ヘッダデータの先頭には、ヘッダデ
ータ認識用のデータ「ADF(Ancillary data flag)」
として、固定パターン000h,3FFh,3FFhが配
されている。この固定パターンに続いて、アンシラリデ
ータ領域の属性を示す「DID(Data ID)」および「S
DID(Secondary data ID)」が設けられており、属性
がユーザーアプリケーションであることを示す固定パタ
ーン140h,101hが配されている。
Next, at the beginning of the header data, data for header data recognition "ADF (Ancillary data flag)"
Are fixed patterns 000h, 3FFh, 3FFh. Following this fixed pattern, “DID (Data ID)” and “S” indicating the attributes of the ancillary data area
DID (Secondary data ID) ", and fixed patterns 140h and 101h indicating that the attribute is a user application are provided.

【0021】「Data Count」は、「Line
Number-0」から「Header CRC1」
までのワード数を示すものであり、ワード数は46ワー
ド(22Eh)とされている。
"Data Count" is "Line Count".
Number-0 ”to“ Header CRC1 ”
This indicates the number of words up to 46 words, and the number of words is 46 words (22Eh).

【0022】「Line Number-0,Line
Number-1」は、映像フレームのライン番号を
示すものであり、NTSC525方式ではこの2ワード
によって1から525までのライン番号が示される。ま
た、PAL方式625方式では1から625までのライ
ン番号が示される。
"Line Number-0, Line
"Number-1" indicates the line number of the video frame. In the NTSC 525 system, these two words indicate the line numbers from 1 to 525. In the PAL system 625 system, line numbers from 1 to 625 are indicated.

【0023】「Line Number-0,Line
Number-1」に続いて、「Line Numb
er CRC0,Line Number CRC1」
が配されており、この「Line Number CR
C0,Line NumberCRC1」は、「DI
D」から「Line Number-1」までの5ワー
ドのデータに対するCRC(cyclic redundancy check
codes)であり、伝送エラーのチェックに用いられる。
"Line Number-0, Line
Number-1 followed by Line Number
er CRC0, Line Number CRC1 "
Are arranged, and this “Line Number CR”
C0, Line Number CRC1 ”is“ DI
D ”to“ Line Number-1 ”, CRC (cyclic redundancy check) for 5-word data
codes), which are used for checking transmission errors.

【0024】「Code & AAI(Authorized addr
ess identifier)」では、SAVからEAVまでのペイ
ロード領域のワード長がどのような設定とされている
か、および送出側や受取側のアドレスがどのようなデー
タフォーマットとされているか等の情報が示される。
"Code & AAI (Authorized addr
ess identifier) indicates information such as what the word length of the payload area from the SAV to the EAV is set and what data format is used for the addresses of the sending side and the receiving side. .

【0025】「Destination Addres
s」はデータ受取側(送出先)のアドレスであり、「S
ource Address」はデータ送出側(送出
元)のアドレスである。
[Destination Addresses]
"s" is the address of the data receiving side (transmission destination), and "S
"source Address" is the address of the data transmission side (transmission source).

【0026】「Source Address」に続く
「Block Type」は、ペイロード領域がどのよ
うな形式とされているか、例えば固定長か可変長かを示
すものであり、ペイロード領域が可変長の形式であると
きには圧縮データが挿入される。ここで、SDTI−C
Pフォーマットでは、例えば圧縮されたビデオデータ
(映像データ)を用いてコンテントアイテムを生成した
ときにピクチャ毎にデータ量が異なることから可変長ブ
ロック(Variable Block)が用いられる。このため、SD
TI−CPフォーマットでの「Block Type」
は固定データ1C1hとされる。
The "Block Type" following the "Source Address" indicates the format of the payload area, for example, whether the payload area has a fixed length or a variable length. Compressed data is inserted. Here, SDTI-C
In the P format, for example, when a content item is generated using compressed video data (video data), a variable length block (Variable Block) is used because the data amount differs for each picture. For this reason, SD
"Block Type" in TI-CP format
Is fixed data 1C1h.

【0027】「CRC Flag」は、ペイロード領域
の最後の2ワードにCRCが置かれているか否かを示す
ものである。
"CRC Flag" indicates whether a CRC is placed in the last two words of the payload area.

【0028】また、「CRC Flag」に続く「Da
ta extension flag」は、ユーザーデ
ータパケットを拡張しているか否かを示している。
Further, "Da" following "CRC Flag"
“ta extension flag” indicates whether or not the user data packet is extended.

【0029】「Data extension fla
g」に続いて4ワードの「Reserved」領域が設
けられる。次の「Header CRC 0,Head
erCRC 1」は、「Code & AAI」から
「Reserved4」までのデータに対するCRC
(cyclic redundancy check codes)であり、伝送エラ
ーのチェックに用いられる。次の「Check Su
m」は、全ヘッダデータに対するCheck Sumコ
ードであり、伝送エラーのチェックに用いられる。
"Data extension fla
Following "g", a 4-word "Reserved" area is provided. Next "Header CRC 0, Head
erCRC 1 ”is a CRC for data from“ Code & AAI ”to“ Reserved 4 ”.
(Cyclic redundancy check codes), which are used for checking transmission errors. The next "Check Su
“m” is a Check Sum code for all header data, and is used for checking transmission errors.

【0030】また、図1のペイロード領域では、ビデオ
やオーディオ等のアイテムのデータがSDTIフォーマ
ットの可変長ブロックの形式としてパッケージ化され
る。図3は可変長ブロックのフォーマットを示してい
る。「Separator」および「End Cod
e」は可変長ブロックの開始と終了を示すものであり、
「Separator」の値は「309h」、「End
Code」の値は「30Ah」に設定されている。
In the payload area shown in FIG. 1, data of items such as video and audio is packaged as a variable-length block in SDTI format. FIG. 3 shows the format of a variable-length block. "Separator" and "End Cod"
"e" indicates the start and end of the variable-length block,
The value of “Separator” is “309h”, and “End”
The value of “Code” is set to “30 Ah”.

【0031】「Data Type」はパッケージ化さ
れているデータが、どのようなアイテムのデータである
かを示すものであり、「Data Type」の値は例
えばシステムアイテム(System Item)では「04h」、ピ
クチャアイテム(Picture Item)では「05h」、オーデ
ィオアイテム(Audio Item)では「06h」、他のデータ
であるAUXアイテム(Auxiliary Item)では「07h」
とされる。なお、上述したように1ワードは10ビット
であり、例えば「04h」に示すように8ビットである
ときには、8ビットがビットb7〜b0に相当する。ま
た、ビットb7〜b0の偶数パリティをビットb8とし
て付加すると共に、ビットb8の論理反転データをビッ
トb9として付加することにより10ビットのデータと
される。以下の説明における8ビットのデータも同様に
して10ビット化される。
The “Data Type” indicates what item the packaged data is, and the value of the “Data Type” is, for example, “04h” in the system item (System Item). "05h" for picture items, "06h" for audio items, and "07h" for AUX items that are other data.
It is said. Note that one word is 10 bits as described above. For example, when the word is 8 bits as indicated by “04h”, the 8 bits correspond to bits b7 to b0. Further, by adding even parity of bits b7 to b0 as bit b8 and adding logically inverted data of bit b8 as bit b9, data of 10 bits is obtained. The 8-bit data in the following description is similarly converted into 10 bits.

【0032】「Word Count」では「Data
Block」のワード数を示しており、この「Dat
a Block」が各アイテムのデータである。ここ
で、各アイテムのデータは、ピクチャ単位例えばフレー
ム単位でパッケージ化されると共に、NTSC方式で
は、番組の切り替え位置が10ラインの位置に設定され
ていることから、NTSC方式では図1に示すように1
3ライン目からシステムアイテム、ピクチャアイテム、
オーディオアイテム、AUXアイテムの順に伝送され
る。
In "Word Count", "Data
The “Dat” indicates the number of words of “Block”.
"a Block" is the data of each item. Here, the data of each item is packaged in picture units, for example, frame units, and in the NTSC system, the program switching position is set to the position of 10 lines. Therefore, in the NTSC system, as shown in FIG. 1 in
From the third line, system items, picture items,
Audio items and AUX items are transmitted in this order.

【0033】図4は、システムアイテムの構成を示して
いる。「System ItemType」と「Wor
d Count」は可変長ブロックの「Data Ty
pe」と「Word Count」に相当する。
FIG. 4 shows the structure of a system item. "System ItemType" and "Wor
“d Count” is “Data Ty” of the variable-length block.
pe "and" Word Count ".

【0034】1ワードの「System Item B
itmap」のビットb7のFECActive Fl
ag」(ECCオンオフフラグ)は、ECCがオン状態
とされて、例えばリードソロモン符号のような誤り訂正
符号が加えられて、受信側でこの誤り検出訂正符号を用
いて誤り検出訂正処理を行うか否かを示すフラグであ
り、「1」とされているときには誤り検出訂正符号が加
えられて、この誤り検出訂正符号を用いて受信側で誤り
検出訂正処理を行うことを示している。図5はECCが
オン状態とされている場合を示しており、ペイロード領
域の234ワード分のデータ毎に、斜線で示すように6
ワード分の誤り検出訂正符号であるパリティが付加され
て、234ワード中の3ワードまで誤り訂正が可能とな
る。また、このようにパリティが付加されることからペ
イロード領域は縦に分割された状態となる。なお、EC
CあるいはCRCは、いずれか一方のみを選択すること
が可能であるが、両方を選択することはできない。
One-word "System Item B"
FECActive Fl of bit b7 of "itmap"
“ag” (ECC on / off flag) indicates whether the ECC is turned on, an error correction code such as a Reed-Solomon code is added, and the reception side performs error detection and correction processing using the error detection and correction code. This flag indicates whether or not the error detection / correction code is added when the flag is set to “1”, indicating that the error detection / correction process is performed on the receiving side using the error detection / correction code. FIG. 5 shows a case where the ECC is in the ON state. As shown by hatching, 6 bits are indicated for every 234 words of data in the payload area.
Parity, which is an error detection and correction code for words, is added, and error correction can be performed for up to three words out of 234 words. Since the parity is added in this manner, the payload area is in a vertically divided state. In addition, EC
Either C or CRC can be selected, but not both.

【0035】ここで、ペイロード領域のデータが例えば
ロングGOP(long GOP)やMPEG−2の符号化データ
あるいは重要なITデータファイルのように、内部に冗
長性を有しない場合はECCをオン状態とすることが行
われる。また、例えば非圧縮あるいは圧縮率が低くデー
タ量が元のデータに近いビデオデータやオーディオデー
タのような場合には、ECCをオフ状態とすることが行
われる。
Here, when the data in the payload area does not have internal redundancy, for example, such as encoded data of long GOP (long GOP) or MPEG-2 or an important IT data file, the ECC is turned on. Is done. Further, for example, in the case of video data or audio data that is not compressed or has a low compression ratio and a data amount close to the original data, the ECC is turned off.

【0036】ビットb6は、SMPTE Labelの
情報があるか否かを示すフラグである。ここで「1」と
されているときには、SMPTE Labelの情報が
システムアイテムに含まれていることを示している。ビ
ットb5およびb4はReference Date/
Time stamp、Current Date/T
ime stampがシステムアイテムにあるか否かを
示すフラグである。このReference Date
/Time stampでは、例えばコンテントパッケ
ージが最初に作られた時間あるいは日付が示される。ま
たCurrent Date/Time stampで
は、コンテントパッケージのデータを最後に修正した時
間あるいは日付が示される。
The bit b6 is a flag indicating whether or not there is information on the SMPTE Label. Here, when “1” is set, it indicates that the information of the SMPTE Label is included in the system item. Bits b5 and b4 are set to Reference Date /
Time stamp, Current Date / T
This is a flag indicating whether or not "im stamp" exists in the system item. This Reference Date
/ Time stamp indicates, for example, the time or date when the content package was first created. In the Current Date / Time stamp, the time or date when the data of the content package was last corrected is indicated.

【0037】ビットb3はピクチャアイテム、ビットb
2はオーディオアイテム、ビットb1はAUXアイテム
がシステムアイテムの後にあるか否かを示すフラグであ
り、「1」とされているときにはアイテムがシステムア
イテムの後に存在することが示される。
Bit b3 is a picture item, bit b
2 is an audio item, and bit b1 is a flag indicating whether or not the AUX item is after the system item. When "1" is set, it indicates that the item exists after the system item.

【0038】ビットb0は、コントロールエレメント(C
ontrol Element)があるか否かを示すフラグであり、
「1」とされているときにはコントロールエレメントが
存在することが示される。なお、図示せずもビットb
8,b9が上述したように付加されて10ビットのデー
タとして伝送される。
The bit b0 is the control element (C
ontrol Element).
When "1" is set, it indicates that the control element exists. In addition, although not shown, the bit b
8, b9 are added as described above and transmitted as 10-bit data.

【0039】1ワードの「Content Packa
ge Rate」のビットb7〜b6は未定義領域(Res
erved)であり、ビットb5〜b1では、1倍速動作にお
ける1秒当たりのパッケージ数であるパッケージレート
(Package Rate)が示される。ビットb0は1.001フ
ラグであり、フラグが「1」に設定されているときに
は、パッケージレートが(1/1.001)倍であるこ
とが示される。
One-word “Content Packa”
bits b7 to b6 of "ge Rate" are undefined areas (Res
erved), and the bits b5 to b1 indicate the package rate which is the number of packages per second in the 1 × speed operation.
(Package Rate) is displayed. Bit b0 is a 1.001 flag. When the flag is set to "1", it indicates that the package rate is (1 / 1.001) times.

【0040】1ワードの「Content Packa
ge Type」のビットb7〜b5は、ストリーム内
における、当該ピクチャ単位の位置を識別するための
「Stream States」フラグである。この3
ビットのフラグによって、以下の8種類の状態が示され
る。
One word "Content Packa"
Bits b7 to b5 of “ge Type” are “Stream States” flags for identifying the position of the picture unit in the stream. This 3
The following eight types of states are indicated by the bit flags.

【0041】0:このピクチャ単位が、プリロール(pr
e-roll)区間、編集区間、ポストロール(post-roll)
区間のいずれの区間にも属さない。 1:このピクチャ単位が、プリロール区間に含まれてい
るピクチャであり、この後に編集区間が続く。 2:このピクチャ単位が、編集区間の最初のピクチャ単
位である。 3:このピクチャ単位が、編集区間の中間に含まれてい
るピクチャ単位である。 4:このピクチャ単位が、編集区間の最後のピクチャ単
位である。 5:このピクチャ単位が、ポストロール区間に含まれて
いるピクチャ単位である。 6:このピクチャ単位が、編集区間の最初、かつ最後の
ピクチャ単位である(編集区間のピクチャ単位が1つだ
けの状態)。 7:未定義
0: The picture unit is a pre-roll (pr
e-roll) section, editing section, post-roll
It does not belong to any of the sections. 1: This picture unit is a picture included in the pre-roll section, and is followed by an editing section. 2: This picture unit is the first picture unit of the editing section. 3: This picture unit is a picture unit included in the middle of the editing section. 4: This picture unit is the last picture unit of the editing section. 5: This picture unit is a picture unit included in the post-roll section. 6: This picture unit is the first and last picture unit of the editing section (the state where the editing section has only one picture unit). 7: Not defined

【0042】ビットb4は未定義領域(Reserved)であ
り、ビットb3,b2の「Transfer Mod
e」では、伝送パケットの伝送モードが示される。ま
た、ビットb1,b0の「Timing Mode」で
伝送パケットを伝送する際の伝送タイミングモードが示
される。ここで、ビットb3,b2で示される値が
「0」のときには同期モード(Synchronous mode)、
「1」のときには等時性モード(Isochronous mode)、
「2」のときは非同期モード(Asynchronous mode)とさ
れる。また、ビットb1,b0で示される値が「0」の
ときには1フレーム分のコンテントパッケージの伝送
を、第1フィールドの所定のラインのタイミングで開始
するノーマルタイミングモード(Normal timing mode)、
「1」のときには第2フィールドの所定のラインのタイ
ミングで伝送を開始するアドバンスドタイミングモード
(Advanced timing mode)、「2」のときは第1および第
2フィールドのそれぞれの所定のラインのタイミングで
伝送を開始するデュアルタイミングモード(Dual timing
mode)とされる。
The bit b4 is an undefined area (Reserved), and the bits b3 and b2 of "Transfer Mod"
"e" indicates the transmission mode of the transmission packet. Also, the transmission timing mode when transmitting the transmission packet is indicated by “Timing Mode” of bits b1 and b0. Here, when the value indicated by the bits b3 and b2 is “0”, the synchronous mode (Synchronous mode)
When "1", isochronous mode,
When it is "2", it is set to an asynchronous mode (Asynchronous mode). When the value indicated by the bits b1 and b0 is “0”, the transmission of the content package for one frame is started at a timing of a predetermined line of the first field (Normal timing mode).
Advanced timing mode in which transmission is started at the timing of a predetermined line in the second field when "1"
(Advanced timing mode), when "2", a dual timing mode in which transmission is started at a timing of a predetermined line in each of the first and second fields (Dual timing mode)
mode).

【0043】「Content Package Ty
pe」に続く2ワードの「Channel Handl
e」は、複数の番組のコンテントパッケージが多重化さ
れて伝送される場合に、各番組のコンテントパッケージ
を判別するためのものであり、ビットH15〜H0の値
を識別することで、多重化されているコンテントパッケ
ージをそれぞれ番組毎に分離することができる。
"Content Package Ty"
"Channel" followed by two words "Channel Handl"
"e" is used to determine the content package of each program when the content packages of a plurality of programs are multiplexed and transmitted, and are identified by identifying the values of bits H15 to H0. Content packages can be separated for each program.

【0044】2ワードの「Continuity Co
unt」は、16ビットのモジュロカウンタである。こ
のカウンタは、ピクチャ単位毎にカウントアップされる
と共に、それぞれのストリームで独自にカウントされ
る。従って、ストリームスイッチャ等によってストリー
ムの切り替えがあるときには、このカウンタの値が不連
続となって、切り替え点(編集点)の検出が可能とな
る。なお、このカウンタは上述したように16ビットの
モジュロカウンタであり65536と非常に大きな値で
あることから、2つの切り替えられるストリームにおい
て、切り替え点でカウンタの値が偶然に一致する確率が
限りなく低く、切り替え点の検出のために、実用上充分
な精度を提供できる。
The two-word "Continuity Co"
"unt" is a 16-bit modulo counter. This counter is counted up for each picture unit, and is independently counted for each stream. Therefore, when a stream is switched by a stream switcher or the like, the value of this counter becomes discontinuous, and a switching point (editing point) can be detected. Since this counter is a 16-bit modulo counter as described above and has a very large value of 65536, the probability that the value of the counter coincidentally coincides at the switching point between the two switched streams is extremely low. In addition, practically sufficient accuracy can be provided for detecting the switching point.

【0045】「Continuity Count」の
後には、上述したSMPTE LabelやRefer
ence Date/TimeおよびCurrent
Date/Timeを示す「SMPTE Univer
sal Label」、「Reference Dat
e/Time stamp」、「Current Da
te/Time stamp」領域が設けられる。
After “Continuity Count”, the above-mentioned SMPTE Label or Refer
ence Date / Time and Current
"SMPTE Universal" indicating Date / Time
sal Label "," Reference Dat "
e / Time stamp "," Current Da
A "te / Time stamp" area is provided.

【0046】そのあとに、「Package Meta
data Set」や「Picture Metada
ta Set」「Audio Metadata Se
t」「Auxiliary Metadata Se
t」領域が設けられる。なお、「Picture Me
tadata Set」「Audio Metadat
a Set」「Auxiliary Metadata
Set」は、対応するアイテムが「System I
tem Bitmap」のフラグによってコンテントパ
ッケージに内に含まれることが示されたときに設けられ
る。
After that, "Package Meta"
data Set ”or“ Picture Metada ”
ta Set "," Audio Metadata Se "
t "" Auxiliary Metadata Se
A "t" region is provided. In addition, "Picture Me
tadata Set "," Audio Metadat "
a Set "," Auxiliary Metadata "
Set ”indicates that the corresponding item is“ System I
It is provided when it is indicated that the content is included in the content package by the flag of “tem Bitmap”.

【0047】上述の「Time stamp」は17バ
イトが割り当てられており、最初の1バイトで「Tim
e stamp」であることが識別されると共に、残り
の16バイトがデータ領域として用いられる。ここで、
データ領域の最初の8バイトは、例えばSMPTE12
Mとして規格化されたタイムコード(Time code)を示し
ており、後の8バイトは無効データである。
The above-mentioned “Time stamp” is allocated 17 bytes, and the first 1 byte is “Time stamp”.
e stamp ", and the remaining 16 bytes are used as a data area. here,
The first 8 bytes of the data area are, for example, SMPTE12
A time code (Time code) standardized as M is shown, and the subsequent 8 bytes are invalid data.

【0048】8バイトのタイムコードは図6に示すよう
に、「Frame」「Seconds」「Minute
s」「Hours」および4バイトの「Binary
Group Data」からなる。
As shown in FIG. 6, the 8-byte time code includes "Frame", "Seconds", and "Minute".
s "," Hours "and 4-byte" Binary "
Group Data ”.

【0049】「Frame」のビットb5,b4でフレ
ーム番号の十の位、ビットb3〜b0で一の位の値が示
される。同様に、「Seconds」「Minute
s」「Hours」の各ビットb6〜b0によって秒、
分、時が示される。
Bits b5 and b4 of "Frame" indicate the tens place of the frame number, and bits b3 to b0 indicate the place of the first place. Similarly, “Secons” and “Minute”
s ”,“ Hours ”, each bit b6 to b0 indicates seconds,
Minutes and hours are shown.

【0050】「Frame」のビットb7はカラーフレ
ームフラグ(Color Frame Flag)であり、第1のカラーフ
レームであるか第2のカラーフレームであるかが示され
る。ビットb6はドロップフレームフラグ(Drop Frame
Flag)であり、ピクチャアイテムに挿入された映像フレ
ームがドロップフレームであるか否かを示すフラグであ
る。「Seconds」のビットb7は例えばNTSC
方式の場合にはフィールド位相(Field Phase)、すなわ
ち第1フィールドであるか第2フィールドであるかが示
される。なおPAL方式のときには「Hours」のビ
ットb6でフィールド位相が示される。
Bit b7 of "Frame" is a color frame flag (Color Frame Flag), and indicates whether the frame is the first color frame or the second color frame. Bit b6 is a drop frame flag (Drop Frame flag).
Flag), which is a flag indicating whether or not the video frame inserted in the picture item is a drop frame. Bit b7 of “Seconds” is, for example, NTSC
In the case of the system, a field phase (Field Phase), that is, whether the field is the first field or the second field is indicated. In the case of the PAL method, the field phase is indicated by the bit b6 of “Hours”.

【0051】「Minutes」のビットb7および
「Hours」のビットb7,b6のの3ビットB0〜
B3(PAL方式では、「Seconds」「Minu
tes」「Hours」の各ビットb7の3ビット)に
よって、「Binary Group Data」の各
BG1〜BG8にデータがあるか否かが示される。この
「Binary Group Data」では、例えば
グレゴリオ暦(GregorianCalender)やユリウス暦(Julian
Calender)での年月日を二桁で表示することができるよ
うになされている。
3 bits B0 of bit b7 of "Minutes" and bits b7 and b6 of "Hours"
B3 (In the PAL system, “Seconds” and “Mini
tes ”and“ Hours ”, each bit b7) indicates whether or not there is data in each of BG1 to BG8 of“ Binary Group Data ”. In this “Binary Group Data”, for example, the Gregorian calendar (GregorianCalender) and the Julian calendar (Julian calendar)
Calender) can be displayed in two digits.

【0052】図7は「Metadata Set」の構
成を示しており、1ワードの「Metadata Co
unt」によってセット内の「Metadata Bl
ock」の数が示される。なお、「Metadata
Set」の値が00hのときには、「Metadata
Block」がないことが示されることから、「Me
tadata Set」は1ワードとなる。
FIG. 7 shows the structure of "Metadata Set", in which one word "Metadata Co."
"metadata Bl" in the set
The number of “ocks” is indicated. In addition, "Metadata
When the value of “Set” is 00h, “Metadata
Since there is no "Block", "Me
“tadata Set” is one word.

【0053】ここで、「Metadata Bloc
k」が、番組タイトル等のコンテントパッケージの情報
を示す「Package Metadata Set」
の場合には、1ワードの「Metadata Typ
e」、2ワードの「Word Count」に続き、情
報領域である「Metadata」が設けられている。
この「Metadata」のワード数が「Word C
ount」のビットb15〜b0によって示される。
Here, "Metadata Bloc
“k” indicates “Package Metadata Set” indicating content package information such as a program title.
In the case of, the one-word "Metadata Type
"e", a two-word "Word Count", and an information area "Metadata" is provided.
If the number of words of this “Metadata” is “Word C
"out" is indicated by bits b15 to b0.

【0054】ビデオやオーディオあるいはAUXデータ
等のパッケージ化されているアイテムに関する情報を示
す「Picture Metadata Set」「A
udio Metadata Set」「Auxili
ary MetadataSet」では、更に1ワード
の「Element Type」と「Element
Number」が設けられており、後述するビデオやオ
ーディオ等のアイテムの「Element Data
Block」内の「Element Type」や「E
lement Number」とリンクするようになさ
れており、「Element Data Block」
毎に、メタデータを設定することができる。また、これ
らの「Metadata Set」の後には「Cont
rolElement」領域を設けることができる。
"Picture Metadata Set", "A" indicating information related to packaged items such as video, audio or AUX data.
audio Metadata Set "and" Auxili
The “ary MetadataSet” further includes “Element Type” and “Element” of one word.
“Element Number” is provided, and “Element Data” of items such as video and audio described below is provided.
"Element Type" and "E"
element Number ", and is linked to" Element Data Block ".
Metadata can be set for each time. After these “Metadata Set”, “Cont.
A "rollElement" region can be provided.

【0055】次に、ビデオやオーディオ等の各アイテム
のブロックについて図8を用いて説明する。ビデオやオ
ーディオ等の各アイテムのブロック「Item Typ
e」は、上述したようにアイテムの種類を示しており、
ピクチャアイテムでは「05h」、オーディオアイテム
では「06h」、AUXデータアイテムでは「07h」と
される。「Item Word Count」ではこの
ブロックの終わりまでのワード数(可変長ブロックの
「Word Count」に相当)を示している。「I
tem Word Count」に続く「Item H
eader」では、「Element Data Bl
ock」の数が示される。ここで、「Item Hea
der」は8ビットであることから「Element
DataBlock」の数は1〜255(0は無効)の
範囲となる。この「Item Header」に続く
「Element Data Block」がアイテム
のデータ領域とされる。
Next, a block of each item such as video and audio will be described with reference to FIG. Block of each item such as video and audio "Item Type
"e" indicates the type of item as described above,
It is set to "05h" for a picture item, "06h" for an audio item, and "07h" for an AUX data item. “Item Word Count” indicates the number of words up to the end of this block (corresponding to “Word Count” of a variable-length block). "I
“Item H Count” followed by “Item H
"Element Data Bl"
The number of “ocks” is indicated. Here, "Item Hea
Since “der” is 8 bits, “Element”
The number of “DataBlock” ranges from 1 to 255 (0 is invalid). The “Element Data Block” following the “Item Header” is the data area of the item.

【0056】「Element Data Bloc
k」は、「Element Type」「Elemen
t Word Count」「Element Num
ber」「Element Data」で構成されてお
り、「Element Type」と「Element
Word Count」によって、「Element
Data」のデータの種類およびデータ量が示される。
また、「Element Number」によって何番
目の「Element Data Block」である
かが示される。
[Element Data Bloc]
k "means" Element Type "and" Element
t Word Count "," Element Num "
ber "and" Element Data ", and" Element Type "and" Element ".
Word Count "by" Element
The type and amount of data of “Data” are shown.
The “Element Number” indicates the number of the “Element Data Block”.

【0057】次に、「Element Data」の構
成について説明する。エレメントの一つであるMPEG
−2ピクチャエレメントは、いずれかのプロファイル若
しくはレベルのMPEG−2ビデオエレメンタリストリ
ーム(V−ES)である。プロファイルおよびレベル
は、デコーダーテンプレートドキュメントで定義され
る。図9は、SDTI−CPエレメントフレームにおけ
るMPEG−2 V−ESのフォーマット例である。こ
の例は、キー、つまりMPEG−2スタートコードを特
定する(SMPTEレコメンデッドプラクティスにした
がった)V−ESビットストリーム例である。MPEG
−2 V−ESビットストリームは、単純に図9に示さ
れたようにデータブロックにフォーマットされる。
Next, the structure of “Element Data” will be described. MPEG, one of the elements
The -2 picture element is an MPEG-2 video elementary stream (V-ES) of any profile or level. Profiles and levels are defined in the decoder template document. FIG. 9 is a format example of the MPEG-2 V-ES in the SDTI-CP element frame. This example is a V-ES bitstream that specifies a key, ie, an MPEG-2 start code (according to SMPTE recommended practices). MPEG
The -2 V-ES bitstream is simply formatted into data blocks as shown in FIG.

【0058】次に、ピクチャアイテムに対するメタデー
タ、例えばMPEG−2ピクチャ画像編集メタデータに
ついて説明する。このメタデータは、編集およびエラー
メタデータと、圧縮符号化メタデータと、ソース符号化
メタデータとの組み合わせである。これらのメタデータ
は、主として上述したシステムアイテム、さらには補助
データアイテムに挿入することができる。
Next, metadata for a picture item, for example, MPEG-2 picture image editing metadata will be described. This metadata is a combination of edit and error metadata, compression encoded metadata, and source encoded metadata. These metadata can be inserted mainly in the system items described above, as well as in auxiliary data items.

【0059】図10は、図4に示すシステムアイテムの
「Picture Metadata Set」領域に
挿入されるMPEG−2ピクチャ編集メタデータ内に設
けられる「Picture Editing Bitm
ap」領域と、「Picture Coding」領域
と、「MPEG User Bitmap」領域を示し
ている。さらに、このMPEG−2ピクチャ編集メタデ
ータには、MPEG−2のプロファイルとレベルを示す
「Profile/Level」領域や、SMPTE1
86−1995で定義されたビデオインデックス情報を
設けることも考えられる。
FIG. 10 shows “Picture Editing Bitm” provided in the MPEG-2 picture editing metadata inserted in the “Picture Metadata Set” area of the system item shown in FIG.
An “ap” area, a “Picture Coding” area, and an “MPEG User Bitmap” area are shown. Further, the MPEG-2 picture editing metadata includes a “Profile / Level” area indicating the profile and level of MPEG-2, and an SMPTE1
It is also conceivable to provide video index information defined in 86-1995.

【0060】1ワードの「Picture Editi
ng Bitmap」のビットb7およびb6は「Ed
it flag」であり、編集点情報を示すフラグであ
る。この2ビットのフラグによって、以下の4種類の状
態が示される。
One word "Picture Edit"
ng Bitmap ”bits b7 and b6 are“ Ed
It flag ", which is a flag indicating editing point information. The following four types of states are indicated by the 2-bit flag.

【0061】00:編集なし 01:編集点が、このフラグが付いているピクチャ単位
の前にある(Pre-picture edit) 10:編集点が、このフラグが付いているピクチャ単位
の後にある(Post-picture edit) 11:ピクチャ単位が1つだけ挿入され、編集点がこの
フラグが付いているピクチャ単位の前と後にある(sing
le frame picture)
00: No editing 01: The editing point is before the picture unit with this flag (Pre-picture edit) 10: The editing point is after the picture unit with this flag (Post-picture edit) -picture edit) 11: Only one picture unit is inserted, and the edit point is before and after the picture unit with this flag (single
le frame picture)

【0062】つまり、ピクチャアイテムに挿入された映
像データ(ピクチャ単位)が、編集点の前にあるか、編
集点の後にあるか、さらに2つの編集点に挟まれている
かを示すフラグを「Picture Metadata
Set」(図4参照)の「Picture Edit
ing Bitmap」領域に挿入する。
That is, a flag indicating whether the video data (in picture units) inserted in the picture item is before the edit point, after the edit point, or sandwiched between two edit points is set to “Picture”. Metadata
Set ”(see FIG. 4),“ Picture Edit ”
ing Bitmap "region.

【0063】ビットb5およびb4は、「Error
flag」である。この「Error flag」は、
ピクチャが修正できないエラーを含んでいる状態にある
か、ピクチャがコンシールエラーを含んでいる状態にあ
るか、ピクチャがエラーを含んでいない状態にあるか、
さらには未知状態にあるかを示す。ビットb3は、「P
icture Coding」がこの「Picture
MetadataSet」領域にあるか否かを示すフ
ラグである。ここで、「1」とされているときは、「P
icture Coding」が含まれていることを示
している。
Bits b5 and b4 are set to "Error"
flag ". This "Error flag"
Whether the picture contains an uncorrectable error, the picture contains a concealment error, the picture contains no errors,
Furthermore, it indicates whether it is in an unknown state. Bit b3 is "P
Picture Coding ”is the“ Picture
This is a flag indicating whether or not it is in the “MetadataSet” area. Here, when “1” is set, “P”
icture coding ”is included.

【0064】ビットb2は、「Profile/Lev
el」があるか否かを示すフラグである。ここで、
「1」とされているときは、当該「Metadata
Block」に「Profile/Level」が含ま
れている。この「Profile/Level」は、M
PEGのプロファイルやレベルを示すMP@MLやHP
@HL等を示す。
The bit b2 is “Profile / Lev”
"el". here,
When it is set to “1”, the “Metadata
The “Block” includes “Profile / Level”. This “Profile / Level” is M
MP @ ML or HP indicating PEG profile or level
@ Indicates HL or the like.

【0065】ビットb1は、「HV Size 」があ
るか否かを示すフラグである。ここで、「1」とされて
いるときは、当該「Metadata Block」に
「HV Size 」が含まれている。ビットb0は、
「MPEG User Bitmap」があるか否かを
示すフラグである。ここで、「1」とされているとき
は、当該「Metadata Block」に「MPE
G User Bitmap」が含まれている。
The bit b1 is a flag indicating whether or not "HV Size" exists. Here, when “1” is set, “HV Size” is included in the “Metadata Block”. Bit b0 is
This flag indicates whether or not “MPEG User Bitmap” is present. Here, when “1” is set, “MPE” is added to the “Metadata Block”.
G User Bitmap "is included.

【0066】1ワードの「Picture Codin
g」のビットb7には「Closed GOP」が設け
られる。この「Closed GOP」は、MPEG圧
縮したときのGOP(Group Of Picture)がClose
d GOPか否かを示す。
One word "Picture Codin"
“Closed GOP” is provided in bit b7 of “g”. This “Closed GOP” indicates that the GOP (Group Of Picture) when MPEG-compressed is Closed.
d Indicates whether this is a GOP.

【0067】ビットb6には、「Broken Lin
k」が設けられる。この「Broken Link」
は、デコーダ側の再生制御に使用されるフラグである。
すなわち、MPEGの各ピクチャは、Bピクチャ、Bピ
クチャ、Iピクチャ・・・のように並んでいるが、編集
点があって全く別のストリームをつなげたとき、例えば
切り替え後のストリームのBピクチャが切り替え前のス
トリームのPピクチャを参照してデコードされるという
おそれがある。このフラグをセットすることで、デコー
ダ側で上述したようなデコードがされないようにでき
る。
Bit b6 contains “Broken Lin”.
k ”is provided. This "Broken Link"
Is a flag used for reproduction control on the decoder side.
That is, each picture of MPEG is arranged like a B picture, a B picture, an I picture, etc., but when there is an editing point and a completely different stream is connected, for example, the B picture of the stream after switching is There is a possibility that decoding is performed with reference to the P picture of the stream before switching. By setting this flag, it is possible to prevent the decoding as described above on the decoder side.

【0068】ビットb5〜b3には、「Picture
Coding Type」が設けられる。この「Pi
cture Coding Type」は、ピクチャが
Iピクチャであるか、Bピクチャであるか、Pピクチャ
であるかを示すフラグである。ビットb2〜b0は、未
定義領域(Reserved)である。
Bits b5 to b3 contain "Picture"
“Coding Type” is provided. This "Pi
"cure Coding Type" is a flag indicating whether the picture is an I picture, a B picture, or a P picture. Bits b2 to b0 are undefined areas (Reserved).

【0069】1ワードの「MPEG User Bit
map」のビットb7には、「History dat
a」が設けられている。この「History dat
a」は、前の世代の符号化に必要であった、例えば量子
化ステップ、マクロタイプ、動きベクトル等の符号化デ
ータが、例えば「Metadata Block」の
「Metadata」内に存在するユーザデータ領域
に、History dataとして挿入されているか
否かを示すフラグである。ビットb6には、「Anc
data」が設けられている。この「Anc dat
a」は、アンシラリ領域に挿入されたデータ(例えば、
MPEGの圧縮に必要なデータ等)を、上述のユーザデ
ータ領域に、Anc dataとして挿入されているか
否かを示すフラグである。
One word "MPEG User Bit"
"History dat" is set in bit b7 of "map".
a "is provided. This "History dat"
“a” indicates that the encoded data such as the quantization step, the macro type, and the motion vector, which are necessary for the encoding of the previous generation, are stored in the user data area existing in “Metadata” of “Metadata Block”, for example. , History data, or not. Bit b6 contains “Anc
data ”is provided. This "Anc dat
"a" is the data inserted in the ancillary area (for example,
This is a flag indicating whether or not data necessary for MPEG compression is inserted as Anc data in the user data area.

【0070】ビットb5には、「Video inde
x」が設けられている。この「Video inde
x」は、Video index領域内に、Video
index情報が挿入されているか否かを示すフラグ
である。このVideo index情報は15バイト
のVideo index領域内に挿入される。この場
合、5つのクラス(1.1、1.2、1.3、1.4お
よび1.5の各クラス)毎に挿入位置が決められてい
る。例えば、1.1クラスのVideo index情
報は最初の3バイトに挿入される。
The bit b5 contains “Video inde
x "is provided. This "Video inde
“x” is a video index in the video index area.
This is a flag indicating whether index information is inserted. The video index information is inserted into a 15-byte video index area. In this case, the insertion position is determined for each of the five classes (1.1, 1.2, 1.3, 1.4, and 1.5). For example, the video index information of the 1.1 class is inserted into the first three bytes.

【0071】ビットb4には、「Picture or
der」が設けられている。この「Picture o
rder」は、MPEGストリームの各ピクチャの順序
を入れ替えたか否かを示すフラグである。なお、MPE
Gストリームの各ピクチャの順序の入れ替えは、多重化
のときに必要となる。
Bit b4 contains “Picture or
der "is provided. This "Picture o
“rder” is a flag indicating whether or not the order of each picture of the MPEG stream has been changed. In addition, MPE
Changing the order of the pictures in the G stream is required for multiplexing.

【0072】ビットb3,b2には、「Timecod
e2」、「Timecode1」が設けられている。こ
の「Timecode2」、「Timecode1」
は、Timecode2,1の領域に、VITC(Vert
ical Interval Time Code)、LTC(Longitudinal Ti
me Code)が挿入されているか否かを示すフラグであ
る。ビットb1,b0には、「H−Phase」、「V
−Phase」が設けられている。この「H−Phas
e」、「V−Phase」は、エンコード時にどの水平
画素、垂直ラインからエンコードされているか、つまり
実際に使われる枠の情報がユーザデータ領域にあるか否
かを示すフラグである。
Bits b3 and b2 contain "Timecod
e2 "and" Timecode1 ". This "Timecode2", "Timecode1"
Is in the area of Timecode2, 1
ical Interval Time Code), LTC (Longitudinal Ti)
me Code) is inserted. Bits b1 and b0 include “H-Phase” and “V
-Phase "is provided. This "H-Phas
"e" and "V-Phase" are flags indicating which horizontal pixel and vertical line are being encoded at the time of encoding, that is, whether or not the information of the frame actually used is in the user data area.

【0073】次に、オーディオアイテムについて説明す
る。オーディオアイテムの「Element Dat
a」は、図11に示すように「Element Dat
a」は「Element Header」「Audio
Sample Count」「Stream Val
id Flags」「Data Area」で構成され
る。
Next, the audio item will be described. The audio item "Element Dat
“a” is “Element Dat” as shown in FIG.
"a" is "Element Header", "Audio"
“Sample Count”, “Stream Val”
id Flags "and" Data Area ".

【0074】1ワードの「Element Heade
r」のビットb7は「FVUCPValid Fla
g」であり、AES(Audio Engineering Society)で規
格化されたAES−3のフォーマットにおいて定義され
ているFVUCPが、「Data Area」のAES
−3のフォーマットのオーディオデータ(音声データ)
で設定されているか否かが示される。ビットb6〜b3
は未定義領域(Reserved)であり、ビットb2〜b0で、
5フレームシーケンスのシーケンス番号(5−sequ
ence counter)が示される。
The one-word “Element Head”
The bit b7 of “r” is “FVUCPVValid Fla.
g), and FVUCP defined in the AES-3 format standardized by the AES (Audio Engineering Society) is the AES of “Data Area”.
-3 format audio data (audio data)
Indicates whether or not it has been set. Bits b6 to b3
Is an undefined area (Reserved), and bits b2 to b0
Sequence number of 5-frame sequence (5-sequ
ence counter) is indicated.

【0075】ここで、5フレームシーケンスについて説
明する。1フレームが525本の走査線で(30/1.
001)フレーム/秒のビデオ信号に同期すると共に、
サンプリング周波数が48kHzであるオーディオ信号
をビデオ信号の各フレームのブロック毎に分割すると、
1ビデオフレーム当たりのサンプル数は1601.6サ
ンプル/フレームとなり整数値とならない。このため、
5フレームで8008サンプルとなるように1601サ
ンプルのフレームを2フレーム設けると共に1602サ
ンプルのフレームを3フレーム設けるシーケンスが5フ
レームシーケンスと呼ばれている。
Here, the five-frame sequence will be described. One frame is composed of 525 scanning lines (30/1.
001) synchronized with the video signal of frame / second,
When an audio signal having a sampling frequency of 48 kHz is divided into blocks of each frame of a video signal,
The number of samples per video frame is 1601.6 samples / frame, which is not an integer value. For this reason,
A sequence in which two frames of 1601 samples are provided and three frames of 1602 samples are provided so that five frames have 8008 samples is called a five-frame sequence.

【0076】5フレームシーケンスは、図12Aに示す
基準フレーム信号に同期して、例えば図12Bに示すよ
うにシーケンス番号1,3,5のフレームが1602サ
ンプル、シーケンス番号2,4のフレームが1601サ
ンプルとされており、このシーケンス番号がビットb2
〜b0で示される。
The 5-frame sequence is synchronized with the reference frame signal shown in FIG. 12A. For example, as shown in FIG. 12B, the frames of sequence numbers 1, 3, and 5 are 1602 samples, and the frames of sequence numbers 2 and 4 are 1601 samples. The sequence number is represented by bit b2
Bb0.

【0077】2ワードの「Audio Sample
Count」は、図11に示すようにビットc15〜c
0を用いた0〜65535の範囲内の16ビットのカウ
ンタであり、各チャネルのサンプル数が示される。な
お、エレメント内では全てのチャネルが同じ値を有する
ものである。
A two-word "Audio Sample"
"Count" includes bits c15 to c15 as shown in FIG.
This is a 16-bit counter in the range of 0 to 65535 using 0, and indicates the number of samples of each channel. Note that all channels have the same value in the element.

【0078】1ワードの「Stream Valid
Flags」では、8チャネルの各ストリームが有効で
あるか否かが示される。ここで、チャネルに意味のある
オーディオデータが含まれている場合には、このチャネ
ルに対応するビットが「1」に設定されると共に、それ
以外では「0」に設定されて、ビットが「1」に設定さ
れたチャネルのオーディオデータのみが伝送される。
One-word “Stream Valid”
"Flags" indicates whether or not each stream of eight channels is valid. Here, when significant audio data is included in the channel, the bit corresponding to this channel is set to “1”, and otherwise, the bit is set to “0” and the bit is set to “1”. Only the audio data of the channel set to "" is transmitted.

【0079】「Data Area」の「s2〜s0」
は8チャネルの各ストリームを識別のためのデータ領域
である。「F」はサブフレームの開始を示している。
「a23〜a0」は、オーディオデータであり、「P,
C,U,V」はチャネルステータスやユーザビット、V
alidityビット、パリティ等である。
"S2-s0" of "Data Area"
Is a data area for identifying each stream of eight channels. “F” indicates the start of a subframe.
“A23 to a0” are audio data, and “P,
"C, U, V" are channel status, user bit, V
The parity bits include parity bits, parity bits, and the like.

【0080】次に、オーディオアイテムに対するメタデ
ータについて説明する。オーディオ編集メタデータ(Aud
io Editing Metadata)は、編集メタデータやエラーメタ
データおよびソースコーディングメタデータの組み合わ
せである。このオーディオ編集メタデータは、図13に
示すように1ワードの「Field/Frame fl
ags」、1ワードの「Audio Editing
Bitmap」、1ワードの「CS Valid Bi
tmap」、および「Channel Status
Data」で構成されている。
Next, the metadata for the audio item will be described. Audio editing metadata (Aud
io Editing Metadata) is a combination of editing metadata, error metadata, and source coding metadata. As shown in FIG. 13, the audio editing metadata includes one word “Field / Frame fl”.
ags ", 1-word" Audio Editing "
Bitmap ", 1-word" CS Valid Bi
tmap "and" Channel Status "
Data ”.

【0081】ここで、有効とされているオーディオのチ
ャネル数は、上述した図11の「Stream Val
id Flags」によって判別することができる。ま
た「Stream Valid Flags」のフラグ
が「1」に設定されている場合には、「Audio E
diting Bitmap」が有効となる。
The number of valid audio channels is determined by the “Stream Val” shown in FIG.
id Flags ". If the flag of “Stream Valid Flags” is set to “1”, “Audio E
"Diting Bitmap" becomes effective.

【0082】「Audio Editing Bitm
ap」の「First editing flag」は
第1フィールド、「Second editing f
lag」は第2フィールドでの編集状況に関する情報が
示されて、編集点がこのフラグの付いているフィールド
の前あるいは後であるか等が示される。「Errorf
lag」では、修正できないようなエラーが発生してい
るか否か等が示される。
[0082] "Audio Editing Bitm"
“first editing flag” of “ap” is the first field, “Second editing flag”.
“lag” indicates information on the editing status in the second field, and indicates whether the editing point is before or after the field with this flag. "Error
“lag” indicates whether or not an error that cannot be corrected has occurred.

【0083】「CS Valid Bitmap」は、
n(n=6,14,18あるいは22)バイトの「Ch
annel Status Data」のヘッダであ
り、データブロック内で24のチャネルステータスワー
ドのどれが存在しているかが示される。ここで、「CS
Valid1」は、「Channel Status
Data」の0から5バイトまでにデータがあるか否か
を示すフラグである。「CS Valid2」〜「CS
Valid4」は、「Channel Status
Data」の6から13バイト、14から17バイ
ト、18から21バイトまでにデータがあるか否かを示
すフラグである。なお、「ChannelStatus
Data」は24バイト分とされており、最後から2
番目の22バイトのデータによっては0から21バイト
までにデータがあるか否かが示されると共に、最後の2
3バイトのデータが、0から22バイトまでのCRCと
される。また、「Filed/Frame flag
s」でフラグは、8チャネルのオーディオデータに対し
てフレーム単位あるいはフィールド単位のいすれでデー
タがパッキングされているかが示される。
“CS Valid Bitmap” is
"Ch" of n (n = 6, 14, 18, or 22) bytes
"annule Status Data" header, which indicates which of the 24 channel status words is present in the data block. Here, "CS
Valid1 ”is“ Channel Status ”
This is a flag indicating whether or not there is data in 0 to 5 bytes of “Data”. "CS Valid2"-"CS
Valid4 ”is“ Channel Status ”
This is a flag indicating whether or not there is data in 6 to 13 bytes, 14 to 17 bytes, and 18 to 21 bytes of “Data”. In addition, "ChannelStatus
Data ”is set to 24 bytes, and 2
Depending on the data of the 22nd byte, whether or not there is data from 0 to 21 bytes is indicated.
The 3-byte data is used as a CRC from 0 to 22 bytes. In addition, "Fielded / Frame flag
The flag "s" indicates whether the audio data of eight channels is packed in frame units or field units.

【0084】汎用のデータフォーマット(General Data
Format)では、全てのフリーフォームデータタイプを搬
送するために使用される。しかし、このフリーフォーム
データタイプには、ITネイチャ(ワードプロセッシン
グやハイパーテキスト等)などの特別な補助エレメント
タイプは含まれない。
A general-purpose data format (General Data
Format) is used to carry all freeform data types. However, this free form data type does not include special auxiliary element types such as IT nature (word processing, hypertext, etc.).

【0085】次に、このようなSDTI−CPフォーマ
ットでデータの伝送を行うデータ伝送システムの構成に
ついて説明する。
Next, the configuration of a data transmission system for transmitting data in such an SDTI-CP format will be described.

【0086】図14に示すように、番組のビデオデータ
やオーディオデータおよび番組に関する情報等のAUX
データをサーバやビデオテープレコーダ等のデータ記録
再生装置10に伝送する場合、ルータ(Router)などのマ
トリックススイッチャ12を用いることで、複数のデー
タ出力装置14-1〜14-nからの番組を切り替えてデー
タ記録再生装置10に蓄積させることができる。
As shown in FIG. 14, AUX such as video data and audio data of a program and information related to the program.
When transmitting data to a data recording / reproducing device 10 such as a server or a video tape recorder, a program from a plurality of data output devices 14-1 to 14-n is switched by using a matrix switcher 12 such as a router. To be stored in the data recording / reproducing device 10.

【0087】この番組の伝送の際に、例えばデータ出力
装置14-1からMPEG2方式で圧縮されたビデオデー
タDVC-1や非圧縮のオーディオデータDAU-1のス
トリームを送信側のデータ伝送装置20T-1によってフ
レーム単位でパッケージ化したのち、上述のSDTI−
CPフォーマットの形態のデータとして、このデータを
シリアルデータCPS-1に変換して出力する。また、他
のデータ出力装置14-nからのデータも同様にして、対
応するデータ伝送装置20T-nによってフレーム単位で
パッケージ化したのちSDTI−CPフォーマットの形
態のデータとして、このデータをシリアルデータCPS
-nに変換して出力する。なお、信号SC-1〜SC-nは基
準タイミング信号例えば基準フレームパルス信号であ
り、この基準タイミング信号SC-1〜SC-nに基づい
て、データ伝送装置20-1〜20-nでビデオデータDV
C等の入力処理が行われる。
At the time of transmission of this program, for example, a stream of video data DVC-1 or uncompressed audio data DAU-1 compressed by the MPEG2 method is transmitted from the data output device 14-1 to the data transmission device 20T- After packaging in frame units by the above 1, the SDTI-
This data is converted into serial data CPS-1 as data in a CP format and output. Similarly, data from another data output device 14-n is packaged in frame units by the corresponding data transmission device 20T-n, and is converted into serial data CPS data as data in the SDTI-CP format.
Convert to -n and output. The signals SC-1 to SC-n are reference timing signals, for example, reference frame pulse signals. The video data is transmitted by the data transmission devices 20-1 to 20-n based on the reference timing signals SC-1 to SC-n. DV
Input processing such as C is performed.

【0088】受信側のデータ伝送装置20Rでは、マト
リックススイッチャ12によって選択されたシリアルデ
ータCPSからパッケージ化されているビデオデータや
オーディオデータ等を分離して1フレームの圧縮ビデオ
データと非圧縮のオーディオデータ等に分けて、データ
記録再生装置10に供給して蓄積させる。なお、信号S
CRは信号SCと同様に基準タイミング信号であり、こ
の基準タイミング信号SCRに基づいて、データ伝送装
置20RからのビデオデータDVC等の出力処理が行わ
れる。
The data transmission device 20R on the receiving side separates packaged video data and audio data from the serial data CPS selected by the matrix switcher 12, and separates one frame of compressed video data and uncompressed audio data. The data is supplied to the data recording / reproducing device 10 and accumulated. The signal S
CR is a reference timing signal like the signal SC. Based on the reference timing signal SCR, output processing of the video data DVC or the like from the data transmission device 20R is performed.

【0089】次に、データ伝送装置の構成の概要を図1
5を用いて説明する。送信側のデータ伝送装置20Tと
受信側のデータ伝送装置20Rは同様な構成とされてい
る。データ伝送装置20のCPUインタフェース部20
1には、CPU(Central Processing Unit)240が接
続される。このCPUインタフェース部201は複数の
レジスタを有しており、CPU240からのアドレス信
号SADによって複数のレジスタを順次指定すると共
に、データ信号SDTを供給して指定されたレジスタに
「System Item Type」や「Syste
m Item Bitmap」のFEC Active
Flag、SMPTE LabelやRefDate
/TimeやCurrent Date/Timeおよ
びControlの有無を示すフラグ、「Conten
t Package Rate」から「Current
Date/Time stamp」までのデータを収
納する。また、これらのレジスタは後述するSDTIコ
ア部222と接続される。
Next, the outline of the configuration of the data transmission apparatus is shown in FIG.
5 will be described. The transmission-side data transmission device 20T and the reception-side data transmission device 20R have the same configuration. CPU interface unit 20 of data transmission device 20
1 is connected to a CPU (Central Processing Unit) 240. The CPU interface unit 201 has a plurality of registers. The plurality of registers are sequentially designated by the address signal SAD from the CPU 240, and the data signal SDT is supplied to the designated register to set “System Item Type” or “System Item Type”. System
m Item Bitmap "FEC Active
Flag, SMPTE Label and RefDate
/ Time, Current Date / Time, and a flag indicating the presence or absence of Control;
t Package Rate ”to“ Current
Data up to “Date / Time stamp” are stored. These registers are connected to an SDTI core unit 222 described later.

【0090】さらに、CPUインタフェース部201に
は、メモリマネジメント部210のメモリ制御部211
と接続されたレジスタが設けられている。このレジスタ
は、後述するSDRAM部250に書き込むデータの格
納位置とされており、「Package MetaDa
ta Set」から「Control Elemen
t」までのデータをこの所定のレジスタに格納すると、
この格納されたデータがメモリ制御部211等を介して
SDRAM部250に順次書き込まれるようになされて
いる。
Further, the CPU interface unit 201 has a memory control unit 211 of the memory management unit 210.
Is provided. This register is a storage location of data to be written to an SDRAM unit 250 described later, and is stored in “Package MetaDa”.
ta Set ”to“ Control Element ”
When the data up to "t" is stored in this predetermined register,
The stored data is sequentially written to the SDRAM unit 250 via the memory control unit 211 and the like.

【0091】圧縮されたビデオデータDVCは、インタ
フェース部202を介してメモリ制御部211に供給さ
れる。また、非圧縮のオーディオデータDAUは、イン
タフェース部203を介してメモリ制御部211に供給
される。またAUXデータDSXが供給されたときに
は、インタフェース部204を介してメモリ制御部21
1に供給される。
The compressed video data DVC is supplied to the memory control unit 211 via the interface unit 202. The uncompressed audio data DAU is supplied to the memory control unit 211 via the interface unit 203. When the AUX data DSX is supplied, the memory control unit 21
1 is supplied.

【0092】ここで、インタフェース部202,20
3,204では、入力されたデータのワード数をフレー
ム単位でカウントして、データだけでなくそれぞれのワ
ードカウント値VC,AC,XCもメモリ制御部211
に供給する。またインタフェース部202,203,2
04では、クロック乗せ替え処理を行い、外部からそれ
ぞれ異なる周波数で入力されたデータを後述するSDR
AM部250のクロック周波数のデータに乗せ替える。
このクロック乗せ替え処理では、データ出力装置側のク
ロック信号に基づいて各アイテムのデータが各インタフ
ェース部内のメモリに書き込まれると共に、メモリに書
き込まれたデータはSDRAM部250のクロック信号
で読み出されて、クロックの乗せ替えが行われる。例え
ば27MHzや36MHzあるいは54MHzの伝送速
度の8ビットビデオデータDVCやサンプリング周波数
が48kHzで16ビットオーディオデータDAUがメ
モリに書き込まれて、SDRAM部250のクロック信
号の周波数である81MHzあるいは108MHzで読
み出されてクロックの乗せ替えが行われる。
Here, the interface units 202 and 20
In step 3204, the number of words of the input data is counted in frame units, and not only the data but also the respective word count values VC, AC, XC are stored in the memory controller 211.
To supply. Also, the interface units 202, 203, 2
In step 04, a clock transfer process is performed, and data input from the outside at different frequencies is converted to an SDR to be described later.
The data is replaced with the clock frequency data of the AM unit 250.
In this clock transfer process, the data of each item is written to the memory in each interface unit based on the clock signal on the data output device side, and the data written to the memory is read by the clock signal of the SDRAM unit 250. , The clock is changed. For example, 8-bit video data DVC having a transmission rate of 27 MHz, 36 MHz or 54 MHz or 16-bit audio data DAU having a sampling frequency of 48 kHz is written in the memory and read at 81 MHz or 108 MHz which is the frequency of the clock signal of the SDRAM section 250. The clock is changed.

【0093】さらに、インタフェース部203ではシリ
アル−パラレル変換を行いシリアルのオーディオデータ
をSDRAM部250のバス幅に応じたビット数のパラ
レルデータに変換してメモリ制御部211に供給する。
なお、インタフェース部202,204でも入力された
データをSDRAM部250のバス幅に応じたビット数
に変換してメモリ制御部211に供給する。同様に、上
述のCPUインタフェース部201でも、SDRAM部
250に書き込むデータの1フレーム分のワード数をカ
ウントしてワードカウント値MCをメモリ制御部211
に供給すると共に、クロック乗せ替え処理やバス幅に応
じたビット数への変換処理を行う。
Further, the interface unit 203 performs serial-parallel conversion, converts serial audio data into parallel data having a bit number corresponding to the bus width of the SDRAM unit 250, and supplies the parallel data to the memory control unit 211.
The interface units 202 and 204 also convert the input data into a bit number corresponding to the bus width of the SDRAM unit 250 and supply the converted data to the memory control unit 211. Similarly, the CPU interface unit 201 counts the number of words for one frame of data to be written to the SDRAM unit 250, and outputs the word count value MC to the memory control unit 211.
And performs a clock changeover process and a conversion process to the number of bits according to the bus width.

【0094】メモリ制御部211には、SDRAM部2
50に書き込むデータを蓄えたり、SDRAM部250
から読み出されたデータを一時蓄えるためのメモリ部2
12が接続される。ここで、SDRAM部250が例え
ば32ビット16ワードでバースト転送を行うことによ
り、最大の転送効率でデータの書き込みや読み出しを行
うことができる場合、メモリ部212はシステムアイテ
ムとピクチャアイテムとオーディオアイテムとAUXア
イテムのそれぞれに対して、32ビット16ワードで2
バンクのメモリ容量を持つように構成する。このように
メモリ部212を構成することで、バンク切り替えを行
いながらデータ伝送を行うことにより、一方のバンクに
インタフェース部から供給されたデータを書き込みなが
ら、他方のバンクの各アイテムのデータを32ビット1
6ワードでバースト転送でSDRAM部250に供給す
ることができる。
The memory control unit 211 includes the SDRAM unit 2
50 to store data to be written,
Unit 2 for temporarily storing data read from
12 are connected. Here, when the SDRAM unit 250 can perform data transfer or read with maximum transfer efficiency by performing burst transfer with, for example, 32 bits and 16 words, the memory unit 212 stores a system item, a picture item, and an audio item. 32 bits 16 words for each of the AUX items
It is configured to have the memory capacity of the bank. By configuring the memory unit 212 in this manner, by performing data transmission while performing bank switching, while writing data supplied from the interface unit to one bank, the data of each item of the other bank is written in 32 bits. 1
The data can be supplied to the SDRAM unit 250 by burst transfer in six words.

【0095】メモリ制御部211では、SDRAM部2
50とのデータ転送に合わせて構成されたメモリ部21
2の入力ポートが1系統であるときには、インタフェー
ス部201〜204を介して供給されたシステムアイテ
ムのデータDSY、ビデオデータDVCやオーディオデ
ータDAUおよびAUXデータDSXの書き込みの調停
を行い、各データを順次メモリ部212に記憶させる。
その後、メモリ部212にバースト転送分のデータが蓄
えられたときには、このデータをSDRAM部250に
書き込むための書込要求信号WQを生成してアービター
部213に供給する。さらに、インタフェース部20
1,202,203,204から供給されたワードカウ
ント値MC,VC,AC,XCをフレーム毎にワードカ
ウントテーブル部214に格納させる。
In the memory control unit 211, the SDRAM unit 2
Memory unit 21 configured for data transfer with
When the number of input ports is one, the arbitration of the writing of the data DSY, the video data DVC, the audio data DAU and the AUX data DSX of the system item supplied via the interface units 201 to 204 is performed, and each data is sequentially transmitted. It is stored in the memory unit 212.
Thereafter, when data for burst transfer is stored in the memory unit 212, a write request signal WQ for writing the data to the SDRAM unit 250 is generated and supplied to the arbiter unit 213. Further, the interface unit 20
The word count values MC, VC, AC, and XC supplied from 1, 202, 203, and 204 are stored in the word count table unit 214 for each frame.

【0096】アービター部213ではメモリ制御部21
1からの書込要求信号WQに基づく書込要求や後述する
メモリ制御部215からの読出要求信号RQに基づく読
出要求の調停を行う。ここで、要求を受け付けたことを
示す信号AKA,AKBをメモリ制御部211,215
に供給することにより、メモリ部212からSDRAM
部250へのデータ転送と、SDRAM部250からメ
モリ部216に対してのデータ転送が同時に行われてし
まうことを防止して、順番にデータ転送が行われる。ま
た、ワードカウントテーブル部214に格納されている
ワードカウント値に基づいて、SDRAM部250に対
するデータの書き込みや読み出しを行うための制御信号
を生成してSDRAMコントロール部220に供給する
ことにより、各アイテムのデータをSDRAM部250
に対して正しく書き込むことができると共に、書き込ま
れているデータを正しく読み出すことができる。
In the arbiter 213, the memory controller 21
Arbitration of a write request based on a write request signal WQ from the CPU 1 or a read request based on a read request signal RQ from the memory control unit 215 described later is performed. Here, the signals AKA and AKB indicating that the request has been accepted are transmitted to the memory control units 211 and 215.
Is supplied from the memory unit 212 to the SDRAM.
The data transfer to the unit 250 and the data transfer from the SDRAM unit 250 to the memory unit 216 are prevented from being performed simultaneously, and the data transfer is performed sequentially. Also, based on the word count value stored in the word count table unit 214, a control signal for writing and reading data to and from the SDRAM unit 250 is generated and supplied to the SDRAM control unit 220, so that each item can be controlled. Data of SDRAM section 250
Can be written correctly, and the written data can be read correctly.

【0097】SDRAMコントロール部220では、ア
ービター部213からの制御信号に基づきバースト転送
によってSDRAM部250に対してのデータの書き込
みや読み出しを行うと共に、SDRAM部250のリフ
レッシュ動作等の処理を行う。
The SDRAM control section 220 writes and reads data to and from the SDRAM section 250 by burst transfer based on a control signal from the arbiter section 213, and performs processing such as refresh operation of the SDRAM section 250.

【0098】また、アービター部213には、SDRA
M部250からバースト転送で読み出されたデータを一
時蓄えるためのメモリ部216が接続されている。この
メモリ部216は、メモリ部212と同様にSDRAM
部250との間で最大の転送効率でデータの書き込みや
読み出しを行うことができるように構成する。
The arbiter unit 213 has an SDRA
A memory unit 216 for temporarily storing data read from the M unit 250 by burst transfer is connected. This memory unit 216 is, like the memory unit 212, an SDRAM
It is configured to be able to write and read data with the maximum transfer efficiency with the unit 250.

【0099】メモリ部216でのデータの書き込みや読
み出しは、メモリ制御部215によって制御されて、S
DRAM部250のクロック周波数でデータの書き込み
が行われると共に、書き込まれたデータをシリアルデー
タに変換してシリアルディジタルトランスファーインタ
フェースの送信周波数(例えば270Mbps)で出力
できるように読み出しが行われる。このメモリ部216
から読み出されたデータはSDTIコア部222に供給
される。
Writing and reading of data in the memory unit 216 are controlled by the memory control unit 215,
Data is written at the clock frequency of the DRAM unit 250, and read is performed so that the written data is converted into serial data and output at the transmission frequency (for example, 270 Mbps) of the serial digital transfer interface. This memory unit 216
Is supplied to the SDTI core unit 222.

【0100】メモリ制御部215では、後述するSDT
Iコア部222からのデータ要求信号DQに基づいて読
出要求信号RQを生成しアービター部213に供給す
る。この読出要求信号RQに基づいてデータが読み出さ
れてメモリ部216を介してSDTIコア部222に供
給される。また、メモリ部216に蓄えられたデータ量
を判別し、データ量が少なくなればSDRAM部250
からデータを読み出すための読出要求信号RQをアービ
ター部213に供給する。なお、SDTIコア部222
からのデータ要求信号DQに基づくデータがメモリ部2
16に書き込まれている場合には、このメモリ部216
のデータをSDTIコア部222に供給する。
[0100] The memory control unit 215 uses an SDT described later.
A read request signal RQ is generated based on the data request signal DQ from the I core unit 222 and supplied to the arbiter unit 213. Data is read based on the read request signal RQ and supplied to the SDTI core unit 222 via the memory unit 216. Further, the amount of data stored in the memory unit 216 is determined, and if the amount of data decreases, the SDRAM unit 250
And a read request signal RQ for reading data from the arbiter unit 213. The SDTI core unit 222
Data based on the data request signal DQ from the memory unit 2
16 is written in the memory unit 216
Is supplied to the SDTI core unit 222.

【0101】SDTIコア部222では、メモリ部21
6から32ビット1ワード単位で読み出された8ビット
の各アイテムのデータを10ビット化する。また、CP
Uインタフェース部201のレジスタに蓄えられている
情報を用いてシステムアイテムを生成したり、ビデオデ
ータやオーディオデータ等にヘッダ情報等を付加してピ
クチャアイテムやオーディオアイテム等を生成する。こ
の各アイテムの生成では、誤り検出用のCRCや誤り検
出訂正用のECCを付加することも行う。さらに、「S
eparator」「End Code」等の固定値を
発生して付加すると共に、符号EAVやSAVおよびヘ
ッダデータを付加する。このようにして生成されたSD
TI−CPのフォーマットのデータは、シリアルディジ
タルトランスファーインタフェースの伝送パケットとし
て、信号変換部260によってシリアルデータCPSに
変換されて伝送される。
In the SDTI core unit 222, the memory unit 21
The 8-bit item data read from 6 to 32 bits in 1-word units is converted into 10 bits. Also, CP
A system item is generated using information stored in a register of the U interface unit 201, or a picture item or an audio item is generated by adding header information or the like to video data or audio data. In the generation of each item, a CRC for error detection and an ECC for error detection and correction are added. Furthermore, "S
A fixed value such as "eparator" or "End Code" is generated and added, and codes EAV, SAV and header data are added. SD generated in this way
The data in the TI-CP format is converted into serial data CPS by the signal converter 260 and transmitted as a transmission packet of the serial digital transfer interface.

【0102】また、このデータ伝送装置を受信側で用い
る場合には、上述の送信側の場合とは逆の処理を行う。
すなわち、信号変換部260によってシリアルデータC
PSを10ビットのパラレルデータに変換してSDTI
コア部222に供給する。SDTIコア部222では、
CRCに基づいた誤り検出処理やECCに基づいた誤り
検出訂正処理を行う。さらに、「Separator」
「Item Type」等のデータを利用してコンテン
トパッケージの各アイテムのデータを分離してメモリ部
216に書き込む。またコンテントパッケージに含まれ
ているワードカウント値を取り出してワードカウントテ
ーブル部214に格納する。さらに、システムアイテム
の情報をCPUインタフェース部201に供給したり、
各アイテムに関する情報を取り出す。ここで、例えばオ
ーディオアイテムに関する情報、例えば「Elemen
t Header」の「5−sequence cou
nt」と「Audio Sample Count」の
情報が取り出されて信号FAとしてインタフェース部2
03に供給される。
When this data transmission apparatus is used on the receiving side, the processing is performed in a manner reverse to that on the transmitting side.
That is, the serial data C
Convert PS to 10-bit parallel data and convert to SDTI
It is supplied to the core part 222. In the SDTI core unit 222,
An error detection process based on CRC and an error detection and correction process based on ECC are performed. Furthermore, "Separator"
The data of each item of the content package is separated using data such as “Item Type” and written into the memory unit 216. Further, the word count value included in the content package is extracted and stored in the word count table unit 214. Further, information on system items is supplied to the CPU interface unit 201,
Retrieve information about each item. Here, for example, information on an audio item, for example, “Elemen
t Header ”,“ 5-sequence cou ”
nt "and" Audio Sample Count "are taken out, and the interface unit 2
03.

【0103】メモリ部216は上述したようにメモリ制
御部215によって制御されると共に、メモリ制御部2
15ではメモリ部216に書き込まれたデータ量を判別
する。ここで、SDRAM部250へのバースト転送分
のデータがメモリ部216に蓄えられたときには、メモ
リ部216に蓄えられたデータをSDRAM部250に
書き込むための書込要求信号WQをメモリ制御部215
からアービター部213に供給する。
The memory section 216 is controlled by the memory control section 215 as described above, and the memory control section 2
At 15, the amount of data written to the memory unit 216 is determined. Here, when the data for the burst transfer to the SDRAM unit 250 is stored in the memory unit 216, a write request signal WQ for writing the data stored in the memory unit 216 to the SDRAM unit 250 is transmitted to the memory control unit 215.
From the arbiter unit 213.

【0104】アービター部213では、メモリ制御部2
15からの書込要求やメモリ制御部211からの読出要
求の調停を図り、書込要求に応じてメモリ部216に蓄
えられたデータをSDRAM部に書き込むと共に、ワー
ドカウントテーブル部214に格納されているワード数
の情報と読出要求に基づき、各アイテムの1フレーム分
のビデオデータやオーディオデータ等をSDRAM部2
50から読み出してメモリ部212に供給する。
In the arbiter 213, the memory controller 2
In response to the write request from the memory control unit 211 and the write request from the memory control unit 211, the data stored in the memory unit 216 is written to the SDRAM unit and stored in the word count table unit 214. The video data and audio data for one frame of each item are transferred to the SDRAM unit 2 based on the information on the number of words and the read request.
The data is read from the memory 50 and supplied to the memory unit 212.

【0105】メモリ部212に書き込まれたデータは、
メモリ制御部211によって順次読み出されて、対応す
るインタフェース部201〜204に供給される。各イ
ンタフェース部201〜204では、送信時とは逆の処
理によってクロック乗せ替えを行いSDRAM部250
のクロック周波数に基づくデータを、データ記録再生装
置10に応じたクロック周波数のデータとして出力す
る。
The data written in the memory unit 212 is
The data is sequentially read out by the memory control unit 211 and supplied to the corresponding interface units 201 to 204. In each of the interface units 201 to 204, the clock is switched by a process reverse to that at the time of transmission, and the SDRAM unit 250
Is output as data having a clock frequency corresponding to the data recording / reproducing apparatus 10.

【0106】また、タイミング発生部225では、外部
から供給された基準タイミング信号や、受信したシリア
ルデータCPSに基づき各種のタイミング信号が生成さ
れており、このタイミング発生部225で生成されたタ
イミング信号が、各インタフェース部やアービター部2
13およびSDTIコア部222等に供給されて各部の
動作が所定のタイミングで行われる。
The timing generator 225 generates various timing signals based on a reference timing signal supplied from the outside and the received serial data CPS. The timing signal generated by the timing generator 225 is , Each interface section and arbiter section 2
13 and supplied to the SDTI core unit 222 and the like, and the operation of each unit is performed at a predetermined timing.

【0107】次に、図16を用いて番組の伝送動作につ
いて説明する。なお、説明を簡単とするため、送信側と
受信側は図16Aに示す基準タイミング信号SCMに同
期して動作が行われるものとする。時点t1でフレーム
パルスの立ち下がりに同期してデータ出力装置14から
図16Bに示す圧縮されたビデオデータDVCの1フレ
ーム分のデータV1が出力される。また、ビデオデータ
DVCが有効であることを示すイネーブル信号VEは、
図16Cに示すようにビデオデータDVCが有効である
期間中ローレベル「L」とされる。また、データ出力装
置14からは、図16Dに示すように非圧縮のオーディ
オデータDAUが出力されている。ここで、時点t1か
ら1フレーム期間分のオーディオデータをデータA1と
する。
Next, the transmission operation of a program will be described with reference to FIG. For the sake of simplicity, it is assumed that the transmitting side and the receiving side operate in synchronization with the reference timing signal SCM shown in FIG. 16A. At time t1, the data V1 for one frame of the compressed video data DVC shown in FIG. 16B is output from the data output device 14 in synchronization with the fall of the frame pulse. The enable signal VE indicating that the video data DVC is valid is
As shown in FIG. 16C, the video data DVC is kept at the low level “L” during the valid period. The data output device 14 outputs uncompressed audio data DAU as shown in FIG. 16D. Here, audio data for one frame period from the time point t1 is defined as data A1.

【0108】時点t2でビデオデータの1フレーム分の
出力が完了するとイネーブル信号VEの信号レベルはハ
イレベル「H」とされる。
When the output of one frame of video data is completed at time t2, the signal level of the enable signal VE is set to the high level "H".

【0109】時点t1から1フレーム期間経過後の時点
t3となると、データ出力装置14から次の1フレーム
分のデータV2が出力されると共に、時点t3から1フ
レーム期間分のオーディオデータはデータA2とされ
る。
At time t3 after one frame period has elapsed from time t1, data V2 for the next one frame is output from data output device 14, and audio data for one frame period from time t3 is data A2. Is done.

【0110】送信側のデータ伝送装置20Tでは、時点
t1から時点t3までの1フレーム期間に供給されたデー
タV1,A1をパッキング化してSDTI−CPのフォ
ーマットとしたのち、図16Eに示すシリアルデータC
PSに変換して、時点t3からの1フレーム期間内で伝
送する。
The data transmission device 20T on the transmitting side packs the data V1 and A1 supplied during one frame period from the time point t1 to the time point t3 into the SDTI-CP format, and then converts the serial data C1 shown in FIG.
It is converted to PS and transmitted within one frame period from time t3.

【0111】受信側のデータ伝送装置20Rでは、受信
したシリアルデータCPSからパッキングされているビ
デオデータやオーディオデータを図16Fに示すように
分離する。なお、図16Gに示す信号ENはデータDT
のイネーブル信号であり、データDTが有効である期間
中、例えば時点t4から時点t5まで信号レベルがローレ
ベル「L」とされる。
The data transmission device 20R on the receiving side separates the packed video data and audio data from the received serial data CPS as shown in FIG. 16F. Note that the signal EN shown in FIG.
During the period in which the data DT is valid, the signal level is set to the low level “L” from time t4 to time t5, for example.

【0112】この分離されたビデオデータやオーディオ
データ等が順次SDRAM部250に記憶される。また
記憶されたデータは、次のフレームパルスの立ち下がり
である時点t6のタイミングで図16Hおよび図16K
に示すようにビデオデータDVCおよびオーディオデー
タDAUとして出力できるようにSDRAM部250か
ら読み出される。この読み出されたデータがインタフェ
ース部からデータ記録再生装置10に応じた速度で出力
されて、データ記録再生装置10にデータ出力装置14
から出力された番組を蓄積させることができる。なお図
16Jは、図16Hに示すビデオデータDVCが有効で
ある期間を示すイネーブル信号VEである。
The separated video data, audio data, and the like are sequentially stored in SDRAM section 250. 16H and 16K at the time t6 when the next frame pulse falls.
Are read from the SDRAM unit 250 so as to be output as video data DVC and audio data DAU as shown in FIG. The read data is output from the interface unit at a speed corresponding to the data recording / reproducing device 10 and is sent to the data recording / reproducing device 10.
Can be stored. FIG. 16J shows an enable signal VE indicating a period during which the video data DVC shown in FIG. 16H is valid.

【0113】ところで、受信したシリアルデータCPS
に対する誤り検出あるいは誤り訂正処理を行う場合、ヘ
ッダデータの「CRC Flag」や、「System
Item Bitmap」のビットb7のECCに関
するフラグ等が、異常となったときには、誤り検出や誤
り訂正を正しく行うことが出来ず、ペイロード領域の各
アイテムのデータを読み出すことが出来ない場合が発生
する。
By the way, the received serial data CPS
When performing error detection or error correction processing on the header data, “CRC Flag” of header data or “System
When the flag related to the ECC of the bit b7 of the “Item Bitmap” becomes abnormal, error detection and error correction cannot be performed correctly, and data of each item in the payload area may not be read out.

【0114】このため、表1に示すように、ヘッダデー
タの「CRC flag」、「CRC flag」に対
する偶数パリティやヘッダデータのCRCの値、「Sy
stem Item Bitmap」のビットb7のE
CCオンオフフラグ、ECCデコード結果に基づいて、
ECCとCRCのオンオフを判断する。
For this reason, as shown in Table 1, even parity for header data “CRC flag” and “CRC flag” and the CRC value of header data, “Sy
E of bit b7 of “Stem Item Bitmap”
Based on the CC on / off flag and the ECC decoding result,
On / off of ECC and CRC is determined.

【0115】[0115]

【表1】 [Table 1]

【0116】図17は、表1のECCとCRCのオンオ
フ判断を示すフローチャートである。ステップST1で
は、受信したデータにパリティが含まれているものとし
てECCデコードを行ってデータの訂正可能範囲である
か否かの判別が行われる。このステップST1でデータ
の訂正可能範囲であると判別されたときにはステップS
T2に進み、データの訂正可能範囲でないときにはステ
ップST5に進む。
FIG. 17 is a flowchart showing ON / OFF determination of ECC and CRC in Table 1. In step ST1, ECC decoding is performed assuming that the received data includes parity, and it is determined whether the received data is within a data correctable range. If it is determined in step ST1 that the data is within the correctable range, the process proceeds to step S1.
The process proceeds to T2, and if the data is not within the correctable range, the process proceeds to step ST5.

【0117】ステップST2では、受信したデータの
「System Item Bitmap」のECCオ
ンオフフラグがオン状態であるか否かの判別が行われ
る。ここで、ECCオンオフフラグがオン状態であると
判別されたときにはステップST3に進み、ECCがオ
ン状態でCRCがオフ状態であると判別して処理を終了
する。また、ECCオンオフフラグがオン状態でないと
きにはステップST4に進み、ECCやCRCのオンオ
フの判断ができないものとして処理を終了する。
In step ST2, it is determined whether or not the ECC on / off flag of the "System Item Bitmap" of the received data is in the on state. Here, when it is determined that the ECC on / off flag is on, the process proceeds to step ST3, where it is determined that the ECC is on and the CRC is off, and the process ends. If the ECC on / off flag is not in the on state, the process proceeds to step ST4, where it is determined that the on / off of the ECC and the CRC cannot be determined, and the process ends.

【0118】ステップST1からステップST5に進む
と、ステップST5では、「CRCflag」に対する
偶数パリティやヘッダデータのCRCを用いて誤りが検
出されたか否かの判別を行う。ここで、誤りが検出され
ないと判別されたときにはステップST6に進み、誤り
が検出されたときにはステップST9に進む。
When the process proceeds from step ST1 to step ST5, it is determined in step ST5 whether an error has been detected using even parity for "CRCflag" or CRC of header data. Here, when it is determined that no error is detected, the process proceeds to step ST6, and when an error is detected, the process proceeds to step ST9.

【0119】ステップST6では、受信したデータのヘ
ッダデータの「CRC flag」がオン状態であるか
否かの判別を行う。このステップST6で、「CRC
flag」がオン状態であると判別されたときにはステ
ップST7に進み、ECCがオフ状態でCRCがオン状
態であると判別して処理を終了する。また、ステップS
T6で、「CRC flag」がオン状態でないときに
はステップST8に進み、ECCがオン状態でCRCが
オフ状態であると判別して処理を終了する。
At step ST6, it is determined whether or not "CRC flag" of the header data of the received data is in the ON state. In this step ST6, "CRC
If it is determined that "flag" is on, the process proceeds to step ST7, where it is determined that ECC is off and CRC is on, and the process ends. Step S
At T6, if "CRC flag" is not on, the process proceeds to step ST8, where it is determined that ECC is on and CRC is off, and the process ends.

【0120】ステップST5からステップST9に進む
と、ステップST9では、ECCやCRCのオンオフの
判断ができないものとして処理を終了する。
When the process proceeds from step ST5 to step ST9, in step ST9, it is determined that ECC and CRC cannot be turned on / off, and the process ends.

【0121】このようにして、例えばECCオンオフフ
ラグや「CRC flag」が誤った状態とされても、
他の情報を利用してECCとCRCのオンオフ状態をフ
レーム毎に正しく判別することができる。
In this way, even if the ECC on / off flag or the "CRC flag" is in an erroneous state, for example,
The on / off state of the ECC and the CRC can be correctly determined for each frame by using other information.

【0122】図18は、SDTIコア部222での誤り
検出や誤り訂正処理を行う回路構成を示している。受信
したデータはECC−CRCオンオフ判別部301とバ
ッファ部302に供給される。
FIG. 18 shows a circuit configuration for performing error detection and error correction processing in the SDTI core unit 222. The received data is supplied to the ECC-CRC on / off determining unit 301 and the buffer unit 302.

【0123】ECC−CRCオンオフ判別部301で
は、図17に示す処理を行ってECCやCRCのオンオ
フの判断を行い、判別結果に基づいて信号切替部30
3,305の切替動作を制御する。また、バッファ部3
02では、受信したデータをECC−CRCオンオフ判
別部301の判別完了後のタイミングで信号切替部30
3の可動端子aに供給する。信号切替部303の端子b
はECCデコーダ304のデータ入力端子と接続される
と共に、端子cは信号切替部305の端子cと接続され
る。
The ECC-CRC on / off determining section 301 performs the processing shown in FIG. 17 to determine whether the ECC or CRC is on or off, and based on the determination result, the signal switching section 30.
3,305 switching operation is controlled. The buffer unit 3
02, the received data is transmitted to the signal switching unit 30 at a timing after the ECC-CRC on / off determination unit 301 completes the determination.
3 to the movable terminal a. Terminal b of signal switching unit 303
Is connected to the data input terminal of the ECC decoder 304, and the terminal c is connected to the terminal c of the signal switching unit 305.

【0124】ECCデコーダ304のデータ出力端子は
信号切替部305の端子bと接続されており、信号切替
部305の可動端子aはバッファ部306と接続され
る。
A data output terminal of the ECC decoder 304 is connected to a terminal b of the signal switching unit 305, and a movable terminal a of the signal switching unit 305 is connected to the buffer unit 306.

【0125】ここで、ECC−CRCオンオフ判別部3
01によって受信したデータはECCがオン状態でCR
Cがオフ状態であると判別されたときには、信号切替部
303,305の可動端子aが端子b側に切り替えられ
る。また、バッファ部302から、ECCやCRCのオ
ンオフの判断に用いた受信データが、ECC−CRCオ
ンオフ判別部301の判別結果に基づく信号切替部30
3,305での端子切り替え後に出力されて、上述の場
合にはECCデコーダ304に供給される。
Here, the ECC-CRC on / off determining section 3
01, the data received by ECC is ON and CR
When it is determined that C is in the off state, the movable terminal a of the signal switching units 303 and 305 is switched to the terminal b. Also, the received data used to determine whether the ECC or CRC is on or off is output from the buffer unit 302 to the signal switching unit 30 based on the determination result of the ECC-CRC on / off determination unit 301.
The signal is output after terminal switching at 3, 305 and supplied to the ECC decoder 304 in the case described above.

【0126】ECCデコーダ304では、パリティを用
いて誤り訂正処理を行う。このECCデコーダ304か
ら出力された誤り訂正処理後のデータは、信号切替部3
05を介してバッファ部306に供給される。
The ECC decoder 304 performs an error correction process using the parity. The error-corrected data output from the ECC decoder 304 is output to the signal switching unit 3.
05 to the buffer unit 306.

【0127】また、ECC−CRCオンオフ判別部30
1によって受信したデータはECCがオフ状態でCRC
がオン状態であると判別されたときには、信号切替部3
03,305の可動端子aが端子c側に切り替えられ
る。また、バッファ部302から、ECCやCRCのオ
ンオフの判断に用いた受信データが、ECC−CRCオ
ンオフ判別部301の判別結果に基づく信号切替部30
3,305での端子切り替え後に出力されて、上述の場
合にはECCデコーダ304を介することなく、信号切
替部305の端子c側に供給される。また、信号切替部
305の可動端子aが端子c側に切り替えられているこ
とから、端子c側に供給されたデータはバッファ部30
6に供給される。なお、バッファ部302から出力され
たデータは、CRCを用いて誤り検出処理が行われてバ
ッファ部306に供給される。
The ECC-CRC on / off determining section 30
The data received by 1 is the CRC with ECC off.
Is determined to be in the ON state, the signal switching unit 3
The movable terminals a of 03 and 305 are switched to the terminal c. Also, the received data used to determine whether the ECC or CRC is on or off is output from the buffer unit 302 to the signal switching unit 30 based on the determination result of the ECC-CRC on / off determination unit 301.
The signal is output after the terminal is switched at 3, 305, and is supplied to the terminal c side of the signal switching unit 305 without passing through the ECC decoder 304 in the case described above. Further, since the movable terminal a of the signal switching unit 305 is switched to the terminal c side, the data supplied to the terminal c side is stored in the buffer unit 30.
6. Note that the data output from the buffer unit 302 is subjected to error detection processing using CRC, and is supplied to the buffer unit 306.

【0128】ここで、ECCがオン状態でCRCがオフ
状態と判別されたときには、パリティの部分が信号のな
い部分として処理される。またECCがオフ状態でCR
Cがオン状態と判別されたときには、CRCを除いた部
分が信号部分として処理される。このため、バッファ部
306では、パリティやCRCの部分を前詰めして連続
したデータ信号として出力する。このバッファ部306
から出力された連続したデータ信号が各アイテムのデー
タに分割されて、上述したようにSDRAM部250等
に記憶される。
Here, when it is determined that the ECC is on and the CRC is off, the parity portion is processed as a portion having no signal. When ECC is off, CR
When it is determined that C is in the ON state, the portion excluding the CRC is processed as a signal portion. For this reason, the buffer unit 306 outputs the data portion as a continuous data signal with the parity and CRC portions left-justified. This buffer unit 306
Is divided into data of each item and stored in the SDRAM unit 250 or the like as described above.

【0129】なお、ECC−CRCオンオフ判別部30
1によって、ECCやCRCのオンオフの判断ができな
いものと判断されたときには、判別結果がCPU240
に報知されて、その後の処理はCPU240によって処
理される。
The ECC-CRC on / off determining section 30
When it is determined that the ON / OFF of the ECC and the CRC cannot be determined in step S1 of FIG.
And the subsequent processing is processed by the CPU 240.

【0130】このように、上述の実施の形態によれば、
ECCあるいはCRCのパリティと共にECCあるいは
CRCの使用状況を示す情報が付加されたデータを受信
したときに、このECCあるいはCRCの使用状況を示
す情報がデータ伝送中に誤った情報とされてしまった場
合でも、ECCデコード結果やCRCの誤り検出結果に
基づいて、ECCあるいはCRCのいずれが付加されて
いるかを可能な限り正しく判別して受信データの誤り検
出や誤り検出訂正処理を行うことができるものである。
As described above, according to the above-described embodiment,
When the data indicating the use status of the ECC or the CRC together with the parity of the ECC or the CRC is received, the information indicating the use status of the ECC or the CRC is incorrect information during the data transmission. However, based on the ECC decoding result and the CRC error detection result, it is possible to determine whether ECC or CRC is added as correctly as possible and to perform error detection and error detection and correction processing of the received data. is there.

【0131】なお、上述の実施の形態では、フレーム単
位でデータをパッケージ化するものとしたが、MPEG
方式のIピクチャやBピクチャあるいはPピクチャのよ
うにピクチャ単位でデータをパッケージ化するものとし
てもよいことは勿論である。
In the above-described embodiment, data is packaged in frame units.
As a matter of course, data may be packaged in units of pictures, such as an I picture, a B picture, or a P picture.

【0132】[0132]

【発明の効果】この発明によれば、誤り検出用データお
よび誤り検出訂正用データの使用状況を示す情報と、誤
り検出用データが付加されたものとして行った誤り検出
結果と、誤り検出訂正用データが付加されたものとして
行った誤り訂正処理結果とに基づいて、誤り検出用デー
タあるいは前記誤り検出訂正用データの何れが付加され
ているかが判別される。このため、誤り検出用データお
よび誤り検出訂正用データの使用状況を示す情報が誤っ
た情報となってしまった場合であっても、可能な限り誤
り検出用データあるいは誤り検出訂正用データのいずれ
か付加されているかを正しく判別して受信データの誤り
検出や誤り検出訂正処理を正しく行うことができる。
According to the present invention, information indicating the status of use of the error detection data and the error detection and correction data, the error detection result assuming that the error detection data is added, and the error detection and correction data Based on the result of the error correction processing performed assuming that the data has been added, it is determined which of the error detection data and the error detection and correction data has been added. For this reason, even if the information indicating the usage status of the error detection data and the error detection and correction data is incorrect information, it is preferable to use either the error detection data or the error detection and correction data as much as possible. It is possible to correctly determine whether the received data is added, and to correctly perform error detection and error detection and correction processing of the received data.

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

【図1】SDTI−CPフォーマットを説明するための
図である。
FIG. 1 is a diagram for explaining an SDTI-CP format.

【図2】符号EAVとヘッダデータのフォーマットを示
す図である。
FIG. 2 is a diagram showing a format of a code EAV and header data.

【図3】可変長ブロックのフォーマットを示す図であ
る。
FIG. 3 is a diagram showing a format of a variable-length block.

【図4】システムアイテムの構成を示す図である。FIG. 4 is a diagram showing a configuration of a system item.

【図5】ECCをオン状態とした場合のフォーマットを
示す図である。
FIG. 5 is a diagram showing a format when an ECC is turned on.

【図6】タイムコードの構成を示す図である。FIG. 6 is a diagram showing a configuration of a time code.

【図7】メタデータセットの構成を示す図である。FIG. 7 is a diagram showing a configuration of a metadata set.

【図8】システムアイテムを除く他のアイテムの構成を
示す図である。
FIG. 8 is a diagram showing a configuration of another item excluding a system item.

【図9】SDTI−CPエレメントフレームにおけるM
PEG−2 V−ESのフォーマットを示す図である。
FIG. 9 shows M in an SDTI-CP element frame.
It is a figure showing the format of PEG-2 V-ES.

【図10】MPEG−2ピクチャ編集メタデータの構成
を示す図である。
FIG. 10 is a diagram showing a configuration of MPEG-2 picture editing metadata.

【図11】オーディオアイテムのエレメントデータブロ
ックの構成を示す図である。
FIG. 11 is a diagram showing a configuration of an element data block of an audio item.

【図12】5フレームシーケンスを説明するための図で
ある。
FIG. 12 is a diagram illustrating a 5-frame sequence.

【図13】オーディオ編集メタデータの構成を示す図で
ある。
FIG. 13 is a diagram showing a configuration of audio editing metadata.

【図14】データ伝送システムの構成を示す図である。FIG. 14 is a diagram showing a configuration of a data transmission system.

【図15】データ伝送装置の構成の概要を示す図であ
る。
FIG. 15 is a diagram illustrating an outline of a configuration of a data transmission device.

【図16】データ伝送動作を説明するための図である。FIG. 16 is a diagram illustrating a data transmission operation.

【図17】ECCとCRCのオンオフ判別を示すフロー
チャートである。
FIG. 17 is a flowchart showing ON / OFF determination of ECC and CRC.

【図18】SDTIコア部の構成の一部を示す図であ
る。
FIG. 18 is a diagram showing a part of the configuration of an SDTI core unit.

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

10・・・データ記録再生装置、12・・・マトリクス
スイッチャ、14・・・データ出力装置、20・・・デ
ータ伝送装置、201,202,203,204・・・
インタフェース部、210・・・メモリマネジメント
部、211,215・・・メモリ制御部、212,21
6・・・メモリ部、213・・・アービター部、214
・・・ワードカウントテーブル部、220・・・SDR
AMコントロール部、222・・・SDTIコア部、2
25・・・タイミング発生部、250・・・SDRAM
部、260・・・信号変換部、301・・・ECC−C
RCオンオフ判別部、302,306・・・バッファ
部、303,305・・・信号切替部、304・・・E
CCデコーダ
DESCRIPTION OF SYMBOLS 10 ... Data recording / reproducing apparatus, 12 ... Matrix switcher, 14 ... Data output apparatus, 20 ... Data transmission apparatus, 201, 202, 203, 204 ...
Interface unit, 210: memory management unit, 211, 215: memory control unit, 212, 21
6: memory unit, 213: arbiter unit, 214
... Word count table section, 220 ... SDR
AM control section, 222 ... SDTI core section, 2
25 timing generator, 250 SDRAM
Section, 260 ... signal conversion section, 301 ... ECC-C
RC on / off determining section, 302, 306... Buffer section, 303, 305... Signal switching section, 304.
CC decoder

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 映像フレームの各1ラインの区間を、終
了同期符号が挿入される終了同期符号領域と、補助デー
タが挿入される補助データ領域と、開始同期符号が挿入
される開始同期符号領域と、映像および/または音声の
アイテムのデータを含むデータが挿入されるペイロード
領域とで構成されると共に、誤り検出用データあるいは
誤り検出訂正用データの何れかと、前記誤り検出用デー
タおよび前記誤り検出訂正用データの使用状況を示す情
報を付加したシリアルディジタルトランスファーインタ
フェースの伝送パケットを受信するデータ受信方法にお
いて、 受信した前記誤り検出用データおよび前記誤り検出訂正
用データの使用状況を示す情報と、前記誤り検出用デー
タが付加されたものとして行った誤り検出結果と、前記
誤り検出訂正用データが付加されたものとして行った誤
り訂正処理結果とに基づいて、前記誤り検出用データあ
るいは前記誤り検出訂正用データの何れが付加されてい
るかを判別することを特徴とするデータ受信方法。
1. A section of one line of a video frame is divided into an end synchronization code area in which an end synchronization code is inserted, an auxiliary data area in which auxiliary data is inserted, and a start synchronization code area in which a start synchronization code is inserted. And a payload area into which data including video and / or audio item data is inserted. Either error detection data or error detection and correction data, the error detection data and the error detection In a data receiving method for receiving a transmission packet of a serial digital transfer interface to which information indicating the use status of correction data is added, information indicating the use status of the received error detection data and the use status of the error detection and correction data, An error detection result performed assuming that the error detection data is added, and the error detection correction Based on the error correction processing result performed as use data is added, the data receiving method characterized in that to determine whether any of the error detection data or the error detection and correction data is added.
【請求項2】 前記誤り検出訂正用データが付加された
ものとして行った誤り訂正処理結果が訂正可能範囲であ
り、前記誤り検出訂正用データの使用状況を示す情報に
よって前記誤り検出訂正用データが使用されていると判
別されたときいは前記誤り検出訂正用データが付加され
ているものと判断することを特徴とする請求項1記載の
データ伝送方法。
2. An error correction processing result performed on the assumption that the error detection and correction data is added is a correctable range, and the error detection and correction data is determined by information indicating a use state of the error detection and correction data. 2. The data transmission method according to claim 1, wherein when it is determined that the data is used, it is determined that the error detection and correction data is added.
【請求項3】 前記誤り検出訂正用データが付加された
ものとして行った誤り訂正処理結果が訂正不可能であ
り、前記誤り検出用データが付加されたものとして行っ
た誤り検出結果が正しいものとされた場合、 前記誤り検出用データ使用状況を示す情報によって前記
誤り検出用データが使用されていると判別されたときに
は前記誤り検出用データが付加されているものと判断
し、 前記誤り検出用データ使用状況を示す情報によって前記
誤り検出用データが使用されていない判別されたときに
は前記誤り検出訂正用データが付加されているものと判
断することを特徴とする請求項1記載のデータ伝送方
法。
3. The method according to claim 1, wherein the result of the error correction process performed on the assumption that the data for error detection and correction is added is uncorrectable, and the result of the error detection performed on the assumption that the data for error detection and correction is added is correct. When it is determined that the error detection data is used by the information indicating the use status of the error detection data, it is determined that the error detection data is added, 2. The data transmission method according to claim 1, wherein it is determined that the error detection and correction data is added when it is determined from the information indicating the use state that the error detection data is not used.
【請求項4】 映像フレームの各1ラインの区間を、終
了同期符号が挿入される終了同期符号領域と、補助デー
タが挿入される補助データ領域と、開始同期符号が挿入
される開始同期符号領域と、映像および/または音声の
アイテムのデータを含むデータが挿入されるペイロード
領域とで構成されると共に、誤り検出用データあるいは
誤り検出訂正用データの何れかと、前記誤り検出用デー
タおよび前記誤り検出訂正用データの使用状況を示す情
報を付加したシリアルディジタルトランスファーインタ
フェースの伝送パケットを受信するデータ受信装置にお
いて、 前記誤り検出用データおよび前記誤り検出訂正用データ
の使用状況を示す情報と、前記誤り検出用データが付加
されたものとして行った誤り検出結果と、前記誤り検出
訂正用データが付加されたものとして行った誤り訂正処
理結果とに基づいて、前記誤り検出用データあるいは前
記誤り検出訂正用データの何れが付加されているかを判
別する判別手段と、 誤り訂正処理を行うデコード手段と、 前記判別手段で前記誤り検出訂正用データが付加されて
いるものと判断されたときに受信したデータを前記デコ
ード手段に供給する信号切替手段とを有することを特徴
とするデータ受信装置。
4. A section of each one line of a video frame is divided into an end synchronization code area in which an end synchronization code is inserted, an auxiliary data area in which auxiliary data is inserted, and a start synchronization code area in which a start synchronization code is inserted. And a payload area into which data including video and / or audio item data is inserted. Either error detection data or error detection and correction data, the error detection data and the error detection In a data receiving apparatus for receiving a transmission packet of a serial digital transfer interface to which information indicating the use state of correction data is added, information indicating the use state of the error detection data and the error detection and correction data, Of the error detection performed assuming that the Determining means for determining whether the error detection data or the error detection and correction data has been added, based on the result of the error correction processing performed assuming that the data has been added, and decoding means for performing the error correction processing And a signal switching unit for supplying data received when the determination unit determines that the error detection and correction data is added to the decoding unit.
【請求項5】 前記デコード手段で誤り訂正処理が行わ
れたデータ、あるいは前記判別手段で前記誤り検出用デ
ータが付加されているものと判断されて前記信号切替手
段から供給されたデータを一時記憶する記憶手段を有
し、 前記記憶手段では、前記誤り検出用データおよび前記誤
り検出訂正用データを除いたデータを前記映像フレーム
毎に連続して出力することを特徴とする請求項4記載の
データ受信装置。
5. A method for temporarily storing data subjected to error correction processing by said decoding means or data supplied from said signal switching means upon determination that said error detection data is added by said determination means. 5. The data according to claim 4, wherein the storage unit continuously outputs the data excluding the error detection data and the error detection and correction data for each video frame. 6. Receiver.
JP11020299A 1999-04-16 1999-04-16 Method and device for receiving data Pending JP2000308052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11020299A JP2000308052A (en) 1999-04-16 1999-04-16 Method and device for receiving data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11020299A JP2000308052A (en) 1999-04-16 1999-04-16 Method and device for receiving data

Publications (1)

Publication Number Publication Date
JP2000308052A true JP2000308052A (en) 2000-11-02

Family

ID=14529652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11020299A Pending JP2000308052A (en) 1999-04-16 1999-04-16 Method and device for receiving data

Country Status (1)

Country Link
JP (1) JP2000308052A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409627B2 (en) 2002-05-03 2008-08-05 Electronics And Telecommunications Research Institute Method for transmitting and receiving variable length packets based on forward error correction (FEC) coding
US7729425B2 (en) 2003-09-19 2010-06-01 Sony Corporation Image processing apparatus and method, program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409627B2 (en) 2002-05-03 2008-08-05 Electronics And Telecommunications Research Institute Method for transmitting and receiving variable length packets based on forward error correction (FEC) coding
US7729425B2 (en) 2003-09-19 2010-06-01 Sony Corporation Image processing apparatus and method, program, and recording medium

Similar Documents

Publication Publication Date Title
RU2273111C2 (en) Method for transformation of packet stream of information signals to stream of information signals with time stamps and vice versa
US6618396B1 (en) Data transmitting device, data receiving device, and data recording device
US7366407B2 (en) Method and apparatus for storing MPEG-2 transport streams using a conventional digital video recorder
US6980731B1 (en) Data transmitting method and data transmitter
US6834083B1 (en) Data transmitting method and data transmitter
US20070067468A1 (en) Information processing apparatus, and method, program recording medium, and program
US7839925B2 (en) Apparatus for receiving packet stream
US6965601B1 (en) Data transmitting method and data transmitter
US7346054B2 (en) Method and system for co-relating transport packets on different channels using a cyclic redundancy check (CRC)
JPH11163817A (en) Digital encoding multiplexer
JP2000308023A (en) Method and device for transmitting data
US7012964B1 (en) Method and device for data transmission
JP2000308052A (en) Method and device for receiving data
JPH11205789A (en) Transmission rate converter of mpeg2 transport stream
JP2000307534A (en) Data processing unit and data transmitter
KR0181082B1 (en) Pts coder of mpeg system
JP2000307948A (en) Data transmitting method and data transmitter
JP4122624B2 (en) Data receiving method and data receiving apparatus
JP2001231018A (en) Contents package generator and contents package generating method
JP2000308024A (en) Method and device for transmitting data
JP2000307971A (en) Method and device for receiving data
JP2000308022A (en) Method for generating reproduction reference signal and data receiver
JP2000307645A (en) Method and device for receiving data
JP2000307540A (en) Data receiver
JP2000307647A (en) Data reception device