首页> 外国专利> ENHANCING APPARATUS AND METHOD OF THE SEARCH ABILITY FOR REGULAR EXPRESSIONS BASED ON COST OPTIMIZED

ENHANCING APPARATUS AND METHOD OF THE SEARCH ABILITY FOR REGULAR EXPRESSIONS BASED ON COST OPTIMIZED

机译:基于成本优化的正则表达式搜索能力增强装置及方法

摘要

The present invention relates to an apparatus and a method for enhancing search performance of a regular expression through a cost-based optimization method, in which an efficient search node is configured based on the partitioning, reassembly, complexity calculation, and learning information of the regular expression so as to perform high-performance search for the regular expression. The apparatus for enhancing search performance of a regular expression through a cost-based optimization method comprises: a policy database, in which a malicious payload detection rule containing a regular expression character string is stored; a regular expression extraction unit generating a set of regular expression character strings included in each policy from the policy database; a regular expression fragment unit dividing and integrating each regular expression character string extracted by the regular expression extraction unit according to a fragmentation rule to generate a regular expression fragment table; a regular expression generalization unit performing an optimization process on each regular expression fragment of the regular expression fragment table generated by the regular expression fragment unit to form an optimized regular expression fragment table; a cost calculation engine unit applying a sample traffic to the regular expression fragment table optimized by the regular expression generalization unit to appropriate costs for each regular expression fragment; a decision tree generation unit generating a decision tree based on the cost information calculated by a cost calculation engine unit for each fragment of the regular expression fragment table optimized by the regular expression generalization unit; and a pattern matching engine unit constructing a search engine for performing policy pattern matching by applying the decision tree.
机译:本发明涉及通过基于成本的优化方法来增强正则表达式的搜索性能的装置和方法,其中基于正则表达式的划分,重组,复杂度计算和学习信息来配置有效的搜索节点。表达式,以便对正则表达式执行高性能搜索。通过基于成本的优化方法提高正则表达式搜索性能的装置包括:策略数据库,存储有包含正则表达式字符串的恶意有效载荷检测规则;正则表达式提取单元从策略数据库生成包括在每个策略中的一组正则表达式字符串;正则表达式片段单元,将正则表达式提取单元提取的每个正则表达式字符串按照分片规则进行划分和合并,生成正则表达式片段表;正则表达式归纳单元,对由正则表达式片段单元生成的正则表达式片段表的每个正则表达式片段进行优化处理,以形成优化的正则表达式片段表;成本计算引擎单元将样本流量应用于由正则表达式概括单元优化的正则表达式片段表,以为每个正则表达式片段分配适当的费用;决策树生成单元基于由成本计算引擎单元计算出的成本信息,为由正则表达式泛化单元优化的正则表达式片段表的每个片段生成决策树;模式匹配引擎单元构成搜索引擎,该搜索引擎用于通过应用决策树来执行策略模式匹配。

著录项

  • 公开/公告号KR20180046763A

    专利类型

  • 公开/公告日2018-05-09

    原文格式PDF

  • 申请/专利权人 WINS CO. LTD.;

    申请/专利号KR20160142330

  • 发明设计人 CHO HARK SU;JIN YONG SIG;NDIBANJE BRUCE;

    申请日2016-10-28

  • 分类号H04L29/06;G06F21/56;

  • 国家 KR

  • 入库时间 2022-08-21 12:40:09

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号