CN101639861A - 一种基于有限状态自动机的字符串匹配方法及装置 - Google Patents
一种基于有限状态自动机的字符串匹配方法及装置 Download PDFInfo
- Publication number
- CN101639861A CN101639861A CN200910167292A CN200910167292A CN101639861A CN 101639861 A CN101639861 A CN 101639861A CN 200910167292 A CN200910167292 A CN 200910167292A CN 200910167292 A CN200910167292 A CN 200910167292A CN 101639861 A CN101639861 A CN 101639861A
- Authority
- CN
- China
- Prior art keywords
- state
- character
- output
- program code
- dfa
- 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
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
当前状态 | 输入字符 | 输出状态 |
0 | H | 1 |
0 | S | 3 |
0 | 其他字符 | 0 |
1 | E | 2 |
1 | I | 6 |
1 | H | 1 |
1 | S | 3 |
1 | 其他字符 | 0 |
3,7,9 | H | 4 |
3,7,9 | S | 3 |
3,7,9 | 其他字符 | 0 |
2,5 | R | 8 |
2,5 | H | 1 |
2,5 | S | 3 |
2,5 | 其他字符 | 0 |
6 | S | 7 |
6 | H | 1 |
6 | 其他字符 | 0 |
4 | E | 5 |
4 | I | 6 |
4 | H | 1 |
4 | S | 3 |
4 | 其他字符 | 0 |
8 | S | 9 |
8 | H | 1 |
8 | 其他字符 | 0 |
输出状态 | 字符匹配结果 |
2 | HE命中 |
5 | SHE,HE命中 |
7 | HIS命中 |
9 | HERS命中 |
其他状态 | 无命中 |
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101672927A CN101639861B (zh) | 2009-09-02 | 2009-09-02 | 一种基于有限状态自动机的字符串匹配方法及装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101672927A CN101639861B (zh) | 2009-09-02 | 2009-09-02 | 一种基于有限状态自动机的字符串匹配方法及装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101639861A true CN101639861A (zh) | 2010-02-03 |
CN101639861B CN101639861B (zh) | 2012-06-27 |
Family
ID=41614843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101672927A Active CN101639861B (zh) | 2009-09-02 | 2009-09-02 | 一种基于有限状态自动机的字符串匹配方法及装置 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101639861B (zh) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101944121A (zh) * | 2010-09-20 | 2011-01-12 | 北京星网锐捷网络技术有限公司 | 有限状态自动机生成方法、关键字匹配方法及装置和设备 |
CN102148805A (zh) * | 2010-02-09 | 2011-08-10 | 华为技术有限公司 | 特征匹配方法和装置 |
CN102207979A (zh) * | 2011-06-30 | 2011-10-05 | 北京新媒传信科技有限公司 | 一种敏感词匹配方法和系统 |
CN102918500A (zh) * | 2010-06-04 | 2013-02-06 | 微软公司 | 使用输入-输出示例生成文本操纵程序 |
US8756170B2 (en) | 2010-05-25 | 2014-06-17 | Huawei Technologies Co., Ltd. | Regular expression matching method and system |
CN104714995A (zh) * | 2013-08-30 | 2015-06-17 | 凯为公司 | 用于遍历为具有高级特征的正则表达式图样生成的非确定有限自动机(nfa)的系统和方法 |
US9552335B2 (en) | 2012-06-04 | 2017-01-24 | Microsoft Technology Licensing, Llc | Expedited techniques for generating string manipulation programs |
US9613115B2 (en) | 2010-07-12 | 2017-04-04 | Microsoft Technology Licensing, Llc | Generating programs based on input-output examples using converter modules |
CN107153469A (zh) * | 2016-03-03 | 2017-09-12 | 奇简软件(北京)有限公司 | 为输入数据搜索匹配候选项的方法以及数据库创建方法 |
US10002326B2 (en) | 2014-04-14 | 2018-06-19 | Cavium, Inc. | Compilation of finite automata based on memory hierarchy |
US10110558B2 (en) | 2014-04-14 | 2018-10-23 | Cavium, Inc. | Processing of finite automata based on memory hierarchy |
US10466964B2 (en) | 2013-08-30 | 2019-11-05 | Cavium, Llc | Engine architecture for processing finite automata |
US10671353B2 (en) | 2018-01-31 | 2020-06-02 | Microsoft Technology Licensing, Llc | Programming-by-example using disjunctive programs |
US10846298B2 (en) | 2016-10-28 | 2020-11-24 | Microsoft Technology Licensing, Llc | Record profiling for dataset sampling |
CN112685625A (zh) * | 2020-12-31 | 2021-04-20 | 中国人民解放军战略支援部队信息工程大学 | 一种实现浮动关键字匹配的深度可编程转发系统、方法及装置 |
US11256710B2 (en) | 2016-10-20 | 2022-02-22 | Microsoft Technology Licensing, Llc | String transformation sub-program suggestion |
US11620304B2 (en) | 2016-10-20 | 2023-04-04 | Microsoft Technology Licensing, Llc | Example management for string transformation |
CN117556790A (zh) * | 2024-01-02 | 2024-02-13 | 四川大学华西医院 | 医疗信息处理方法、装置、设备和存储介质 |
-
2009
- 2009-09-02 CN CN2009101672927A patent/CN101639861B/zh active Active
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148805B (zh) * | 2010-02-09 | 2015-04-08 | 华为技术有限公司 | 特征匹配方法和装置 |
CN102148805A (zh) * | 2010-02-09 | 2011-08-10 | 华为技术有限公司 | 特征匹配方法和装置 |
US8756170B2 (en) | 2010-05-25 | 2014-06-17 | Huawei Technologies Co., Ltd. | Regular expression matching method and system |
CN102918500B (zh) * | 2010-06-04 | 2016-01-06 | 微软技术许可有限责任公司 | 使用输入-输出示例生成文本操纵程序 |
CN102918500A (zh) * | 2010-06-04 | 2013-02-06 | 微软公司 | 使用输入-输出示例生成文本操纵程序 |
US9613115B2 (en) | 2010-07-12 | 2017-04-04 | Microsoft Technology Licensing, Llc | Generating programs based on input-output examples using converter modules |
CN101944121B (zh) * | 2010-09-20 | 2012-05-30 | 北京星网锐捷网络技术有限公司 | 有限状态自动机生成方法、关键字匹配方法及装置和设备 |
CN101944121A (zh) * | 2010-09-20 | 2011-01-12 | 北京星网锐捷网络技术有限公司 | 有限状态自动机生成方法、关键字匹配方法及装置和设备 |
CN102207979A (zh) * | 2011-06-30 | 2011-10-05 | 北京新媒传信科技有限公司 | 一种敏感词匹配方法和系统 |
US9552335B2 (en) | 2012-06-04 | 2017-01-24 | Microsoft Technology Licensing, Llc | Expedited techniques for generating string manipulation programs |
CN104714995A (zh) * | 2013-08-30 | 2015-06-17 | 凯为公司 | 用于遍历为具有高级特征的正则表达式图样生成的非确定有限自动机(nfa)的系统和方法 |
CN104714995B (zh) * | 2013-08-30 | 2019-04-23 | 凯为有限责任公司 | 用于遍历正则表达式图样生成的nfa的系统和方法 |
US10466964B2 (en) | 2013-08-30 | 2019-11-05 | Cavium, Llc | Engine architecture for processing finite automata |
US10002326B2 (en) | 2014-04-14 | 2018-06-19 | Cavium, Inc. | Compilation of finite automata based on memory hierarchy |
US10110558B2 (en) | 2014-04-14 | 2018-10-23 | Cavium, Inc. | Processing of finite automata based on memory hierarchy |
CN107153469A (zh) * | 2016-03-03 | 2017-09-12 | 奇简软件(北京)有限公司 | 为输入数据搜索匹配候选项的方法以及数据库创建方法 |
CN107153469B (zh) * | 2016-03-03 | 2021-03-30 | 北京奇简云科技有限公司 | 为输入数据搜索匹配候选项的方法、数据库创建方法、装置及计算机程序产品 |
US11256710B2 (en) | 2016-10-20 | 2022-02-22 | Microsoft Technology Licensing, Llc | String transformation sub-program suggestion |
US11620304B2 (en) | 2016-10-20 | 2023-04-04 | Microsoft Technology Licensing, Llc | Example management for string transformation |
US10846298B2 (en) | 2016-10-28 | 2020-11-24 | Microsoft Technology Licensing, Llc | Record profiling for dataset sampling |
US10671353B2 (en) | 2018-01-31 | 2020-06-02 | Microsoft Technology Licensing, Llc | Programming-by-example using disjunctive programs |
CN112685625A (zh) * | 2020-12-31 | 2021-04-20 | 中国人民解放军战略支援部队信息工程大学 | 一种实现浮动关键字匹配的深度可编程转发系统、方法及装置 |
CN117556790A (zh) * | 2024-01-02 | 2024-02-13 | 四川大学华西医院 | 医疗信息处理方法、装置、设备和存储介质 |
CN117556790B (zh) * | 2024-01-02 | 2024-04-16 | 四川大学华西医院 | 医疗信息处理方法、装置、设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN101639861B (zh) | 2012-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101639861B (zh) | 一种基于有限状态自动机的字符串匹配方法及装置 | |
Borodin et al. | Online computation and competitive analysis | |
Campailla et al. | Efficient filtering in publish-subscribe systems using binary decision diagrams | |
CN101160923B (zh) | 模式检测的装置与方法 | |
Urhan et al. | Xjoin: A reactively-scheduled pipelined join operatorý | |
CN102857493B (zh) | 内容过滤方法和装置 | |
US20160098450A1 (en) | Querying input data | |
CN101876986B (zh) | 基于有限状态自动机的字符串匹配方法及内容过滤设备 | |
CN105574054B (zh) | 一种分布式缓存范围查询方法、装置及系统 | |
JP2004518226A (ja) | データベースシステムおよびクエリオプティマイザ | |
Lee et al. | MERCI: efficient embedding reduction on commodity hardware via sub-query memoization | |
CN105447021A (zh) | 用于数据库查询的方法和系统 | |
Kucukyilmaz et al. | A machine learning approach for result caching in web search engines | |
Williams et al. | Enabling fine-grained HTTP caching of SPARQL query results | |
CN109753306A (zh) | 一种预编译函数缓存引擎的大数据处理方法 | |
CN109739646A (zh) | 一种数据处理方法及装置 | |
CN102724210A (zh) | 一种求解k最大概率攻击图的网络安全分析方法 | |
Zhou et al. | DMaC: Distributed monitoring and checking | |
CN109885588B (zh) | 一种复杂事件检测方法及系统 | |
Wang et al. | ABACUS: Address-partitioned bloom filter on address checking for uniqueness in IoT blockchain | |
He et al. | Cache-conscious automata for XML filtering | |
CN101944121A (zh) | 有限状态自动机生成方法、关键字匹配方法及装置和设备 | |
CN111782645B (zh) | 数据处理方法和装置 | |
CN107977577A (zh) | 访存指令访问检测方法及装置 | |
Firth et al. | TAPER: query-aware, partition-enhancement for large, heterogenous graphs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: BEIJING Z-GOOD TECHNOLOGY SERVICE CO., LTD. Free format text: FORMER OWNER: FUJIAN XINGWANGRUIJIE NETWORK CO., LTD. Effective date: 20141201 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 350015 FUZHOU, FUJIAN PROVINCE TO: 100085 HAIDIAN, BEIJING |
|
TR01 | Transfer of patent right |
Effective date of registration: 20141201 Address after: 100085 Beijing city Haidian District No. 33 Xiaoying Road 1 1F06 room Patentee after: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD. Address before: 350015 M9511 Industrial Park, fast road, Mawei District, Fujian, Fuzhou Patentee before: Fujian Xingwangruijie Network Co., Ltd. |
|
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20100203 Assignee: Fujian Xingwangruijie Network Co., Ltd. Assignor: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD. Contract record no.: 2015990000030 Denomination of invention: String matching method and device based on definite state automaton Granted publication date: 20120627 License type: Common License Record date: 20150116 |
|
LICC | Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model |