JPH0833896B2 - Failure detection method for character string retrieval device - Google Patents
Failure detection method for character string retrieval deviceInfo
- Publication number
- JPH0833896B2 JPH0833896B2 JP62039908A JP3990887A JPH0833896B2 JP H0833896 B2 JPH0833896 B2 JP H0833896B2 JP 62039908 A JP62039908 A JP 62039908A JP 3990887 A JP3990887 A JP 3990887A JP H0833896 B2 JPH0833896 B2 JP H0833896B2
- Authority
- JP
- Japan
- Prior art keywords
- key
- register
- character string
- input
- key word
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字列検索装置における障害検出方式に関
する。The present invention relates to a failure detection method in a character string search device.
文字列検索装置の一つに、1文字分のキー・レジスタ
と比較器の対からなるセルを複数個カスケードに接続し
て構成したものがある。この文字列検索装置では、各セ
ルのキー・レジスタにキー・ワードを構成する各文字を
設定して、該キー・レジスタの文字を当該セルの比較器
の一方の入力とし、検索対象文字列から順次文字単位に
切り出されたデータを各セルの比較器の他方の入力とし
て同時に与え、比較結果信号を後段セルに伝えることに
より、対象文字列がキー・ワードに合致しているか否か
検索する。これの特徴は論理構造が単純で、LSI化に適
していることである。One of the character string search devices is one in which a plurality of cells each consisting of a pair of a key register for one character and a comparator are connected in cascade. In this character string search device, each character forming a key word is set in the key register of each cell, and the character of the key register is used as one input of the comparator of the cell, and the character string to be searched is searched. The data sequentially cut out in character units are simultaneously given as the other input of the comparator of each cell, and the comparison result signal is transmitted to the subsequent cell to search whether or not the target character string matches the key word. The feature of this is that the logical structure is simple and suitable for LSI.
なお、この種の文字列検索装置については、例えばAC
M SIGIR conf.June6−8,1983,PP3〜9に記載されてい
る。For this type of character string search device, for example, AC
M SIGIR conf. June 6-8, 1983, PP3-9.
上記キー・レジスタと比較器の対からなるセルを複数
個カスケードに接続して構成した文字列検索装置におい
て、従来はキー・レジスタ及び比較器の障害検出手段に
ついて配慮されておらず、信頼性の点で問題があった。In a character string search device configured by connecting a plurality of cells each consisting of a pair of the key register and the comparator in a cascade, conventionally, no consideration has been given to the failure detecting means of the key register and the comparator, and the reliability of There was a problem in terms.
一般に情報処理装置では、データに冗長ビットを付加
すると共に、そのチエック回路を設けることにより、レ
ジスタ等の障害検出を可能にしている。これを上記文字
列検索装置のキー・レジスタ障害検出に適用しようとす
ると、個々のセルにおけるキー・レジスタの冗長ビッ
ト、チエック回路はセルを構成するゲート量の約20%を
占めることになり、かかるセルを例えば数百バイト分カ
スケードに接続して大量の文字列を検索する装置の場
合、大量のハードウエア資源を伴なうものの、比較器の
障害検出には全く貢献しないという問題がある。Generally, in an information processing apparatus, a redundant bit is added to data and a check circuit is provided to enable detection of a failure in a register or the like. If this is applied to the key register failure detection of the character string search device, the redundant bit of the key register in each cell, the check circuit, occupies about 20% of the gate amount constituting the cell. In the case of an apparatus for searching a large number of character strings by connecting cells in a cascade of, for example, several hundred bytes, there is a problem that although it involves a large amount of hardware resources, it does not contribute at all to the failure detection of the comparator.
本発明の目的は、キー・レジスタと比較器の対からな
るセルを複数個カスケードに接続して構成した文字列検
索装置において、各キー・レジスタに対して冗長ビット
やチエック回路を設けることなく各セルのキー・レジス
タ障害を検出し、更に、比較器の一致検出機能の正常性
を保証することにある。It is an object of the present invention to provide a character string search device configured by connecting a plurality of cells each consisting of a pair of a key register and a comparator in a cascade, without providing redundant bits or a check circuit for each key register. It is to detect the key register failure of the cell and also to ensure the normality of the comparator match detect function.
上記目的はキー・レジスタへのキー・ワード設定時
に、比較器の他方の入力に、キー・レジスタへの設定デ
ータと同値のデータを供給する手段を設けることによ
り、達成される。The above object is achieved by providing means for supplying the other input of the comparator with data having the same value as the setting data for the key register when setting the key word for the key register.
n文字のキー・ワードでの検索処理が可能な文字列検
索装置は、少なくともKR1〜KRnのキー・レジスタとCP1
〜CPnの比較器とを具備している。検索対象データの該
文字列検索装置への入力に先立ち、KR1〜KRnへ順次文字
単位にキー・ワードをセットする。KR1へキー・ワード
の第1文字がセットされると、該KR1の値がCMP1の一方
へ入力され、同時にCPM1の他方の入力へはKR1へ入力さ
れたデータと同値のデータが入力されるので、KR1およ
びCMP1が正常であると、CPM1は一致信号を出力するはず
である。したがって、KR1へキー・ワードの第1文字を
セットした時点で、CMP1の一致信号の値をチエックし、
その値が“1"(一致)であればKR1およびCMP1の一致検
出機能の正常性を確認でき、その値が“0"(不一致)で
あれば、KR1あるいはCMP1の一致検出機能の障害を検出
できる。以上の動作をKR1〜KRn、CMP1〜CMPnに関して順
次実行することによって、キー・ワードの設定と同時に
各セルのキー・レジスタと比較器の一致検出機能の正常
性を確認できる。A character string search device capable of performing a search process with a key word of n characters has at least key registers KR 1 to KR n and CP 1
~ CP n comparator. Prior to inputting the data to be searched to the character string search device, key words are sequentially set in units of characters in KR 1 to KR n . When the KR 1 is first character key word is set, the value of the KR 1 is input to one of the CMP 1, the data equivalent to the data input to KR 1 is to simultaneously CPM 1 of the other input Is input, CPM 1 should output a match signal if KR 1 and CMP 1 are normal. Therefore, when you set the first character of the key word to KR 1 , check the value of the match signal of CMP 1 ,
If the value is "1" (match), the normality of the match detection function of KR 1 and CMP 1 can be confirmed, and if the value is "0" (mismatch), the match detection function of KR 1 or CMP 1 Can detect failures. Sequentially by running, can confirm the normality of the coincidence detection comparator setting key words and at the same time as the key register of each cell with respect to more KR 1 the operation of ~KR n, CMP 1 ~CMP n.
以下、本発明の一実施例について図面を用いて説明す
る。An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の障害検出方式を適用した文字列検索
装置の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of a character string search device to which the failure detection system of the present invention is applied.
101はレジスタ、103はレジスタ101の出力信号102を入
力とするレジスタ、105はレジスタ103の出力信号104を
入力とし、信号104の値に1を加算した値を106に出力す
るインクリメンタであって、その出力106はレジスタ101
の入力信号となる。即ち、レジスタ101,103とインクリ
メンタ105は計数回路を構成し、レジスタ101のリセット
信号100によってイニシャライズされる。110はキーのセ
ット指示信号であって、111はセット指示信号110の値を
入力とするフリップフロップ、113はフリップフロップ1
11の出力信号112の値を入力とし、信号114を出力するフ
リップフロップである。Reference numeral 101 is a register, 103 is a register that receives the output signal 102 of the register 101, 105 is an incrementer that receives the output signal 104 of the register 103 as input, and outputs a value obtained by adding 1 to the value of the signal 104 to 106. , Its output 106 is register 101
Input signal. That is, the registers 101 and 103 and the incrementer 105 constitute a counting circuit, which is initialized by the reset signal 100 of the register 101. 110 is a key set instruction signal, 111 is a flip-flop that receives the value of the set instruction signal 110, and 113 is a flip-flop 1
It is a flip-flop which receives the value of the output signal 112 of 11 and outputs a signal 114.
141〜144はカスケード接続されたセルであって、セル
内でのキーとデータの比較結果が出力信号151〜154とな
って次段のセルへ伝播する。本例では、説明を簡単にす
るため4段のセルのみを図示している。150はセル141の
前段のセル(図示せず)の比較結果の出力信号であり、
154はセル144の後段のセル(図示せず)場接続される出
力信号である。120はデコーダであって、レジスタ101の
出力102の値をデコードし、信号112を出力イネーブル信
号として信号121〜124を出力する。130もデコーダであ
って、レジスタ113の出力104の値をデコードし、信号11
4を出力イネーブル信号として信号131〜134を出力す
る。161〜164は各セル内でのキー設定時の障害発生を通
知する信号であって、オア回路165にてオアされ、出力
信号166を介してフリップフロップ167にて保持される。141-144 are cells connected in cascade, and the comparison result of the key and the data in the cells becomes output signals 151-154 and propagates to the cells of the next stage. In this example, for simplicity of explanation, only cells in four stages are shown. 150 is an output signal of the comparison result of the cell (not shown) in the preceding stage of the cell 141,
An output signal 154 is connected to a cell (not shown) in a subsequent stage of the cell 144. A decoder 120 decodes the value of the output 102 of the register 101 and outputs the signals 121 to 124 by using the signal 112 as an output enable signal. 130 is also a decoder, which decodes the value of the output 104 of the register 113 and outputs the signal 11
Signals 131 to 134 are output using 4 as an output enable signal. 161 to 164 are signals for notifying the occurrence of a failure at the time of setting a key in each cell, which is ORed by the OR circuit 165 and held by the flip-flop 167 via the output signal 166.
170はパリティ・ビットを1ビット含んだ9ビットの
入力データ線であって、データレジスタ171へ入力され
る。データレジスタ171の出力信号172は各セル141〜144
へ入力されるとともに、パリティ・チエック回路173に
てチエックされる。パリティ・チエック回路173でデー
タのエラーを検出すると、出力信号174の値は“1"とな
り、フリップフロップ175に保持される。フリップフロ
ップ167の出力信号168とフリップフロップ175の出力信
号176はオア回路177でオアされ、その出力信号178によ
って障害の発生を上位装置へ通知する。170 is a 9-bit input data line including 1 bit of parity bit, and is input to the data register 171. The output signal 172 of the data register 171 is the cells 141-144.
Is input to the parity check circuit 173 and is checked by the parity check circuit 173. When the parity check circuit 173 detects a data error, the value of the output signal 174 becomes "1" and is held in the flip-flop 175. The output signal 168 of the flip-flop 167 and the output signal 176 of the flip-flop 175 are ORed by the OR circuit 177, and the output signal 178 notifies the host device of the occurrence of the failure.
入力データ線170のうちのパリティ・ビットを除いた
8ビットのデータ線は、セル141〜144へキー設定パスと
して用いるために接続される。また、172のうちのパリ
ティ・ビットを除いた8本のデータ線も、検索時の被検
索データを供給するためにセル141〜144へ接続される。
180は被検索データを入力データ線170へ供給しているこ
とを示す信号線であって、その値はフリップフロップ18
1に保持され、該フリップフロップ181の出力信号182の
値はフリップフロップ183に保持される。フリップフロ
ップ183の出力信号184はオア回路185にてフリップフロ
ップ113の出力信号114とオアされ、該オア回路185の出
力信号186はフリップフロップ175のセット条件となる。
187はオア回路であって、信号112と182のオア出力188を
出力し、出力信号188はレジスタ171のセット条件とな
る。An 8-bit data line of the input data line 170 excluding the parity bit is connected to cells 141 to 144 for use as a key setting path. Eight data lines of 172 excluding the parity bits are also connected to the cells 141 to 144 for supplying the searched data at the time of searching.
Reference numeral 180 is a signal line indicating that the data to be searched is supplied to the input data line 170, and its value is the flip-flop 18
The value of the output signal 182 of the flip-flop 181 is held in the flip-flop 183. The output signal 184 of the flip-flop 183 is ORed with the output signal 114 of the flip-flop 113 by the OR circuit 185, and the output signal 186 of the OR circuit 185 becomes the set condition of the flip-flop 175.
An OR circuit 187 outputs an OR output 188 of the signals 112 and 182, and the output signal 188 is a setting condition of the register 171.
第2図は一つのセルの内部構成を示すブロック図であ
り、ここでは第1図のセル142を示している。201はキー
・レジスタ(KR2)であって、第1図の入力データ線170
からパリティ・ビットを除いた8ビットのデータを、第
1図のデコーダ120の出力信号122が“1"の場合に取り込
む。203は比較器(CMP2)であって、レジスタ201の出力
信号202の値を一方の入力とし、第1図の入力データレ
ジスタ171の出力172からパリティ・ビットを除く8ビッ
トのデータの値を他方の入力とする。COM2203は、一致
を検出すると“1"、不一致を検出すると“0"を出力す
る。205はアンド回路であって、CMP2203の出力信号204
の値と前段セル141の比較結果出力信号151の値のアンド
値を信号線206へ出力する。207はフリップフロップであ
って、信号206の値を入力し、比較結果出力信号152を次
段のセル143へ伝播する。208は反転回路(インバータ)
であって,信号204の値を反転した値を信号線209へ出力
する。210は、信号209の値と第1図のデコーダ130の出
力信号132の値をアンドするアンド回路であって、その
アンド出力を信号線162に出力する。FIG. 2 is a block diagram showing the internal structure of one cell. Here, the cell 142 of FIG. 1 is shown. 201 is a key register (KR 2 ) for input data line 170 in FIG.
The 8-bit data excluding the parity bit is fetched when the output signal 122 of the decoder 120 in FIG. 1 is "1". Reference numeral 203 denotes a comparator (CMP 2 ) which receives the value of the output signal 202 of the register 201 as one input and outputs the value of 8-bit data excluding the parity bit from the output 172 of the input data register 171 of FIG. The other input. COM 2 203 outputs "1" when a match is detected and "0" when a mismatch is detected. 205 is an AND circuit, which is the output signal 204 of the CMP 2 203.
And the AND value of the value of the comparison result output signal 151 of the preceding cell 141 is output to the signal line 206. A flip-flop 207 inputs the value of the signal 206 and propagates the comparison result output signal 152 to the cell 143 at the next stage. 208 is an inverting circuit (inverter)
Then, a value obtained by inverting the value of the signal 204 is output to the signal line 209. 210 is an AND circuit that ANDs the value of the signal 209 and the value of the output signal 132 of the decoder 130 in FIG. 1, and outputs the AND output to the signal line 162.
次に第3図のタイムチャートを用いて、第1図及び第
2図のキー設定時の動作を説明する。Next, the operation at the time of key setting in FIGS. 1 and 2 will be described with reference to the time chart in FIG.
まず、初めに信号100が“1"となって、101と103と105
で構成される計数回路がイニシャライズされる。即ち、
レジスタ101の値が、A点において、クロックT0の位相
で0になり、従って次のクロックT1の位相でレジスタ10
3の値が0となる。その後、キーを4個のセル141〜144
に順次セットするため、キーセット指示信号110がT0の
位相で4サイクルの間“1"となり、フリップフロップ11
1は信号110をT1でラッチし、フリップフロップ113はフ
リップフロップ111の出力信号112をT0でラッチする。デ
ータ入力線170には、キーセット指示信号110より半サイ
クル遅れて、セル141〜144のキー・レジスタKR1〜KR4へ
セットするためのキーの値が1サイクルずつ送られる。First, the signal 100 becomes "1", and 101, 103 and 105
The counting circuit composed of is initialized. That is,
The value of the register 101 becomes 0 at the phase of the clock T 0 at the point A, and therefore the register 10 becomes at the phase of the next clock T 1.
The value of 3 becomes 0. After that, the key is four cells 141-144
Since the key set instruction signal 110 becomes “1” for four cycles in the phase of T 0 , the flip-flop 11
1 latches the signal 110 at T 1 , and the flip-flop 113 latches the output signal 112 of the flip-flop 111 at T 0 . The value of the key to be set in the key registers KR 1 to KR 4 of the cells 141 to 144 is sent to the data input line 170 one cycle later than the key set instruction signal 110 by half a cycle.
一方、レジスタ101はフリップフロップ113の値が“1"
の間、T1の位相でトリガされ、1サイクル毎に1ずつ加
算された値を保持することになる。つまり、レジスタ10
1の値はキー設定動作中に入力データ線170に送出されて
きたキーを設定すべきセル番号を示すことになり、該レ
ジスタ101の値をデコーダ120でデコードして得られるデ
コード信号121〜124は各セル141〜144におけるキー・レ
ジスタKR1〜KR4のトリガ条件となっている。したがっ
て、セル142のキー・レジスタ201(KR2)へは、データ
入力線170のキー値がC点においてT0の位相でラッチさ
れる。このようにして、デコーダ120のデコード信号121
〜124をトリガとして、順次、データ入力線170のキー値
が各セル141〜144のKR0〜KR4に設定される。On the other hand, in the register 101, the value of the flip-flop 113 is “1”.
During this period, it is triggered by the phase of T 1 and holds the value added by 1 for each cycle. That is, register 10
The value of 1 indicates the cell number for setting the key transmitted to the input data line 170 during the key setting operation, and the decode signals 121 to 124 obtained by decoding the value of the register 101 by the decoder 120. It has become a trigger condition key register KR 1 ~KR 4 in each cell 141-144. Therefore, the key value of the data input line 170 is latched in the key register 201 (KR 2 ) of the cell 142 at the phase of T 0 at the point C. In this way, the decode signal 121 of the decoder 120 is
The key values of the data input line 170 are sequentially set to KR 0 to KR 4 of the cells 141 to 144 by using ˜124 as a trigger.
通常は、キー・ワードがKR0〜KRnに設定された後、被
検索対象データがデータ入力線170に順次送出され、レ
ジスタ171は該データ入力線170の値を1サイクル単位に
ラッチするが、第1図では、上記キー設定時に、データ
入力線170のキーの値を1サイクル単位にレジスタ171に
ラッチする。したがって、セル142について見た場合、
C点のT0位相でキー・レジスタ201(KR2)に対応するキ
ーの値がセットされると同時に、レジスタ171にも同じ
値がラッチされ、次のT0位相まで1サイクルの間保持さ
れる。尚、前述したように、データ入力線170のデータ
はパリティ・ビットを含んでおり、レジスタ171にはパ
リティ・ビットを含めてラッチされる。Normally, after the key word is set to KR 0 to KR n , the data to be searched is sequentially transmitted to the data input line 170, and the register 171 latches the value of the data input line 170 on a cycle-by-cycle basis. In FIG. 1, when the key is set, the key value of the data input line 170 is latched in the register 171 for each cycle. Therefore, looking at cell 142,
The value of the key corresponding to the key register 201 (KR 2 ) is set at the T 0 phase of point C, and at the same time, the same value is latched in the register 171 and held for one cycle until the next T 0 phase. It As described above, the data on the data input line 170 includes the parity bit and is latched in the register 171 including the parity bit.
レジスタ171のキー・データの正常性はパリティ・チ
エック回路173によってチエックされ、エラーがあれ
ば、信号174の値が“1"となって、フリップフロップ175
にて保持される。第3図の例では、KR2へ設定すべきキ
ー・データの異常が、170〜175に至る経路で発見された
が故に、D点においてT1の位相でフリップフロップ175
がセットされたことを示している。The normality of the key data of the register 171 is checked by the parity check circuit 173. If there is an error, the value of the signal 174 becomes "1" and the flip-flop 175
Held in. In the example of FIG. 3, since the abnormality of the key data to be set in KR 2 is found in the path from 170 to 175, the flip-flop 175 is in the phase of T 1 at the point D.
Has been set.
170〜175に至る経路でのデータの正常性が確認された
場合、フリップフロップ175はセットされないが、キー
・レジスタKRiに障害がある場合にはフリップフロップ1
67がセットされる。即ち、例えばセル142のKR2に障害が
ある場合、C点において、キー・レジスタ201(KR2)に
セットされた8ビットのキー・パターンと、レジスタ17
1にセットされたパリティ・ビットを除く8ビットの
キ.パターンは一致しないため、第2図において、比較
器203の出力信号204の値は“0"であり、該信号204の値
をインバータ208によって反転した信号209は“1"とな
る。レジスタ171の値とキー・レジスタ201の値が一致し
ているべきサイクルは、レジスタ103の値をデコーダ130
でデコードして得られるデコード信号131〜134のうちの
132が“1"である期間であって、該信号132の“1"の期間
でアンド回路210のアンド条件を成立させ、障害検出線1
62に“1"を出力するので、D点において、T1の位相でフ
リップフロップ167がセットされる。尚、レジスタ171の
値とキー・レジスタ201の値が一致していても、比較器2
03の一致検出機能に障害がある場合には、同様にD点の
T1の位相でフリップフロップ167はセットされる。Flip-flop 175 is not set if the data normality on the path from 170 to 175 is confirmed, but if there is a failure in key register KRi, flip-flop 1
67 is set. That is, for example, when there is a failure in KR 2 of the cell 142, at the point C, the 8-bit key pattern set in the key register 201 (KR 2 ) and the register 17
8-bit key except the parity bit set to 1. Since the patterns do not match, the value of the output signal 204 of the comparator 203 is "0" in FIG. 2, and the signal 209 obtained by inverting the value of the signal 204 by the inverter 208 is "1". In the cycle in which the value of the register 171 and the value of the key register 201 should match, the value of the register 103 is decoded by the decoder 130.
Of the decoded signals 131 to 134 obtained by decoding with
During the period when 132 is “1”, the AND condition of the AND circuit 210 is satisfied during the period of “1” of the signal 132, and the fault detection line 1
Since "1" is output to 62, the flip-flop 167 is set at the phase of T 1 at the point D. Even if the value of the register 171 and the value of the key register 201 match, the comparator 2
If the 03 match detection function is faulty, the D point
The flip-flop 167 is set at the phase of T 1 .
検索時は、キー・レジスタ201(KR2)のキー値が比較
器203の一方の入力となり、該比較器203の他方の入力に
は、レジスタ171の出力172が被検索対象データとして与
えられ、両方が一致し、かつ、前段セルの比較結果信号
151が“1"の場合、アンド回路205のアンド条件が成立し
て、フリップフロップ207が“1"となる。また、該フリ
ップフロップ207の出力152が次段セルに比較結果信号と
して伝えられる。なお、初段セルにおいては、比較結果
入力は“1"に固定される。At the time of search, the key value of the key register 201 (KR 2 ) becomes one input of the comparator 203, and the output 172 of the register 171 is given to the other input of the comparator 203 as search target data, Both match, and the comparison result signal of the preceding cell
When 151 is “1”, the AND condition of the AND circuit 205 is satisfied, and the flip-flop 207 becomes “1”. Further, the output 152 of the flip-flop 207 is transmitted to the next-stage cell as a comparison result signal. In the first-stage cell, the comparison result input is fixed to "1".
本発明によれば、キー・レジスタと比較器の対からな
るセルを複数個カスケードに接続して構成した文字列検
索装置において、キー・レジスタの障害検出機能を低下
させることなく、各キー・レジスタへのパリティ・ビッ
トの付加とパリティ・チエック回路の設置を不要とする
ことができるので、パリティ・チエック付きキー・レジ
スタで構成した場合と比較して、約20%のハードウエア
低減効果が得られ、同量のハードウエア量では、約20%
長いキーでの検索が可能となる。According to the present invention, in a character string search device configured by connecting a plurality of cells each consisting of a pair of a key register and a comparator in cascade, each key register can be operated without degrading the failure detection function of the key register. Since it is not necessary to add a parity bit to the parity check circuit and to install a parity check circuit, a hardware reduction effect of about 20% can be obtained compared to the case of configuring with a key register with parity check. , With the same amount of hardware, about 20%
It is possible to search with a long key.
さらに本発明では、キー・レジスタの障害を比較器を
用いて検出するため、比較器の一致検出機能の障害も同
時に検出できるので、障害検出機能を一層向上せしめる
ことができ、文字列検索装置の誤動作の防止効果があ
る。Further, in the present invention, since the failure of the key register is detected by using the comparator, the failure of the coincidence detection function of the comparator can be detected at the same time, so that the failure detection function can be further improved and the character string search device It has the effect of preventing malfunctions.
第1図は本発明を適用した文字列検索装置の一実施例の
ブロック図、第2図は第1図における一つのセルの詳細
図、第3図は第1図及び第2図のキー設定時の動作を説
明するためのタイムチャートである。 141〜144……セル、170……キー・ワードおよび被検索
対象データ入力線、171……レジスタ、161〜164……障
害検出線、167,175……障害検出フリップフロップ、201
……キー・レジスタ、203……比較器。FIG. 1 is a block diagram of an embodiment of a character string retrieval device to which the present invention is applied, FIG. 2 is a detailed diagram of one cell in FIG. 1, and FIG. 3 is a key setting in FIGS. 1 and 2. 7 is a time chart for explaining the operation at the time. 141 to 144 ... cell, 170 ... key word and search target data input line, 171 ... register, 161-164 ... fault detection line, 167,175 ... fault detection flip-flop, 201
...... Key register, 203 …… Comparator.
Claims (1)
ー・レジスタと、該キー・レジスタの内容を一方の入力
とし、検索対象文字列から順次文字単位に切り出される
データを他の入力とする比較器とから成るセルを複数個
カスケードに接続された文字列検索装置における障害検
出方式であって、 キー・ワードを構成する文字と検索対象文字列とを入力
する入力手段と、 キー・ワードを構成する文字を前記キー・レジスタに設
定する動作か、あるいは検索対象文字列からキー・ワー
ドを検索する動作かを指定する手段と、 検索対象文字列からキー・ワードを検索する動作の際
に、検索対象文字列から文字単位に切り出されるデータ
を順次記憶し、各セルへ送るデータ・レジスタと、 キー・ワードを構成する文字を前記キー・レジスタに設
定する動作の際に、順次セルを指定し、前記入力手段か
ら入力されるキー・ワードを構成する各文字を相異なる
セル内のキー・レジスタに設定するタイミングを発生す
る手段と、 キー・ワードを前記キー・レジスタに設定する動作の
際、前記各キー・レジスタへキー・ワードを構成する文
字を設定するタイミングと同時に、前記入力手段から入
力されるキー・ワードを構成する文字を前記データ・レ
ジスタに設定する手段とを設け、 キー・ワード設定時、キー・ワードを各セルの前記キー
・レジスタへ設定すると共に検索対象文字列として前記
比較器へ入力し、該比較器で一致の有無を検査するこ
と、 を特徴とする文字列検索装置の障害検出方式。1. A key register holding characters forming a key word, and the contents of the key register as one input, and data sequentially cut out in character units from a search target character string as another input. A failure detection method in a character string search device in which a plurality of cells each including a comparator are connected in a cascade, wherein an input means for inputting characters forming a key word and a search target character string and a key word A means for designating the operation of setting the constituent characters in the key register or the operation of searching for the key word from the search target character string, and the operation of searching for the key word from the search target character string, Data that is cut out in character units from the search target character string is sequentially stored, and the data register sent to each cell and the characters that make up the key word are set in the key register. In the operation, the means for sequentially designating the cells and generating the timing for setting each character forming the key word input from the input means to the key register in the different cell, and the key word are In the operation of setting in the key register, at the same time when the characters forming the key word are set in the key registers, the characters forming the key word input from the input means are set in the data register at the same time. Means for setting the key word to the key register of each cell and inputting it to the comparator as a character string to be searched when checking the existence of a match. A failure detection method for a character string search device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62039908A JPH0833896B2 (en) | 1987-02-23 | 1987-02-23 | Failure detection method for character string retrieval device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62039908A JPH0833896B2 (en) | 1987-02-23 | 1987-02-23 | Failure detection method for character string retrieval device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63206829A JPS63206829A (en) | 1988-08-26 |
| JPH0833896B2 true JPH0833896B2 (en) | 1996-03-29 |
Family
ID=12566055
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62039908A Expired - Lifetime JPH0833896B2 (en) | 1987-02-23 | 1987-02-23 | Failure detection method for character string retrieval device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0833896B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102736888A (en) * | 2012-07-02 | 2012-10-17 | 江汉大学 | Data retrieval circuit being synchronous with data stream |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5897743A (en) * | 1981-12-07 | 1983-06-10 | Nec Corp | High-speed matching method for character train |
| JPS58195971A (en) * | 1982-05-11 | 1983-11-15 | Fujitsu Ltd | Error detecting system of comparing circuit |
-
1987
- 1987-02-23 JP JP62039908A patent/JPH0833896B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102736888A (en) * | 2012-07-02 | 2012-10-17 | 江汉大学 | Data retrieval circuit being synchronous with data stream |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63206829A (en) | 1988-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0006328B2 (en) | System using integrated circuit chips with provision for error detection | |
| JP2608904B2 (en) | Multiple redundant false detection system and method of using same | |
| US3518413A (en) | Apparatus for checking the sequencing of a data processing system | |
| JP2009501367A (en) | Reduction of uncorrectable error rate in a lockstep dual module redundant system. | |
| CA1200909A (en) | Method for recovering from error in a microprogram- controlled unit | |
| JPH0833842B2 (en) | Logical operation device | |
| JPS58107964A (en) | Circuit device connected to error correction circuit | |
| JP3063334B2 (en) | Highly reliable information processing equipment | |
| US4943969A (en) | Isolation for failures of input signals supplied to dual modules which are checked by comparison | |
| JPS63206829A (en) | Fault detection method for string search device | |
| Beuscher et al. | Check schemes for integrated microprogrammed control and data transfer circuitry | |
| JPS62293441A (en) | Data outputting system | |
| JP7770618B2 (en) | Processing circuit and information processing device | |
| JPH05324391A (en) | Fault detector, fault detecting method and bus comparator | |
| JPH05100883A (en) | Semiconductor device for data processing | |
| Kim et al. | An Online Testing Scheme for PIM Using Pipeline Register Pair Comparison | |
| Hertwig et al. | Fast self-recovering controllers | |
| JPH07271625A (en) | Information processor | |
| JPH01142848A (en) | Address trapping circuit | |
| SU1072050A1 (en) | Device for checking error detection/corrrection blocks,operated with hamming code | |
| JPH0331953A (en) | Information processor | |
| JPH0268633A (en) | Check circuit for microprogram | |
| JPH10214207A (en) | Information processing system | |
| JPS5851360A (en) | Error check system | |
| JPS58199499A (en) | Data processor |