JPH0425981A - Data processor and data processing method - Google Patents
Data processor and data processing methodInfo
- Publication number
- JPH0425981A JPH0425981A JP2132081A JP13208190A JPH0425981A JP H0425981 A JPH0425981 A JP H0425981A JP 2132081 A JP2132081 A JP 2132081A JP 13208190 A JP13208190 A JP 13208190A JP H0425981 A JPH0425981 A JP H0425981A
- Authority
- JP
- Japan
- Prior art keywords
- input data
- data
- thresholds
- plural
- processing
- 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.)
- Granted
Links
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
入力データのエラー検出を行うデータ処理装置およびデ
ータ処理方法に関し、
入力データの処理経路をデータ値にかかわらず同一とし
かつその処理経路を簡素化することを目的とし、
複数のしきい値および上記複数のしきい値で区分される
複数の範囲に対応した複数のコードを格納した管理テー
ブルと、入力データと上記管理テーブル内の上記複数の
しきい値の各々を比較し、その比較結果に基づいたデー
タを出力する複数の比較部と、上、記複数の比較部から
出力されたデータを加算する加算部とを有し、上記加算
部の加算結果によって上記管理テーブル内の上記領域に
格納されている複数のコードのいずれかを選択して出力
するように構成するか、あるいは、上記構成において、
上記比較部と加算部からなる処理経路を複数個並列に設
けるように構成するか、あるいは、複数のしきい値およ
び上記複数のしきい値で区分される複数の範囲に対応し
た複数のコードを格納し、入力データを上記領域内に格
納されている複数のしきい値と比較し、その比較結果を
順次出力し、ついで上記出力を加算し、ついで上記加算
結果によって上記領域に格納されている複数のコードの
いずれかを選択して出力するように構成する。[Detailed Description of the Invention] [Summary] Regarding a data processing device and a data processing method that detect errors in input data, an object of the present invention is to make the processing path of input data the same regardless of the data value and to simplify the processing path. The purpose is to create a management table that stores multiple thresholds and multiple codes corresponding to multiple ranges divided by the multiple thresholds, and a management table that stores input data and the multiple thresholds in the management table. It has a plurality of comparison sections that compare each of the data and outputs data based on the comparison results, and an addition section that adds the data output from the plurality of comparison sections. The configuration is such that one of the multiple codes stored in the area in the management table is selected and output, or in the configuration,
Either a plurality of processing paths consisting of the comparison section and the addition section are provided in parallel, or a plurality of codes corresponding to a plurality of thresholds and a plurality of ranges divided by the plurality of thresholds are provided. The input data is compared with a plurality of threshold values stored in the above area, the comparison results are sequentially output, the above outputs are added, and the result of the above addition is stored in the above area. Configure to select and output one of multiple codes.
本発明は、入力データのエラー検出を行うデータ処理装
置およびデータ処理方法に関する。The present invention relates to a data processing device and a data processing method that detect errors in input data.
膨大な量の入力データを種々の基準に基づいて分類しエ
ラーコードを付して出力させるデータ処理では、次々に
入力されるデータに対して類似の処理が繰り返し行われ
る。従って全体の処理速度の向上を図るためには、個々
の入力データの処理経路をできるだけ単純化することが
必要である。In data processing in which a huge amount of input data is classified based on various criteria and output with an error code attached, similar processing is repeatedly performed on successive input data. Therefore, in order to improve the overall processing speed, it is necessary to simplify the processing path of each input data as much as possible.
〔従来の技術]
紙幣や証券などの紙葉類を鑑別するためのエラー検出処
理を行う際には、まず、基準となる真券の全体を微小頭
域に分けて各微小領域の濃淡を測定する。多数の真券に
ついてこのような測定を行った結果に基づき、各微小領
域毎に濃淡の許容範囲、即ち下限しきい値、上限しきい
値を決める。[Conventional technology] When performing error detection processing to identify paper sheets such as banknotes and securities, first, the entire standard genuine note is divided into micro-regions and the shading of each micro-region is measured. do. Based on the results of such measurements performed on a large number of genuine notes, a permissible range of shading, that is, a lower threshold value and an upper threshold value, is determined for each minute region.
ついで検査を受ける紙葉類を上記処理と同じ方法で区分
した微小領域についてその濃淡を測定し、この測定値を
同じ微小領域に対応する上記下限しきい値および上限し
きい値と比較する。そして測定値が下限しきい値以下の
場合に下限エラーコード、上限しきい値以上の場合に上
限エラーコード、許容範囲内の場合に正常コードを出力
させる。Next, the paper sheet to be inspected is divided into minute areas using the same method as described above, and the shading thereof is measured, and this measured value is compared with the lower and upper threshold values corresponding to the same minute areas. Then, a lower limit error code is output when the measured value is below the lower limit threshold, an upper limit error code is output when the measured value is above the upper limit threshold, and a normal code is output when the measured value is within the allowable range.
各微小頭域について繰り返し上記処理を行うことにより
検査を受ける紙葉類を構成する全ての微小領域に上記コ
ードのいずれかを対応させたコードマツプを得ることが
でき、紙葉類の鑑別はこのコードマツプにより行うこと
ができる。また、より精緻な鑑別を行うためには、下限
しきい値と上限しきい値との間にいくつかの中間しきい
値を設定してエラーコード数を増やすことも行われてい
る。By repeating the above process for each micro-head region, it is possible to obtain a code map in which one of the above codes corresponds to all the micro-regions that make up the paper sheet to be inspected, and paper sheets can be identified using this code map. This can be done by Furthermore, in order to perform more precise discrimination, several intermediate thresholds are set between the lower and upper thresholds to increase the number of error codes.
第6図はこのようなデータ処理を行う従来の方法を説明
するためのブロック図を示したものである。上述の方法
によって各微小領域毎に定められた下限しきい値、上限
しきい値およびこれらのしきい値との大小関係によって
入力データに付加される下限エラーコード、上限エラー
コードおよび正常コードが各々下限しきい値テーブル1
8、上限しきい値テーブル19、下限エラーコードテー
ブル20、上限エラーコードテーブル21および正常コ
ードテーブル22に格納されている。FIG. 6 shows a block diagram for explaining a conventional method for performing such data processing. The lower limit error code, upper limit error code, and normal code are added to the input data based on the lower limit threshold value, upper limit threshold value, and the magnitude relationship with these threshold values determined for each minute region by the method described above. Lower threshold table 1
8, upper limit threshold table 19, lower limit error code table 20, upper limit error code table 21, and normal code table 22.
以下第7図に示した流れ図に従って上記データ処理につ
いて説明する。The above data processing will be explained below according to the flowchart shown in FIG.
まず、最初の入力データが入力インターフェイス11に
取り込まれる。入力データの先頭数ビットはその入力デ
ータに対応する微小領域を特定する情報を含んでおり、
後の数ビットはデータ値を含んでいる。そして先頭数ビ
ットがアドレス生成部12に、後の数ビットが照合部1
23に送られる。アドレス生成部12は上記5個のテー
ブルに対応する5個のアドレス生成回路を有しており、
上記情報に基づいて最初の入力データが参照すべきしき
い値およびコードが格納されているアドレスを各テーブ
ルについて生成し各テーブルへ送る。そして、各テーブ
ルから上記アドレスに格納されているデータが読み出さ
れて以下の処理が行われる。即ち、照合部123では入
力データと下限しきい値テーブル18から読み出された
下限しきい値を照合する。First, first input data is taken into the input interface 11. The first few bits of input data contain information that specifies the minute area corresponding to the input data.
The last few bits contain data values. The first few bits are sent to the address generation unit 12, and the last few bits are sent to the matching unit 1.
Sent to 23rd. The address generation unit 12 has five address generation circuits corresponding to the five tables described above,
Based on the above information, an address where the threshold value and code to be referenced by the first input data are stored is generated for each table and sent to each table. Then, the data stored at the above address is read from each table and the following processing is performed. That is, the matching unit 123 matches the input data with the lower limit threshold value read from the lower limit threshold table 18.
そして、入力データが下限しきい値より小さい場合には
下限エラーコードテーブル20から下限エラーコードを
読み出して出力インターフェイス17を通して外部へ出
力する。ついで出力インターフェイス17は処理完了信
号を入力インターフェイス11に送り次の入力データの
取込みを開始させる。人力データが下限しきい値より大
きい場合には入力データは照合部I[24に送られる。If the input data is smaller than the lower limit threshold, the lower limit error code is read from the lower limit error code table 20 and outputted to the outside through the output interface 17. Then, the output interface 17 sends a processing completion signal to the input interface 11 to start receiving the next input data. If the human input data is greater than the lower threshold, the input data is sent to the matching unit I[24.
照合部1124では入力データと上限しきい値テーブル
19から読み出された上限しきい値を照合する。そして
入力データが上限しきい値より大きい場合には上限エラ
ーコードテーブル21から上限エラーコードを読み出し
て出力インターフェイス17を通して外部へ出力する。The collation unit 1124 collates the input data with the upper limit threshold value read from the upper limit threshold table 19 . If the input data is larger than the upper limit threshold, the upper limit error code is read from the upper limit error code table 21 and outputted to the outside through the output interface 17.
ついで出力インターフェイス17は処理完了信号を入力
インターフェイス11に送り次の入力データの取込みを
開始させる。入力データが上限しきい値より小さい場合
には正常コードテーブル22から正常コードを読み出し
て出力インターフェイス17を通して外部へ出力する。Then, the output interface 17 sends a processing completion signal to the input interface 11 to start receiving the next input data. If the input data is smaller than the upper limit threshold, a normal code is read from the normal code table 22 and outputted to the outside through the output interface 17.
ついで出力インターフェイス17は処理完了信号を入力
インターフェイス11に送り次の入力データの取込みを
開始させる。以上の処理を繰り返すことによって全ての
微小領域にコードを付したコードマツプを得ることがで
きる。Then, the output interface 17 sends a processing completion signal to the input interface 11 to start receiving the next input data. By repeating the above processing, it is possible to obtain a code map in which codes are attached to all minute regions.
ところが以上述べたところから明らかなように、上述の
データ処理では入力データの値に依存してデータの処理
経路が異なっている。例えば入力データが下限しきい値
より小さい場合には照合部I23で下限しきい値と照合
処理を行った後直ちに下限エラーコードテーブル20か
ら下限エラーコードを読み出して次の入力データの処理
を開始させることができるが、入力データが正常値であ
る場合には照合部123における照合処理に続いて照合
部[24において照合処理を行ない正常コードテーブル
22から正常エラーコードを読み出す処理が加わるため
前者に比べて処理に要する時間が長くなる。However, as is clear from the above description, in the data processing described above, the data processing path differs depending on the value of input data. For example, if the input data is smaller than the lower limit threshold, the collation unit I23 performs the collation process with the lower limit threshold, immediately reads the lower limit error code from the lower limit error code table 20, and starts processing the next input data. However, if the input data is a normal value, the verification process in the verification unit 123 is followed by the verification process in the verification unit [24], and the processing to read the normal error code from the normal code table 22 is added, so it is less expensive than the former. This increases the time required for processing.
従って、複数のデータを同時に入力して並列処理を進め
る場合、後から入力されるデータが前に入力されたデー
タを追い越す場合も生じ、出力データが入力データに対
応せず正しいコードマツプが得られなくなるという問題
が生じる。このような不都合を避けるためには入力され
た複数のデータの処理が全て完了した後、次の複数の入
力データの処理を開始させねばならない。しかしこの方
法では、並列処理される複数の入力データのうち最も処
理速度の遅い入力データによって全体の処理速度が決め
られてしまう。また、より精緻なエラーコードマツプを
得るためには、しきい値の数をさらに増やす必要がある
が、この場合には人力データの値による処理速度の違い
はさらに大きくなって上記のような弊害が顕著になる。Therefore, when parallel processing is performed by inputting multiple data at the same time, the data input later may overtake the data input earlier, and the output data will not correspond to the input data, making it impossible to obtain a correct code map. A problem arises. In order to avoid such inconvenience, processing of the next plurality of input data must be started after processing of all the plurality of input data is completed. However, in this method, the overall processing speed is determined by the input data that has the slowest processing speed among the plurality of input data that are processed in parallel. In addition, in order to obtain a more precise error code map, it is necessary to further increase the number of thresholds, but in this case, the difference in processing speed depending on the value of human data becomes even larger, causing the above-mentioned problems. becomes noticeable.
さらに上述の例では入力データを処理するためのしきい
値およびコードごとにテーブルを設けているため、各テ
ーブルに対するアドレス生成回路が必要となり、アドレ
ス管理が煩雑になりこれが処理速度の低下をもたらす原
因となる。Furthermore, in the above example, a table is provided for each threshold value and code for processing input data, so an address generation circuit is required for each table, which makes address management complicated and causes a decrease in processing speed. becomes.
そこで本発明は、入力データの処理経路をデータ値にか
かわらず同一としかつその処理経路を簡素化することを
目的とする。Therefore, it is an object of the present invention to make the processing path of input data the same regardless of the data value and to simplify the processing path.
上記課題の解決は、複数のしきい値および上記複数のし
きい値で区分される複数の範囲に対応した複数のコード
を格納した管理テーブルと、入力データと上記管理テー
ブル内の上記複数のしきい値の各々を比較し、その比較
結果に基づいたデータを出力する複数の比較部と、上記
複数の比較部から出力されたデータを加算する加算部と
を有し、上記加算部の加算結果によって上記管理テーブ
ル内の上記領域に格納されている複数のコードのいずれ
かを選択して出力することを特徴とするデータ処理装置
、あるいは、上記比較部と上記加算部からなる処理経路
を複数個並列に設けたことを特徴とする上記データ処理
装置、あるいは、複数のしきい値および上記複数のしき
い値で区分される複数の範囲に対応した複数のコードを
格納し、入力データを上記領域内に格納されている複数
のしきい値と比較し、その比較結果を順次出力し、つい
で上記出力を加算し、ついで上記加算結果によって上記
領域に格納されている複数のコードのいずれかを選択し
て出力することを特徴とするデータ処理方法によって達
成される。The solution to the above problem is to create a management table that stores multiple thresholds and multiple codes corresponding to multiple ranges divided by the multiple thresholds, and a management table that stores input data and the multiple codes in the management table. It has a plurality of comparison sections that compare each of the threshold values and outputs data based on the comparison results, and an addition section that adds the data output from the plurality of comparison sections, and the addition result of the addition section a data processing device that selects and outputs one of a plurality of codes stored in the area of the management table, or a plurality of processing paths each consisting of the comparison section and the addition section; The above-mentioned data processing device is characterized in that it is provided in parallel, or the above-mentioned data processing device stores a plurality of thresholds and a plurality of codes corresponding to a plurality of ranges divided by the plurality of thresholds, and input data is processed into the above-mentioned area. Compare the code with multiple threshold values stored in the area, output the comparison results sequentially, add the above outputs, and then select one of the multiple codes stored in the area based on the result of the addition. This is achieved by a data processing method characterized by outputting the data as follows.
本発明では、1個の入力データが参照すべき複数のしき
い値および複数のコードを格納した単一の管理テーブル
をあらかじめ用意する。そして入力データを上記管理テ
ーブル内に記録されている複数のしきい値の各々と順次
比較し、その入力データがしきい値より小さい場合に0
、大きい場合に1を出力させてその結果を加算する。こ
の加算して得られた数値は、その入力データより小さい
しきい値が何個あるかを示しており、複数のしきい値で
区分される複数の領域の各々に対して異なった値をとる
。そこで、この数値を識別子として用いることにより上
記複数の領域に対応するコードのいずれかを選択して出
力させることができる。In the present invention, a single management table is prepared in advance in which a plurality of threshold values and a plurality of codes to be referred to by one piece of input data are stored. Then, the input data is sequentially compared with each of the plurality of threshold values recorded in the management table, and if the input data is smaller than the threshold value, the input data is zero.
, if it is larger, output 1 and add the result. The value obtained by this addition indicates how many thresholds are smaller than the input data, and takes a different value for each of multiple areas divided by multiple thresholds. . Therefore, by using this numerical value as an identifier, it is possible to select and output one of the codes corresponding to the plurality of areas.
また、入力データはそのデータ値にかかわりなく同じ処
理経路を通って処理されるため全ての入力データに対す
る処理時間は同一となる。従って、比較部と加算部から
なる処理経路を複数個並列に設けて複数の入力データの
並列処理を行った場合、従来のように前に入力したデー
タが後から入力されたデータに追い越されるという不都
合は生じない。Furthermore, since input data is processed through the same processing path regardless of its data value, the processing time for all input data is the same. Therefore, if multiple processing paths consisting of comparison sections and addition sections are provided in parallel to process multiple input data in parallel, the data input earlier will be overtaken by the data input later. No inconvenience will occur.
第1図は本発明の実施例を示すブロック図であり、第6
図と同一の機能を有するものには同一番号を付した。こ
の実施例では従来技術の項で述べた紙葉類の鑑別のため
のデータ処理、即ち次々に入力される入力データが下限
しきい値以下のとき下限エラーコード、上限しきい値以
上のとき上限エラーコード、下限しきい値以上であって
上限しきい値以下のとき正常エラーコードを出力するデ
ータ処理を実行する例について述べる。管理テーブル1
3には第2図に示したように、ある微小領域に対する下
限しきい値、上限しきい値、下限エラーコード、上限エ
ラーコード、正常コード各1ワードをA番地よりA+4
番地までの連続するアドレスで指定される同じ領域に格
納する。そして下限エラーコード、正常コード、上限エ
ラーコードのアドレスには各々0.1.2のオフセット
を設定しておく。他の微小領域についても同様な方法に
より、しきい値およびコードをたとえばA+5番地以下
に格納する。第3図は本発明の実施例を示す流れ図であ
る。第4図は第1図に示したブロック図における比較部
114、比較部1115および加算部16の出力を示し
たものである。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG.
Components with the same functions as those in the figure are given the same numbers. In this embodiment, the data processing for identifying paper sheets described in the prior art section is performed. That is, when the input data that is input one after another is below the lower limit threshold, a lower limit error code is issued, and when the input data is greater than the upper limit threshold, the upper limit error code is used. An example will be described in which data processing is executed to output a normal error code when the error code is greater than or equal to the lower threshold and less than the upper threshold. Management table 1
3, as shown in Figure 2, one word each of the lower limit threshold value, upper limit threshold value, lower limit error code, upper limit error code, and normal code for a certain micro area is written from address A to A+4.
Store in the same area specified by consecutive addresses up to address. Then, an offset of 0.1.2 is set for each of the lower limit error code, normal code, and upper limit error code addresses. A similar method is used for other small areas to store threshold values and codes, for example, at addresses A+5 and below. FIG. 3 is a flow diagram illustrating an embodiment of the present invention. FIG. 4 shows the outputs of comparison section 114, comparison section 1115, and addition section 16 in the block diagram shown in FIG. 1.
まず第1図に示したように、入力データが入力インター
フェイス11に取り込まれる。入力データはたとえば3
2ビツトで構成され、先頭の4ビツトは、その入力デー
タが属する微小領域についての情報を含み、後のピッ)
ffI域はデータ値を含んでいる。そこで、入力デー
タの先頭」ビットがアドレス生成部12に送られるとと
もに後のビット領域が比較部114に送出される。アド
レス生成部I2では上記入力データの属する微小領域を
示す番地、たとえばA番地を生成してこれを管理テーブ
ル13に送るとともにA+1番地に遷移する。比較部1
14では、入力データと管理テーブル13のA番地から
読み出した下限しきい値を比較する。そして第4図に見
られるように、入力データが下限しきい値より小さい場
合にO1大きい場合に1を発止して入力データとともに
次の比較部1115に送出する。First, as shown in FIG. 1, input data is taken into the input interface 11. For example, the input data is 3
Consists of 2 bits, the first 4 bits contain information about the minute area to which the input data belongs, and the subsequent bits)
The ffI area contains data values. Therefore, the first bit of the input data is sent to the address generation section 12, and the subsequent bit area is sent to the comparison section 114. The address generating section I2 generates an address indicating the minute area to which the input data belongs, for example, address A, and sends this to the management table 13, and transitions to address A+1. Comparison part 1
In step 14, the input data is compared with the lower limit threshold value read from address A of the management table 13. As shown in FIG. 4, when the input data is smaller than the lower limit threshold value, O1 is generated, and when it is larger, 1 is generated and sent to the next comparison section 1115 together with the input data.
ついでアドレス生成部工2では管理テーブル13のA+
1番地を管理テーブル13に送るとともにA+2番地に
遷移する。比較部ff15では、比較部114から送ら
れてきた入力データと管理テーブル13のA+1番地か
ら読み出した上限しきい値とを比較する。そして第4図
に見られるように入力データが上限しきい値より小さい
場合に0、大きい場合に1を発生して比較部114の出
力とともに加算部16に入力する。加算部16において
比較部114と比較部1115の結果が加算されると第
4図に示したように、入力データ値が下限しきい値以下
のときに0゜正常値のとき1、上限しきい値以上のとき
2が出力される。そこでこの数値をオフセットとして管
理テーブル13に送りA+2番地がらA+4番地に付さ
れている対応したオフセットを有する番地を選択する。Next, in the address generation section 2, A+ of the management table 13
The address 1 is sent to the management table 13 and the address is transferred to address A+2. The comparison unit ff15 compares the input data sent from the comparison unit 114 with the upper limit threshold value read from address A+1 of the management table 13. Then, as shown in FIG. 4, when the input data is smaller than the upper limit threshold value, 0 is generated, and when it is larger, 1 is generated and inputted to the adder 16 together with the output of the comparator 114. When the results of the comparator 114 and the comparator 1115 are added in the adder 16, as shown in FIG. When the value is greater than or equal to the value, 2 is output. Therefore, this numerical value is used as an offset to be sent to the management table 13, and an address having a corresponding offset attached to address A+4 from address A+2 is selected.
そして選択された番地に格納されているコードが読み出
されて出力インターフェイス17を介して外部へ取り出
される。ついで出力インターフェイス17では入力イン
ターフェイス11へ処理終了信号を送出して次の入力デ
ータの処理を開始させる。次々に入力されるデータにつ
いて以上の処理を繰り返すことによってコードマツプを
得ることができ、これによって紙葉類の鑑別を行う。The code stored at the selected address is then read out and taken out to the outside via the output interface 17. Then, the output interface 17 sends a processing end signal to the input interface 11 to start processing the next input data. By repeating the above processing for successive input data, a code map can be obtained, and paper sheets can be identified using this code map.
以上の実施例では、下限しきい値と上限しきい値のみを
設定した場合について述べたが、下限しきい値と上限し
きい値との間に中間しきい値を設けてこれらのしきい値
で区分される領域数を増やすことによって、より精緻な
コードマツプを得ることもでき、この場合には増やした
しきい偵の数に応じて継続接続される比較部を増やすこ
とで上述と同様な処理を行わせることができる。In the above embodiment, only the lower threshold and upper threshold are set, but an intermediate threshold is provided between the lower threshold and the upper threshold to set these thresholds. A more precise code map can be obtained by increasing the number of regions divided by can be made to do so.
また、本実施例では入力データを1個ずつ入力し処理す
る場合について述べたが、複数の入力データの並列処理
を行う場合には第5図に示したように比較部114、比
較部1115および加算部16からなる処理経路を並列
に接続する。そして、並列に入力された複数の入力デー
タの各先頭ビットからアドレス生成部12でアドレスを
生成させて管理テーブル13をアクセスし、並列接続さ
れた比較部114、比較部1115および加算部16に
送って並列に演算を行わせる。このとき、各々の処理時
間は前述したようにデータ値にかかわらず同一であるた
め、出力データは出力インターフェイス17から同時に
出力される。従って、複数の入力データを次々に入力さ
せ処理していく場合にも後の入力データが前の入力デー
タを追い越すような不都合は生ぜず、正常に並列処理を
進めることができる。Further, in this embodiment, the case where input data is input and processed one by one has been described, but when performing parallel processing of a plurality of input data, as shown in FIG. Processing paths consisting of adders 16 are connected in parallel. Then, the address generation unit 12 generates an address from each leading bit of the plurality of input data input in parallel, accesses the management table 13, and sends the address to the comparison unit 114, comparison unit 1115, and addition unit 16 connected in parallel. to perform calculations in parallel. At this time, since each processing time is the same regardless of the data value as described above, the output data are output from the output interface 17 at the same time. Therefore, even when a plurality of input data are input and processed one after another, there is no problem that later input data overtakes previous input data, and parallel processing can proceed normally.
以上のように本発明は、大量の入力データのエラー検出
を並列処理によって高速で行う場合に極めて有効である
。As described above, the present invention is extremely effective when detecting errors in a large amount of input data at high speed through parallel processing.
第1図は本発明の実施例を示すブロック図、第2図は管
理テーブル、
第3図は本発明の実施例を示す流れ図、第4図は比較部
■、比較部■および加算部の出力を示す図、
第5図は本発明の他の実施例を示すブロック図、第6図
は従来例の問題点を示すブロック図、第7図は従来例の
問題点を示す流れ図、である。
図において、
11は入力インターフェイス、
12はアドレス生成部、
13は管理テーブル、
14は比較部I、
15は比較部■、
16は加算部、
17は出力インターフェイス、
18は下限しきい値テーブル、
19は上限しきい値テーブル、
20は下限エラーコードテーブル、
21は上限エラーコードテーブル、
22は正常コードテーブル、
23は照合部I、
24は照合部■、
である。
本発明の実施例を示すブロック図
第
図
管理テーブル
第
図
第
図
下限しきい値
上限しきい値
←Q :l l → 比較部1の出
力←O: 0 : 1→ 比較部■
の出力←0 、 1 : 2→
加算部の出力比較部I、比較部■および加算部の出力
を示す同第4図
本発明の他の実施例を示すブロック図
第
図
出力データ
従来例の問題点を示すブロック図
第
図Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a management table, Fig. 3 is a flowchart showing an embodiment of the invention, and Fig. 4 is the output of the comparator section ■, the comparator section ■, and the adder section. FIG. 5 is a block diagram showing another embodiment of the present invention, FIG. 6 is a block diagram showing problems in the conventional example, and FIG. 7 is a flow chart showing problems in the conventional example. In the figure, 11 is an input interface, 12 is an address generation section, 13 is a management table, 14 is a comparison section I, 15 is a comparison section ■, 16 is an addition section, 17 is an output interface, 18 is a lower limit threshold table, 19 20 is an upper limit threshold table, 20 is a lower limit error code table, 21 is an upper limit error code table, 22 is a normal code table, 23 is a collation unit I, and 24 is a collation unit (2). Block diagram showing an embodiment of the present invention Figure Management table Figure Lower limit threshold Upper threshold ← Q: l l → Output of comparison section 1 ← O: 0: 1 → Comparison section ■
Output ← 0, 1: 2→
Outputs of the adder Figure 4 shows the outputs of the comparison unit I, the comparison unit 2, and the adder. Figure 4 is a block diagram illustrating another embodiment of the present invention. Output data is a block diagram illustrating problems with the conventional example.
Claims (3)
される複数の範囲に対応した複数のコードを格納した管
理テーブル(13)と、 入力データと上記管理テーブル(13)内の上記複数の
しきい値の各々を比較し、その比較結果に基づいたデー
タを出力する複数の比較部(14)、(15)と、上記
複数の比較部(14)、(15)から出力されたデータ
を加算する加算部(16)とを有し、上記加算部(16
)の加算結果によって上記管理テーブル(13)内の上
記領域に格納されている複数のコードのいずれかを選択
して出力することを特徴とするデータ処理装置。(1) A management table (13) storing a plurality of thresholds and a plurality of codes corresponding to a plurality of ranges divided by the plurality of thresholds, and input data and the above in the management table (13). A plurality of comparison units (14) and (15) that compare each of the plurality of threshold values and output data based on the comparison results, and a plurality of comparison units (14) and (15) that output data based on the comparison results. an addition section (16) for adding data;
), the data processing device selects and outputs one of the plurality of codes stored in the area in the management table (13) according to the addition result.
6)からなる処理経路を複数個並列に設けたことを特徴
とする請求項(1)記載のデータ処理装置。(2) The comparison sections (14) and (15) and the addition section (1
6) The data processing device according to claim 1, wherein a plurality of processing paths consisting of the following are provided in parallel.
される複数の範囲に対応した複数のコードを格納し、 入力データを上記領域内に格納されている複数のしきい
値と比較し、その比較結果を順次出力し、ついで上記出
力を加算し、 ついで上記加算結果によって上記領域に格納されている
複数のコードのいずれかを選択して出力することを特徴
とするデータ処理方法。(3) Store multiple thresholds and multiple codes corresponding to multiple ranges divided by the multiple thresholds, and compare input data with the multiple thresholds stored in the above areas. and sequentially outputting the comparison results, then adding the above outputs, and then selecting and outputting one of the plurality of codes stored in the above area based on the above addition result.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2132081A JP2658501B2 (en) | 1990-05-22 | 1990-05-22 | Data processing device and data processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2132081A JP2658501B2 (en) | 1990-05-22 | 1990-05-22 | Data processing device and data processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0425981A true JPH0425981A (en) | 1992-01-29 |
| JP2658501B2 JP2658501B2 (en) | 1997-09-30 |
Family
ID=15073065
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2132081A Expired - Fee Related JP2658501B2 (en) | 1990-05-22 | 1990-05-22 | Data processing device and data processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2658501B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58165146A (en) * | 1982-03-25 | 1983-09-30 | Fujitsu Ltd | Controlling system of comparing operation |
| JPS62138255U (en) * | 1986-02-25 | 1987-08-31 | ||
| JPH01219673A (en) * | 1988-02-29 | 1989-09-01 | Hioki Ee Corp | Comparing device of data |
-
1990
- 1990-05-22 JP JP2132081A patent/JP2658501B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58165146A (en) * | 1982-03-25 | 1983-09-30 | Fujitsu Ltd | Controlling system of comparing operation |
| JPS62138255U (en) * | 1986-02-25 | 1987-08-31 | ||
| JPH01219673A (en) * | 1988-02-29 | 1989-09-01 | Hioki Ee Corp | Comparing device of data |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2658501B2 (en) | 1997-09-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH11505052A (en) | System and method for reducing search range of lexical dictionary | |
| JPH05113930A (en) | Flexible n-way-memory interleaving method | |
| JP2000215678A (en) | Associative memory device and associative memory searching method | |
| US6321173B1 (en) | System and method for efficient verification of functional equivalence between design models | |
| US8626688B2 (en) | Pattern matching device and method using non-deterministic finite automaton | |
| JPH0425981A (en) | Data processor and data processing method | |
| US6112173A (en) | Pattern recognition device using tree structure data | |
| JP2824741B2 (en) | ATM cell detector | |
| JP3190700B2 (en) | Address translator | |
| EP0508412A2 (en) | Microcomputer with rapid-access memory and compiler optimised for use therewith | |
| JP2918380B2 (en) | Post-processing method of character recognition result | |
| JP2564881B2 (en) | Bit string comparison method | |
| JP4076533B2 (en) | Information conversion apparatus and program | |
| JPH04279973A (en) | Character string comparison system | |
| JP2773657B2 (en) | String search device | |
| JP2875678B2 (en) | Post-processing method of character recognition result | |
| JP2643399B2 (en) | Information processing device | |
| JPS598864B2 (en) | Pattern recognition method | |
| JPH07121665A (en) | Compiling method and retrieving method for character recognition dictionary | |
| JPS5935053B2 (en) | Code conversion method | |
| JPH0540854A (en) | Post-processing method for character recognizing result | |
| JPH0315775B2 (en) | ||
| JPS61224731A (en) | Changing point detection system | |
| JPS616739A (en) | Pattern matching device | |
| JPH07129589A (en) | Morpheme analyzer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |