JP2001053709A - Data coincidence detector - Google Patents

Data coincidence detector

Info

Publication number
JP2001053709A
JP2001053709A JP22370399A JP22370399A JP2001053709A JP 2001053709 A JP2001053709 A JP 2001053709A JP 22370399 A JP22370399 A JP 22370399A JP 22370399 A JP22370399 A JP 22370399A JP 2001053709 A JP2001053709 A JP 2001053709A
Authority
JP
Japan
Prior art keywords
data
condition
condition data
comparison
comparison operation
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
JP22370399A
Other languages
Japanese (ja)
Inventor
Kyohiko Mizobata
教彦 溝端
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP22370399A priority Critical patent/JP2001053709A/en
Publication of JP2001053709A publication Critical patent/JP2001053709A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a data coincidence detector capable of minimizing size of a condition storage means by efficiently storing pieces of conditional data with various kinds of size in a condition storage means, performing a comparison processing between a condition and inputted data at high speed when the size of the conditional data is small and the number of conditions is less, setting many conditions when the number of conditions is less,. SOLUTION: A header coincidence detecting circuit 33a with a data holding circuit 41, data selecting circuits 421 to 424, comparative operation circuits 431 to 434, a coincidence judging circuit 45, a conditional memory 44 is used for a section data sorting circuit 25 in a transport packet processing circuit 21 as the data coincidence detector.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、複数のフィール
ドから構成される入力データの中から任意のデータを選
別するデータ一致検出装置に関するものであり、特に、
放送により受信されたデータや、記録デバイスから出力
されたデータの中から、受け取るべきデータが条件デー
タと一致するかを検出可能としたデータ一致検出装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data coincidence detecting device for selecting arbitrary data from input data composed of a plurality of fields.
The present invention relates to a data match detection device capable of detecting whether data to be received matches condition data from data received by broadcasting or data output from a recording device.

【0002】[0002]

【従来の技術】近年、いわゆるディジタルデータを用い
て映像情報や音声情報、その他の情報を伝送、蓄積する
ことが行われるようになってきている。この方法を簡単
に述べると、映像情報や音声情報等の情報は、いわゆる
ディジタルデータに加工された後、任意の大きさに分割
され、次にこれを、幾つかのフィールドにより構成され
るデータ構造を有するパケットの形態に加工したのち、
このパケットを1つの伝送メディアや蓄積メディア等に
多重し、そしてこれを伝送、又は蓄積する。
2. Description of the Related Art In recent years, video information, audio information, and other information have been transmitted and stored using digital data. Briefly describing this method, information such as video information and audio information is processed into so-called digital data, divided into arbitrary sizes, and then divided into a data structure composed of several fields. After processing into the form of a packet with
The packet is multiplexed on one transmission medium or storage medium, and transmitted or stored.

【0003】このようなディジタルデータの伝送や蓄積
に用いるデータ構造、及び多重化の標準規格としてMP
EGシステム規格が定められているが、多くの場合、こ
のMPEGシステム規格に従ったパケットデータの構造
に準拠した方法でディジタルデータを加工し、伝送や蓄
積を行っている。
The data structure used for transmitting and storing such digital data and the multiplexing standard MP
The EG system standard is defined. In many cases, digital data is processed, transmitted, and stored in a method that conforms to the packet data structure according to the MPEG system standard.

【0004】このようなパケットデータが多重化された
ディジタルデータの伝送や蓄積では、データを受け取る
機器において、多重化されたパケットデータの中から、
受け取るべきデータを選別する必要がある。
[0004] In the transmission and storage of such digital data in which packet data is multiplexed, a device that receives the data selects, from among the multiplexed packet data,
You need to screen the data to be received.

【0005】特に、最近注目されている、いわゆるCS
デジタル放送等のような、パケットデータを多重化した
ディジタルデータを用いた番組放送を受信して、これを
視聴する場合では、たくさんの情報の中から必要な情報
を的確に、かつ迅速に選出することが望まれている。
[0005] In particular, the so-called CS, which has recently received attention,
When a program broadcast using digital data obtained by multiplexing packet data, such as a digital broadcast, is received and viewed, the necessary information is accurately and quickly selected from a large amount of information. It is desired.

【0006】つまり、ディジタルデータの送信中、上述
のパケットの中に含まれるセクションというデータ形式
で繰り返し伝送されているPSI(プログラム仕様情
報)やSI(サービス情報)等の番組放送に付随する様
々な情報は番組放送の内容や種類によって異なるが、番
組放送の視聴をスムーズにするため、パケットデータが
多重化されたディジタルデータの中から、必要なPSI
やSI等の情報を的確に、かつ迅速に選び出す事が望ま
れているのである。
That is, during transmission of digital data, various data accompanying program broadcasts such as PSI (program specification information) and SI (service information) repeatedly transmitted in a data format called a section included in the packet described above. Although the information varies depending on the content and type of the program broadcast, in order to make the viewing of the program broadcast smooth, the necessary PSI is selected from digital data in which packet data is multiplexed.
It is desired to select information such as information and SI accurately and quickly.

【0007】そこでこのような期待に応えるべく、MP
EGシステム規格に準拠したデータ多重化方式を用いる
ディジタルデータ放送等の受信機に用いられ、またこの
受信機において受信したデータの選別を行うデータ一致
検出装置と、このデータ一致検出装置を用いることによ
りセクションの選別を行う装置に関して、本願発明人は
過去に「データ一致検出装置、およびデータ選別装置」
に関する特許出願(特願平9−264246号)を行っ
たので、以下、この特許出願を参照しつつ、従来用いら
れているデータ一致検出装置、及びセクションの選別を
行う装置について簡単に説明する。
[0007] To meet such expectations, the MP
It is used in a receiver for digital data broadcasting or the like that uses a data multiplexing method conforming to the EG system standard. In addition, a data coincidence detecting device for selecting data received by the receiver and a data coincidence detecting device are used. Regarding the apparatus for performing section selection, the present inventor has previously described "data match detection apparatus and data selection apparatus".
Since a patent application (Japanese Patent Application No. 9-264246) has been filed, a conventional data coincidence detecting device and a device for selecting sections will be briefly described with reference to this patent application.

【0008】従来のデータ一致検出装置は、装置に順次
入力される入力データを構成している複数のフィールド
それぞれと一致するか否かを検出する為の条件フィール
ドが複数個集まって構成される条件データを記憶し、ま
た入力データを構成する各フィールドに対応する条件フ
ィールドを選択し出力する条件記憶手段と、条件記憶手
段から出力された条件フィールドと入力データを構成す
るフィールドとが一致するか否かを検出するデータ比較
手段と、順次入力される入力データを構成する各フィー
ルドと条件データが全て一致しているか否かを検出する
比較結果判断手段と、から構成されるデータ一致検出手
段を1つ以上備えている。
The conventional data coincidence detecting device has a condition in which a plurality of condition fields for detecting whether or not each of a plurality of fields constituting input data sequentially inputted to the device coincide with each other are formed. A condition storage means for storing data and selecting and outputting a condition field corresponding to each field constituting the input data; and whether the condition field output from the condition storage means and the field constituting the input data match. Data comparison means for detecting whether or not all of the fields constituting the sequentially input data and the condition data match each other. Have more than one.

【0009】そして、少なくとも1つのデータ一致検出
手段が入力データと条件データが一致する事を検出する
と、データ一致検出装置は入力データと条件データが一
致したと判断するように構成されている。
When at least one of the data coincidence detecting means detects that the input data and the condition data coincide, the data coincidence detecting device is configured to judge that the input data and the condition data coincide.

【0010】そしてこのデータ一致検出装置を用い、入
力データとしてセクションを与え、条件データとして選
別されるべきセクションを構成する各フィールドのデー
タ値を設定しておくことにより、セクションの選別を行
うセクション選別装置を得ることができる。
By using this data coincidence detecting device, a section is selected as input data, and the data value of each field constituting the section to be selected is set as condition data. A device can be obtained.

【0011】セクションは、セクションに格納されてい
るデータの種類等を示す8バイトのセクションヘッダ
と、セクションに格納されているデータそのものである
セクションデータと、より構成されているが、セクショ
ン選別措置は、セクションヘッダ内の情報を調べること
で、その調べたセクションが必要なデータを格納してい
るセクションであるかどうかを判断するように構成され
ている。
A section is composed of an 8-byte section header indicating the type of data stored in the section, and section data which is data itself stored in the section. By examining information in the section header, it is determined whether the examined section is a section storing necessary data.

【0012】このセクション選別の方法についてさらに
述べる。まず、セクションを選別する為には、例えば、
セクションの先頭から16バイト目までのフィールドに
対して、最大16バイト長の長さを有する条件データと
の一致検出を、最大32種類の条件データに対して行う
必要がある。
The section selection method will be further described. First, to select sections, for example,
It is necessary to perform a match detection of condition data having a maximum length of 16 bytes with respect to a field up to the 16th byte from the head of the section for a maximum of 32 types of condition data.

【0013】この一致検出を具体的に述べると、まず入
力データが1バイト入力されると、これに対して各条件
データから各条件データの1バイト目が読み出される。
そして、全種類の条件データの1バイト目の条件が入力
データの1バイト目と比較される。そして入力データが
順次入力されるのに伴い、上述と同様にして条件データ
と入力データの比較が行われる。
More specifically, this match detection is as follows. When one byte of input data is input, the first byte of each condition data is read from each condition data.
Then, the condition of the first byte of all types of condition data is compared with the first byte of the input data. As the input data is sequentially input, the condition data and the input data are compared in the same manner as described above.

【0014】このようにして一致検出を行う対象である
入力データが全て入力された時に、入力データと各条件
データとの比較が完了する。
When all the input data to be subjected to the match detection have been input in this way, the comparison between the input data and each condition data is completed.

【0015】このようにデータの一致検出を行う為、従
来のデータ一致検出装置では、16バイト長の条件デー
タを最大32種類記憶しておく為に、512バイトのメ
モリが必要になる。
In order to detect data coincidence in this manner, a conventional data coincidence detection device requires a 512-byte memory to store a maximum of 32 types of 16-byte length condition data.

【0016】[0016]

【発明が解決しようとする課題】しかし、従来のデータ
一致検出装置によるセクションの選別装置には、次のよ
うな問題がある。上述した従来のデータ一致検出装置で
は、16バイト長の長さを有する合計32種類の条件デ
ータを記憶するためには512バイトのメモリが必要と
なる。しかし、実際にセクション選別装置によってデー
タの一致検出を行う為には、32種類の条件データ全て
が16倍と長である必要はなく、例えば、16バイト長
の条件データが4種類、8バイト長の条件データが20
種類、4バイト長の条件データが8種類用意されていれ
ばよい。この場合、実際にメモリに記憶されている条件
データのうち、有効な条件データの総量は256バイト
であり、即ちメモリの50%しか使用していないことに
なる。
However, the section selecting apparatus using the conventional data coincidence detecting apparatus has the following problems. In the above-described conventional data coincidence detecting device, a 512-byte memory is required to store a total of 32 types of condition data having a length of 16 bytes. However, it is not necessary that all of the 32 types of condition data be 16 times as long in order to actually detect data coincidence by the section selecting device. For example, four types of 16 byte length condition data and 8 byte length Condition data is 20
It suffices that eight types of condition data having a 4-byte length are prepared. In this case, the total amount of valid condition data among the condition data actually stored in the memory is 256 bytes, that is, only 50% of the memory is used.

【0017】MPEGシステム規格によるセクションデ
ータのフォーマットの規定によると、セクションデータ
の先頭8バイトはセクションのヘッダと意味付けられて
おり、これ以降の部分は任意のデータを格納するための
領域である、と定義されている。そしてディジタル放送
受信機で受信し、必要なデータを選別するのに用いるべ
きセクションは、殆どのものがセクションデータのヘッ
ダ部分だけである。つまり、この部分を調べればデータ
の要否が判断できるのである。しかし、個別情報などを
伝送するためのセクションデータでは、任意データ部分
の先頭数バイトをフィルタリングする必要がある。この
ため、実際のセクション選別装置に設定される一致検出
のための条件データ群のサイズは上記のようになり、合
計256バイトのメモリがあれば事足りることになる。
According to the section data format defined by the MPEG system standard, the first 8 bytes of the section data are defined as a section header, and the rest of the section data is an area for storing arbitrary data. It is defined as The section to be received by the digital broadcast receiver and used for selecting necessary data is almost only the header part of the section data. In other words, by examining this part, it is possible to determine whether data is necessary. However, in section data for transmitting individual information or the like, it is necessary to filter the first few bytes of an arbitrary data portion. For this reason, the size of the condition data group for matching detection set in the actual section selection device is as described above, and a memory having a total of 256 bytes is sufficient.

【0018】また、各条件データ群が条件メモリ内に記
憶されている位置が固定であるため、条件サイズが小さ
く条件メモリに空き領域が存在しても追加の条件データ
を設定することはできない。つまり、512バイトのメ
モリが用意されているにもかかわらず、その半分しか使
用していないことになり、残り半分のメモリが無駄にな
るので問題であった。
Further, since the position where each condition data group is stored in the condition memory is fixed, even if the condition size is small and free space exists in the condition memory, additional condition data cannot be set. That is, although a 512-byte memory is prepared, only half of the memory is used, and the remaining half of the memory is wasted.

【0019】さらに、入力データの入力に応じて全ての
条件データ群を同時並行で比較するために、条件メモリ
内の全ての条件との一致検出が終わらなければ一致した
ことを判断できない。言い換えると、条件データ群の種
類が少ない場合や、条件データ群内の条件データ数が少
ない場合にも一致検出に要する時間は変わらないので、
データの高速処理の観点から問題であった。
Furthermore, since all the condition data groups are compared simultaneously and in parallel according to the input of the input data, it cannot be determined that they match unless all the conditions in the condition memory are detected. In other words, even when the type of the condition data group is small or when the number of condition data in the condition data group is small, the time required for the match detection does not change.
This was a problem from the viewpoint of high-speed data processing.

【0020】そこで、本発明はこのような問題点に鑑み
て為されたものであり、その目的は、様々なサイズの条
件データを効率よく条件記憶手段内に記憶することによ
り条件記憶手段のサイズを小さく抑えることができると
ともに、条件データのサイズが小さい場合や条件数が少
ない場合には条件と入力データとの比較処理を高速に行
うことができ、さらに、条件データのサイズが小さい場
合には多くの条件を設定することのできるデータ一致検
出装置を提供することである。
Therefore, the present invention has been made in view of such a problem, and an object of the present invention is to efficiently store condition data of various sizes in the condition storage means, thereby reducing the size of the condition storage means. Can be kept small, and when the size of the condition data is small or the number of conditions is small, the comparison processing between the condition and the input data can be performed at high speed. Further, when the size of the condition data is small, An object of the present invention is to provide a data coincidence detecting device capable of setting many conditions.

【0021】[0021]

【課題を解決するための手段】上記課題を達成するた
め、本発明の請求項1に記載のデータ一致検出装置では
複数のフィールドから構成される入力データの中から任
意のデータを選別するデータ一致検出装置であって、前
記データ一致検出装置が、少なくとも、前記入力データ
を構成する複数のフィールドを保持又は出力しているデ
ータ保持手段と、前記入力データを選別する為の条件デ
ータを含む条件データ群を1つ又は複数個記憶してお
り、前記条件データ群のうち少なくとも1つは複数個の
条件データを含み、1つ又は複数個の前記条件データ群
の内から前記条件データを順次選択出力する条件記憶手
段と、前記条件記憶手段から順次出力される前記条件デ
ータと比較すべき前記フィールドを、前記入力データを
構成する複数のフィールドから選択し出力するデータ選
択手段と、前記条件データを構成するフィールドと、前
記データ選択手段から比較対象として出力されたフィー
ルドとの比較演算を順次行って得られた比較演算結果を
順次出力する比較演算手段と、前記比較演算手段から順
次出力される前記比較演算結果を入力し、前記入力デー
タの選別の判断を行う一致判断手段と、から構成される
ことを特徴とする。
According to a first aspect of the present invention, there is provided a data coincidence detecting apparatus for selecting arbitrary data from input data comprising a plurality of fields. A detection device, wherein the data coincidence detection device holds or outputs at least a plurality of fields constituting the input data, and condition data including condition data for selecting the input data. One or a plurality of groups are stored, at least one of the condition data groups includes a plurality of condition data, and the condition data is sequentially selected and output from one or a plurality of the condition data groups. And a plurality of fields constituting the input data, the field to be compared with the condition data sequentially output from the condition storage means. A data selecting means for selecting and outputting from the data, a field constituting the condition data, and a comparison operation result obtained by sequentially performing a comparison operation on a field outputted as a comparison target from the data selecting means, and sequentially outputting the result. It is characterized by comprising comparison operation means, and coincidence judgment means for inputting the comparison operation results sequentially output from the comparison operation means and judging selection of the input data.

【0022】本発明の請求項2に記載のデータ一致検出
装置では、請求項1に記載のデータ一致検出装置におい
て、前記条件記憶手段が、各前記条件データ群に対応し
た、前記条件データと前記入力データの比較演算を制御
するための情報である比較制御情報を保持し、また、前
記条件データ群を選択出力する時に、前記条件データ群
に対応した前記比較制御情報を一緒に出力し、前記比較
演算手段が、前記条件記憶手段から出力される前記比較
制御情報に基づき比較演算を行い、前記一致判断手段
が、前記比較演算手段による比較演算と、前記条件記憶
手段から順次出力される比較制御情報に基づき一致判断
を行うこと、を特徴とする。
According to a second aspect of the present invention, in the data coincidence detecting device according to the first aspect, the condition storing means stores the condition data and the condition data corresponding to each condition data group. Holding comparison control information that is information for controlling the comparison operation of the input data, and, when selectively outputting the condition data group, outputting together the comparison control information corresponding to the condition data group, The comparison operation means performs a comparison operation based on the comparison control information output from the condition storage means, and the coincidence determination means performs a comparison operation by the comparison operation means and a comparison control sequentially output from the condition storage means. It is characterized by performing a match judgment based on the information.

【0023】本発明の請求項3に記載のデータ一致検出
装置では、請求項1又は請求項2に記載のデータ一致検
出装置において、前記比較制御情報は、前記条件データ
群それぞれに格納されている前記条件データの格納方法
を表していること、を特徴とする。
According to a third aspect of the present invention, in the data coincidence detecting apparatus according to the first or second aspect, the comparison control information is stored in each of the condition data groups. And a storage method of the condition data.

【0024】本発明の請求項4に記載のデータ一致検出
装置では、請求項3に記載のデータ一致検出装置におい
て、前記データ選択手段が、前記条件記憶手段の記憶す
る前記条件データ群を構成する前記条件データの有する
フィールド数に合致したフィールド数のデータを、前記
入力データより取り出すこと、を特徴とする。
According to a fourth aspect of the present invention, in the data coincidence detecting apparatus according to the third aspect, the data selecting means constitutes the condition data group stored in the condition storing means. Data of a field number matching the field number of the condition data is extracted from the input data.

【0025】本発明の請求項5に記載のデータ一致検出
装置では、請求項2に記載のデータ一致検出装置におい
て、前記条件記憶手段は、前記条件データが有する複数
のフィールドのうち、前記入力データを構成する複数の
フィールドに含まれる、比較する必要のない省略フィー
ルドを省略した形で前記条件データを記憶し、前記比較
制御情報は、前記省略フィールドを示す情報を含み、前
記データ選択手段は、前記省略フィールドを示す情報を
含む前記比較制御情報に基づき、前記入力データより前
記省略フィールドを省略した形で前記入力データを選択
して、前記比較演算手段に入力すること、を特徴とす
る。
According to a fifth aspect of the present invention, in the data coincidence detecting apparatus according to the second aspect, the condition storage means stores the input data among a plurality of fields included in the condition data. Included in a plurality of fields constituting, the condition data is stored in a form in which omitted omitted fields that need not be compared, the comparison control information includes information indicating the omitted field, and the data selection means, The input data is selected from the input data in a form in which the omitted field is omitted, based on the comparison control information including the information indicating the omitted field, and input to the comparison operation means.

【0026】本発明の請求項6に記載のデータ一致検出
装置では、請求項1に記載のデータ一致検出装置におい
て、前記比較演算手段は、前記データ選択手段により選
択されたフィールドを含む前記入力データと、前記条件
記憶手段から出力されている条件データと、が同一であ
ることを検出すること、を特徴とする。
According to a sixth aspect of the present invention, in the data coincidence detecting apparatus according to the first aspect of the present invention, the comparison operation means includes the input data including a field selected by the data selecting means. And the condition data outputted from the condition storage means are detected to be the same.

【0027】本発明の請求項7に記載のデータ一致検出
装置では、請求項2に記載のデータ一致検出装置におい
て、前記比較制御情報は、前記比較制御情報に対応する
前記条件データ群に含まれる条件データを構成するフィ
ールドと、前記データ選択手段から出力されている入力
データを構成するフィールドと、の比較演算結果の種類
を示す情報を含んでおり、前記比較演算手段は、前記比
較制御情報に対応する前記条件データ群に含まれる条件
データを構成するフィールドと、前記データ選択手段か
ら出力されている入力データを構成するフィールドと、
に対して行った比較演算の結果と、前記比較制御情報の
保持する比較演算結果の種類を示す情報と、を比較検討
し、前記一致判定手段は、前記比較制御情報に基づき、
前記比較演算手段における比較検討結果より、入力デー
タと条件データとの一致判定を行うこと、を特徴とす
る。
According to a seventh aspect of the present invention, in the data coincidence detecting device according to the second aspect, the comparison control information is included in the condition data group corresponding to the comparison control information. A field that constitutes condition data and a field that constitutes input data output from the data selection unit include information indicating a type of a comparison operation result, and the comparison operation unit includes, in the comparison control information, A field configuring the condition data included in the corresponding condition data group, a field configuring the input data output from the data selection unit,
And the information indicating the type of the comparison operation result held by the comparison control information and the result of the comparison operation performed on the comparison control information, the match determination unit is based on the comparison control information,
It is characterized in that a match between input data and condition data is determined based on the comparison and examination result in the comparison operation means.

【0028】本発明の請求項8に記載のデータ一致検出
装置では、請求項7に記載のデータ一致検出装置におい
て、前記比較演算結果の種類を示す情報が、「一致」
「大」「小」のうちのいずれかであり、前記比較演算手
段は、前記比較制御情報が対応する前記条件データ群に
含まれる条件データを構成するフィールドと、前記デー
タ選択手段から出力されている入力データを構成するフ
ィールドと、に対して行った比較演算の結果が、前記
「一致」「大」「小」のうちいずれに該当するかを検出
し、前記一致判定手段は、前記比較演算手段における検
出結果より、入力データと条件データとの一致判定を行
うこと、を特徴とする。
[0028] In the data coincidence detecting apparatus according to claim 8 of the present invention, in the data coincidence detecting apparatus according to claim 7, the information indicating the type of the comparison operation result is "match".
One of “large” and “small”, wherein the comparison operation means includes a field constituting condition data included in the condition data group corresponding to the comparison control information, and a field output from the data selection means. The field that constitutes the input data of the input data and the result of the comparison operation performed on the input data, which one of the “match”, “large”, and “small” is detected. It is characterized in that it is determined whether the input data matches the condition data based on the detection result of the means.

【0029】本発明の請求項9に記載のデータ一致検出
装置では、請求項7に記載のデータ一致検出装置におい
て、前記比較制御情報は、前記比較制御情報が対応する
前記条件データ群に含まれる条件データを構成するフィ
ールドと、前記データ選択手段から出力されている入力
データを構成するフィールドと、の比較演算がどのよう
なビット演算であるかを示す情報を保持しており、前記
比較演算手段は、前記比較制御情報が対応する前記条件
データ群に含まれる条件データを構成するフィールド
と、前記データ選択手段から出力されている入力データ
を構成するフィールドとの間でビット毎の演算を行い、
前記一致判定手段は、前記比較制御情報に基づき、前記
比較演算手段における比較演算結果より、入力データと
条件データの一致判定を行うこと、を特徴とする。
According to a ninth aspect of the present invention, in the data coincidence detecting apparatus according to the seventh aspect, the comparison control information is included in the condition data group corresponding to the comparison control information. The information which indicates what kind of bit operation the comparison operation is between the field constituting the condition data and the field constituting the input data outputted from the data selection means, Performs a bit-by-bit operation between a field constituting the condition data included in the condition data group corresponding to the comparison control information and a field constituting the input data output from the data selecting means,
The coincidence determining means determines a match between the input data and the condition data based on the comparison operation result of the comparison operation means based on the comparison control information.

【0030】本発明の請求項10に記載のデータ一致検
出装置では、請求項2に記載のデータ一致検出装置にお
いて、前記条件データ群1つに含まれる条件データを構
成するフィールドの総数より多くのフィールドから構成
される入力データを前記データ保持手段に保持可能と
し、前記条件記憶手段に記憶されている2つ以上の条件
データ群に1つの条件データを分割して記憶可能とし、
前記比較制御情報は、前記分割して記憶された1つの条
件データの分割記憶の状態を示す情報を含み、前記2つ
以上の条件データ群に分割記憶された1つの条件データ
の一部をなす条件データ群を構成するフィールドと比較
されるべき、前記入力データを構成するフィールドを、
前記比較制御情報に基づき前記データ選択手段にて取り
出し、前記比較演算手段は、複数回の比較演算を行う事
により、前記2つ以上の条件データ群に分割記憶されて
いる前記条件データと、前記データ選択手段にて取り出
された入力データとの比較演算を行い、前記一致判断手
段では、前記比較演算手段における複数回の比較演算の
結果より、前記比較制御情報に基づき一致判断を行うこ
と、を特徴とする。
According to a tenth aspect of the present invention, in the data coincidence detecting device according to the second aspect, the number of fields constituting the condition data included in the one condition data group is larger than the total number of fields constituting the condition data. Input data composed of fields can be held in the data holding means, and one condition data can be divided and stored in two or more condition data groups stored in the condition storage means,
The comparison control information includes information indicating a state of divisional storage of the one piece of condition data stored by division, and forms a part of one condition data divided and stored in the two or more condition data groups. A field constituting the input data, which is to be compared with a field constituting the condition data group,
The condition selection data is extracted by the data selection unit based on the comparison control information, and the comparison operation unit performs the comparison operation a plurality of times, whereby the condition data divided and stored in the two or more condition data groups, Performing a comparison operation with the input data extracted by the data selection unit, and performing the match determination based on the comparison control information based on the result of the plurality of comparison operations in the comparison operation unit. Features.

【0031】[0031]

【発明の実施の形態】まず、個々の具体的な実施の形態
を説明するのに先立ち、MPEGシステム規格に準拠し
たディジタル放送に用いられるセクションデータ形式に
ついて、またこのセクションデータ形式のデータを用い
て送られる様々な情報を必要に応じて取捨選択する為の
セクションデータ選別回路を構成する、データ一致検出
装置として動作するヘッダ一致検出回路について説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Prior to describing each specific embodiment, a section data format used for digital broadcasting conforming to the MPEG system standard will be described. A description will be given of a header match detection circuit that operates as a data match detection device and constitutes a section data selection circuit for selecting various information to be sent as necessary.

【0032】ディジタル放送では、映像情報や音声情
報、その他各種の情報はトランスポートストリームにて
伝送される。トランスポートストリームでは固定長のト
ランスポートストリームパケットが順次伝送される。図
1は、トランスポートストリームパケット、及びトラン
スポートストリームパケット内のセクションのフォーマ
ットを示している。この図1を参照しつつトランスポー
トストリームパケットとセクションの説明をする。
In digital broadcasting, video information, audio information, and other various information are transmitted in a transport stream. In the transport stream, fixed-length transport stream packets are sequentially transmitted. FIG. 1 shows a format of a transport stream packet and a section in the transport stream packet. The transport stream packet and the section will be described with reference to FIG.

【0033】図1に示すように、トランスポートストリ
ームパケット100は、パケット識別番号などからなる
トランスポートパケットヘッダ110と、パケットで伝
送されるデータ本体であるトランスポートパケットペイ
ロード120と、から構成される。
As shown in FIG. 1, the transport stream packet 100 is composed of a transport packet header 110 including a packet identification number and the like, and a transport packet payload 120 which is a data body transmitted in the packet. .

【0034】映像や音声の情報は、PESパケットとい
う形式でトランスポートパケットペイロード120部分
に格納される。
Video and audio information is stored in the transport packet payload 120 in the form of a PES packet.

【0035】また、放送や番組に付随する各種情報、例
えば番組表や暗号化の鍵情報等は、セクションという形
式でトランスポートパケットペイロード120部分に格
納される。また、1つのトランスポートストリームパケ
ット100には複数のセクション#1、#2、…を格納
出来る。
Various information associated with broadcasts and programs, such as a program guide and key information for encryption, are stored in the transport packet payload 120 in the form of sections. A plurality of sections # 1, # 2,... Can be stored in one transport stream packet 100.

【0036】このセクションのデータ形式の一例は図1
(b)に示す通りである。この図に示すように、セクシ
ョンは、テーブル識別子、テーブル長、テーブル識別子
拡張、バージョン番号、セクション番号、最終セクショ
ン番号、というようなデータの種別を表す情報と、デー
タ本体からなる。そしてテーブル識別子等を利用するこ
とにより、そのセクションのデータが必要なものかどう
かを判断することが可能である。
FIG. 1 shows an example of the data format of this section.
This is as shown in FIG. As shown in this figure, a section is composed of information indicating a data type such as a table identifier, a table length, a table identifier extension, a version number, a section number, and a last section number, and a data body. By using a table identifier or the like, it is possible to determine whether data of the section is necessary.

【0037】図2は、ディジタル放送受信機のシステム
構成と、ディジタル放送受信機の構成要素であるトラン
スポートパケット処理装置21の概略構成を示した図で
ある。そこで次に、この図を参照しつつトランスポート
パケット処理装置21の動作について説明する。
FIG. 2 is a diagram showing a system configuration of a digital broadcast receiver and a schematic configuration of a transport packet processing device 21 which is a component of the digital broadcast receiver. Next, the operation of the transport packet processing device 21 will be described with reference to FIG.

【0038】このトランスポートパケット処理装置21
に入力されたトランスポートストリームパケット100
は、まずパケット処理回路22で処理される。つまり、
トランスポートストリームパケット100は、まずパケ
ット選択回路23にて、トランスポートストリームパケ
ット毎に入力されたパケットの要・不要の判定及び選別
が行われ、次にデータ取り出し回路24で、必要と判定
され選択されたトランスポートストリームパケット10
0のトランスポートパケットペイロード120からデー
タが取り出される。
The transport packet processing device 21
Transport stream packet 100 input to
Is first processed by the packet processing circuit 22. That is,
In the transport stream packet 100, first, the packet selection circuit 23 determines whether or not the packet input for each transport stream packet is necessary or unnecessary, and selects it. Next, the data extraction circuit 24 determines that the packet is necessary and selects it. Transport stream packet 10
Data is extracted from the transport packet payload 120 of 0.

【0039】ここで、映像や音声の情報はPESパケッ
トとして取り出され、これらはメモリアクセス回路26
にてメモリ27に書き込まれ、バッファリングされる。
そして、この映像や音声の情報はAVデコーダ28にて
メモリ27から取り出され、映像や音声が再現され、表
示、出力される。
Here, video and audio information is extracted as PES packets, and these are
Is written into the memory 27 and buffered.
The video and audio information is extracted from the memory 27 by the AV decoder 28, and the video and audio are reproduced, displayed, and output.

【0040】一方、番組や放送の各種情報は、トランス
ポートパケットペイロード120からセクションとして
取り出されてセクションデータ選別回路25に入力さ
れ、ここで取出されたセクションが必要なセクションか
どうかを判定、選別される。必要と判定され選別された
セクションは、メモリアクセス回路26にてメモリ27
に書き込まれる。この後、CPU29がメモリ27から
各種情報を取り出し、受信機の動作の制御などに使用す
る。
On the other hand, various kinds of program and broadcast information are extracted as sections from the transport packet payload 120 and input to the section data selection circuit 25, where it is determined whether or not the extracted section is a necessary section. You. The section determined to be necessary and selected is stored in the memory 27 by the memory access circuit 26.
Is written to. Thereafter, the CPU 29 extracts various information from the memory 27 and uses the information for controlling the operation of the receiver.

【0041】次にセクションデータ選別回路25におけ
るセクションデータの処理について図3を参照しつつ説
明する。
Next, the processing of section data in the section data selection circuit 25 will be described with reference to FIG.

【0042】図3は、セクションデータ選別回路25の
構成を示す図である。セクションデータ選別回路25に
入力されたセクションデータは、データ遅延回路31
と、動作制御回路32と、ヘッダ一致検出回路33と、
に入力される。
FIG. 3 is a diagram showing a configuration of the section data selection circuit 25. The section data input to the section data selection circuit 25 is output to the data delay circuit 31.
An operation control circuit 32, a header match detection circuit 33,
Is input to

【0043】ヘッダ一致検出回路33は、動作制御回路
32の制御により、セクションデータのヘッダ部分のデ
ータと、入力されたセクションデータが取得すべきデー
タであるかどうかの判断基準となる条件データとを比較
して、一致検出を行い、この一致検出の結果を出力制御
回路34に出力する。ここで条件データはセクションデ
ータの選別処理に先立ち、CPU29により設定されて
いる。
Under the control of the operation control circuit 32, the header match detection circuit 33 converts the data of the header portion of the section data and the condition data serving as a criterion for determining whether or not the input section data is data to be acquired. Then, a match is detected, and the result of the match detection is output to the output control circuit 34. Here, the condition data is set by the CPU 29 prior to the section data selection processing.

【0044】出力制御回路34では、ヘッダ一致検出回
路33の出力が条件データとの一致を示している場合に
は、データ遅延回路31で遅延されていたセクションデ
ータを出力する。ヘッダ一致検出回路33の出力が条件
データとの一致を示していない場合には、出力制御回路
34はデータ遅延回路31からセクションデータを取り
出し破棄する。
The output control circuit 34 outputs the section data delayed by the data delay circuit 31 when the output of the header coincidence detection circuit 33 indicates the coincidence with the condition data. If the output of the header match detection circuit 33 does not indicate a match with the condition data, the output control circuit 34 takes out the section data from the data delay circuit 31 and discards it.

【0045】このようにして、ヘッダ一致検出回路での
セクションヘッダと条件データとの比較結果に基づき、
セクションデータの選別を行なう。
As described above, based on the comparison result between the section header and the condition data in the header match detection circuit,
Sort the section data.

【0046】ところで、セクションで伝送される各種情
報の一例として、映像や音声の暗号化の鍵情報がある。
この鍵情報がなければ受信した映像や音声を再生するこ
とができないため、これは重要な情報であると言え、そ
れ故に、この情報は必ず受信できるように、同じ内容の
情報が何度も繰り返し放送される。
Incidentally, as an example of various information transmitted in the section, there is key information for video and audio encryption.
Since it is impossible to reproduce the received video and audio without this key information, it can be said that this is important information, and therefore, the same information must be repeated many times to ensure that this information can be received. Be broadcast.

【0047】しかしこのような情報は、これを一度受信
してしまえばそれでよく、つまり同じ情報を何度も受け
取る必要はない。
However, such information only needs to be received once, that is, it is not necessary to receive the same information many times.

【0048】そこで鍵情報が格納されているセクション
は、鍵情報を受信するまでは選択して取得しなければな
らないが、鍵情報を受信してしまえばこのセクションは
不要なものとなり、受け取らないように処理する方が望
ましい。つまり、一度だけ受信すればよい情報と言え
る。
Therefore, the section in which the key information is stored must be selected and obtained until the key information is received. However, once the key information is received, this section becomes unnecessary and should not be received. It is more desirable to process. That is, it can be said that the information needs to be received only once.

【0049】ここに示した鍵情報は一例であるが、その
他の多くの情報も受信機の状態でその要否が決まる。そ
して不要な情報を捨て去ることができれば、CPUの処
理量も減少することになり、受信機の性能向上にも役立
つことになる。
Although the key information shown here is an example, the necessity of many other information is determined depending on the state of the receiver. If unnecessary information can be discarded, the amount of processing by the CPU will be reduced, which will help to improve the performance of the receiver.

【0050】そこで、本発明における、セクションデー
タ形式のデータを用いて送られる様々な情報を必要に応
じて取捨選択する為のセクションデータ選別回路を構成
する、データ一致検出装置として動作するヘッダ一致検
出回路では、CPUの処理量を減少させるべく、上述し
たような不要な情報を容易に捨て去ることを可能とした
ものである。以下、このヘッダ一致検出回路に関する実
施の形態について図面を参照しながら説明するが、ここ
で示す実施の形態はあくまでも一例であって、必ずしも
この実施の形態に限定されるものではない。
Therefore, according to the present invention, a header coincidence detection device which operates as a data coincidence detection device and constitutes a section data selection circuit for selecting various information transmitted using data in the section data format as necessary. In the circuit, unnecessary information as described above can be easily discarded in order to reduce the processing amount of the CPU. Hereinafter, an embodiment relating to the header match detection circuit will be described with reference to the drawings. However, the embodiment shown here is merely an example and is not necessarily limited to this embodiment.

【0051】(実施の形態1)まず、バイト数(フィー
ルド長)が、4バイト、8バイト、16バイト、32バ
イトの条件データを用いて、セクションデータの選別を
行なうことを可能としたヘッダ一致検出回路33aを第
1の実施の形態として、図4に示したヘッダ一致検出回
路33aの構成図を参照しつつ説明を行なう。
(Embodiment 1) First, a header match that enables selection of section data using condition data having a byte number (field length) of 4, 8, 16, or 32 bytes. The detection circuit 33a will be described as a first embodiment with reference to the configuration diagram of the header match detection circuit 33a shown in FIG.

【0052】尚、以下の説明では、条件メモリ(条件記
憶手段)の条件データ群のバイト数(フィールド長)を
16バイト、条件メモリの深さを32ワードとする。ま
た、ヘッダ一致検出回路33aはヘッダデータと条件デ
ータの一致だけでなく不一致の検出も可能なものとす
る。
In the following description, the number of bytes (field length) of the condition data group in the condition memory (condition storage means) is 16 bytes, and the depth of the condition memory is 32 words. The header match detection circuit 33a can detect not only the match between the header data and the condition data but also the mismatch.

【0053】まず、ヘッダ一致検出回路33aを構成す
るの各部材とその動作について説明する。ヘッダ一致検
出回路33aに入力したセクションデータの先頭から3
2バイト分のデータがデータ保持回路41に記憶され
る。ここで、データ保持回路41に格納されているデー
タを先頭から4バイトずつに区切り、それぞれのデータ
ブロックを順に「D1」「D2」「D3」「D4」「D
5」「D6」「D7」「D8」とする。つまり「D1」
がセクション最初の4バイトである。
First, the components constituting the header coincidence detection circuit 33a and their operations will be described. 3 from the beginning of the section data input to the header match detection circuit 33a
Two bytes of data are stored in the data holding circuit 41. Here, the data stored in the data holding circuit 41 is divided into four bytes from the beginning, and each data block is sequentially divided into “D1”, “D2”, “D3”, “D4”, and “D”.
5 "," D6 "," D7 "," D8 ". That is, "D1"
Is the first 4 bytes of the section.

【0054】一方、条件データメモリには複数の条件デ
ータ群と、それぞれの条件データ群に対応して、条件デ
ータ群の格納方法を示す情報及び比較演算方法を示す情
報を表す比較制御情報と、が予めCPU29により格納
されている。
On the other hand, in the condition data memory, a plurality of condition data groups, corresponding to each condition data group, information indicating a storage method of the condition data group and comparison control information indicating information indicating a comparison operation method; Are stored in the CPU 29 in advance.

【0055】条件データメモリ44のアドレス0には、
4バイト長の条件データが4つ格納されており(それぞ
れ「C1」「C2」「C3」「C4」とする。)、それ
を比較制御情報内の条件データ格納方法「4」として表
現している。
At address 0 of the condition data memory 44,
Four pieces of 4-byte length condition data are stored (referred to as "C1,""C2,""C3," and "C4," respectively), which are expressed as a condition data storage method "4" in the comparison control information. I have.

【0056】条件データメモリ44のアドレス1には、
8バイト長の条件データが2つ格納されており(それぞ
れ「C5」「C6」とする。)、それを比較制御情報内
の条件データ格納方法「3」として表現している。
At address 1 of the condition data memory 44,
Two pieces of condition data having a length of 8 bytes are stored (referred to as “C5” and “C6”, respectively), and are represented as a condition data storage method “3” in the comparison control information.

【0057】条件データメモリ44のアドレス2には、
16バイト長の条件データが1つ格納されており(「C
7」とする。)、それを比較制御情報内の条件データ格
納方法「2」として表現している。
At address 2 of the condition data memory 44,
One condition data having a length of 16 bytes is stored (“C
7 ". ), Which is expressed as a condition data storage method “2” in the comparison control information.

【0058】条件データメモリ44のアドレス3には、
32バイト長の条件データの上位16バイトが格納され
ており(「C8−1」とする。)、それを比較制御情報
内の条件データ格納方法「0」として表現している。
At address 3 of the condition data memory 44,
The upper 16 bytes of the 32-byte condition data are stored (referred to as "C8-1"), and are represented as the condition data storage method "0" in the comparison control information.

【0059】条件データメモリ44のアドレス4には、
32バイト長の条件データの下位16バイトが格納され
ており(「C8−2」とする。)、それを比較制御情報
内の条件データ格納方法「1」として表現している。
At address 4 of the condition data memory 44,
The lower 16 bytes of the 32-byte condition data are stored (referred to as "C8-2"), and are represented as the condition data storage method "1" in the comparison control information.

【0060】データ選択回路421には、データ保持回
路41から出力されるセクションデータ「D1」「D
2」「D4」「D8」が入力されており、条件メモリ4
4から出力される比較制御情報の条件データ格納方法に
応じて、表1に示すように入力データを選択し出力す
る。
The data selection circuit 421 has section data “D1” and “D” output from the data holding circuit 41.
2 ”,“ D4 ”and“ D8 ”are input, and the condition memory 4
4 selects and outputs the input data as shown in Table 1 in accordance with the method of storing the condition data of the comparison control information output from 4.

【表1】 [Table 1]

【0061】データ選択回路422には、データ保持回
路41から出力されるセクションデータ「D1」「D
3」「D7」が入力されており、条件メモリ44から出
力される比較制御情報の条件データ格納方法に応じて、
表2に示すように入力データを選択し出力する。
The data selection circuit 422 includes the section data “D1” and “D” output from the data holding circuit 41.
3 ”and“ D7 ”are input, and according to the condition data storage method of the comparison control information output from the condition memory 44,
Input data is selected and output as shown in Table 2.

【表2】 [Table 2]

【0062】データ選択回路423には、データ保持回
路41から出力されるセクションデータ「D1」「D
2」「D6」が入力されており、条件メモリ44から出
力される比較制御情報の条件データ格納方法に応じて、
表3に示すように入力データを選択し出力する。
The data selection circuit 423 includes the section data “D1” and “D” output from the data holding circuit 41.
2 ”and“ D6 ”are input, and according to the condition data storage method of the comparison control information output from the condition memory 44,
Input data is selected and output as shown in Table 3.

【表3】 [Table 3]

【0063】データ選択回路424にはデータ保持回路
41から出力されるセクションデータ「D1」「D5」
が入力されており、条件メモリ44から出力される比較
制御情報の条件データ格納方法に応じて、表4に示すよ
うに入力データを選択し出力する。
The section data "D1" and "D5" output from the data holding circuit 41 are provided to the data selection circuit 424.
The input data is selected and output as shown in Table 4 in accordance with the method of storing the condition data of the comparison control information output from the condition memory 44.

【表4】 [Table 4]

【0064】比較演算回路431はデータ選択回路42
1の出力データと条件データの比較を行なう。同様に、
比較演算回路432はデータ選択回路422の出力デー
タと条件データの比較を、比較演算回路433はデータ
選択回路423の出力データと条件データの比較を、比
較演算回路434はデータ選択回路424の出力データ
と条件データの比較を行なう。
The comparison operation circuit 431 includes the data selection circuit 42
1 is compared with the condition data. Similarly,
The comparison operation circuit 432 compares the output data of the data selection circuit 422 with the condition data, the comparison operation circuit 433 compares the output data of the data selection circuit 423 with the condition data, and the comparison operation circuit 434 outputs the output data of the data selection circuit 424. And the condition data are compared.

【0065】ここで、比較演算回路431、432、4
33、434の回路構成を図5に示し、この図を参照し
つつ各比較演算回路の構成及び動作について説明する。
各比較演算回路は、条件メモリ44より比較制御情報内
の比較演算を示す情報の内、各比較演算回路に対する演
算方法指定情報を入力している。
Here, the comparison operation circuits 431, 432, 4
FIG. 5 shows a circuit configuration of each of the comparison operation circuits 33 and 434. The configuration and operation of each comparison operation circuit will be described with reference to FIG.
Each comparison operation circuit inputs operation method designation information for each comparison operation circuit from the information indicating the comparison operation in the comparison control information from the condition memory 44.

【0066】演算方法指定情報は4ビットから構成され
ており、各ビットは比較演算回路で比較される4バイト
のそれぞれの比較方法を指定する。演算方法指定情報が
「0」の場合には、入力データと条件データが一致する
ことを検出し「1」を出力し、演算方法指定情報が
「1」の場合には、入力データと条件データが不一致で
あることを検出し「1」を出力する。
The operation method designation information is composed of 4 bits, and each bit designates a comparison method of 4 bytes to be compared by the comparison operation circuit. When the operation method designation information is "0", it is detected that the input data and the condition data match, and "1" is output. When the operation method designation information is "1", the input data and the condition data are outputted. Are not matched and "1" is output.

【0067】以上のように動作する各比較演算回路から
出力された比較演算結果は一致判断回路45に入力され
る。
The comparison operation result output from each of the comparison operation circuits operating as described above is input to the coincidence determination circuit 45.

【0068】一致判断回路45には、条件メモリ44よ
り出力される比較制御情報内の条件データの格納方法を
示す情報も入力される。これらの入力に基づき、一致判
断回路45は、表5に従い入力データと条件データが一
致しているかどうかを判断する。尚、ここでは比較演算
回路431、432、433、434から出力される比
較演算結果をそれぞれ「R1」「R2」「R3」「R
4」と表記することとする。
Information indicating the method of storing the condition data in the comparison control information output from the condition memory 44 is also input to the coincidence determination circuit 45. Based on these inputs, the match determination circuit 45 determines whether or not the input data matches the condition data according to Table 5. Here, the comparison operation results output from the comparison operation circuits 431, 432, 433, and 434 are represented by “R1,” “R2,” “R3,” and “R,” respectively.
4 ".

【表5】 [Table 5]

【0069】次に、以上のような部材で構成されるヘッ
ダ一致検出回路33aの動作について図面を参照しつつ
説明する。セクションデータが入力されると、このセク
ションデータはデータ保持回路41に格納される。
Next, the operation of the header coincidence detecting circuit 33a composed of the above members will be described with reference to the drawings. When the section data is input, the section data is stored in the data holding circuit 41.

【0070】条件メモリ44から、まずアドレス0に格
納されている条件データ群(「C1」「C2」「C3」
「C4」)と比較制御情報を読み出す。ここでは条件デ
ータの格納方法「4」が指定されているため、データ選
択回路421、422、423、424の全てから「D
1」、即ちセクションデータの先頭からの4バイト分の
フィールドが出力される。
From the condition memory 44, first, the condition data groups (“C1,” “C2,” “C3,”
"C4") and the comparison control information are read. Here, since the storage method “4” of the condition data is specified, “D” is selected from all of the data selection circuits 421, 422, 423, and 424.
1 ", that is, a 4-byte field from the beginning of the section data is output.

【0071】次に、比較演算回路431は「D1」と条
件データ「C1」の比較を行ない、一致していれば「R
1」として「1」を一致判断回路へ出力する。同様に比
較演算回路432は、「D1」と条件データ「C2」の
比較を行ない、その結果を「R2」として出力する。同
様に比較演算回路433は、「D1」と条件データ「C
3」の比較を行ない、その結果を「R3」として出力す
る。同様に比較演算回路434は、「D1」と条件デー
タ「C4」の比較を行ない、その結果を「R4」として
出力する。
Next, the comparison operation circuit 431 compares "D1" with the condition data "C1".
"1" is output to the match determination circuit as "1". Similarly, the comparison operation circuit 432 compares “D1” with the condition data “C2”, and outputs the result as “R2”. Similarly, the comparison operation circuit 433 sets “D1” and the condition data “C
3 ", and outputs the result as" R3 ". Similarly, the comparison operation circuit 434 compares “D1” with the condition data “C4”, and outputs the result as “R4”.

【0072】一致判断回路45は、上記の「R1」「R
2」「R3」「R4」の内、1つでも一致を示している
場合に、セクションヘッダと条件が一致したと判断す
る。
The coincidence determination circuit 45 determines whether the above “R1” “R
If at least one of “2”, “R3” and “R4” indicates a match, it is determined that the section header and the condition match.

【0073】次に、条件メモリ44のアドレス0の条件
データ群に一致する条件データがなかった場合、条件メ
モリ44から、アドレス1に格納されている条件データ
群(「C5」「C6」)と比較制御情報を読み出す。こ
こでは、条件データの格納方法「3」が指定されている
ため、データ選択回路421、423からは「D2」
が、データ選択回路422、424からは「D1」が出
力される。
Next, if no condition data matches the condition data group at the address 0 of the condition memory 44, the condition memory 44 stores the condition data groups (“C5” and “C6”) stored at the address 1 from the condition memory 44. Read the comparison control information. Here, since the storage method “3” of the condition data is specified, “D2” is output from the data selection circuits 421 and 423.
However, “D1” is output from the data selection circuits 422 and 424.

【0074】比較演算回路431、432では、「D
1」「D2」、即ち入力セクションデータの先頭から8
バイト分のフィールドと、条件データ「C5」の比較が
行なわれ、その結果が「R1」「R2」として一致判断
回路45へ入力される。「R1」「R2」が共に「1」
の場合、入力データ「D1」「D2」と条件データ「C
5」が一致したことを示す。
In the comparison operation circuits 431 and 432, "D
1 ”,“ D2 ”, that is, 8 from the beginning of the input section data
The field of bytes and the condition data “C5” are compared, and the result is input to the match determination circuit 45 as “R1” and “R2”. "R1" and "R2" are both "1"
, The input data “D1” and “D2” and the condition data “C
"5" indicates a match.

【0075】比較演算回路433、434では、「D
1」「D2」と、条件データ「C6」の比較が行なわ
れ、結果が「R3」「R4」として一致判断回路45へ
入力される。「R3」「R4」が共に「1」の場合、入
力データ「D1」「D2」と条件データ「C6」が一致
したことを示す。
In the comparison operation circuits 433 and 434, "D
"1" and "D2" are compared with the condition data "C6", and the result is input to the match determination circuit 45 as "R3" and "R4". When both “R3” and “R4” are “1”, it indicates that the input data “D1” and “D2” match the condition data “C6”.

【0076】そして一致判断回路45では、入力データ
「D1」「D2」と条件データ「C5」又は「C6」の
少なくともどちらか1つが一致した場合に、セクション
ヘッダと条件が一致したと判断する。
When the input data "D1" and "D2" match at least one of the condition data "C5" or "C6", the match determination circuit 45 determines that the section header and the condition match.

【0077】次に、条件メモリ44のアドレス1の条件
データ群に一致する条件データがなかった場合、条件メ
モリ44から、アドレス2に格納されている条件データ
群(「C7」)と比較制御情報を読み出す。ここでは条
件データの格納方法「2」が指定されているため、デー
タ選択回路421、422、423、424から「D
4」「D3」「D2」「D1」が出力される。
If no condition data matches the condition data group at address 1 in the condition memory 44, the condition data group (“C7”) stored at address 2 is compared with the comparison control information from the condition memory 44. Is read. Here, since the condition data storage method “2” is specified, the data selection circuits 421, 422, 423, and 424 output “D”.
4, "D3", "D2", and "D1" are output.

【0078】比較演算回路431、432、433、4
34により「D1」「D2」「D3」「D4」即ち入力
セクションデータの先頭から16バイト分のフィールド
と、条件データ「C7」の比較が行なわれ、その結果が
「R1」「R2」「R3」「R4」として一致判断回路
45へ入力される。「R1」「R2」「R3」「R4」
が共に「1」の場合、入力データ「D1」「D2」「D
3」「D4」と条件データ「C7」が一致したことを示
し、この場合に一致判断回路45はセクションヘッダと
条件が一致したと判断する。
Comparison operation circuits 431, 432, 433, 4
34, a comparison is made between "D1", "D2", "D3", and "D4", that is, the field of 16 bytes from the head of the input section data and the condition data "C7", and the result is "R1,""R2,""R3""R4" is input to the match determination circuit 45. "R1""R2""R3""R4"
Are “1”, the input data “D1”, “D2”, “D”
3 "D4" and the condition data "C7" match. In this case, the match determination circuit 45 determines that the section header and the condition match.

【0079】条件メモリ44のアドレス2の条件データ
群に一致する条件データがなかった場合、条件メモリ4
4から、アドレス3に格納されている条件データ群
(「C8−1」)と比較制御情報を読み出す。ここでは
条件データの格納方法「0」が指定されているため、デ
ータ選択回路421、422、423、424から「D
4」「D3」「D2」「D1」が出力される。
If no condition data matches the condition data group at address 2 of the condition memory 44, the condition memory 4
From 4, the condition data group (“C8-1”) and comparison control information stored at address 3 are read. Here, since the condition data storage method “0” is designated, the data selection circuits 421, 422, 423, and 424 send “D”
4, "D3", "D2", and "D1" are output.

【0080】比較演算回路431、432、433、4
34により「D1」「D2」「D3」「D4」、即ち入
力セクションデータの先頭から16バイト分のフィール
ドと、条件データ「C8−1」との比較が行なわれ、そ
の結果が「R1」「R2」「R3」「R4」として一致
判断回路45へ入力される。「R1」「R2」「R3」
「R4」が共に「1」の場合、入力データ「D1」「D
2」「D3」「D4」と条件データ「C8−1」が一致
したことを示し、この場合に一致判断回路45はC8−
1が一致したことを記憶する。
Comparison operation circuits 431, 432, 433, 4
34, a comparison is made between "D1", "D2", "D3", and "D4", that is, the field of 16 bytes from the beginning of the input section data, and the condition data "C8-1". R2, R3, and R4 are input to the match determination circuit 45. "R1""R2""R3"
When both “R4” are “1”, the input data “D1” and “D
2 ”,“ D3 ”,“ D4 ”and the condition data“ C8-1 ”match. In this case, the match determination circuit 45
Remember that 1 matches.

【0081】そして引き続き、条件メモリ44から、ア
ドレス4に格納されている条件データ群(「C8−
2」)と比較制御情報を読み出す。ここでは条件データ
の格納方法「1」が指定されているため、データ選択回
路421、422、423、424から「D8」「D
7」「D6」「D5」が出力される。
Subsequently, from the condition memory 44, the condition data group ("C8-
2)) and read out the comparison control information. In this case, since the condition data storage method “1” is designated, the data selection circuits 421, 422, 423, and 424 transmit “D8” and “D
7, "D6" and "D5" are output.

【0082】比較演算回路431、432、433、4
34により「D8」「D7」「D6」「D5」、即ち入
力セクションデータの17バイト目から32バイト目ま
でのフィールドと、条件データ「C8−2」の比較が行
なわれ、その結果が「R1」「R2」「R3」「R4」
として一致判断回路45へ入力される。「R1」「R
2」「R3」「R4」が共に「1」であり、一致判断回
路45が「C8−1」との比較結果が一致であったこと
を記憶していた場合、入力データ「D1」「D2」「D
3」「D4」「D5」「D6」「D7」「D8」と、条
件データ「C8−1」「C8−2」が一致したことを示
し、セクションヘッダと条件が一致したと判断する。
Comparison operation circuits 431, 432, 433, 4
34, the condition data "C8-2" is compared with "D8", "D7", "D6", and "D5", that is, the field from the 17th byte to the 32nd byte of the input section data. "R2""R3""R4"
Is input to the match determination circuit 45. "R1""R
If both "2", "R3", and "R4" are "1" and the match determination circuit 45 stores that the comparison result with "C8-1" matches, the input data "D1" and "D2" ”“ D
3 ”,“ D4 ”,“ D5 ”,“ D6 ”,“ D7 ”,“ D8 ”and the condition data“ C8-1 ”and“ C8-2 ”match, and it is determined that the section header and the condition match.

【0083】ここで、比較演算方法の制御について説明
する。条件メモリ44のアドレス0の条件データ「C
1」に対応する比較制御情報の比較演算方法の指定が
「0010(二進数)」であったとする。これは、「C
1」と「D1」を比較する際に、1、2、4バイト目
は、「D1」の対応するバイトと条件データが一致して
おり、3バイト目は「D1」の3バイト目と不一致であ
ることを検出する演算を指定する。
Here, the control of the comparison operation method will be described. The condition data “C” at address 0 of the condition memory 44
It is assumed that the designation of the comparison operation method of the comparison control information corresponding to “1” is “0010 (binary number)”. This is "C
When comparing “1” with “D1”, the first, second and fourth bytes have the same condition data as the corresponding byte of “D1”, and the third byte does not match with the third byte of “D1” Specify the operation to detect that

【0084】図5に示すように、条件データのバイトと
入力データのバイトが一致している場合に、EXOR5
11,512,513,514からは「0」が出力され
る。比較演算方法が「0」の、EXOR521、52
2、534の出力はEXOR511,512,514と
同一であるが、比較演算方法が「1」のEXOR523
の出力はEXOR513の出力を論理反転したものとな
る。即ちEXOR513,EXOR523により不一致
を検出できることになる。
As shown in FIG. 5, when the byte of the condition data matches the byte of the input data, EXOR5
“0” is output from 11, 512, 513, and 514. EXOR 521, 52 whose comparison operation method is “0”
The output of EXOR 523 is the same as that of EXOR 511, 512, 514, but the comparison operation method is “1”.
Is the logical inversion of the output of EXOR 513. That is, a mismatch can be detected by the EXOR 513 and the EXOR 523.

【0085】そして入力データの各バイトの条件データ
との比較結果がEXOR521,522,523,52
4から出力されるので、これに対してNOR演算を行な
うことで、条件データと入力データとの比較演算結果が
得られる。
EXOR 521, 522, 523, and 52 compare the input data with the condition data of each byte.
4, the result of the comparison operation between the condition data and the input data is obtained by performing a NOR operation on the output.

【0086】この比較演算回路を用い、条件メモリ44
に比較演算方法の指定情報を格納することにより、条件
データと入力セクションデータの一致だけでなく、指定
バイト位置では不一致であることを検出することが可能
となる。
Using this comparison operation circuit, the condition memory 44
By storing the specification information of the comparison operation method, it is possible to detect not only the coincidence of the condition data and the input section data but also that they do not coincide at the specified byte position.

【0087】次に、条件メモリ44の容量について説明
する。従来技術で説明した条件データの組合せ、即ち、
16バイト長の条件データが4種類、8バイト長の条件
データが20種類、4バイト長の条件データが8種類、
とした場合、これを上述の第1の実施の形態における条
件メモリ44に設定する場合、8バイト長の条件データ
は2つを1条件データ群に格納でき、4バイト長の条件
データは4つを1条件データ群に格納できる。
Next, the capacity of the condition memory 44 will be described. Combination of condition data described in the prior art, ie,
Four types of 16-byte length condition data, 20 types of 8-byte length condition data, eight types of 4-byte length condition data,
When this is set in the condition memory 44 in the above-described first embodiment, two 8-byte condition data can be stored in one condition data group, and four 4-byte condition data are four. Can be stored in one condition data group.

【0088】その結果、上記の条件データは、16個の
16バイト長の条件データ群に格納できる。即ち256
バイトの条件メモリ容量で、全ての条件データを格納で
きることになり、従来の技術と比較して2倍のメモリ使
用効率となる。
As a result, the above condition data can be stored in 16 condition data groups having a length of 16 bytes. That is, 256
All the condition data can be stored with the condition memory capacity of bytes, and the memory use efficiency is twice that of the conventional technology.

【0089】以上のように、本実施の形態で示したヘッ
ダ一致検出回路を用いることにより、様々な長さの条件
データが混在する時に、これらを効率よく条件メモリに
格納することができるため、条件メモリの総容量を削減
することができる。言い換えれば、同一の条件メモリ容
量の場合は、より多くの条件データを設定することがで
きるため、より柔軟な条件による一致検出処理が可能と
なる。また、条件データ長が短い場合には、入力データ
との比較を複数の条件データに関して同時に行なえ、さ
らに条件データと入力データの一致を検出した時点でそ
れ以降の条件データとの比較を行なう必要がないため、
一致検出処理に要する時間が短くなる。また、条件メモ
リに比較演算の種類を指定しこれで比較演算回路を制御
することにより、単純な一致検出だけでなく不一致検出
など比較演算の種類を多様化できこの結果、柔軟な条件
による一致検出処理が可能となる。
As described above, by using the header match detection circuit shown in the present embodiment, when condition data of various lengths are mixed, they can be efficiently stored in the condition memory. The total capacity of the condition memory can be reduced. In other words, in the case of the same condition memory capacity, more condition data can be set, so that the match detection processing under more flexible conditions can be performed. When the condition data length is short, it is necessary to compare the input data with a plurality of condition data at the same time, and to compare the condition data with the subsequent condition data when a match between the condition data and the input data is detected. Because there is no
The time required for the match detection processing is reduced. Also, by specifying the type of comparison operation in the condition memory and controlling the comparison operation circuit with this, it is possible to diversify the types of comparison operations such as not only simple match detection but also mismatch detection, and as a result, match detection with flexible conditions Processing becomes possible.

【0090】なお、本実施の形態では、比較演算の種類
として一致検出と不一致検出を説明したが、これに限ら
れるものではなく、大小比較やビット論理演算、算術演
算など自由な演算を用いることができる。また、条件デ
ータ群のバイト数を16バイトとしたがこれに限られる
ものではなく、比較演算処理に要する時間や回路規模に
より自由に設定できる。また、条件データのサイズを
4、8、16、32バイトの場合について説明したが、
これに限られるものではない。
In this embodiment, the coincidence detection and the non-coincidence detection are described as the types of comparison operations. However, the present invention is not limited to this, and free operations such as magnitude comparison, bit logic operation, and arithmetic operation may be used. Can be. Although the number of bytes of the condition data group is set to 16 bytes, the present invention is not limited to this. The number of bytes can be set freely according to the time required for the comparison operation processing and the circuit scale. Also, the case where the size of the condition data is 4, 8, 16, and 32 bytes has been described.
However, it is not limited to this.

【0091】(実施の形態2)次に、ヘッダ一致検出回
路を構成する条件データ内に、セクションデータと比較
する必要のないフィールドに関して、条件データ内に、
このフィールドの条件を設定しなくともよいように構成
したヘッダ一致検出回路33bを、第2の実施の形態と
して、図面を参照しつつ説明する。
(Embodiment 2) Next, in the condition data constituting the header coincidence detection circuit, fields which do not need to be compared with the section data are described in the condition data.
A description will be given, with reference to the drawings, of a second embodiment of the header match detection circuit 33b configured so that the condition of this field need not be set.

【0092】図6は本実施の形態に係るヘッダ一致検出
回路33bの構成図である。まず、このヘッダ一致検出
回路33bに入力したセクションデータの先頭から16
バイト分のフィールドがデータ保持回路61に記憶され
る。ここで、データ保持回路61に格納されているデー
タの1バイト分のフィールドを、先頭から醇に「B1」
「B2」…「B16」と呼ぶことにする。
FIG. 6 is a configuration diagram of the header match detection circuit 33b according to the present embodiment. First, 16 bits from the head of the section data input to the header match detection circuit 33b.
Byte fields are stored in the data holding circuit 61. Here, the 1-byte field of the data stored in the data holding circuit 61 is changed from the beginning to “B1”.
"B2"... "B16".

【0093】セクションデータのヘッダの2バイト目、
及び3バイト目には、セクション長が格納されており、
一般にこのフィールドはセクションデータの選別を行う
際の条件とする必要が無い。
The second byte of the section data header,
And the third byte stores the section length.
Generally, this field does not need to be a condition for selecting section data.

【0094】例えば、セクションデータの選別をセクシ
ョンヘッダの1バイト目のテーブル識別子、4バイト目
及び5バイト目のテーブル識別子拡張、6バイト目のバ
ージョン番号に対応する条件データとの一致検出により
行うことを考える。
For example, the selection of section data is performed by the table identifier of the first byte of the section header, the extension of the table identifier of the fourth byte and the fifth byte, and the detection of coincidence with the condition data corresponding to the version number of the sixth byte. think of.

【0095】第1の実施の形態に記載したヘッダ一致検
出装置33aでは、1バイト目から6バイト目までの6
バイト分の条件データを設定する必要があった。しかし
一致検出の為に必要な条件データは、テーブル識別子、
テーブル識別子拡張、バージョン番号の4バイトのみで
ある。そこで、一致検出のために必要な4バイトの条件
だけを条件メモリ64に設定することにより、セクショ
ンのヘッダの一致検出を行える回路について、以下説明
する。
In the header match detecting device 33a described in the first embodiment, the six bytes from the first byte to the sixth byte
It was necessary to set the condition data for bytes. However, the condition data necessary for the match detection is a table identifier,
Only 4 bytes for table identifier extension and version number. Therefore, a circuit that can detect the coincidence of the header of the section by setting only the 4-byte condition necessary for the coincidence detection in the condition memory 64 will be described below.

【0096】ここでは、この条件を条件メモリ64のア
ドレス0の「C1」に設定し、一致検出する場合につい
て説明する。条件メモリ64の比較制御情報には、第1
の実施の形態で示したものと同様の条件データの格納方
法を表すデータと、データ保持回路61から出力される
セクションデータの選択を行なうバイト選択回路62
0、621、…、62Fの制御情報(以下、「データ選
択情報」とする。)を含む。
Here, a case where this condition is set to “C1” at address 0 of the condition memory 64 and a match is detected will be described. The comparison control information in the condition memory 64 includes the first
And a byte selection circuit 62 for selecting the section data output from the data holding circuit 61.
, 62F (hereinafter, referred to as “data selection information”).

【0097】バイト選択回路620〜62Fは、データ
保持回路61から出力される16バイトから、データ選
択情報に従い1バイトを選択出力する回路である。
The byte selection circuits 620 to 62F are circuits for selectively outputting one byte from 16 bytes output from the data holding circuit 61 in accordance with data selection information.

【0098】比較演算回路630〜63Fは、バイト選
択回路620〜62Fから出力される各バイトデータ
と、条件メモリと、から出力される16バイトの条件デ
ータを比較し、これらが一致しているかどうかを、比較
結果R1〜R16として一致判断回路に出力する。
The comparison operation circuits 630 to 63F compare each byte data output from the byte selection circuits 620 to 62F with 16-byte condition data output from the condition memory, and determine whether or not they match. As the comparison results R1 to R16.

【0099】一致判断回路は、条件データの格納方法の
情報に基づき、次に示す表6に従い条件データとセクシ
ョンヘッダの一致を判断する。
The match determination circuit determines the match between the condition data and the section header according to the following Table 6 based on the information on the condition data storage method.

【表6】 [Table 6]

【0100】以下、上記の条件が条件メモリ64の条件
データ「C1」に設定されている場合の一致検出動作に
ついて説明する。セクションデータがデータ一致検出回
路33b入力されると、このセクションデータはまずデ
ータ保持回路61に格納される。
A description will now be given of the coincidence detecting operation when the above condition is set in the condition data "C1" of the condition memory 64. When the section data is input to the data coincidence detection circuit 33b, the section data is first stored in the data holding circuit 61.

【0101】条件メモリのアドレス0の条件データ「C
1」を構成する4バイトのうち、1バイト目のフィール
ドにはテーブル識別子の選別条件が、2バイト目のフィ
ールドにはテーブル識別子拡張1の選別条件が、3バイ
ト目のフィールドにはテーブル識別子拡張2の選別条件
が、4バイト目のフィールドにはバージョン番号の選別
条件が、それぞれ一致検出に先立ちCPU29により設
定される。
The condition data “C” at address 0 of the condition memory
1 ", the first byte field has a table identifier selection condition, the second byte field has a table identifier extension 1 selection condition, and the third byte field has a table identifier extension condition. The selection condition of No. 2 is set in the field of the fourth byte by the CPU 29 prior to the match detection.

【0102】セクションデータの2、3バイト目は選別
条件がないため、条件メモリには設定しない。2、3バ
イト目のフィールドが省略されていることを表すため
に、条件メモリアドレス0の比較制御情報のデータ選択
情報を、S1=0、S2=3、S3=4、S4=5、と
設定する。
Since the second and third bytes of the section data have no selection condition, they are not set in the condition memory. To indicate that the second and third byte fields are omitted, the data selection information of the comparison control information of the condition memory address 0 is set as S1 = 0, S2 = 3, S3 = 4, S4 = 5. I do.

【0103】この設定は、比較演算回路630に入力さ
れるデータとして、データ保持回路61に格納されてい
るデータ「B1」、即ちセクションヘッダの先頭であり
又テーブル識別子にあたるデータ、をバイト選択回路6
20で選択し、比較演算回路631に入力されるデータ
として、データ保持回路61に格納されているデータ
「B4」、即ちセクションヘッダの4バイト目であり又
テーブル識別子拡張1バイト目にあたるデータ、をバイ
ト選択回路621で選択し、比較演算回路632に入力
されるデータとして、データ保持回路61に格納されて
いるデータ「B5」、即ちセクションヘッダの5バイト
目であり又テーブル識別子拡張2バイト目にあたるデー
タ、をバイト選択回路622で選択し、比較演算回路6
33に入力されるデータとして、データ保持回路61に
格納されているデータ「B6」、即ちセクションヘッダ
の6バイト目でありバージョン番号にあたるデータ、を
バイト選択回路623で選択することを指定する。
In this setting, the data "B1" stored in the data holding circuit 61, that is, the data which is the head of the section header and corresponds to the table identifier, is input to the comparison operation circuit 630 as the byte selection circuit 6
The data “B4” stored in the data holding circuit 61, that is, the data corresponding to the fourth byte of the section header and the first byte of the table identifier extension, is selected as the data selected at 20 and input to the comparison operation circuit 631. As data selected by the byte selection circuit 621 and input to the comparison operation circuit 632, the data "B5" stored in the data holding circuit 61, that is, the fifth byte of the section header and the second byte of the table identifier extension. Data is selected by the byte selection circuit 622 and the comparison operation circuit 6
As the data to be input to 33, it is specified that the data “B6” stored in the data holding circuit 61, that is, the data corresponding to the sixth byte of the section header and corresponding to the version number is selected by the byte selection circuit 623.

【0104】これにより、条件データ「C1」に設定さ
れている条件と比較すべき入力データが選択され、選択
された入力データが比較演算回路630〜633に入力
される。
As a result, input data to be compared with the condition set in condition data "C1" is selected, and the selected input data is input to comparison operation circuits 630-633.

【0105】比較演算回路630〜633はそれぞれ条
件と入力データを比較し結果を「R1」「R2」「R
3」「R4」として一致判断回路65に入力する。
The comparison operation circuits 630 to 633 compare the conditions with the input data, and compare the results with “R1”, “R2”, “R”.
3 "and" R4 "are input to the match determination circuit 65.

【0106】条件データ「C1」に設定された条件と、
入力データの「B1」「B4」「B5」「B6」が一致
している場合、「R1」「R2」「R3」「R4」が全
て「1」となり、先に示した表6に従い、一致判断回路
65は、条件データと入力データが一致していることを
検出できる。
The condition set in condition data “C1”
When the input data “B1”, “B4”, “B5”, and “B6” match, “R1”, “R2”, “R3”, and “R4” are all “1”. The determination circuit 65 can detect that the condition data matches the input data.

【0107】以上のように、本実施の形態におけるヘッ
ダ一致検出回路33bを用いることにより、条件データ
中に一致検出する必要のないフィールドを含む条件を設
定する際に、この条件のために条件メモリを無駄に消費
することがなくなるため、条件メモリの総容量を削減す
ることができる。さらに、条件メモリに設定する条件デ
ータのサイズが小さくなると同時に一致検出可能な条件
データ数が増え、結果として一致検出の処理速度を向上
することができる。
As described above, by using the header match detection circuit 33b in the present embodiment, when setting conditions including a field that does not need to be detected in the condition data, the condition memory Is not wasted, and the total capacity of the condition memory can be reduced. Further, the size of the condition data set in the condition memory is reduced, and at the same time, the number of condition data that can be matched is increased, and as a result, the processing speed of the match detection can be improved.

【0108】なお上述の説明では、一致検出不要な条件
を省略した条件データ長を4バイトとしたが、これに限
られるものではなく、任意の条件データ長にすることも
できる。これは本実施の形態における条件メモリ64内
の比較制御情報のデータ選択情報が、入力データの各バ
イトをどの比較演算回路で比較演算するか全く自由に設
定できるためであり、条件データの条件データ群内の配
置は自由となる。
In the above description, the condition data length in which the condition that does not require the coincidence detection is omitted is 4 bytes. However, the condition data length is not limited to this, and may be an arbitrary condition data length. This is because the data selection information of the comparison control information in the condition memory 64 according to the present embodiment can completely set any comparison operation circuit for each byte of the input data. The arrangement within the group is free.

【0109】また本実施の形態では、データ保持回路6
1は16バイトのデータを保持できるが、これに限られ
るものではない。さらに、バイト選択回路や比較演算回
路の数も16に限定されるものではない。
In the present embodiment, the data holding circuit 6
1 can hold 16 bytes of data, but is not limited to this. Further, the number of byte selection circuits and comparison operation circuits is not limited to 16.

【0110】[0110]

【発明の効果】本発明の請求項1にかかるデータ一致検
出装置は、データ保持手段と、条件記憶手段と、データ
選択手段と、比較演算手段と、一致判断手段とを備え、
1つ以上の条件データからなる条件データ群を条件記憶
手段から読み出し、一方、条件記憶手段から読み出され
た条件データと比較されるべき入力データをデータ保持
手段からデータ選択手段にて選択して取り出し、選択さ
れた入力データと1つ以上の条件データとの比較を同時
に行うようにしたので、複数の条件データと入力データ
の比較を並列で行うことが可能となり、入力データと条
件データの一致検出を高速に処理できる。また、条件デ
ータのサイズが小さい場合に多くの条件を1つの条件デ
ータ群に格納することが可能となり、様々なサイズの条
件データが同時に存在する際にも1つの条件データ群内
に複数の条件データを格納することが可能となり、この
結果条件記憶手段の記憶容量を削減することができる。
さらに、条件データのサイズが小さい場合にはより多く
の条件データを条件記憶手段に設定することができる。
According to a first aspect of the present invention, there is provided a data coincidence detecting apparatus comprising: a data holding unit; a condition storing unit; a data selecting unit; a comparing operation unit;
A condition data group consisting of one or more condition data is read from the condition storage means, and input data to be compared with the condition data read from the condition storage means is selected from the data holding means by the data selection means. Since the extracted and selected input data are compared with one or more condition data at the same time, it is possible to compare a plurality of condition data with the input data in parallel, and to match the input data with the condition data. Detection can be processed at high speed. Further, when the size of the condition data is small, many conditions can be stored in one condition data group. Even when condition data of various sizes exist simultaneously, a plurality of conditions can be stored in one condition data group. Data can be stored, and as a result, the storage capacity of the condition storage means can be reduced.
Further, when the size of the condition data is small, more condition data can be set in the condition storage means.

【0111】本発明の請求項2にかかるデータ一致検出
装置は、請求項1に記載のデータ一致検出装置におい
て、条件記憶手段に記憶されている1つ以上の条件デー
タ群のそれぞれに対応して、それぞれの条件データ群が
格納している条件データと入力データの比較演算を制御
するための情報である比較制御情報を記憶しており、比
較制御情報に基づき比較演算を行う比較演算手段と、比
較制御情報に基づき一致判断を行う一致判断手段を備
え、条件データ群に格納されている条件データの数やサ
イズ、比較演算の方法などを比較制御情報として各条件
データ群毎に設定可能としておき、比較演算手段と一致
判断手段は、比較制御情報に基づき条件データ群と入力
データとの比較演算を行い、一致検出の判断を行うよう
にしたので、条件記憶手段より条件データ群を読み出す
と同時にこの条件データ群に付与されている比較制御情
報を読み出し、条件データ群に格納されてる条件データ
の形式に応じて入力データと条件データの比較演算を行
うことが可能となり、また条件データの形式に応じて一
致判断を行うことが可能となる。この結果、各条件デー
タ群毎に様々な形式で条件データを格納した場合にも適
切な一致検出処理を行うことができる。
According to a second aspect of the present invention, there is provided a data coincidence detecting apparatus according to the first aspect, which corresponds to each of one or more condition data groups stored in the condition storage means. A comparison operation means for storing comparison control information that is information for controlling a comparison operation between the condition data stored in each condition data group and the input data, and performing a comparison operation based on the comparison control information; A match determining means for performing a match determination based on the comparison control information is provided, and the number and size of the condition data stored in the condition data group, a comparison calculation method, and the like can be set as comparison control information for each condition data group. The comparison operation means and the coincidence determination means perform a comparison operation between the condition data group and the input data based on the comparison control information to determine the coincidence detection. At the same time as reading the condition data group from the stage, the comparison control information assigned to the condition data group is read, and the comparison operation between the input data and the condition data is performed according to the format of the condition data stored in the condition data group. It becomes possible, and it is possible to make a match determination according to the format of the condition data. As a result, even when condition data is stored in various formats for each condition data group, an appropriate match detection process can be performed.

【0112】本発明の請求項3にかかるデータ一致検出
装置は、請求項1又は請求項2に記載のデータ一致検出
装置において、上記条件記憶手段に格納されているそれ
ぞれの比較制御情報は、上記条件データ群のそれぞれに
格納されている上記条件データの格納方法を表している
ので、1つの条件データ群に格納される条件データの個
数が2のべき乗であることより、比較制御情報が表す条
件データ数を少ない情報で表すことが可能となり、比較
制御情報のサイズを削減できるため条件記憶手段の記憶
容量を抑えることができる。
According to a third aspect of the present invention, in the data coincidence detecting device according to the first or second aspect, each of the comparison control information stored in the condition storage means is the same as that of the first aspect. Since the storage method of the condition data stored in each of the condition data groups is represented, the number of condition data stored in one condition data group is a power of 2, and the condition represented by the comparison control information is Since the number of data can be represented by a small amount of information and the size of the comparison control information can be reduced, the storage capacity of the condition storage means can be reduced.

【0113】本発明の請求項4にかかるデータ一致検出
装置は、請求項3に記載のデータ一致検出装置におい
て、上記条件データ群に格納されている各条件データの
フィールド数に合致したフィールド数のデータをデータ
保持手段に記憶されている入力データの先頭より取り出
すデータ選択手段を、条件データ群が読み出されると、
この中の各条件データのフィールド数と同数の入力デー
タをデータ保持手段に記憶されている入力データの先頭
より取り出すようにしたので、1つ以上の条件データ
と、入力データの先頭部分の条件データのフィールド数
と同数のデータとの一致検出を行うことができる。
According to a fourth aspect of the present invention, in the data coincidence detecting device according to the third aspect, the number of fields matching the number of fields of each condition data stored in the condition data group is set. When the condition data group is read out, the data selecting means for extracting data from the head of the input data stored in the data holding means,
Since the same number of input data as the number of fields of each condition data among them is taken out from the head of the input data stored in the data holding means, one or more condition data and the condition data at the head of the input data are obtained. And the same number of data as the number of fields can be detected.

【0114】本発明の請求項5にかかるデータ一致検出
装置は、請求項2に記載のデータ一致検出装置におい
て、上記条件データ群内の各条件データは、比較する必
要のない省略フィールドに対応する条件は省略されてお
り、上記条件データ群に対応する比較制御情報は省略フ
ィールドを示す情報を表しており、データ選択手段は上
記比較制御情報に含まれる省略フィールドを示す情報に
基づきデータ保持手段から出力されている入力データよ
り省略フィールド以外のデータを選択して比較演算手段
に入力して、条件データとの比較を行なうので、条件記
憶手段内には省略フィールドの条件を記憶しておく必要
がなく、記憶領域の使用効率が向上するという効果があ
るとともに、比較に必要となる時間の短縮ができる。
According to a fifth aspect of the present invention, in the data coincidence detecting device according to the second aspect, each condition data in the condition data group corresponds to an omitted field which does not need to be compared. The condition is omitted, the comparison control information corresponding to the condition data group represents information indicating an omission field, and the data selection unit transmits data from the data holding unit based on the information indicating the omission field included in the comparison control information. Since data other than the omitted field is selected from the input data being output and input to the comparison operation means and compared with the condition data, the condition of the omitted field must be stored in the condition storage means. In addition, the use efficiency of the storage area is improved, and the time required for comparison can be reduced.

【0115】本発明の請求項6にかかるデータ一致検出
装置は、請求項1に記載のデータ一致検出装置におい
て、上記データ選択手段により選択された入力データと
条件記憶手段から出力されている条件データが同一であ
ることを検出する比較演算手段を備え、条件データと入
力データが同一であることを検出することができる。
According to a sixth aspect of the present invention, there is provided the data coincidence detecting device according to the first aspect, wherein the input data selected by the data selecting means and the condition data output from the condition storing means. Is provided with a comparison operation means for detecting that the condition data are the same, and it can be detected that the condition data and the input data are the same.

【0116】本発明の請求項7にかかるデータ一致検出
装置は、請求項2に記載のデータ一致検出装置におい
て、比較制御情報は、上記比較制御情報が対応する条件
データ群内の各条件データの各フィールドの比較演算の
種類を示す情報を保持しており、比較演算手段は上記比
較制御情報に示された比較演算をデータ選択手段から出
力されている入力データの各フィールドと条件データ群
内の各条件データの各フィールドに対して行い、一致判
定手段は、上記比較制御情報に基づき比較演算結果より
入力データと条件データの一致判定を行うものであり、
入力データと条件データの間の一致検出のための演算を
柔軟に設定することができる。
According to a seventh aspect of the present invention, in the data coincidence detecting device according to the second aspect of the present invention, the comparison control information is the same as each condition data in the condition data group corresponding to the comparison control information. The comparison operation means holds information indicating the type of the comparison operation of each field, and the comparison operation means executes the comparison operation indicated by the comparison control information in each field of the input data output from the data selection means and the condition data group. It is performed for each field of each condition data, and the match determination means performs a match determination between the input data and the condition data from the comparison operation result based on the comparison control information,
The calculation for detecting the match between the input data and the condition data can be set flexibly.

【0117】本発明の請求項8にかかるデータ一致検出
装置は、請求項7に記載のデータ一致検出装置におい
て、比較制御情報は、上記比較制御情報が対応する条件
データ群内の各条件データの各フィールドの比較演算が
「一致」「大」、「小」のどれであるかを示す情報を保
持しており、比較演算手段は、入力データの各フィール
ドとこれに対応する条件データの各フィールドの間で、
一致、大、小の検出を行い、一致判定手段は、上記比較
制御情報に基づき比較演算結果より入力データと条件デ
ータの一致判定を行うものであり、条件データと入力デ
ータの間の同一性だけでなく値の大小により入力データ
が条件データに設定されている条件を満足しているかど
うかを検出することができ、一致検出の柔軟性を向上さ
せることができる。
According to an eighth aspect of the present invention, in the data coincidence detecting apparatus according to the seventh aspect, the comparison control information is the same as that of each condition data in the condition data group corresponding to the comparison control information. Each field holds information indicating whether the comparison operation of each field is “match”, “large”, or “small”, and the comparison operation means calculates each field of the input data and each field of the corresponding condition data. Between
The match, large, and small are detected, and the match determination means determines the match between the input data and the condition data based on the comparison operation result based on the comparison control information. Instead, it is possible to detect whether or not the input data satisfies the condition set in the condition data based on the magnitude of the value, thereby improving the flexibility of the match detection.

【0118】本発明の請求項9にかかるデータ一致検出
装置は、請求項7に記載のデータ一致検出装置におい
て、比較制御情報は、上記比較制御情報が対応する条件
データ群内の各条件データの各フィールドの比較演算が
どのようなビット演算であるかを示す情報を保持してお
り、比較演算手段は、入力データの各フィールドとこれ
に対応する条件データの各フィールドの間で、ビット毎
の演算を行い、一致判定手段は、上記比較制御情報に基
づき比較演算結果より入力データと条件データの一致判
定を行うものであり、入力データが条件データと一致す
ること、不一致であること、論理積の結果などを一致判
定の条件とすることができ、一致検出の柔軟性を向上さ
せることができる。
According to a ninth aspect of the present invention, in the data coincidence detecting device according to the seventh aspect of the present invention, the comparison control information is the same as that of each condition data in the condition data group corresponding to the comparison control information. The comparison operation means holds information indicating what kind of bit operation the comparison operation of each field is. The comparison operation means performs a bit-by-bit operation between each field of the input data and each field of the condition data corresponding thereto. Computation is performed, and the coincidence determination means performs a coincidence determination between the input data and the condition data based on the comparison operation result based on the comparison control information. Can be used as the condition for the match determination, and the flexibility of match detection can be improved.

【0119】本発明の請求項10にかかるデータ一致検
出装置は、請求項2に記載のデータ一致検出装置におい
て、上記条件記憶手段に記憶されている2つ以上の条件
データ群に1つの条件データを分割して記憶しており、
比較制御情報に記憶されている条件データの分割記憶の
状態を示す情報に基づき、上記条件記憶手段から取り出
された条件データの一部と比較されるべき入力データを
データ選択手段にて取り出し、比較演算手段では複数回
の比較演算により上記2つ以上の条件データ群に分割記
憶されている上記条件データと上記データ選択手段にて
取り出された入力データの比較演算を行い、この結果に
基づき一致判断手段で一致判断を行うものである。条件
記憶手段の一つの条件データ群には格納しきれない長い
条件データと入力データの比較を行なうことが可能とな
り、入力データの条件との一致検出の柔軟性が向上す
る。
According to a tenth aspect of the present invention, there is provided the data coincidence detecting device according to the second aspect, wherein one condition data is included in two or more condition data groups stored in the condition storage means. Is divided and stored,
Based on the information indicating the condition of the divisional storage of the condition data stored in the comparison control information, the input data to be compared with a part of the condition data extracted from the condition storage unit is extracted by the data selection unit, and the comparison is performed. The arithmetic unit performs a comparison operation between the condition data divided and stored in the two or more condition data groups by a plurality of comparison operations and the input data extracted by the data selection unit, and determines a match based on the result. Means is determined by means. Long condition data that cannot be stored in one condition data group of the condition storage means can be compared with the input data, and the flexibility in detecting a match with the condition of the input data is improved.

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

【図1】トランスポートストリームパケットとセクショ
ンのフォーマットを説明する図である。
FIG. 1 is a diagram illustrating formats of a transport stream packet and a section.

【図2】ディジタル放送受信機のブロック構成図であ
る。
FIG. 2 is a block diagram of a digital broadcast receiver.

【図3】本発明におけるセクションデータ選択回路の構
成図である。
FIG. 3 is a configuration diagram of a section data selection circuit according to the present invention.

【図4】本発明の第1の実施の形態におけるヘッダ一致
検出回路の構成図である。
FIG. 4 is a configuration diagram of a header match detection circuit according to the first embodiment of the present invention.

【図5】本発明の第1の実施の形態における比較演算回
路の構成図である。
FIG. 5 is a configuration diagram of a comparison operation circuit according to the first embodiment of the present invention.

【図6】本発明の第2の実施の形態におけるヘッダ一致
検出回路の構成図である。
FIG. 6 is a configuration diagram of a header match detection circuit according to a second embodiment of the present invention.

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

100 トランスポートストリームパケット 110 トランスポートパケットヘッダ 120 トランスポートパケットペイロード 21 トランスポートパケット処理装置 22 パケット処理回路 23 パケット選択回路 24 データ取り出し回路 25 セクションデータ選別回路 26 メモリアクセス回路 27 メモリ 28 AVデコーダー 29 CPU 31 データ遅延回路 32 動作制御回路 33a、33b ヘッダ一致検出回路 34 出力制御回路 41 データ保持回路 421〜424 データ選択回路 431〜434 比較演算回路 44 条件メモリ 45 一致判断回路 511〜514、521〜524 EXOR 53 NOR 61 データ保持回路 620〜62F 比較演算回路 630〜63F 比較演算回路 64 条件メモリ 65 一致判断回路 REFERENCE SIGNS LIST 100 transport stream packet 110 transport packet header 120 transport packet payload 21 transport packet processing device 22 packet processing circuit 23 packet selection circuit 24 data extraction circuit 25 section data selection circuit 26 memory access circuit 27 memory 28 AV decoder 29 CPU 31 Data delay circuit 32 Operation control circuit 33a, 33b Header match detection circuit 34 Output control circuit 41 Data holding circuit 421-424 Data selection circuit 431-434 Comparison operation circuit 44 Condition memory 45 Match determination circuit 511-514, 521-524 EXOR 53 NOR 61 Data holding circuit 620-62F Comparison operation circuit 630-63F Comparison operation circuit 64 Condition memory 65 Match judgment circuit

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 7/24 Fターム(参考) 5C059 KK01 KK36 MA00 PP04 RC37 SS02 UA02 UA05 UA31 UA38 5C063 AA20 AB03 AC01 AC05 CA36 DA07 5K028 SS24 5K030 KA07 9A001 CC02 JJ71 JZ19 Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (reference) H04N 7/24 F term (reference) 5C059 KK01 KK36 MA00 PP04 RC37 SS02 UA02 UA05 UA31 UA38 5C063 AA20 AB03 AC01 AC05 CA36 DA07 5K028 SS24 5K030 KA07 9A001 CC02 JJ71 JZ19

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 複数のフィールドから構成される入力デ
ータの中から任意のデータを選別するデータ一致検出装
置であって、 前記データ一致検出装置が、少なくとも、 前記入力データを構成する複数のフィールドを保持又は
出力しているデータ保持手段と、 前記入力データを選別する為の条件データを含む条件デ
ータ群を1つ又は複数個記憶しており、前記条件データ
群のうち少なくとも1つは複数個の条件データを含み、
1つ又は複数個の前記条件データ群の内から前記条件デ
ータを順次選択出力する条件記憶手段と、 前記条件記憶手段から順次出力される前記条件データと
比較すべき前記フィールドを、前記入力データを構成す
る複数のフィールドから選択し出力するデータ選択手段
と、 前記条件データを構成するフィールドと、前記データ選
択手段から比較対象として出力されたフィールドとの比
較演算を順次行って得られた比較演算結果を順次出力す
る比較演算手段と、 前記比較演算手段から順次出力される前記比較演算結果
を入力し、前記入力データの選別の判断を行う一致判断
手段と、 から構成されることを特徴とする、データ一致検出装
置。
1. A data coincidence detecting device for selecting arbitrary data from input data composed of a plurality of fields, wherein the data coincidence detecting device includes at least a plurality of fields constituting the input data. Data holding means for holding or outputting, and one or more condition data groups including condition data for selecting the input data are stored, and at least one of the condition data groups is a plurality of condition data groups. Including condition data,
Condition storage means for sequentially selecting and outputting the condition data from one or a plurality of the condition data groups; and the field to be compared with the condition data sequentially output from the condition storage means, Data selection means for selecting and outputting from a plurality of constituent fields; comparison operation results obtained by sequentially performing a comparison operation on the fields forming the condition data and the fields output as comparison targets from the data selection means And a coincidence judging unit that inputs the comparison operation results sequentially output from the comparison operation unit and judges the selection of the input data. Data match detection device.
【請求項2】 請求項1に記載のデータ一致検出装置に
おいて、 前記条件記憶手段が、各前記条件データ群に対応した、
前記条件データと前記入力データの比較演算を制御する
ための情報である比較制御情報を保持し、また、前記条
件データ群を選択出力する時に、前記条件データ群に対
応した前記比較制御情報を一緒に出力し、 前記比較演算手段が、前記条件記憶手段から出力される
前記比較制御情報に基づき比較演算を行い、 前記一致判断手段が、前記比較演算手段による比較演算
と、前記条件記憶手段から順次出力される比較制御情報
に基づき一致判断を行うこと、 を特徴とする、データ一致検出装置。
2. The data coincidence detecting device according to claim 1, wherein the condition storage means corresponds to each of the condition data groups.
Holds comparison control information, which is information for controlling a comparison operation between the condition data and the input data, and, when selectively outputting the condition data group, combines the comparison control information corresponding to the condition data group. The comparison operation means performs a comparison operation based on the comparison control information output from the condition storage means, and the coincidence determination means performs a comparison operation by the comparison operation means and sequentially from the condition storage means. Performing a match determination based on the output comparison control information.
【請求項3】 請求項1又は請求項2に記載のデータ一
致検出装置において、 前記比較制御情報は、前記条件データ群それぞれに格納
されている前記条件データの格納方法を表しているこ
と、 を特徴とする、データ一致検出装置。
3. The data coincidence detection device according to claim 1, wherein the comparison control information indicates a storage method of the condition data stored in each of the condition data groups. A data match detection device characterized by the following.
【請求項4】 請求項3に記載のデータ一致検出装置に
おいて、 前記データ選択手段が、前記条件記憶手段の記憶する前
記条件データ群を構成する前記条件データの有するフィ
ールド数に合致したフィールド数のデータを、前記入力
データより取り出すこと、 を特徴とする、データ一致検出装置。
4. The data coincidence detecting device according to claim 3, wherein the data selection unit determines the number of fields matching the number of fields of the condition data included in the condition data group stored in the condition storage unit. Extracting data from the input data.
【請求項5】 請求項2に記載のデータ一致検出装置に
おいて、 前記条件記憶手段は、前記条件データが有する複数のフ
ィールドのうち、前記入力データを構成する複数のフィ
ールドに含まれる、比較する必要のない省略フィールド
を省略した形で前記条件データを記憶し、 前記比較制御情報は、前記省略フィールドを示す情報を
含み、 前記データ選択手段は、前記省略フィールドを示す情報
を含む前記比較制御情報に基づき、前記入力データより
前記省略フィールドを省略した形で前記入力データを選
択して、前記比較演算手段に入力すること、 を特徴とする、データ一致検出装置。
5. The data coincidence detecting device according to claim 2, wherein the condition storage means is required to compare, among a plurality of fields included in the condition data, a plurality of fields included in the input data. The condition data is stored in a form in which an omitted field without a mark is omitted, the comparison control information includes information indicating the omitted field, and the data selection unit includes: the comparison control information including information indicating the omitted field. Selecting the input data in a form in which the omitted field is omitted from the input data based on the input data and inputting the selected input data to the comparison operation means.
【請求項6】 請求項1に記載のデータ一致検出装置に
おいて、 前記比較演算手段は、前記データ選択手段により選択さ
れたフィールドを含む前記入力データと、前記条件記憶
手段から出力されている条件データと、が同一であるこ
とを検出すること、 を特徴とする、データ一致検出装置。
6. The data coincidence detecting device according to claim 1, wherein the comparison operation means includes the input data including the field selected by the data selection means, and the condition data output from the condition storage means. Detecting that the data and the data are the same.
【請求項7】 請求項2に記載のデータ一致検出装置に
おいて、 前記比較制御情報は、前記比較制御情報に対応する前記
条件データ群に含まれる条件データを構成するフィール
ドと、前記データ選択手段から出力されている入力デー
タを構成するフィールドと、の比較演算結果の種類を示
す情報を含んでおり、 前記比較演算手段は、前記比較制御情報に対応する前記
条件データ群に含まれる条件データを構成するフィール
ドと、前記データ選択手段から出力されている入力デー
タを構成するフィールドと、に対して行った比較演算の
結果と、前記比較制御情報の保持する比較演算結果の種
類を示す情報と、を比較検討し、 前記一致判定手段は、前記比較制御情報に基づき、前記
比較演算手段における比較検討結果より、入力データと
条件データとの一致判定を行うこと、 を特徴とする、データ一致検出装置。
7. The data coincidence detection device according to claim 2, wherein the comparison control information includes a field constituting condition data included in the condition data group corresponding to the comparison control information, and A field that constitutes the input data that is being output; and information indicating the type of the comparison operation result. The comparison operation means forms condition data included in the condition data group corresponding to the comparison control information. And a field indicating input data output from the data selection unit, a result of the comparison operation performed on the field, and information indicating the type of the comparison operation result held by the comparison control information. Comparing and examining, based on the comparison control information, the input data and the condition data based on the comparison and examination result in the comparison operation means. Performing a data match determination with the data matcher.
【請求項8】 請求項7に記載のデータ一致検出装置に
おいて、 前記比較演算結果の種類を示す情報が、「一致」「大」
「小」のうちのいずれかであり、 前記比較演算手段は、前記比較制御情報が対応する前記
条件データ群に含まれる条件データを構成するフィール
ドと、前記データ選択手段から出力されている入力デー
タを構成するフィールドと、に対して行った比較演算の
結果が、前記「一致」「大」「小」のうちいずれに該当
するかを検出し、、 前記一致判定手段は、前記比較演算手段における検出結
果より、入力データと条件データとの一致判定を行うこ
と、 を特徴とする、データ一致検出装置。
8. The data match detection device according to claim 7, wherein the information indicating the type of the comparison operation result is “match”, “large”.
Any one of “small”, wherein the comparison operation means includes: a field constituting condition data included in the condition data group corresponding to the comparison control information; and input data output from the data selection means. , The result of the comparison operation performed on the field that corresponds to any one of the “match”, “large”, and “small” is detected. A data match detection device for performing a match determination between input data and condition data based on a detection result.
【請求項9】 請求項7に記載のデータ一致検出装置に
おいて、 前記比較制御情報は、前記比較制御情報が対応する前記
条件データ群に含まれる条件データを構成するフィール
ドと、前記データ選択手段から出力されている入力デー
タを構成するフィールドと、の比較演算がどのようなビ
ット演算であるかを示す情報を保持しており、 前記比較演算手段は、前記比較制御情報が対応する前記
条件データ群に含まれる条件データを構成するフィール
ドと、前記データ選択手段から出力されている入力デー
タを構成するフィールドとの間でビット毎の演算を行
い、 前記一致判定手段は、前記比較制御情報に基づき、前記
比較演算手段における比較演算結果より、入力データと
条件データの一致判定を行うこと、 を特徴とする、データ一致検出装置。
9. The data coincidence detecting device according to claim 7, wherein the comparison control information includes a field constituting condition data included in the condition data group corresponding to the comparison control information, and a field from the data selection unit. The field that constitutes the input data that is being output and information indicating what bit operation the comparison operation is, is held, and the comparison operation means is the condition data group corresponding to the comparison control information. Performs a bit-by-bit operation between a field constituting the condition data included in the field and a field constituting the input data outputted from the data selecting means, and the coincidence determining means is based on the comparison control information, Determining whether or not the input data and the condition data match from the comparison operation result in the comparison operation means. .
【請求項10】 請求項2に記載のデータ一致検出装置
において、 前記条件データ群1つに含まれる条件データを構成する
フィールドの総数より多くのフィールドから構成される
入力データを前記データ保持手段に保持可能とし、 前記条件記憶手段に記憶されている2つ以上の条件デー
タ群に1つの条件データを分割して記憶可能とし、 前記比較制御情報は、前記分割して記憶された1つの条
件データの分割記憶の状態を示す情報を含み、 前記2つ以上の条件データ群に分割記憶された1つの条
件データの一部をなす条件データ群を構成するフィール
ドと比較されるべき、前記入力データを構成するフィー
ルドを、前記比較制御情報に基づき前記データ選択手段
にて取り出し、 前記比較演算手段は、複数回の比較演算を行う事によ
り、前記2つ以上の条件データ群に分割記憶されている
前記条件データと、前記データ選択手段にて取り出され
た入力データとの比較演算を行い、 前記一致判断手段では、前記比較演算手段における複数
回の比較演算の結果より、前記比較制御情報に基づき一
致判断を行うこと、 を特徴とする、データ一致検出装置。
10. The data coincidence detecting device according to claim 2, wherein input data composed of more fields than the total number of fields constituting the condition data included in one condition data group is sent to the data holding means. One condition data can be divided into two or more condition data groups stored in the condition storage means and can be stored; and the comparison control information is one condition data divided and stored. The input data to be compared with a field constituting a condition data group forming a part of one condition data divided and stored in the two or more condition data groups. The field to be configured is extracted by the data selection unit based on the comparison control information, and the comparison operation unit performs the comparison operation a plurality of times. A comparison operation is performed between the condition data divided and stored in one or more condition data groups and the input data extracted by the data selection unit, and the coincidence determination unit performs a plurality of comparisons in the comparison operation unit. Determining a match based on the comparison control information based on a result of the calculation.
JP22370399A 1999-08-06 1999-08-06 Data coincidence detector Pending JP2001053709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22370399A JP2001053709A (en) 1999-08-06 1999-08-06 Data coincidence detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22370399A JP2001053709A (en) 1999-08-06 1999-08-06 Data coincidence detector

Publications (1)

Publication Number Publication Date
JP2001053709A true JP2001053709A (en) 2001-02-23

Family

ID=16802344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22370399A Pending JP2001053709A (en) 1999-08-06 1999-08-06 Data coincidence detector

Country Status (1)

Country Link
JP (1) JP2001053709A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322753C (en) * 2003-07-04 2007-06-20 松下电器产业株式会社 Data consistency detection device, data consistency detection method and data selection device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322753C (en) * 2003-07-04 2007-06-20 松下电器产业株式会社 Data consistency detection device, data consistency detection method and data selection device

Similar Documents

Publication Publication Date Title
JP3641336B2 (en) Data separator
JP3578913B2 (en) Data match detection device and data selection device
KR0152916B1 (en) Data synchronization apparatus and method thereof
US5748905A (en) Frame classification using classification keys
US7533273B2 (en) Method and system for controlling an encryption/decryption engine using descriptors
US7471218B2 (en) Methods and systems for efficiently storing and retrieving streaming data
US20030028791A1 (en) Stream processor
US7088732B2 (en) Apparatus and methods for storing and comparing PIDs
US8391483B2 (en) Storage of digital data
WO2002051132A1 (en) Compressed-data processing arrangement and related method
US20020003816A1 (en) Demultiplexer
US8688947B1 (en) Aligned data access
US6343289B1 (en) Efficient search and organization of a forwarding database or the like
JP2001053709A (en) Data coincidence detector
US20090257735A1 (en) Coded signal reproduction apparatus
US7668381B2 (en) Decoding apparatus and encoding apparatus with specific bit sequence deletion and insertion
US6868096B1 (en) Data multiplexing apparatus having single external memory
US7295576B2 (en) Transport packet parser
US20090265478A1 (en) Method and apparatus for data stream analysis and decoding apparatus
US8855130B2 (en) Method and apparatus for demultiplexing, merging, and duplicating packetized elementary stream/program stream/elementary stream data
US6674373B1 (en) System and method for data decompression
JP4837361B2 (en) Transmission system, data transmission device, data reception device
JP4005370B2 (en) Packet data storage device
JP2005045775A (en) Data coincidence detection device, data coincidence detection method, data selection device
TW200406670A (en) Method and system for performing inserts and lookups in memory