期刊导航

论文摘要

基于多槽哈夫曼Trie树的规则引擎快速匹配算法

A Fast Matching Algorithm for Rule Engines Based on Multi-Slot Hafuman Trie Tree

作者:罗谦(四川大学 计算机学院;中国民用航空总局第二研究所 信息公司);唐常杰(四川大学 计算机学院);于磊(西南交通大学 信息科学与技术学院);郑皎凌(四川大学 计算机学院)

Author:Luo Qian(School of Computer Sci., Sichuan Univ.;Info. Filiale,The Second Research Inst. of CAAC);Tang Changjie(School of Computer Sci., Sichuan Univ.);Yu Lei(School of Info. Sci. and Technol., Southwest Jiaotong Univ.);Zheng Jiaoling(School of Computer Sci., Sichuan Univ.)

收稿日期:2011-05-03          年卷(期)页码:2011,43(5):102-108

期刊名称:工程科学与技术

Journal Name:Advanced Engineering Sciences

关键字:规则引擎;匹配;多槽;哈夫曼树;Trie树

Key words:rule engines;matching;Multi-Slot;Hafuman Tree;Trie Tree

基金项目:国家自然科学基金资助项目(60773169);中国民用航空局科研项目(MHRD200924)

中文摘要

为了提高机场类企业数据在海量规则集合中的匹配能力,提出了基于多槽哈夫曼Trie树(MSTHTrie)的规则引擎快速匹配算法。该算法充分利用了规则点属性名数与规则条数之间的不对称特性,将对规则的线性比对转换为对多槽的并行比对,从而在稳定的空间复杂度下提高了规则引擎的匹配效率。首先对通用规则进行了严格的形式化描述,并在合理假设条件下证明了槽内规则分布命题和动作数定理;然后基于动作数定理提出了简化操作符的MSHtree算法;随之扩展操作类型提出了MSHTrie算法,使规则引擎有了普适性;最后在国内枢纽机场的业务数据上完成对比实验,表明新算法在空间复杂度上较传统线性匹配算法节约了52.6%,匹配性能上与Policytree算法相比提高了21.3%。

英文摘要

In order to improve the matching rate for business data with massive rules,a fast matching algorithm of rule engines named Multi_Slot Hafuman Trie Tree ( MSTHTrie ) was proposed.It changed rule’s Linear matching into Multi_Slot matching by using the asymmetry of number between rule point's attributes and rules.The concepts of general rule was proposed,and the theorem of rule distributing in slot and action number was proved.The MSHTree algorithm was proposed by reducing operator,and the improved MSHTrie algorithm was proposed by extended operators.Extensive experiments over real data of Hub Airport showed the effectiveness of MSHTree algorithm and MSHTrie algorithm.The average Space complexity is decreased by 52.6% and matching time is decreased by 21.3% when it is compared with traditional Linear matching and Policytree.

关闭

Copyright © 2020四川大学期刊社 版权所有.

地址:成都市一环路南一段24号

邮编:610065