JP2529466B2 - Separator - Google Patents

Separator

Info

Publication number
JP2529466B2
JP2529466B2 JP2332377A JP33237790A JP2529466B2 JP 2529466 B2 JP2529466 B2 JP 2529466B2 JP 2332377 A JP2332377 A JP 2332377A JP 33237790 A JP33237790 A JP 33237790A JP 2529466 B2 JP2529466 B2 JP 2529466B2
Authority
JP
Japan
Prior art keywords
data
output
address
search
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2332377A
Other languages
Japanese (ja)
Other versions
JPH04195681A (en
Inventor
敦史 安藤
祐司 菅野
正雄 伊藤
登 田村
健 ▲つる▼林
佳宏 早川
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 JP2332377A priority Critical patent/JP2529466B2/en
Publication of JPH04195681A publication Critical patent/JPH04195681A/en
Application granted granted Critical
Publication of JP2529466B2 publication Critical patent/JP2529466B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、計算機を利用したデータ処理などで利用さ
れる区切り装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a separator used in data processing using a computer.

従来の技術 バイト列のような列型データから指定されたパターン
を探し出し、そのパターンの直前又は直後で列型データ
を区切る処理を考える。
2. Description of the Related Art Consider a process of finding a specified pattern from column-type data such as a byte string, and separating the column-type data immediately before or after the pattern.

従来、このような区切り処理はプログラミング言語AW
K(A.V.エイホ他著、株式会社トッパン発行)などのよ
うにソフトウェアプログラムにより実現されることが一
般的である。
Conventionally, such delimiter processing is performed by the programming language AW.
It is generally realized by a software program such as K (written by AV Eiho et al., Published by Toppan Co., Ltd.).

発明が解決しようとする課題 しかし、ソフトウェアプログラムによる区切り処理で
は、区切りパターンの指定の自由度が高い反面、処理速
度が遅いといった課題がある。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention However, in the delimiter processing by a software program, there is a problem that the delimiter pattern has a high degree of freedom in designation, but the processing speed is slow.

本発明はこのような課題を鑑み、バイト列など被処理
データを走査して指定されたパターンを探し出し、パタ
ーンと一致する部分に指定されたデータ属性値を付加し
て出力することにより、被処理データ中におけるパター
ンの位置と長さを明らかにすることを目的とし、さらに
正規表現で表されたパターンを受理し、パターン情報と
データ属性値の対を複数個設定可能とすることにより、
パターン設定の自由度を低下させないようにすることを
目的とする。
In view of such a problem, the present invention scans data to be processed such as a byte string to search for a specified pattern, adds a specified data attribute value to a portion that matches the pattern, and outputs the processed data. For the purpose of clarifying the position and length of the pattern in the data, by accepting the pattern represented by the regular expression, and by making it possible to set multiple pairs of pattern information and data attribute value,
The purpose is not to lower the flexibility of pattern setting.

課題を解決するための手段 上記目的を解決するために、被処理データを格納する
データ記憶部と、パターン情報とデータ属性値の対を複
数個格納できる状態遷移表と、前記状態遷移表を用いた
有限状態オートマトンによる照合でパターンを探査し、
さらにデータ出力の時には、前記状態遷移表からデータ
属性値を取り出し、出力データに付加して出力する照合
部と、探査アドレスを生成し、探査終了アドレスを記憶
する探査アドレス生成部と、データ出力用のアドレス
を、探査終了アドレスに一致するまで生成し、出力終了
アドレスを記憶する出力アドレス生成部とを設けてい
る。
Means for Solving the Problems In order to solve the above-mentioned object, a data storage unit for storing processed data, a state transition table capable of storing a plurality of pairs of pattern information and a data attribute value, and the state transition table are used. The pattern was searched by the matching with the finite state automaton,
Further, at the time of data output, a collation unit that extracts the data attribute value from the state transition table and adds it to the output data and outputs it, a search address generation unit that generates a search address and stores the search end address, and a data output unit. And an output address generation unit that stores the output end address.

作用 本発明は探査アドレス生成部と照合部により、データ
記憶部に格納されている被処理データを走査して指定さ
れたパターンを探し出す。このとき探査開始アドレスは
前回の探査が終了したアドレスに続く値である。照合結
果が確定すると、制御部からの信号によって出力アドレ
ス生成部はデータ出力用のアドレスを、探査開始アドレ
スから順に、探査アドレス生成部が記憶している探査終
了アドレスに一致するまで生成する。これによって再度
データ記憶部からデータが取り出され照合部に入力され
る。照合部では、状態遷移表から取り出したデータ属性
値をデータに付加して出力する。データの出力が終了す
ると、再びパターンの探査を開始する。
Function According to the present invention, the processed address stored in the data storage unit is scanned by the search address generation unit and the collation unit to search for the specified pattern. At this time, the search start address is a value following the address at which the previous search is completed. When the collation result is determined, the output address generation unit generates a data output address in order from the search start address until a match with the search end address stored in the search address generation unit is generated by a signal from the control unit. As a result, the data is again retrieved from the data storage unit and input to the collation unit. The collating unit adds the data attribute value extracted from the state transition table to the data and outputs the data. When the data output is completed, the pattern search is started again.

以上の処理を続けることにより、被処理データは未加
工のまま出力されると共に、被処理データ中のパターン
部分に、そのパターンに対応したデータ属性値が付加さ
れて出力される。従って原データとそれに付加されたデ
ータ属性値を見ることにより、被処理データ中でのパタ
ーンの位置と長さを明らかにすることができる。
By continuing the above processing, the processed data is output unprocessed, and the data attribute value corresponding to the pattern is added to the pattern portion in the processed data and output. Therefore, by looking at the original data and the data attribute value added to it, the position and length of the pattern in the processed data can be clarified.

また有限状態オートマトンによる照合であるので、正
規表現で表されたパターンを受理することが可能であ
り、さらに状態遷移表を適当な大きさにすることで、パ
ターン情報とデータ属性値の対を複数個設定できる。従
ってパターン設定の自由度は、ソフトウェアプログラム
による区切り処理の場合と同程度とすることが可能とな
る。
Also, since it is a collation by a finite state automaton, it is possible to accept a pattern represented by a regular expression. Furthermore, by making the state transition table an appropriate size, multiple pairs of pattern information and data attribute values can be received. Can be set individually. Therefore, the degree of freedom in pattern setting can be made approximately the same as in the case of the delimitation process by the software program.

実施例 本発明の実施例を図面を用いて説明する。Embodiment An embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例における区切り装置のブロ
ック図である。第1図において、101は実施例の装置全
体を制御する制御部、102は探査アドレス生成部、103は
出力アドレス生成部、104は探査アドレス又は出力アド
レスのいづれか一方を選択するアドレス選択部、105は
被処理データを格納するためのデータ記憶部、106は区
切りを表すパターン情報とデータ属性値の対を複数個を
格納できる状態遷移表、107は状態遷移表106内の情報を
用いて有限状態オートマトンによる照合でデータ記憶部
105内の被処理データからパターンを探査し、データ出
力時には状態遷移表106から対応したデータ属性値を取
り出し、出力データに付加して出力する照合部、108は
データ記憶部105に被処理データを格納するデータ入力
部、109はアドレス生成信号、110は探査アドレスがデー
タ記憶部105の末尾に達したことを示す終了信号、111は
出力アドレスが探査終了アドレスに一致したことを示す
一致信号、112は選択信号、113は各部の動作を制御する
複数の制御信号、114は出力データ、115は出力データに
対応したデータ属性値、116は入力データである。
FIG. 1 is a block diagram of a dividing device according to an embodiment of the present invention. In FIG. 1, 101 is a control unit for controlling the entire apparatus of the embodiment, 102 is a search address generation unit, 103 is an output address generation unit, 104 is an address selection unit for selecting either search address or output address, 105 Is a data storage unit for storing the data to be processed, 106 is a state transition table capable of storing a plurality of pairs of pattern information indicating a delimiter and data attribute value, and 107 is a finite state using the information in the state transition table 106. Data storage by collation by automaton
The pattern is searched from the data to be processed in 105, the corresponding data attribute value is taken out from the state transition table 106 at the time of data output, and is added to the output data to be output, and 108 is the data storage unit 105. A data input unit for storing, 109 is an address generation signal, 110 is an end signal indicating that the search address has reached the end of the data storage unit 105, 111 is a match signal indicating that the output address matches the search end address, 112 Is a selection signal, 113 is a plurality of control signals for controlling the operation of each unit, 114 is output data, 115 is a data attribute value corresponding to the output data, and 116 is input data.

次に本実施例における本発明の構成要素の各々をブロ
ック図を用いて説明した後、本実施例全体の動作を説明
する。
Next, each of the constituent elements of the present invention in this embodiment will be described using block diagrams, and then the operation of the entire embodiment will be described.

探査アドレス生成部102のブロック図を第2図に示
す。第2図において、201はNビット(Nは自然数)の
カウンタ、202はNビット(Nは自然数)のレジスタ、2
03はアドレス生成信号、204は探査アドレス、205は終了
信号、206は制御信号である。
A block diagram of the search address generator 102 is shown in FIG. In FIG. 2, 201 is an N-bit (N is a natural number) counter, 202 is an N-bit (N is a natural number) register, 2
Reference numeral 03 is an address generation signal, 204 is a search address, 205 is an end signal, and 206 is a control signal.

第2図で示される探査アドレス生成部の動作について
説明する。アドレス生成信号203が入力されると、立上
りエッジによってカウンタ201の値をレジスタ202に格納
すると共に探査アドレス204として出力する。またアド
レス生成信号203の立下がりエッジによってカウンタ201
の値を更新する。探査アドレス204がデータ記憶部105の
末尾に達したことを示す終了信号205は、カウンタ201の
最上位桁の桁上がりを検出することで生成される。制御
信号206によってカウンタ201の値は零に設定される。
The operation of the search address generation unit shown in FIG. 2 will be described. When the address generation signal 203 is input, the value of the counter 201 is stored in the register 202 and output as the search address 204 at the rising edge. In addition, the counter 201 is activated by the falling edge of the address generation signal 203.
Update the value of. The end signal 205 indicating that the search address 204 has reached the end of the data storage unit 105 is generated by detecting the carry of the most significant digit of the counter 201. The value of the counter 201 is set to zero by the control signal 206.

出力アドレス生成部103のブロック図を第3図に示
す。第3図において、301はNビット(Nは自然数)の
カウンタ、302はNビット(Nは自然数)のレジスタ、3
03はアドレス生成信号、304は出力アドレス、305は比較
回路、306は一致信号、307は探査終了アドレス、308は
制御信号である。
A block diagram of the output address generator 103 is shown in FIG. In FIG. 3, 301 is an N-bit (N is a natural number) counter, 302 is an N-bit (N is a natural number) register, 3
Reference numeral 03 is an address generation signal, 304 is an output address, 305 is a comparison circuit, 306 is a match signal, 307 is a search end address, and 308 is a control signal.

第3図で示される出力アドレス生成部の動作について
説明する。アドレス生成信号303が入力されると、立上
りエッジによってカウンタ301の値をレジスタ302に格納
すると共に出力アドレス304として出力する。またアド
レス生成信号303の立下がりエッジによってカウンタ301
の値を更新する。比較回路305は出力アドレス304と探査
終了アドレス307とを比較し、一致した場合に一致信号3
06を出力する。制御信号308によってカウンタ301の値は
零に設定される。
The operation of the output address generator shown in FIG. 3 will be described. When the address generation signal 303 is input, the value of the counter 301 is stored in the register 302 and output as the output address 304 at the rising edge. Also, the counter 301 is generated by the falling edge of the address generation signal 303.
Update the value of. The comparison circuit 305 compares the output address 304 with the search end address 307, and if they match, a match signal 3
Outputs 06. The value of the counter 301 is set to zero by the control signal 308.

データ記憶部105は、アドレスが零から2のN乗まで
であるランダムアクセス可能な記憶装置である。
The data storage unit 105 is a randomly accessible storage device having addresses from 0 to 2 N.

照合部107のブロック図を第4図に示す。第4図にお
いて、401は状態を保持する状態レジスタ、402は状態ア
ドレス生成回路、403はデマルチプレクサ、404はデー
タ、405は出力データ、406は状態アドレス、407は状態
遷移表からの状態値、408はデータ属性値、409は状態情
報、410は選択信号、411は制御信号である。
A block diagram of the matching unit 107 is shown in FIG. In FIG. 4, 401 is a state register that holds a state, 402 is a state address generation circuit, 403 is a demultiplexer, 404 is data, 405 is output data, 406 is a state address, 407 is a state value from the state transition table, Reference numeral 408 is a data attribute value, 409 is status information, 410 is a selection signal, and 411 is a control signal.

第4図で示される照合部の動作の内、まずはじめに照
合処理時の動作について説明する。データ404はデマル
チプレクサ403を介して状態アドレス生成回路402に入力
される。状態アドレス生成回路402では、現在の状態と
入力されたデータから状態アドレス406を生成し、制御
信号411に従って状態遷移表106へ出力する。状態遷移表
106から得られた状態値407は制御信号401によって状態
レジスタ401に格納され、さらに状態情報409として出力
される。このとき状態レジスタ401に格納された状態値4
07が、状態遷移後の新たな状態となる。
Among the operations of the matching unit shown in FIG. 4, the operation during the matching process will be described first. The data 404 is input to the state address generation circuit 402 via the demultiplexer 403. The state address generation circuit 402 generates a state address 406 from the current state and the input data, and outputs it to the state transition table 106 according to the control signal 411. State transition table
The state value 407 obtained from 106 is stored in the state register 401 by the control signal 401, and is further output as the state information 409. Status value 4 stored in status register 401 at this time
07 is the new state after the state transition.

次にデータ出力時の動作について説明する。状態遷移
表106から得られた状態値407が終了状態である場合、状
態値407の一部分がデータ属性値を表わしている。選択
信号410によって状態レジスタ401からデータ属性値408
が出力される。またこれと同時にデマルチプレクサ403
はデータ404を出力データ405として出力するように設定
される。従って、データ404は未加工のまま出力データ4
05として出力されると共に、データ属性値408が出力さ
れる。なお、制御信号411によって状態レジスタ401の内
容を初期状態にセットすることができる。
Next, the operation at the time of outputting data will be described. When the state value 407 obtained from the state transition table 106 is the end state, part of the state value 407 represents the data attribute value. Data attribute value 408 from status register 401 by selection signal 410
Is output. At the same time, the demultiplexer 403
Is set to output data 404 as output data 405. Therefore, the data 404 remains the unprocessed output data 4
In addition to being output as 05, the data attribute value 408 is also output. The control signal 411 can set the contents of the state register 401 to the initial state.

状態遷移表106は、ランダムアクセス可能な記憶装置
で構成され、その大きさは扱うパターンの種類と個数並
びにデータ属性値の情報量に依存して決定される。
The state transition table 106 is composed of a randomly accessible storage device, and its size is determined depending on the type and number of patterns to be handled and the information amount of the data attribute value.

制御部101は組合せ回路並びに順序回路によって構成
され、各部の動作を監視し、制御信号を各部に送る。
The control unit 101 includes a combination circuit and a sequential circuit, monitors the operation of each unit, and sends a control signal to each unit.

次に本発明の実施例全体の動作を説明する。本実施例
には、初期モード、データ入力モード、データ出力モー
ドの4種類のモードがある。以下、これらのモードにお
ける動作の詳細を説明する。
Next, the operation of the entire embodiment of the present invention will be described. In the present embodiment, there are four types of modes: an initial mode, a data input mode, and a data output mode. The details of the operation in these modes will be described below.

初期モードは制御部101が制御信号113を介して各部を
初期化した直後の状態である。このとき、探査アドレス
生成部102および出力アドレス生成部103が出力するアド
レスは、共にデータ記憶部105の先頭を示す零となって
いる。また選択信号112は、アドレス選択部104が探査ア
ドレスを選択し、さらに照合部107が照合処理を行うよ
うに設定される。また照合部107の状態は初期状態に設
定される。
The initial mode is a state immediately after the control unit 101 initializes each unit via the control signal 113. At this time, the addresses output from the search address generation unit 102 and the output address generation unit 103 are both zero, which indicates the beginning of the data storage unit 105. Further, the selection signal 112 is set so that the address selection unit 104 selects a search address and the collation unit 107 further performs collation processing. Further, the state of the collating unit 107 is set to the initial state.

次にデータ入力モードについて説明する。このモード
は、制御部101からの制御信号113によってデータ入力部
108が起動されることで始まる。データ入力部108は、入
力データ116をデータ記録部105の先頭から出力アドレス
が示すアドレスの直前まで順に格納する。
Next, the data input mode will be described. In this mode, the data input section is controlled by the control signal 113 from the control section 101.
It starts when 108 is started. The data input unit 108 sequentially stores the input data 116 from the beginning of the data recording unit 105 to immediately before the address indicated by the output address.

次に探査モードについて説明する。探査モードは、デ
ータ記憶部105に格納されているデータから指定された
パターンを探し出すモードである。
Next, the search mode will be described. The search mode is a mode for searching for a specified pattern from the data stored in the data storage unit 105.

制御部101はアドレス生成信号109を探査アドレス生成
部102に入力する。探査アドレス生成部102からのアドレ
スに従ってデータ記憶部105から1処理単位分のデータ
を取り出す。1処理単位とは、照合部107で一度に処理
するデータ量のことである。次に照合部107において、
取り出したデータと状態遷移表106に格納されているパ
ターン情報との照合を行い、その結果に従って照合部10
7の状態を遷移させ、さらに状態遷移後の新たな状態に
関する情報を制御部101に伝える。制御部101は入力され
た状態情報に基づいて、探査モードの接続またはデータ
出力モードへの移行の制御を行う。
The control unit 101 inputs the address generation signal 109 to the search address generation unit 102. Data for one processing unit is taken out from the data storage unit 105 according to the address from the search address generation unit 102. One processing unit is the amount of data processed by the matching unit 107 at one time. Next, in the matching unit 107,
The retrieved data is collated with the pattern information stored in the state transition table 106, and the collation unit 10 is collated according to the result.
The state 7 is transited, and further information regarding the new state after the state transition is transmitted to the control unit 101. The control unit 101 controls the connection of the search mode or the shift to the data output mode based on the input state information.

探査モードの継続は、照合部107の状態遷移の結果が
終了状態でない場合、即ち照合部107の状態が照合処理
の途中状態であり、照合結果が成功、不成功いづれにも
確定していない場合に生じる。
Continuation of the search mode is performed when the result of the state transition of the collation unit 107 is not the end state, that is, when the state of the collation unit 107 is in the midst of the collation process and the collation result is neither successful nor unsuccessful. Occurs in

探査モードを継続する場合、制御部101は新たなアド
レス生成信号109を探査アドレス生成部102に入力して、
次に照合するデータをデータ記憶部105から取り出し、
次の照合処理を行う。以上の動作を終了状態に達するま
で継続する。なお探査モードの期間中、出力アドレス生
成部103の状態はデータ出力モード終了時の状態に保た
れている。
When continuing the search mode, the control unit 101 inputs a new address generation signal 109 to the search address generation unit 102,
Next, the data to be collated is taken out from the data storage unit 105,
The following matching process is performed. The above operation is continued until the end state is reached. Note that during the search mode, the state of the output address generation unit 103 is maintained in the state at the end of the data output mode.

次にデータ出力モードについて説明する。先に説明し
た探査モードにおいて、照合部107の状態遷移の結果が
終了状態に達した場合に、このモードに移行する。
Next, the data output mode will be described. In the exploration mode described above, when the result of the state transition of the collation unit 107 reaches the end state, the mode shifts to this mode.

このモードに移行すると制御部101からの選択信号112
は、アドレス選択部104が出力アドレスを選択し、照合
部107がデータ出力処理を行うように設定される。次に
制御部101はアドレス生成信号109を出力アドレス生成部
103に入力する。出力アドレス生成部103からのアドレス
に従ってデータ記憶部105から1処理単位分のデータを
取り出し、照合部107においてデータ属性値を付加した
後、出力データ114並びにデータ属性値115として外部に
出力する。出力開始アドレスは、先の探査モードにおけ
る探査開始アドレスに等しい。
When shifting to this mode, the selection signal 112 from the control unit 101
Is set so that the address selecting unit 104 selects the output address and the collating unit 107 performs the data output process. Next, the control unit 101 outputs the address generation signal 109 to the address generation unit.
Enter in 103. The data for one processing unit is taken out from the data storage unit 105 according to the address from the output address generation unit 103, the data attribute value is added in the collation unit 107, and then output as the output data 114 and the data attribute value 115. The output start address is equal to the search start address in the previous search mode.

出力アドレス生成部103からのアドレスが、探査アド
レス生成部102が記憶している探査終了アドレスと一致
した場合、出力アドレス生成部103は一致信号111を制御
部101に送る。制御部101は一致信号111を受け取るとデ
ータ出力モードを終了し次の処理に移行する。
When the address from the output address generation unit 103 matches the search end address stored in the search address generation unit 102, the output address generation unit 103 sends a match signal 111 to the control unit 101. Upon receiving the coincidence signal 111, the control unit 101 ends the data output mode and shifts to the next processing.

出力アドレス生成部103からのアドレスが探査終了ア
ドレスと一致しない場合、制御部101は新たなアドレス
生成信号109を出力アドレス生成部103に入力してデータ
出力モードを継続する。なおデータ出力モードの期間中
は、探査アドレス生成部102の状態は探査モード終了時
の状態に保たれる。
When the address from the output address generation unit 103 does not match the search end address, the control unit 101 inputs a new address generation signal 109 to the output address generation unit 103 and continues the data output mode. Note that during the data output mode, the state of the search address generation unit 102 is maintained in the state at the end of the search mode.

データ出力モードが終了すると、探査アドレス生成部
102から、探査アドレスがデータ記憶部105の末尾に達し
たことを示す終了信号110が出力されているか否かを制
御部101で調べる。終了信号110が出力されている場合、
制御部101は、次の探査モードへ移行する前にデータ入
力モードに移行し、新たな被処理データをデータ記憶部
105に格納するように動作する。
When the data output mode ends, the search address generator
The control unit 101 checks whether the end signal 110 indicating that the search address has reached the end of the data storage unit 105 is output from 102. When the end signal 110 is output,
The control unit 101 shifts to the data input mode before shifting to the next exploration mode, and stores new processed data in the data storage unit.
Works like storing in 105.

発明の効果 以上のように、本発明は被処理データから指定された
パターンを探し出し、探し出したパターンに指定された
データ属性値を付加して出力することにより、被処理デ
ータ中でのパターンの位置を明らかにすることができ
る。また有限状態オートマトンによる照合であるので、
正規表現で表されたパターンを受理することが可能であ
り、さらに状態遷移表を適当な大きさにすることによ
り、パターン情報とデータ属性値の対を複数個設定でき
る。従ってパターン設定の自由度をソフトウェアプログ
ラムによる区切り処理の場合と同程度にすることが可能
となる。
EFFECTS OF THE INVENTION As described above, the present invention searches for a specified pattern from the processed data, adds the specified data attribute value to the found pattern, and outputs the pattern, thereby the position of the pattern in the processed data. Can be revealed. Also, because it is a collation by a finite state automaton,
It is possible to accept a pattern represented by a regular expression, and by setting the state transition table to an appropriate size, a plurality of pairs of pattern information and data attribute value can be set. Therefore, the degree of freedom in pattern setting can be made approximately the same as in the case of the division processing by the software program.

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

第1図は本発明の一実施例における区切り装置のブロッ
ク結線図、第2図は第1図の要部である探査アドレス生
成部の詳細ブロック結線図、第3図は同出力アドレス生
成部の詳細ブロック結線図、第4図は同照合部の詳細ブ
ロック結線図である。 101…制御部、102…探査アドレス生成部、103…出力ア
ドレス生成部、104…アドレス選択部、105…データ記憶
部、106…状態遷移表、107…照合部、108…データ入力
部、201…カウンタ、202…レジスタ、304…出力アドレ
ス、305…比較回路、401…状態レジスタ、402…状態ア
ドレス生成回路、403…デマルチプレクサ。
FIG. 1 is a block connection diagram of a partitioning device according to an embodiment of the present invention, FIG. 2 is a detailed block connection diagram of a search address generation unit which is a main part of FIG. 1, and FIG. 3 is a block diagram of the output address generation unit. Detailed block connection diagram, FIG. 4 is a detailed block connection diagram of the matching unit. 101 ... Control unit, 102 ... Search address generation unit, 103 ... Output address generation unit, 104 ... Address selection unit, 105 ... Data storage unit, 106 ... State transition table, 107 ... Collation unit, 108 ... Data input unit, 201 ... Counter, 202 ... Register, 304 ... Output address, 305 ... Comparison circuit, 401 ... Status register, 402 ... Status address generation circuit, 403 ... Demultiplexer.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田村 登 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 ▲つる▼林 健 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 早川 佳宏 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 昭63−73422(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Noboru Tamura 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. Sangyo Co., Ltd. (72) Inventor Yoshihiro Hayakawa 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) Reference JP-A-63-73422 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被処理データを格納するデータ記憶部と、
パターン情報とデータ属性値の対を複数個格納可能な状
態遷移表と、前記データ記憶部に格納されているデータ
を走査しながら前記状態遷移表を用いた有限状態オート
マトンによる照合を行って指定されたパターンを探査
し、さらにデータ出力時には、前記状態遷移表から出力
データに対応したデータ属性値を取り出し、出力データ
に付加して出力する照合部と、探査アドレスを生成し、
さらに探査終了アドレスを記憶する探査アドレス生成部
と、データ出力用のアドレスを、前記探査アドレス生成
部が記憶している探査終了アドレスと一致するまで生成
し、さらに出力終了アドレスを記憶する出力アドレス生
成部とを有する区切り装置。
1. A data storage unit for storing processed data,
A state transition table capable of storing a plurality of pairs of pattern information and data attribute values and a state transition table specified by performing collation by a finite state automaton using the state transition table while scanning the data stored in the data storage unit. The pattern is searched, and at the time of further data output, a data attribute value corresponding to the output data is taken out from the state transition table, a collating unit for adding and outputting the output data, and a search address are generated,
Further, a search address generation unit that stores the search end address and an address for data output are generated until they match the search end address stored by the search address generation unit, and an output address generation that further stores the output end address. And a separator.
JP2332377A 1990-11-28 1990-11-28 Separator Expired - Fee Related JP2529466B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2332377A JP2529466B2 (en) 1990-11-28 1990-11-28 Separator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2332377A JP2529466B2 (en) 1990-11-28 1990-11-28 Separator

Publications (2)

Publication Number Publication Date
JPH04195681A JPH04195681A (en) 1992-07-15
JP2529466B2 true JP2529466B2 (en) 1996-08-28

Family

ID=18254288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2332377A Expired - Fee Related JP2529466B2 (en) 1990-11-28 1990-11-28 Separator

Country Status (1)

Country Link
JP (1) JP2529466B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0752451B2 (en) * 1986-09-17 1995-06-05 株式会社日立製作所 Information retrieval device

Also Published As

Publication number Publication date
JPH04195681A (en) 1992-07-15

Similar Documents

Publication Publication Date Title
JPH0728624A (en) Device and method for sorting
JP2529466B2 (en) Separator
JPH024026B2 (en)
KR970011898B1 (en) Data string retrieval apparatus for ic card
US4214500A (en) Electronic musical instruments
JPH0642248B2 (en) Information retrieval device
JPH07101460B2 (en) Code detector
JP2586172B2 (en) Table search device with learning function
JPS6244359B2 (en)
JPS63257030A (en) Character string retrieving circuit
JPH0752451B2 (en) Information retrieval device
JPH09330322A (en) Data retrieval device
JP2745500B2 (en) String search device
JPS6155135B2 (en)
JPS63204434A (en) Electronic document retrieving device
JP3055903B2 (en) Data reading device
JP2696832B2 (en) Information retrieval circuit
JP2550401B2 (en) Storage management method for program-specific parts
JPH02122328A (en) File preparation system
JPH10301887A (en) Input/output controller
JPS62212726A (en) Compression processing system for index key
JPH0827800B2 (en) Information retrieval device
JPH06162083A (en) Character-string retrieving device
JPH01147720A (en) Classification processing system
JPH05158701A (en) High speed loading system for load module

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees