JP5120263B2 - パターンマッチング装置及び方法 - Google Patents
パターンマッチング装置及び方法 Download PDFInfo
- Publication number
- JP5120263B2 JP5120263B2 JP2008553012A JP2008553012A JP5120263B2 JP 5120263 B2 JP5120263 B2 JP 5120263B2 JP 2008553012 A JP2008553012 A JP 2008553012A JP 2008553012 A JP2008553012 A JP 2008553012A JP 5120263 B2 JP5120263 B2 JP 5120263B2
- Authority
- JP
- Japan
- Prior art keywords
- pattern
- pattern detection
- address
- nfa
- combination
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90344—Query processing by using string matching techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Image Analysis (AREA)
Description
回路化されたNFA(Non-deterministic Finite Automaton)から出力されるN個(Nは自然数)のパターン検出信号の値の組み合わせの各々について、前記N個のパターン検出信号のうち有効となるパターン検出信号に対応するパターンを示す識別子と、前記組み合わせの区切りを示すフラグとを、前記組み合わせに応じて設定されるアドレスにそれぞれ格納するメモリと、
前記回路化されたNFAから出力されたパターン検出信号の値の組み合わせを用いて、該パターン検出信号の値の組み合わせに対応する前記メモリのアドレスを求めるアドレス生成部と、
前記フラグが特定の値になるまで、前記アドレス生成部にて求められたアドレスをインクリメントしていきながら当該アドレスに格納された前記識別子及び前記フラグを前記メモリから連続的に読み出す読み出し制御部とを有する。
・NFA状態“1”に対応するパターン検出信号30−1の値=1
・NFA状態“2”に対応するパターン検出信号30−2の値=1
・NFA状態“3”に対応するパターン検出信号30−3の値=0
になる。
・index[X](0≦X<M)…インデックス16の(X+1)番目のセルの値
・input[X][Y](0≦X<M、0≦Y<N)…入力表15の(X+1)行目(Y+1)桁目のセルの値
・pattern_id[X](X≧0)…パターンIDメモリ13のアドレス”X”の内容
・termination_flag[X](X≧0)…終端フラグメモリ14のアドレス”X”の内容
アルゴリズムA102を文章で表現すると、次のようになる。
Claims (4)
- 回路化されたNFA(Non-deterministic Finite Automaton)から出力されるN個(Nは自然数)のパターン検出信号の値の組み合わせの各々について、前記N個のパターン検出信号のうち有効となるパターン検出信号に対応するパターンを示す識別子と、前記組み合わせの区切りを示すフラグとを、前記組み合わせに応じて設定されるアドレスにそれぞれ格納するメモリと、
前記回路化されたNFAから出力されたパターン検出信号の値の組み合わせを用いて、該パターン検出信号の値の組み合わせに対応する前記メモリのアドレスを求めるアドレス生成部と、
前記フラグが特定の値になるまで、前記アドレス生成部にて求められたアドレスをインクリメントしていきながら当該アドレスに格納された前記識別子及び前記フラグを前記メモリから連続的に読み出す読み出し制御部とを有するパターンマッチング装置。 - 請求項1に記載のパターンマッチング装置において、
前記アドレス生成部は、前記回路化されたNFAから出力されたパターン検出信号の値の組み合わせを用いて、該パターン検出信号の値の組み合わせに対応する前記メモリのアドレスを求める際に、前記パターン検出信号の出現し得ない値の組み合わせを冗長入力として扱うパターンマッチング装置。 - 回路化されたNFA(Non-deterministic Finite Automaton)から出力されるN個(Nは自然数)のパターン検出信号の値の組み合わせの各々について、前記N個のパターン検出信号のうち有効となるパターン検出信号に対応するパターンを示す識別子と、前記組み合わせの区切りを示すフラグとを、前記組み合わせに応じて設定されるアドレスにそれぞれメモリに格納する第1の処理と、
前記回路化されたNFAから出力されたパターン検出信号の値の組み合わせを用いて、該パターン検出信号の値の組み合わせに対応する前記メモリのアドレスを求める第2の処理と、
前記フラグが特定の値になるまで、前記第2の処理にて求められたアドレスをインクリメントしていきながら当該アドレスに格納された前記識別子及び前記フラグを前記メモリから連続的に読み出す第3の処理とを有するパターンマッチング方法。 - 請求項3に記載のパターンマッチング方法において、
前記第2の処理は、前記回路化されたNFAから出力されたパターン検出信号の値の組み合わせを用いて、該パターン検出信号の値の組み合わせに対応する前記メモリのアドレスを求める際に、前記パターン検出信号の出現し得ない値の組み合わせを冗長入力として扱うパターンマッチング方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008553012A JP5120263B2 (ja) | 2007-01-12 | 2007-11-06 | パターンマッチング装置及び方法 |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007004458 | 2007-01-12 | ||
JP2007004458 | 2007-01-12 | ||
PCT/JP2007/071526 WO2008084594A1 (ja) | 2007-01-12 | 2007-11-06 | パターンマッチング装置及び方法 |
JP2008553012A JP5120263B2 (ja) | 2007-01-12 | 2007-11-06 | パターンマッチング装置及び方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2008084594A1 JPWO2008084594A1 (ja) | 2010-04-30 |
JP5120263B2 true JP5120263B2 (ja) | 2013-01-16 |
Family
ID=39608492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008553012A Expired - Fee Related JP5120263B2 (ja) | 2007-01-12 | 2007-11-06 | パターンマッチング装置及び方法 |
Country Status (3)
Country | Link |
---|---|
US (1) | US8626688B2 (ja) |
JP (1) | JP5120263B2 (ja) |
WO (1) | WO2008084594A1 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8572014B2 (en) * | 2009-10-16 | 2013-10-29 | Mcafee, Inc. | Pattern recognition using transition table templates |
US9558825B1 (en) * | 2014-06-25 | 2017-01-31 | Hrl Laboratories, Llc | System and method to discover and encode indirect associations in associative memory |
US11093218B2 (en) | 2017-07-14 | 2021-08-17 | Microsoft Technology Licensing, Llc | Dynamic pattern matching code generation |
JP2019057123A (ja) * | 2017-09-21 | 2019-04-11 | 株式会社東芝 | 対話システム、方法、及びプログラム |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003308333A (ja) * | 2002-04-16 | 2003-10-31 | Fujitsu Ltd | 繰り返しを含む順序パターンを用いた検索装置および方法 |
JP2005122444A (ja) * | 2003-10-16 | 2005-05-12 | Internatl Business Mach Corp <Ibm> | 形態素解析システム、形態素解析方法及びプログラム |
WO2006061899A1 (ja) * | 2004-12-09 | 2006-06-15 | Mitsubishi Denki Kabushiki Kaisha | 文字列照合装置および文字列照合プログラム |
JP2007142767A (ja) * | 2005-11-17 | 2007-06-07 | Univ Of Tsukuba | パターンマッチング装置、その形成方法、それを用いたネットワーク不正侵入検知装置の動作方法、およびそれを用いた侵入防止システムの動作方法 |
WO2008081932A1 (ja) * | 2006-12-28 | 2008-07-10 | Nec Corporation | 文字列照合用有限オートマトン生成システム、その生成方法、及び生成プログラム |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03119397A (ja) | 1989-10-03 | 1991-05-21 | Nec Corp | パターンマッチング装置 |
JP2921119B2 (ja) | 1990-12-26 | 1999-07-19 | 株式会社日立製作所 | 数値検索装置および数値検索方法 |
US7975305B2 (en) * | 1997-11-06 | 2011-07-05 | Finjan, Inc. | Method and system for adaptive rule-based content scanners for desktop computers |
US6990552B2 (en) * | 2002-10-31 | 2006-01-24 | Mosaid Technologies, Inc. | Sorting method and apparatus using a CAM |
WO2004072797A2 (en) * | 2003-02-07 | 2004-08-26 | Safenet, Inc. | System and method for determining the start of a match of a regular expression |
JP4120888B2 (ja) | 2004-01-30 | 2008-07-16 | 日本電気株式会社 | データ検索装置及び方法 |
JP4347087B2 (ja) | 2004-02-26 | 2009-10-21 | 日本電信電話株式会社 | パターンマッチング装置および方法ならびにプログラム |
US7260558B1 (en) * | 2004-10-25 | 2007-08-21 | Hi/Fn, Inc. | Simultaneously searching for a plurality of patterns definable by complex expressions, and efficiently generating data for such searching |
US7502769B2 (en) * | 2005-01-31 | 2009-03-10 | Knowmtech, Llc | Fractal memory and computational methods and systems based on nanotechnology |
-
2007
- 2007-11-06 WO PCT/JP2007/071526 patent/WO2008084594A1/ja active Application Filing
- 2007-11-06 US US12/522,828 patent/US8626688B2/en not_active Expired - Fee Related
- 2007-11-06 JP JP2008553012A patent/JP5120263B2/ja not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003308333A (ja) * | 2002-04-16 | 2003-10-31 | Fujitsu Ltd | 繰り返しを含む順序パターンを用いた検索装置および方法 |
JP2005122444A (ja) * | 2003-10-16 | 2005-05-12 | Internatl Business Mach Corp <Ibm> | 形態素解析システム、形態素解析方法及びプログラム |
WO2006061899A1 (ja) * | 2004-12-09 | 2006-06-15 | Mitsubishi Denki Kabushiki Kaisha | 文字列照合装置および文字列照合プログラム |
JP2007142767A (ja) * | 2005-11-17 | 2007-06-07 | Univ Of Tsukuba | パターンマッチング装置、その形成方法、それを用いたネットワーク不正侵入検知装置の動作方法、およびそれを用いた侵入防止システムの動作方法 |
WO2008081932A1 (ja) * | 2006-12-28 | 2008-07-10 | Nec Corporation | 文字列照合用有限オートマトン生成システム、その生成方法、及び生成プログラム |
Also Published As
Publication number | Publication date |
---|---|
US8626688B2 (en) | 2014-01-07 |
WO2008084594A1 (ja) | 2008-07-17 |
JPWO2008084594A1 (ja) | 2010-04-30 |
US20100049713A1 (en) | 2010-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106852185B (zh) | 基于字典的并行压缩编码器 | |
US9817678B2 (en) | Methods and systems for detection in a state machine | |
US9275290B2 (en) | Methods and systems for routing in a state machine | |
CN107609644B (zh) | 用于状态机中的数据分析的方法及*** | |
JP5736042B2 (ja) | 階層構造を使用するデータの分析 | |
US8387003B2 (en) | Pluperfect hashing | |
US8972450B2 (en) | Multi-stage parallel multi-character string matching device | |
JP4810915B2 (ja) | データ検索装置及び方法、並びにコンピュータ・プログラム | |
JP2015505399A (ja) | 状態機械格子におけるカウンタ動作 | |
WO2013090092A1 (en) | Boolean logic in a state machine lattice | |
CN101630323B (zh) | 确定自动机的空间压缩方法 | |
JP5120263B2 (ja) | パターンマッチング装置及び方法 | |
US11580055B2 (en) | Devices for time division multiplexing of state machine engine signals | |
US10929764B2 (en) | Boolean satisfiability | |
CN112926647A (zh) | 模型训练方法、域名检测方法及装置 | |
CN103294735B (zh) | 基于tcam的确定性有穷状态自动机dfa的匹配方法和装置 | |
TWI443538B (zh) | Multi - hierarchical parallel multi - character string alignment device | |
JP2845173B2 (ja) | 論理照合方式 | |
Daneshgaran et al. | Efficient parallel pipelinable VLSI architecture for finding the maximum binary number | |
CN113703737A (zh) | 一种寄存器传输级代码生成方法、装置、设备及介质 | |
TWI509441B (zh) | Can flexibly set the data width of the multi-character string alignment device | |
JP2564881B2 (ja) | ビット列比較方式 | |
JPH08320892A (ja) | 文字列データ管理システム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101013 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120925 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121008 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151102 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |