JP2000124811A - Communication data processor and data receiving system - Google Patents

Communication data processor and data receiving system

Info

Publication number
JP2000124811A
JP2000124811A JP10289231A JP28923198A JP2000124811A JP 2000124811 A JP2000124811 A JP 2000124811A JP 10289231 A JP10289231 A JP 10289231A JP 28923198 A JP28923198 A JP 28923198A JP 2000124811 A JP2000124811 A JP 2000124811A
Authority
JP
Japan
Prior art keywords
crc
word
code
information data
data
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.)
Withdrawn
Application number
JP10289231A
Other languages
Japanese (ja)
Inventor
Toshihisa Oishi
敏久 大石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Solutions Technology Ltd
Original Assignee
Hitachi Ltd
Hitachi ULSI Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi ULSI Systems Co Ltd filed Critical Hitachi Ltd
Priority to JP10289231A priority Critical patent/JP2000124811A/en
Publication of JP2000124811A publication Critical patent/JP2000124811A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain reduction of load upon a CPU needed for cyclic redundancy check(CRC) error decision processing by equipping a CRC operation circuit and enabling it to decide whether or not there is a CRC error by a logical value of n-th word of a CRC code. SOLUTION: Information data are separated from inputted communication data, and CRC redundancy for CRC error detection is successively calculated on the separated information data. In this case, a CRC operation circuit is had which substitutes a value coding a first to the n-th words of the whole information data CRC redundancy as a whole into a word length 1 by a logical sum for the n-th word of the CRC code. Then, it is made possible to decide whether or not there is a CRC error by the logical value of the n-th word of the CRC code. Thus, notification to a CPU is enabled by substituting existence/non-existence of the CRC error for the CRC code such as a CRC-32 field. In software processing, the CRC operation in which the amount of processing is large and which invited the decline in system performance can be provided at hardware of a communication data processor.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CRC符号を含む
情報データが分離・多重されている通信データから情報
データを分離してCRCエラー検出を行うのためのCR
Cエラー検出技術に係り、例えば、デジタル衛星放送I
RD(Integrated Receiver Dec
oder)用の通信データ処理LSI等に適用して有効
な技術に関するものである。
The present invention relates to a CR for detecting CRC errors by separating information data from communication data in which information data including a CRC code is separated and multiplexed.
Related to C error detection technology, for example, digital satellite broadcasting I
RD (Integrated Receiver Dec)
The present invention relates to a technology that is effective when applied to a communication data processing LSI or the like for order.

【0002】[0002]

【従来の技術】デジタル衛星放送IRD用の通信データ
処理LSIに求められる主な機能は、ISO/IEC
13818−1規格(MPEG2システム規格)に準拠
した多重化されたTS(Transport Stre
am:トランスポートストリーム)から、特定番組のM
PEG2 Video/AudioのPES(Pack
etized Elementary Stream)及
びPSI(Program Specific Info
rmation)をフィルタリング(分離)することに
ある。特にPSIにはEPG(電子番組情報)などの番
組付加価値データが情報化されており、これをCPU
(本明細書においてCPUとは、マイクロプロセッサ、
データプロセッサ、マイクロコンピュータなど、中央処
理装置を含むデータ処理装置を総称する)へ受け渡すこ
とで画像音声以外の情報を画面へ表示することが実現さ
れるものである。PSIには4バイト(32ビット)の
CRC符号がPSI末尾のCRC_32フィールドに付
加されており、これを含めてPSI全体に対してCRC
演算を行うことで通信エラーの有無を検出することがで
きる。
2. Description of the Related Art The main functions required for a communication data processing LSI for digital satellite broadcasting IRD are ISO / IEC.
Multiplexed TS (Transport Street) based on the 13818-1 standard (MPEG2 system standard)
am: transport stream)
PEG2 Video / Audio PES (Pack
Etched Elementary Stream) and PSI (Program Specific Info)
rmation) is to be filtered (separated). In particular, the PSI contains computerized value-added data such as EPG (electronic program information), which is stored in the CPU.
(In this specification, a CPU is a microprocessor,
By passing the data to a data processor including a central processing unit such as a data processor or a microcomputer, information other than image and sound is displayed on a screen. The PSI has a 4-byte (32-bit) CRC code added to the CRC_32 field at the end of the PSI.
By performing the calculation, the presence or absence of a communication error can be detected.

【0003】CRC演算をCPUのソフトウェア処理に
よって行うことができるが、その処理量が大きいことか
らIRDシステム全体を制御するCPUのリソースに占
める割合が高くなり、システム全体のパフォーマンスを
落としてしまう。
[0003] The CRC operation can be performed by software processing of the CPU. However, since the amount of processing is large, the ratio of the CPU to the resources of the CPU that controls the entire IRD system is high, and the performance of the entire system is degraded.

【0004】尚、トランスポート・ストリームでのCR
Cエラー検出について記載された文献の例として、国際
公開番号WO98/12843(1998年3月26日
国際公開)に係る国際出願(PCT/JP96/027
21)がある。
[0004] In addition, CR in the transport stream
As an example of a document describing the C error detection, an international application (PCT / JP96 / 027) according to International Publication No. WO98 / 12843 (International Publication on March 26, 1998).
21).

【0005】[0005]

【発明が解決しようとする課題】そこで本発明者は、前
記CRC演算を前記通信データ処理LSIで処理させる
ことにより、CPUへ負荷をかけることなく通信エラー
の検出が可能となる技術について検討した。特に2つ以
上のTSにCRC符号が跨る場合の不都合について検討
した。即ち、データの内容そのものに意味をもつデータ
を情報データ、データの内容よりも通信の手段として形
式化されたデータを通信データと定義し、それぞれの形
式を情報データの形式、通信データの形式と定義すれ
ば、一般に通信データの形式は通信を目的とするため固
定長である場合が多く、反対に情報データの形式はデー
タ量が不同になるため可変長である場合が多い。図8に
例示されるように、PSIは番組情報その他をデータ化
するため情報データに相当し、TSは衛星との通信を目
的とした形式であって通信データに相当する。TSは1
88バイトの固定長の転送パケットデータである。PS
Iは最大4096バイトの可変長データである。例えば
PSIはTSに分割され、TSの先頭にはPSIの識別
子であるPID(Packetized ID)を含む
ヘッダ情報を有する。あるPIDで整理されたPSIの
TSは、他のPIDで整理されたPSIのTSとともに
多重化されるため、隣り合うTSとはPIDが異なると
言う意味で不連続な構成となる。それ故に、分離の過程
では、多重の反対に同じPIDによるPSIの構築を図
ることで元のPSIを取り出すことができる。なお、P
ES(Video PES/Audio PES)は映像
データ/音声データをデータ化するため情報データに相
当し、その多重/分離の過程はPSIと同様である。前
記通信データ処理LSIによるPSIの分離は、対象と
なるPIDあるいはPSI中の識別子(例えばtabl
e_id)のTSを分離し、外部に接続されるCPUに
TS単位の割り込みによってTSの転送を行う。CPU
は前記通信データ処理LSIから転送要求の割り込みを
受け付けたとき、TSをDRAMにマッピングされる一
時バッファへ識別子PID毎に管理して格納する。格納
にあたっては、先に説明したPSIの構築をDRAM上
で図り、必要な情報をPSIから抽出する。PSIのC
RCエラーの検出のためのCRC演算を、DRAM上で
のPSIの構築後にCPUによって行った場合、そのソ
フトウェアによる処理量は大きく、IRDシステム全体
の制御を司るCPUのリソースを大きく使用することに
なり、結果としてシステム全体のパフォーマンスの低下
を招いてしまう。
Therefore, the present inventor has studied a technique that allows a communication error to be detected without imposing a load on a CPU by processing the CRC operation by the communication data processing LSI. In particular, the inconvenience when the CRC code straddles two or more TSs was examined. That is, data that has a meaning in the data content itself is defined as information data, and data that is formatted as a means of communication rather than data content is defined as communication data, and each format is defined as an information data format and a communication data format. By definition, generally, the format of communication data is often fixed length because of the purpose of communication, and conversely, the format of information data is often variable length because the data amount becomes uneven. As illustrated in FIG. 8, PSI corresponds to information data for converting program information and the like into data, and TS has a format for communication with a satellite and corresponds to communication data. TS is 1
The transfer packet data has a fixed length of 88 bytes. PS
I is variable length data of a maximum of 4096 bytes. For example, a PSI is divided into TSs, and the beginning of the TS has header information including a PID (Packetized ID) which is an identifier of the PSI. The PSI TS arranged by a certain PID is multiplexed together with the PSI TS arranged by another PID, and therefore has a discontinuous configuration in the sense that the adjacent TS has a different PID. Therefore, in the process of separation, the original PSI can be taken out by constructing the PSI with the same PID as opposed to multiplexing. Note that P
ES (Video PES / Audio PES) corresponds to information data for converting video data / audio data into data, and the multiplexing / demultiplexing process is the same as that of PSI. The separation of the PSI by the communication data processing LSI is performed by using a target PID or an identifier in the PSI (for example, tabl
e_id) The TS is separated, and the TS is transferred to the externally connected CPU by an interrupt in units of TS. CPU
When the transfer request interrupt is received from the communication data processing LSI, the TS is managed and stored for each identifier PID in the temporary buffer mapped to the DRAM. For storage, the PSI described above is constructed on the DRAM, and necessary information is extracted from the PSI. PSI C
When the CRC calculation for detecting an RC error is performed by the CPU after the PSI is constructed on the DRAM, the amount of processing by the software is large, and the resources of the CPU that controls the entire IRD system are heavily used. As a result, the performance of the entire system is reduced.

【0006】仮にPSIの構築を前記通信データ処理L
SIで実現することを考えると、図9の(a)に例示さ
れるように、内部でPSIを再構築するために大きなメ
モリが必要とされるので現実的ではない。そこで、図9
の(b)に例示されるように、外付けの前記通信データ
処理LSI専用メモリをDRAMなどで外部の部品とし
て用意しなければならなくなる。これに伴い、DRAM
アクセスのための端子が前記通信データ処理LSIに必
要になると考えられる。前記通信データ処理LSIは、
IRDに必要な各種の周辺回路を搭載することでIRD
システム全体の部品点数を削減することを担っている。
DRAMアクセスの端子を増加することは端子を保有す
る周辺回路を削減することになり、前記通信データ処理
LSIから削除した周辺回路は外部部品として別に用意
しなければならないので部品点数増加になる。また、前
記通信データ処理LSIの端子数を増加させるようにパ
ッケージを拡大することも可能であるが、コスト増加に
なる。
[0006] Suppose that the construction of PSI is based on the communication data processing L
Considering realization by SI, as shown in FIG. 9A, it is not realistic because a large memory is required to reconstruct PSI internally. Therefore, FIG.
As shown in (b), the external communication data processing LSI dedicated memory must be prepared as an external component such as a DRAM. Along with this, DRAM
It is considered that a terminal for access is required for the communication data processing LSI. The communication data processing LSI includes:
Equipped with various peripheral circuits required for IRD,
It is responsible for reducing the number of parts in the entire system.
Increasing the number of DRAM access terminals reduces the number of peripheral circuits having terminals, and the peripheral circuits deleted from the communication data processing LSI must be separately prepared as external components, resulting in an increase in the number of components. Further, it is possible to increase the number of packages so as to increase the number of terminals of the communication data processing LSI, but the cost increases.

【0007】通信の最小語長単位にCRC演算を行う手
法を前記通信データ処理LSIのハードウェアで実現す
ることを考えると、IRDでは通信の最小語長は1バイ
トに相当する。その時のCRC演算は、図10に例示さ
れるように、先ずCRC剰余に初期値(例えば全バイト
論理値“1”)を代入し(このときのCRC剰余を第0
語のCRC剰余と仮に呼ぶ)、第1語のPSIと第0語
のnバイトのCRC剰余から第1語のCRC剰余を演算
する。第2語のPSIと第1語のnバイトのCRC剰余
から第2語のCRC剰余を演算する。以下、第x語のn
バイトのCRC剰余を第x語のPSIと第(x−1)語
のnバイトのCRC剰余から演算し、PSIの語長mま
で演算していくと、第m語のnバイトのCRC剰余は、
CRCエラー無しの場合に0になる。CRCエラーがあ
った場合は、第m語のnバイトのCRC剰余は0以外の
値になる。図13にはCRCエラーが無い場合にCRC
剰余の一例として、PSIの第m−n+1語までのnバ
イトのCRC剰余から、PSIの第m語までのnバイト
のCRC剰余までを示してある。#はPSIに応じて値
が決定される。図13より明らかなように、CRCエラ
ーが無い状態では、PSIの第m語までのCRC剰余は
第n語〜第1語まで論理値“0”であり、PSIの第m
−1語までのCRC剰余は第n語〜第2語まで論理値
“0”であり、PSIの第m−2語までのCRC剰余は
第n語〜第3語まで論理値“0”であり、PSIの第m
−n+1語までのCRC剰余は第n語だけが論理値
“0”である。各語におけるCRC剰余を求める演算
は、ISO/IEC 13818−1規格に規定される
生成多項式によるモジューロ計算によりされる。このよ
うに逐次的な処理が可能であることから各語のCRC演
算を例えばクロックに同期させることによってハードウ
ェアで実現させることは容易となる。
[0007] Considering that a method of performing a CRC operation in the minimum word length unit of communication is realized by hardware of the communication data processing LSI, the minimum word length of communication in IRD is equivalent to 1 byte. In the CRC calculation at that time, as illustrated in FIG. 10, first, an initial value (for example, all byte logical value “1”) is substituted for the CRC remainder (the CRC remainder at this time is set to 0th.
The CRC remainder of the first word is calculated from the PSI of the first word and the CRC remainder of n bytes of the 0th word. The CRC remainder of the second word is calculated from the PSI of the second word and the CRC remainder of n bytes of the first word. In the following, n of the xth word
Calculating the CRC remainder of the byte from the PSI of the x-th word and the CRC remainder of the n-th byte of the (x-1) th word, and calculating up to the word length m of the PSI, the CRC remainder of the n-th byte of the m-th word becomes ,
It becomes 0 when there is no CRC error. If there is a CRC error, the m-th word n-byte CRC remainder becomes a value other than 0. FIG. 13 shows the case where there is no CRC error.
As an example of the remainder, a range from the CRC remainder of n bytes up to the (m−n + 1) th word of the PSI to the CRC remainder of n bytes up to the mth word of the PSI is shown. The value of # is determined according to the PSI. As is clear from FIG. 13, when there is no CRC error, the CRC remainder up to the m-th word of the PSI is a logical value “0” from the n-th word to the first word, and
The CRC remainder up to the -1 word is a logical value "0" from the nth word to the second word, and the CRC remainder up to the m-2th word of the PSI is a logical value "0" from the nth word to the third word. Yes, PSI m-th
As for the CRC remainder up to −n + 1 words, only the nth word has a logical value “0”. The calculation of the CRC remainder in each word is performed by modulo calculation using a generator polynomial defined in the ISO / IEC 13818-1 standard. Since sequential processing is possible as described above, it is easy to realize the CRC operation of each word by hardware, for example, by synchronizing it with a clock.

【0008】CRCエラーの有無をCPUに通知するに
は、CRCエラーの有無を指示するレジスタを設ける方
法と、前記CRC_32フィールドにCRC演算結果を
代入する方法が考えられる。前者方法は、PSIの語長
がTSよりも短い場合も考慮に入れると、図11のよう
に1TS中に存在しうるCRC_32フィールドの数だ
けレジスタが必要になるため、ソフトウェアでの管理が
煩雑になる。また、CPUではなくDMAのようなバス
マスタに前記通信データ処理LSIからCPUへのTS
の転送を任せることによってCPUの負荷を軽減させる
場合、先のレジスタの格納はDMAだけでは行えずCP
Uの介在が必要となりDMA使用による負荷の軽減がで
きなくなる。
In order to notify the CPU of the presence or absence of a CRC error, a method of providing a register for indicating the presence or absence of a CRC error or a method of substituting a CRC operation result in the CRC_32 field can be considered. In the former method, taking into account the case where the word length of the PSI is shorter than the TS, registers as many as the number of CRC_32 fields that can exist in one TS as shown in FIG. Become. In addition, instead of the CPU, a bus master such as a DMA transfers the TS from the communication data processing LSI to the CPU.
When the load on the CPU is reduced by entrusting the transfer of the data, the previous register cannot be stored by the DMA alone,
The intervention of U is required, and the load due to the use of DMA cannot be reduced.

【0009】後者方法は、前者方法の問題もなく、また
ソフトウェアとしての自由度が高いため有効であるが、
CRC_32フィールドが2つ以上のTSに分断されて
跨る場合にCRC剰余の最終語以外に正しくCRC演算
結果を反映できない。即ち、図12に例示されるよう
に、情報データのn語のCRC符号をTSiが含んでい
る場合、PSIの第m語までのCRC剰余は第1語から
第n語まで一緒に同じTSiのCRC符号に代入され
る。一方、図12において、情報データのn語のCRC
符号の一部をTSmが含み、残りのCRC符号を隣のT
Sm+1が含んでいる場合、TSmに対する処理では、
第m−2語までのCRC剰余の第1語及び第2語がTS
m上のCRC符号に代入される。この段階では、上記代
入された第m−2語までのCRC剰余の第1語及び第2
語は論理値“0”になっていない。そして、TSm+1
に対する処理では、第m語までのCRC剰余の第n−1
語及び第n語がTSm+1上のCRC符号に代入され
る。このように、CRC_32フィールドが2つ以上の
TSに分断されて跨ると、CRCエラーが無い場合であ
っても、2つ以上のTSに跨って存在されるCRC_3
2フィールドに代入された値は最終的に全語論理値
“0”にされない。CPUは、n語のCRC_32フィ
ールドの全ての内容によってCRCエラーの有無を判定
するから、判定誤りを生ずる虞がある。
The latter method is effective because it does not have the problems of the former method and has a high degree of freedom as software.
When the CRC_32 field is divided into two or more TSs and straddles it, the CRC operation result cannot be correctly reflected on a part other than the last word of the CRC remainder. That is, as illustrated in FIG. 12, when the TSi includes the CRC code of the n words of the information data, the CRC remainder from the mth word of the PSI to the mth word of the PSI is the same from the first word to the nth word. Substituted for CRC code. On the other hand, in FIG.
A part of the code is included in TSm, and the remaining CRC code is
When Sm + 1 is included, in the process for TSm,
The first and second words of the CRC remainder up to the m-2th word are TS
is assigned to the CRC code on m. At this stage, the first and second words of the CRC remainder up to the m-2th word substituted above are
The word is not logical "0". And TSm + 1
, The CRC residue up to the m-th word is n-1
The word and the nth word are substituted for the CRC code on TSm + 1. As described above, if the CRC_32 field is divided into two or more TSs and crosses over it, even if there is no CRC error, CRC_3 existing over two or more TSs is used.
The value assigned to the two fields is not finally set to the all-word logical value "0". Since the CPU determines the presence or absence of a CRC error based on the entire contents of the n-word CRC_32 field, a determination error may occur.

【0010】以上のように、IRDにおいて、TSに多
重化されるPSIのCRC演算をCPUのソフトウェア
処理により行うと処理量が大きくシステム全体のパフォ
ーマンスが低下してしまう。そこで、CRC演算をPS
I構築前のTS単位で行い、CRC_32フィールドに
CRC演算結果を代入することでCRCエラーの有無を
CPUに通知したい。しかし、CRC_32フィールド
が2つ以上のTSに分断されて跨る場合、最終バイト
(第4バイト)以外のCRC_32フィールドに正しい
CRC演算結果が代入できないため、CRCエラーの有
無を正しくCPUへ通知ができないという問題のあるこ
とが本発明者によって明らかにされた。
As described above, in the IRD, if the CRC calculation of the PSI multiplexed in the TS is performed by the software processing of the CPU, the processing amount is large and the performance of the entire system is reduced. Therefore, the CRC operation is
I want to notify the CPU of the presence or absence of a CRC error by substituting the CRC operation result in the CRC_32 field for each TS before I construction. However, when the CRC_32 field is divided into two or more TSs and straddles, a correct CRC operation result cannot be assigned to the CRC_32 field other than the last byte (the fourth byte), so that the CPU cannot be correctly notified of the presence or absence of a CRC error. The problem was revealed by the present inventors.

【0011】本発明の目的は、CRCエラー判定処理に
要するCPUの負担を軽減できる通信データ処理装置、
並びにデータ受信システムを提供することにある。
An object of the present invention is to provide a communication data processing apparatus capable of reducing a load on a CPU required for a CRC error determination process.
Another object of the present invention is to provide a data receiving system.

【0012】本発明の別の目的は、PSIのCRC剰余
をCRC符号に反映してCRCエラーの有無をCPUに
通知する場合に、CRC符号がTSにより複数に分断さ
れた場合においてもCRCエラーの有無を正しく通知す
ることができる通信データ処理装置、並びにデータ受信
システムを提供することにある。
Another object of the present invention is to reflect the CRC remainder of the PSI in the CRC code and notify the CPU of the presence or absence of the CRC error. Even when the CRC code is divided into a plurality of parts by the TS, the CRC error can be reduced. An object of the present invention is to provide a communication data processing device and a data receiving system that can correctly notify the presence or absence.

【0013】本発明の前記並びにその他の目的と新規な
特徴は本明細書の記述及び添付図面から明らかになるで
あろう。
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

【0014】[0014]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば下記
の通りである。
The following is a brief description of an outline of a typical invention among the inventions disclosed in the present application.

【0015】すなわち、通信データ処理装置は、通信エ
ラー検出のために付加される語長n(n>1)のCRC
符号を含む語長mの情報データ(PSI)が分割・多重
された所定語長の通信データ(TS)を入力し、入力し
た通信データから前記情報データを分離し、分離した情
報データに対してCRCエラー検出のためのCRC剰余
を順次演算し、情報データ全体のCRC剰余(CRC_
32フィールド)をCRC符号へ代入して情報データを
外部に出力する。この通信データ処理装置は、情報デー
タ全体のCRC剰余の第1語から第n語を論理和によっ
て語長1に符号化した値をCRC符号の第n語へ代入す
るCRC演算回路(42)を有し、CRC符号の第n語
の論理値によってCRCエラーの有無を判定可能にす
る。CRC演算回路による処理内容は図1に例示されて
いる。
That is, the communication data processing device performs a CRC of word length n (n> 1) added for detecting a communication error.
A communication data (TS) having a predetermined word length obtained by dividing and multiplexing information data (PSI) having a word length m including a code is input, and the information data is separated from the input communication data. The CRC remainder for CRC error detection is sequentially calculated, and the CRC remainder (CRC_CRC_
(32 fields) is substituted for the CRC code, and the information data is output to the outside. The communication data processing device includes a CRC operation circuit (42) for substituting a value obtained by encoding the first word to the n-th word of the CRC remainder of the entire information data to a word length of 1 by a logical sum into the n-th word of the CRC code. And the presence or absence of a CRC error can be determined based on the logical value of the nth word of the CRC code. The contents of the processing by the CRC operation circuit are illustrated in FIG.

【0016】上記により、CRCエラーの有無をCRC
_32フィールドのようなCRC符号に代入することで
CPU(7)への通知が可能となり、ソフトウェア処理
では処理量が大きくシステムのパフォーマンスの低下を
招いていたCRC演算を通信データ処理装置のハードウ
ェアで実現することができる。
As described above, the presence or absence of a CRC error is
By substituting a CRC code such as _32 field into the CRC code, it is possible to notify the CPU (7). In the software processing, the CRC calculation, which has a large processing amount and causes a decrease in system performance, is performed by the hardware of the communication data processing device. Can be realized.

【0017】また、情報データ(PSI)のCRC演算
を通信データ処理装置でハードウェア処理により行い、
通信データ(TS)中のCRC符号へのCRC剰余の代
入はCRC符号の末尾だけを対象とし、CPU若しくは
マイクロプロセッサはCRC符号の末尾だけを検査して
CRCエラーを判定できる。本発明に先立って本発明者
が検討したCRC演算手法によれば、CRC演算は演算
の対象となるデータの末尾に位置するCRC符号までを
含めた演算によって初めて最終的なCRC剰余が得られ
るため、PSIのCRC符号がTSへの多重化により複
数に分断された場合、最終語以外の演算途中にあるCR
C符号へは正しいCRC剰余を反映することができな
い。少なくともCRC符号の最終語へは正しい剰余を反
映できるが、CRCエラーの有無はCRC符号の全語長
から判断できるものであるので、最終語だけではCRC
エラーの有無を正しく判別できない。これに対して、本
発明によれば、 PSIのCRC剰余をCRC符号に反
映してCRCエラーの有無をCPUに通知する方法にお
いて、CRC符号がTSにより複数に分断された場合に
おいてもCRCエラーの有無を正しく通知することがで
きる。従って、TS中の如何なる位置にCRC符号があ
るかに左右されることなくCRCエラーをCPUに通知
可能となり、CRC演算をCPU以外のハードウェアで
処理可能となり、CPUのソフトウェア処理を軽減でき
る。
Further, the CRC operation of the information data (PSI) is performed by hardware processing in a communication data processing device,
The assignment of the CRC remainder to the CRC code in the communication data (TS) targets only the end of the CRC code, and the CPU or the microprocessor can check only the end of the CRC code to determine a CRC error. According to the CRC calculation method studied by the present inventors prior to the present invention, the final CRC remainder is obtained only by the calculation including the CRC code located at the end of the data to be calculated. , If the CRC code of the PSI is divided into a plurality of pieces by multiplexing to the TS,
The C code cannot reflect the correct CRC remainder. Although the correct remainder can be reflected at least in the last word of the CRC code, the presence or absence of a CRC error can be determined from the entire word length of the CRC code.
Error cannot be determined correctly. On the other hand, according to the present invention, in the method in which the CRC remainder of the PSI is reflected in the CRC code and the presence or absence of the CRC error is notified to the CPU, even if the CRC code is divided into a plurality of parts by the TS, the CRC error is not detected. The presence or absence can be correctly notified. Therefore, the CRC error can be notified to the CPU without depending on the position of the CRC code in the TS, the CRC operation can be processed by hardware other than the CPU, and the software processing of the CPU can be reduced.

【0018】CRC演算回路(42)の別の態様では、
情報データの第m−n語までのCRC剰余とCRC符号
の第1語から第n語までそれぞれ順次1語づつを排他的
論理和により符号化した値をCRC符号の第1語から第
n語へ代入するCRC演算回路を有し、CRC符号の第
1語から第n語が全て0であるか否かによってCRCエ
ラーの有無を判定可能にする。このCRC演算回路によ
る処理内容は図2に例示される。図2の内容は、図13
のエラーの無い場合におけるCRC剰余の状態を参照す
れば、理解することができる。
In another mode of the CRC operation circuit (42),
The CRC remainder up to the mn-th word of the information data and the value obtained by exclusive ORing each one word from the first word to the n-th word of the CRC code, respectively, are the first to n-th words of the CRC code. And a CRC operation circuit for substituting the CRC error into a CRC code. FIG. 2 illustrates the contents of the processing by the CRC operation circuit. The contents of FIG.
It can be understood by referring to the state of the CRC remainder when there is no error.

【0019】CRC演算回路(42)の更に別の態様で
は、CRC演算回路は、CRC符号の第x語へは情報デ
ータの第m−n+x語までのCRC剰余の第n+1−x
語を代入する。更に詳しくは、前記CRC演算回路は、
CRC符号の第1語から第n語へ、それぞれ第1語へは
情報データの第m−n+1語までのCRC剰余の第n語
を、第2語へは情報データの第m−n+2語までのCR
C剰余の第n−1語を、以下同様に、第n語へは情報デ
ータの第m語までのCRC剰余の第1語を代入する。C
PU若しくはマイクロプロセッサは、CRC符号の第1
語から第n語が全て0であるか否かによってCRCエラ
ーの有無を判定する。このCRC演算回路による処理内
容は図3に例示されている。図3の内容は、図13のエ
ラーの無い場合におけるCRC剰余の状態を参照すれ
ば、理解することができる。
In still another mode of the CRC operation circuit (42), the CRC operation circuit converts the xth word of the CRC code into the (n + 1-x) th CRC remainder up to the (m−n + x) th word of the information data.
Substitute words. More specifically, the CRC operation circuit comprises:
From the first word to the n-th word of the CRC code, the first word is the n-th word of the CRC remainder up to the (m−n + 1) th word of the information data, and the second word is the m−n + 2th word of the information data. CR
Similarly, the first word of the CRC remainder up to the m-th word of the information data is substituted for the (n−1) th word of the C remainder, and similarly to the n-th word. C
The PU or microprocessor is the first of the CRC codes
The presence or absence of a CRC error is determined based on whether or not all the n-th words from the word are 0. The contents of the processing by the CRC operation circuit are illustrated in FIG. The contents of FIG. 3 can be understood by referring to the state of the CRC remainder when there is no error in FIG.

【0020】[0020]

【発明の実施の形態】図4にはIRDの一例ブロック図
が示される。IRD1は、PerfecTVおよびDi
recTVに代表されるデジタル衛星放送サービスのデ
ジタル衛星波を受信し、TV2などの受像機に映像信号
を出力する受信機である。IRD1において、アンテナ
3で受信されたデジタル衛星波はチューナモジュール4
に入力され、チューナモジュール4にて受信トランスポ
ンダの切り替え、復調、誤り訂正の複合を行い、ISO
/IEC 13818−1規格に準じるTSが出力され
る。TSには複数の番組が多重化されていて、TS中の
ヘッダ部のPID(Packetized ID)によ
って識別される。TSは通信データ処理LSI5に入力
され、 PSI(プログラム仕様情報)および映像デー
タ、音声データに分離される。通信データ処理LSI5
は、PSIに対してはCRC演算を行い、CRC剰余を
PSIのCRC符号に代入する。このようにして再構成
されたPSIはDRAM6に一時的に蓄えれ、CPU7
がPSIのCRC符号に基づいてCRCエラーを判定す
る。CPU7はエラーの無いPSIを再生部8を介して
TV2に表示させたりする。通信データ処理LSI5に
よって分離された映像データ及び音声データはMPEG
2デコーダ9で複合され、再生部8を経てTV2に送ら
れる。尚、IRD1はその他の外部インタフェース回路
としてICカードインタフェース及びモデムインタフェ
ース10を有する。また、通信データ処理LSI5は、
パーソナルコンピュータ11やディジタルビデオテープ
レコーダ12とインタフェースされ、映像データや音声
データをやり取りすることも可能である。
FIG. 4 is a block diagram showing an example of an IRD. IRD1 is compatible with PerformecTV and Di
The receiver receives digital satellite waves of a digital satellite broadcast service represented by recTV and outputs a video signal to a receiver such as a TV2. In the IRD 1, the digital satellite wave received by the antenna 3 is transmitted to the tuner module 4
The tuner module 4 performs switching of the receiving transponder, demodulation, and error correction, and
A TS conforming to the / IEC 13818-1 standard is output. A plurality of programs are multiplexed in the TS, and are identified by a PID (Packetized ID) of a header portion in the TS. The TS is input to the communication data processing LSI 5 and separated into a PSI (program specification information), video data, and audio data. Communication data processing LSI5
Performs a CRC operation on the PSI and substitutes the CRC remainder for the PSI CRC code. The PSI reconstructed in this way is temporarily stored in the DRAM 6 and
Determines the CRC error based on the PSI CRC code. The CPU 7 causes the TV 2 to display an error-free PSI via the playback unit 8. Video data and audio data separated by the communication data processing LSI 5 are MPEG
The data is composited by the two decoders 9 and sent to the TV 2 via the reproducing unit 8. The IRD 1 has an IC card interface and a modem interface 10 as other external interface circuits. Also, the communication data processing LSI 5
Interfaced with the personal computer 11 and the digital video tape recorder 12, it is also possible to exchange video data and audio data.

【0021】図5には通信データ処理LSI5の一例ブ
ロック図が示される。TSの流れに関する構成として、
MULTI2方式に基づいて暗号化されたTSを復号す
るMULTI2デスクランブラ20、視聴者の選局操作
に基づくPSIから必要な映像データおよび音声データ
(MPEG2 Video PESおよびAudioPE
S)を分離するDEMUXフィルタ21、分離したデー
タを外部に接続されるMPEG2デコーダに出力するM
PEG2デコーダI/F22を有する。また、同LSI
5には、IRDの各種制御に必要な周辺I/Fも内蔵さ
れている。周辺I/Fとしては、ICカードやモデムと
データの送受を行うためのSCI/SMC(シリアルイ
ンターフェース/スマートカードインターフェース)2
3、チューナモジュール及び再生部を制御するためのI
/FとしてIICシリアルインターフェース24、各種
時間タイミングを生成するFRT(フリーランニングタ
イマ)25、光デジタル出力を行うための光デジタル出
力変換26、他のLSIなどを制御するための汎用I/
Oポート27、およびIRDの割り込み制御を行うIN
T(割り込みコントローラ)28がある。同LSI5で
映像データと音声データに分離されたデータは、MPE
G2デコーダ9によって圧縮前のそれぞれ映像データお
よび音声データに伸長される。それぞれの信号はVid
eoエンコーダおよびD−A変換器によって映像信号及
び音声信号に変換されTV2などの受像機で再生され
る。これらIRD1に搭載されているLSIの全ては、
CPU(中央処理装置)7によって制御される。図5に
おいて29はCPUインタフェースである。クロックリ
カバリ30は電圧制御発振回路(VCXO)31を制御
してTS中のPCR(Program Clock Reference)から2
7MHzのクロックを再生する。
FIG. 5 is a block diagram showing an example of the communication data processing LSI 5. As a configuration related to TS flow,
A MULTI2 descrambler 20 for decrypting a TS encrypted based on the MULTI2 system, necessary video data and audio data (MPEG2 Video PES and AudioPE) from PSI based on a channel selection operation of a viewer.
S), a DEMUX filter 21 for separating the data, and an M for outputting the separated data to an externally connected MPEG2 decoder.
It has a PEG2 decoder I / F22. In addition, the LSI
5 also includes peripheral I / Fs necessary for various IRD controls. The peripheral I / F includes an SCI / SMC (serial interface / smart card interface) 2 for transmitting and receiving data to and from an IC card or a modem.
3. I for controlling the tuner module and the playback unit
/ F as an IIC serial interface 24, an FRT (free running timer) 25 for generating various time timings, an optical digital output converter 26 for performing optical digital output, and a general-purpose I / O for controlling other LSIs and the like.
O port 27 and IN for interrupt control of IRD
There is a T (interrupt controller) 28. The data separated into video data and audio data by the same LSI 5 is MPE
The video data and audio data before compression are expanded by the G2 decoder 9 respectively. Each signal is Vid
It is converted into a video signal and an audio signal by an eo encoder and a DA converter, and reproduced by a receiver such as a TV2. All of the LSIs mounted on these IRDs are
It is controlled by a CPU (central processing unit) 7. In FIG. 5, reference numeral 29 denotes a CPU interface. The clock recovery 30 controls the voltage controlled oscillation circuit (VCXO) 31 to detect a clock from a PCR (Program Clock Reference) in the TS.
Regenerate a 7 MHz clock.

【0022】IRD1の特長として、EPG(電子番組
情報)による各種機能のサービスがある。例えば、数百
以上の多チャネルからの選局をTV画面から行う機能や
番組欄的な情報を提供する機能などである。EPGはP
SIに情報化されていて、PSI中の識別子、例えばt
able_idフィールドなどによって識別され、DE
MUX LSIによって分離される。PSIには末尾に
32ビットのCRC符号がCRC_32フィールドに付
加されていて、このCRC符号により誤り検出を行うこ
とで伝送エラーを検出し取り除くことができる。
As a feature of the IRD 1, there is a service of various functions using EPG (electronic program information). For example, there is a function of selecting a channel from hundreds or more multi-channels on a TV screen, a function of providing program column information, and the like. EPG is P
An identifier in the SI, which is in the PSI, eg, t
Identified by an able_id field, etc.
Separated by MUX LSI. A 32-bit CRC code is added to the CRC_32 field at the end of the PSI. By performing error detection using this CRC code, a transmission error can be detected and removed.

【0023】前述の通り、PSIは番組情報その他をデ
ータ化するため情報データに相当し、TSは衛星との通
信を目的とした形式で通信データに相当する。TSは1
88バイトの固定長であり、PSIは最大4096バイ
トの可変長である。PSIがTSに多重化される過程で
は、PSIはTS形式の語長に分割されTS中の同じP
IDによって識別される。よって、あるPIDで整理さ
れたPSIのTSは、他のPIDで整理されたPSIの
TSとともに多重化されるため、隣り合うTSとは不連
続な構成となる。それ故、通信データ処理LSI5によ
る分離の過程では、多重の反対に同じPIDによるPS
Iの構築を図ることで元のPSIを取り出すことができ
る。
As described above, PSI corresponds to information data for converting program information and the like into data, and TS corresponds to communication data in a format for communication with a satellite. TS is 1
The PSI has a fixed length of 88 bytes, and the PSI has a variable length of up to 4096 bytes. In the process of multiplexing the PSI into the TS, the PSI is divided into TS format word lengths and the same P
Identified by ID. Therefore, the TS of the PSI arranged by a certain PID is multiplexed with the TS of the PSI arranged by another PID, so that the adjacent TS is discontinuous. Therefore, in the process of separation by the communication data processing LSI 5, the same PID is used for the PS
By constructing I, the original PSI can be extracted.

【0024】図6にはCRC演算回路(CRCCHK)
42を含むDEMUXフィルタ21のブロック図が示さ
れる。
FIG. 6 shows a CRC operation circuit (CRCKHK).
A block diagram of the DEMUX filter 21 including 42 is shown.

【0025】MULTI2デスクランブラ20によって
デスクランブルされたTSはTS入力よりTSバッファ
40に入力され、ヒット検出回路41によってPID及
びPSIの識別子によるフィルタリングが行われる。フ
ィルタリング結果のTSは内部TSバスに転送されPS
IはCRC演算回路42へ、映像データ及び音声データ
はAVPU(Audio/Video Pass th
rough Unit)43に転送される。CRC演算
回路42及びAVPU43は、それぞれCPU7、MP
EG2デコーダ9とのデータ転送の緩衝役のFIFOバ
ッファを備えていて、それぞれリードFIFOバッファ
44、ライトFIFOバッファ45と呼ばれる。CRC
演算回路42は内部TSバスのTS中のPSIのCRC
演算を行い演算結果をCRC_32フィールドに代入し
てリードFIFOバッファ44へ転送する。リードFI
FOバッファ44は、FIFO中にTSが任意だけ貯え
られたところで割り込みRDINTをCPU7へ発生
し、CPU7はそれを受けてリードFIFOバッファ4
4からフィルタリングされたTSをDRAM6へ転送す
る。AVPU43は、TS中のPESを抽出してライト
FIFOバッファ45へ転送する。ライトFIFOバッ
ファ45のデータはMPEG2 I/F46へ転送され
て、外部のMPEG2デコーダ9へ転送を行う。また、
DEMUXフィルタ21にはIRDのクロックをTS中
のPCR(Program_Clock_Referen
ce)に同期させることで27MHzを再生するPCR
リカバリ47を備えている。尚、DEMUXフィルタ2
1は、その他に、バスインタフェース48、ヒット検出
回路41による検出用の参照情報が設定されるテーブル
RAM49、及びバッファモードレジスタ50を有す
る。WRINTはライトFIFOバッファ割り込み要求
信号、PCRINTはクロックリカバリ割り込み要求信
号である。
The TS descrambled by the MULTI2 descrambler 20 is input from the TS input to the TS buffer 40, and the hit detection circuit 41 performs filtering based on PID and PSI identifiers. The filtering result TS is transferred to the internal TS bus and
I is transmitted to the CRC operation circuit 42, and video data and audio data are transmitted to the AVPU (Audio / Video Passth).
(Rout Unit) 43. The CRC operation circuit 42 and the AVPU 43 are respectively connected to the CPU 7, MP
It has a FIFO buffer for buffering data transfer with the EG2 decoder 9 and is called a read FIFO buffer 44 and a write FIFO buffer 45, respectively. CRC
The arithmetic circuit 42 calculates the CRC of the PSI in the TS of the internal TS bus.
The operation is performed, and the operation result is assigned to the CRC_32 field and transferred to the read FIFO buffer 44. Lead FI
The FO buffer 44 generates an interrupt RDINT to the CPU 7 when the TS is arbitrarily stored in the FIFO, and the CPU 7 receives the interrupt RDINT and reads the buffer.
4 to transfer the filtered TS to the DRAM 6. The AVPU 43 extracts the PES in the TS and transfers it to the write FIFO buffer 45. The data in the write FIFO buffer 45 is transferred to the MPEG2 I / F 46 and transferred to the external MPEG2 decoder 9. Also,
The DEMUX filter 21 sends the IRD clock to the PCR (Program_Clock_Referen) in the TS.
PCR that reproduces 27 MHz by synchronizing with ce)
A recovery 47 is provided. In addition, the DEMUX filter 2
1 further includes a bus interface 48, a table RAM 49 in which reference information for detection by the hit detection circuit 41 is set, and a buffer mode register 50. WRITE is a write FIFO buffer interrupt request signal, and PCRINT is a clock recovery interrupt request signal.

【0026】図7にはCRC演算回路42の一例が示さ
れる。CRC演算回路42は、内部TSバスからのTS
をTS入力から入力しTS遅延回路60とCRC演算ユ
ニット61へと分岐して入力される。 ヒット検出回路
41によってフィルタリングできる最大数である27の
PID毎に独立してCRC演算ユニット61が備えられ
ており、それぞれ独立したCRC剰余を演算して格納で
きるようになっている。TS入力からのTSは27個の
CRC演算ユニット61のうち該当するPIDのCRC
演算ユニット61が選択されて、それに入力されCRC
演算が行われる。CRC演算許可/禁止を指示する演算
イネーブルレジスタ(CRCEN0/1)62によっ
て、27個のCRC演算ユニット61はCRC演算結果
の実施/非実施を独立に制御される。CRC_32制御
回路63は、CRC演算ユニット61によって演算され
たCRC剰余をCRC_32フィールドに代入する制御
を行う。その動作態様はモードレジスタ64によって指
示される。モードレジスタによって指示される代入の態
様は、前記図1乃至図3の何れかの態様である。TS遅
延回路60は、CRC_32制御回路63によるCRC_
32フィールドへの代入のタイミングをとるため、リー
ドFIFOバッファ44への出力であるTS出力を遅延
させるものである。
FIG. 7 shows an example of the CRC operation circuit 42. The CRC operation circuit 42 receives the TS from the internal TS bus.
From the TS input, and is branched and input to the TS delay circuit 60 and the CRC operation unit 61. An independent CRC operation unit 61 is provided for each of the 27 PIDs, which is the maximum number that can be filtered by the hit detection circuit 41, so that independent CRC remainders can be calculated and stored. The TS from the TS input is the CRC of the corresponding PID among the 27 CRC operation units 61.
The arithmetic unit 61 is selected and input to the
An operation is performed. The operation enable register (CRCEN0 / 1) 62 instructing CRC operation enable / disable controls the 27 CRC operation units 61 independently of execution / non-execution of the CRC operation result. The CRC_32 control circuit 63 performs control to substitute the CRC remainder calculated by the CRC calculation unit 61 into the CRC_32 field. The operation mode is specified by the mode register 64. The mode of the substitution designated by the mode register is any of the modes shown in FIGS. The TS delay circuit 60 uses the CRC_32 control circuit 63
In order to take the timing of substitution into 32 fields, the TS output which is output to the read FIFO buffer 44 is delayed.

【0027】例えば図1の動作態様が指示されている場
合、CRC演算の結果、CRC_32フィールドの最終
バイトがTS遅延回路60の中に存在した場合、CRC
_32制御回路63によってCRC剰余4バイトを論理
和で1バイトにした値をTS遅延回路60の中の該当箇
所へ代入する。上記により、CRCエラーの有無をCR
C_32フィールドのようなCRC符号に代入すること
でCPU7への通知が可能となり、ソフトウェア処理で
は処理量が大きくシステムのパフォーマンスの低下を招
いていたCRC演算を通信データ処理LSI5のハード
ウェアで実現することができる。
For example, when the operation mode shown in FIG. 1 is specified, if the last byte of the CRC_32 field exists in the TS delay circuit 60 as a result of the CRC operation,
The value obtained by ORing the 4 bytes of the CRC remainder into one byte by the —32 control circuit 63 is assigned to the corresponding portion in the TS delay circuit 60. As described above, the presence or absence of a CRC error is
By substituting into a CRC code such as the C_32 field, notification to the CPU 7 becomes possible, and in the software processing, the CRC calculation, which has a large processing amount and causes a decrease in system performance, is realized by the hardware of the communication data processing LSI 5. Can be.

【0028】また、情報データPSIのCRC演算を通
信データ処理LSI5でハードウェア処理により行い、
通信データTS中のCRC符号へのCRC剰余の代入は
CRC符号の末尾だけを対象とし、CPU7はCRC符
号の末尾だけを検査してCRCエラーを判定できる。C
RC符号の最終語に正しい剰余を反映でき、CRCエラ
ーの有無はCRC符号の全語長から判断する必要はない
ので、最終語だけでCRCエラーの有無を正しく判別で
きる。従って、TS中の如何なる位置にCRC符号があ
るかに左右されることなく、換言すればCRC符号が複
数のTSに跨って分断されていても、CRCエラーをC
PU7に通知可能となり、CRC演算を通信データ処理
LSI5でハードウェア処理可能となり、IRDのソフ
トウェア処理を軽減できる。
The CRC operation of the information data PSI is performed by hardware processing in the communication data processing LSI 5,
Substitution of the CRC remainder into the CRC code in the communication data TS targets only the end of the CRC code, and the CPU 7 can check only the end of the CRC code to determine a CRC error. C
The correct remainder can be reflected in the last word of the RC code, and it is not necessary to determine the presence or absence of a CRC error from the entire word length of the CRC code. Therefore, the presence or absence of a CRC error can be correctly determined only from the last word. Therefore, regardless of the position in the TS where the CRC code is located, in other words, even if the CRC code is divided across a plurality of TSs, the CRC error is detected by the C code.
The PU 7 can be notified, and the CRC operation can be processed by hardware in the communication data processing LSI 5, so that IRD software processing can be reduced.

【0029】図2に示される動作態様がCRCモードレ
ジスタ64に設定されている場合には、情報データの第
m−n語までのCRC剰余とCRC符号の第1語から第
n語までそれぞれ順次1語づつを排他的論理和により符
号化した値をCRC符号の第1語から第n語へ代入し、
CRC符号の第1語から第n語が全て0であるか否かに
よってCRCエラーの有無を判定可能にする。これによ
っても図1の場合と同じ効果を得ることができる。図2
の内容は、図13のエラーの無い場合におけるCRC剰
余の状態を参照すれば、理解することは容易である。
When the operation mode shown in FIG. 2 is set in the CRC mode register 64, the CRC remainder up to the mn-th word of the information data and the first word to the n-th word of the CRC code are respectively sequentially. A value obtained by encoding each word by exclusive OR is substituted from the first word to the n-th word of the CRC code,
The presence or absence of a CRC error can be determined based on whether or not all the first to n-th words of the CRC code are 0. With this, the same effect as in the case of FIG. 1 can be obtained. FIG.
Can be easily understood by referring to the state of the CRC remainder when there is no error in FIG.

【0030】図3に示される動作態様がCRCモードレ
ジスタ64に設定されている場合には、CRC符号の第
1語から第n語へ、それぞれ第1語へは情報データの第
m−n+1語までのCRC剰余の第n語を、第2語へは
情報データの第m−n+2語までのCRC剰余の第n−
1語を、以下同様に、第n語へは情報データの第m語ま
でのCRC剰余の第1語を代入する。CPU7は、CR
C符号の第1語から第n語が全て0であるか否かによっ
てCRCエラーの有無を判定する。これによっても図1
の場合と同じ効果を得ることができる。図3の内容は、
図13のエラーの無い場合におけるCRC剰余の状態を
参照すれば、容易に理解することができる。
When the operation mode shown in FIG. 3 is set in the CRC mode register 64, the first word of the CRC code is changed to the nth word, and the first word is respectively the (m−n + 1) th word of the information data. The second word is the nth word of the CRC remainder, and the second word is the nth word of the CRC remainder up to the (mn) + 2th word of the information data.
Similarly, the first word of the CRC remainder up to the m-th word of the information data is substituted for the n-th word. The CPU 7 has a CR
The presence or absence of a CRC error is determined based on whether the first to n-th words of the C code are all 0s. Fig. 1
The same effect as in the case of can be obtained. The contents of FIG.
It can be easily understood by referring to the state of the CRC remainder when there is no error in FIG.

【0031】以上本発明者によってなされた発明を実施
形態に基づいて具体的に説明したが、本発明はそれに限
定されるものではなく、その要旨を逸脱しない範囲にお
いて種々変更可能であることは言うまでもない。例えば
ビデオ・オーディオ等のデータ圧縮形式はMPEG2に
限定されない。またディジタル衛星放送IRD用の通信
データ処理LSIに限定されず、ディジタルCATV
(Cable Television)や、VOD(V
ideo On Demand)等、ディジタルデータ
を通信回線上で送受信する用途にも適用することができ
る。本発明は、その他に、情報データのCRCエラーの
有無を判別させるために情報データ全体のCRC剰余を
CRC符号に反映させる、CRCエラーチェック技術に
広く適用することができる。
Although the invention made by the inventor has been specifically described based on the embodiments, it is needless to say that the present invention is not limited to the embodiments and can be variously modified without departing from the gist of the invention. No. For example, the data compression format of video and audio is not limited to MPEG2. Further, the present invention is not limited to the communication data processing LSI for digital satellite broadcasting IRD,
(Cable Television) and VOD (V
For example, the present invention can be applied to an application for transmitting and receiving digital data over a communication line, such as “video on demand”. In addition, the present invention can be widely applied to a CRC error check technique in which the CRC remainder of the entire information data is reflected in a CRC code in order to determine the presence or absence of a CRC error in the information data.

【0032】[0032]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
の通りである。
The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows.

【0033】すなわち、CRCエラー判定処理に要する
CPUの負担を軽減できる。また、PSIのCRC剰余
をCRC符号に反映してCRCエラーの有無をCPUに
通知する場合に、CRC符号がTSにより複数に分断さ
れた場合においてもCRCエラーの有無を正しく通知す
ることができる。換言すれば、通信データの如何なる位
置にCRC符号があるかに左右されることなくCRCエ
ラーをCPU等に通知することができる。
That is, the load on the CPU required for the CRC error determination processing can be reduced. Also, when notifying the CPU of the presence or absence of a CRC error by reflecting the CRC remainder of the PSI in the CRC code, the presence or absence of the CRC error can be correctly reported even when the CRC code is divided into a plurality of pieces by the TS. In other words, the CRC error can be notified to the CPU or the like without depending on the position of the CRC code in the communication data.

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

【図1】情報データ全体のCRC剰余をCRC符号に反
映させる第1のCRC演算手法の一例を示す説明図であ
る。
FIG. 1 is an explanatory diagram illustrating an example of a first CRC calculation method for reflecting a CRC remainder of entire information data in a CRC code.

【図2】情報データ全体のCRC剰余をCRC符号に反
映させる第2のCRC演算手法の一例を示す説明図であ
る。
FIG. 2 is an explanatory diagram showing an example of a second CRC calculation method for reflecting a CRC remainder of the entire information data in a CRC code.

【図3】情報データ全体のCRC剰余をCRC符号に反
映させる第3のCRC演算手法の一例を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing an example of a third CRC calculation method for reflecting a CRC remainder of the entire information data in a CRC code.

【図4】IRDの一例を示すブロック図である。FIG. 4 is a block diagram illustrating an example of an IRD.

【図5】通信データ処理LSIの一例を示すブロック図
である。
FIG. 5 is a block diagram illustrating an example of a communication data processing LSI.

【図6】CRC演算回路を含むDEMUXフィルタの一
例を示すブロック図である。
FIG. 6 is a block diagram illustrating an example of a DEMUX filter including a CRC operation circuit.

【図7】CRC演算回路の一例を示すブロック図であ
る。
FIG. 7 is a block diagram illustrating an example of a CRC operation circuit.

【図8】PSIのような情報データとTSのような通信
データとの関係の一例を示す説明図である。
FIG. 8 is an explanatory diagram showing an example of a relationship between information data such as PSI and communication data such as TS.

【図9】PSIを通信データ処理LSIで実現すること
を考慮したときに本発明者が検討した課題を概略的に示
す説明図である。
FIG. 9 is an explanatory diagram schematically showing a problem studied by the inventor when considering that PSI is realized by a communication data processing LSI.

【図10】CRC剰余の演算手法を概略的に示す説明図
である。
FIG. 10 is an explanatory diagram schematically showing a CRC remainder calculation method.

【図11】CRCエラーの有無を通知するためのレジス
タを設ける場合に本発明者が検討した課題を概略的に示
す説明図である。
FIG. 11 is an explanatory diagram schematically showing a problem studied by the present inventor when a register for notifying the presence or absence of a CRC error is provided.

【図12】CRC符号が2つ以上のTSに分断されて跨
る場合にCRC剰余の最終語以外に正しくCRC演算結
果を反映できないことについて本発明者が検討した内容
を概略的に示す説明図である。
FIG. 12 is an explanatory diagram schematically showing the contents examined by the present inventor regarding the fact that the CRC code cannot be correctly reflected other than the last word of the CRC remainder when the CRC code is divided into two or more TSs and straddles it. is there.

【図13】CRCエラーが無い場合におけるCRC剰余
の一例として、PSIの第m−n+1語までのnバイト
のCRC剰余から、PSIの第m語までのnバイトのC
RC剰余までを示す説明図である。
FIG. 13 shows an example of a CRC residue when there is no CRC error, from an n-byte CRC residue up to the (m−n + 1) th word of the PSI to an n-byte C residue up to the mth word of the PSI.
It is explanatory drawing which shows RC remainder.

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

1 IRD 5 通信データ処理LSI 21 DEMUXフィルタ 42 CRC演算回路 44 リードFIFOバッファ 60 TS遅延回路 61 CRC演算ユニット 63 CRC_32フィールド制御回路 64 CRCモードレジスタ 1 IRD 5 Communication data processing LSI 21 DEMUX filter 42 CRC operation circuit 44 Read FIFO buffer 60 TS delay circuit 61 CRC operation unit 63 CRC_32 field control circuit 64 CRC mode register

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B001 AA04 AB01 AC01 AD06 AE02 5J065 AA01 AB01 AC02 AD04 AE00 AE06 AH04 5K014 AA01 BA06 EA01  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B001 AA04 AB01 AC01 AD06 AE02 5J065 AA01 AB01 AC02 AD04 AE00 AE06 AH04 5K014 AA01 BA06 EA01

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 通信エラー検出のために付加される語長
n(n>1)のCRC符号を含む語長mの情報データが
分割・多重された所定語長の通信データを入力し、入力
した通信データから前記情報データを分離し、分離した
情報データに対してCRCエラー検出のためのCRC剰
余を順次演算し、情報データ全体のCRC剰余をCRC
符号へ代入して情報データを外部に出力する通信データ
処理装置であって、 情報データ全体のCRC剰余の第1語から第n語を論理
和によって語長1に符号化した値をCRC符号の第n語
へ代入するCRC演算回路を有し、CRC符号の第n語
の論理値によってCRCエラーの有無を判定可能にする
ものであることを特徴とする通信データ処理装置。
1. Inputting communication data of a predetermined word length obtained by dividing and multiplexing information data of a word length m including a CRC code of a word length n (n> 1) added for detecting a communication error, The information data is separated from the separated communication data, the CRC remainder for CRC error detection is sequentially calculated for the separated information data, and the CRC remainder of the entire information data is calculated by the CRC.
What is claimed is: 1. A communication data processing apparatus for outputting information data to the outside by substituting into a code, a value obtained by encoding a first word to a n-th word of a CRC remainder of the entire information data to a word length of 1 by a logical sum, and A communication data processing device, comprising: a CRC operation circuit for substituting into a n-th word, wherein it is possible to determine the presence or absence of a CRC error based on a logical value of the n-th word of a CRC code.
【請求項2】 通信エラー検出のために付加される語長
n(n>1)のCRC符号を含む語長mの情報データが
分割・多重された所定語長の通信データを入力し、入力
した通信データから前記情報データを分離し、分離した
情報データに対してCRCエラー検出のためのCRC剰
余を順次演算し、情報データ全体のCRC剰余をCRC
符号へ代入して情報データを外部に出力する通信データ
処理装置であって、 情報データの第m−n語までのCRC剰余とCRC符号
の第1語から第n語までそれぞれ順次1語づつを排他的
論理和により符号化した値をCRC符号の第1語から第
n語へ代入するCRC演算回路を有し、CRC符号の第
1語から第n語が全て0であるか否かによってCRCエ
ラーの有無を判定可能にするものであることを特徴とす
る通信データ処理装置。
2. Inputting communication data of a predetermined word length obtained by dividing and multiplexing information data of a word length m including a CRC code of a word length n (n> 1) added for detecting a communication error, and The information data is separated from the separated communication data, the CRC remainder for CRC error detection is sequentially calculated for the separated information data, and the CRC remainder of the entire information data is calculated by the CRC.
What is claimed is: 1. A communication data processing apparatus for outputting information data to a code by substituting into a code, a CRC remainder up to the mn-th word of the information data and a word from the first word to the n-th word of the CRC code. A CRC operation circuit for substituting the value coded by the exclusive OR into the first word to the n-th word of the CRC code, and determining whether the first word to the n-th word of the CRC code are all 0 or not. A communication data processing device capable of determining the presence or absence of an error.
【請求項3】 通信エラー検出のために付加される語長
n(n>1)のCRC符号を含む語長mの情報データが
分割・多重された所定語長の通信データを入力し、入力
した通信データから前記情報データを分離し、分離した
情報データに対してCRCエラー検出のためのCRC剰
余を順次演算し、情報データ全体のCRC剰余をCRC
符号へ代入して情報データを外部に出力する通信データ
処理装置であって、 CRC符号の第x語へは情報データの第m−n+x語ま
でのCRC剰余の第n+1−x語を代入するCRC演算
回路を有し、CRC符号の第1語から第n語が全て0で
あるか否かによってCRCエラーの有無を判定可能にす
るものであることを特徴とする通信データ処理装置。
3. Inputting communication data of a predetermined word length obtained by dividing and multiplexing information data of a word length m including a CRC code of a word length n (n> 1) added for detecting a communication error, The information data is separated from the separated communication data, the CRC remainder for CRC error detection is sequentially calculated for the separated information data, and the CRC remainder of the entire information data is calculated by the CRC.
A communication data processing apparatus for outputting information data to the outside by substituting into a code, a CRC substituting the (n + 1-x) th word of a CRC remainder up to the (m−n + x) th word of the information data into the xth word of the CRC code A communication data processing device comprising an arithmetic circuit and capable of determining the presence or absence of a CRC error based on whether all of the first to n-th words of the CRC code are 0.
【請求項4】 前記CRC演算回路は、CRC符号の第
1語から第n語へ、それぞれ第1語へは情報データの第
m−n+1語までのCRC剰余の第n語を、第2語へは
情報データの第m−n+2語までのCRC剰余の第n−
1語を、以下同様に、第n語へは情報データの第m語ま
でのCRC剰余の第1語を代入するものであることを特
徴とする請求項3記載の通信データ処理装置。
4. The CRC arithmetic circuit according to claim 1, wherein the first word is a CRC code from the first word to the n-th word of the CRC code, and the first word is an n-th word of the CRC remainder from the (m−n + 1) th word of the information data to the second word. Is the n-th part of the CRC remainder up to the (mn) -th word of the information data.
4. The communication data processing device according to claim 3, wherein the first word of the CRC remainder up to the m-th word of the information data is substituted into the n-th word for one word.
【請求項5】 前記通信データは、先頭にヘッダ情報を
有し、前記ヘッダ情報は、情報データの識別子を含み、 前記CRC演算回路は、同一識別子の通信データに係る
データ情報毎に前記CRC剰余の演算とCRC符号への
代入を行うものであることを特徴とする請求項1乃至4
の何れか1項に記載の通信データ処理装置。
5. The communication data has header information at the beginning, the header information includes an identifier of the information data, and the CRC operation circuit performs the CRC remainder for each data information relating to the communication data having the same identifier. 5. The method according to claim 1, wherein the calculation is performed and substitution into a CRC code is performed.
The communication data processing device according to any one of the above.
【請求項6】 請求項5に記載の通信データ処理装置
と、前記通信データ処理装置からデータ情報を採り込
み、データ情報に含まれるCRC符号からCRCエラー
の有無を判定するプロセッサとを含んで成るものである
ことを特徴とするデータ受信システム。
6. A communication data processing device according to claim 5, further comprising: a processor that fetches data information from the communication data processing device and determines whether there is a CRC error from a CRC code included in the data information. A data receiving system, characterized in that:
JP10289231A 1998-10-12 1998-10-12 Communication data processor and data receiving system Withdrawn JP2000124811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10289231A JP2000124811A (en) 1998-10-12 1998-10-12 Communication data processor and data receiving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10289231A JP2000124811A (en) 1998-10-12 1998-10-12 Communication data processor and data receiving system

Publications (1)

Publication Number Publication Date
JP2000124811A true JP2000124811A (en) 2000-04-28

Family

ID=17740491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10289231A Withdrawn JP2000124811A (en) 1998-10-12 1998-10-12 Communication data processor and data receiving system

Country Status (1)

Country Link
JP (1) JP2000124811A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009521059A (en) * 2005-12-23 2009-05-28 インテル コーポレイション Perform cyclic redundancy check operations according to user level instructions
KR101398394B1 (en) * 2011-12-19 2014-05-27 정한섭 TS signal monitoring device using FPGA

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009521059A (en) * 2005-12-23 2009-05-28 インテル コーポレイション Perform cyclic redundancy check operations according to user level instructions
US9116684B2 (en) 2005-12-23 2015-08-25 Intel Corporation Performing a cyclic redundancy checksum operation responsive to a user-level instruction
US9262159B2 (en) 2005-12-23 2016-02-16 Intel Corporation Performing a cyclic redundancy checksum operation responsive to a user-level instruction
US9645884B2 (en) 2005-12-23 2017-05-09 Intel Corporation Performing a cyclic redundancy checksum operation responsive to a user-level instruction
US10379938B2 (en) 2005-12-23 2019-08-13 Intel Corporation Performing a cyclic redundancy checksum operation responsive to a user-level instruction
US11048579B2 (en) 2005-12-23 2021-06-29 Intel Corporation Performing a cyclic redundancy checksum operation responsive to a user-level instruction
US11899530B2 (en) 2005-12-23 2024-02-13 Intel Corporation Performing a cyclic redundancy checksum operation responsive to a user-level instruction
KR101398394B1 (en) * 2011-12-19 2014-05-27 정한섭 TS signal monitoring device using FPGA

Similar Documents

Publication Publication Date Title
JP3389843B2 (en) Digital broadcast receiving system in information processing device
US5966385A (en) Decoder for compressed and multiplexed video and audio data
CN1117483C (en) MPEG II system with PES decoder
US6970482B2 (en) Apparatus and method for demultiplexing of transport stream
KR19990001778A (en) Caption data processing circuit and method
US5475688A (en) Media error code generation as for a video inverse transport processor
JPH10276164A (en) Multiplexer, multiplexing method, transmitter, transmission method and recording medium
US8861519B2 (en) Data filtering apparatus and data filtering method
US7433411B2 (en) Receiver, CPU and decoder with improved signal decoding
KR19980054368A (en) Data input / output device of the transport decoder
JP3622451B2 (en) Data processing apparatus, data processing method, and recording medium
US6516376B1 (en) Command and control architecture for a video decoder and a host
US20030035485A1 (en) Data separation and decoding device
KR100640885B1 (en) Video buffer controlling apparatus for dual video decoding
JP2000124811A (en) Communication data processor and data receiving system
US7844991B1 (en) Method and apparatus for digital signal processing
JP3649266B2 (en) Data multiplexing apparatus and method, and recording medium
KR100768682B1 (en) Method and system for buffering pixel data
JP3520595B2 (en) Encoded image and audio data receiving device
US7072572B2 (en) Method of and apparatus for merging bit streams for seamless reproduction, and recording medium for recording control information for bit stream merging
JPH1041979A (en) Transmission data generating method and transmission data generator
US8416348B2 (en) Digital TV and method for processing data signal in digital TV
JP2006332821A (en) Digital broadcasting receiver and digital broadcast receiving method
KR100348263B1 (en) apparatus for digital interface
US20070248318A1 (en) System and method for flexible mapping of AV vs record channels in a programmable transport demultiplexer/PVR engine

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110