针对Drools规则引擎的规则语法接受曲线陡峭,业务人员难以快速创建并维护规则等问题,提出了一种规则文件封装模型.同时,针对规则引擎API调用过程较为复杂,大量事实对象fact存在时引擎执行速度相当缓慢的问题,给出了一种Drools API封装模型.实验结果表明:封装后的Drools可以有效降低业务人员对规则学习与维护成本,并且明显提高了引擎执行速度.
Rule grammar received curve of business engine is steep .It’ s hard for business personnel to quickly create and maintain rule .The paper brings up a model for encapsulating rule file .Besides , API calling process of rule engine is complicated.The engine performing speed becomes rather slow when many fact objects exist .The paper puts forward a model for encapsulating Drools API .Experiments show that the encapsulated Drools can not only effectively reduce the business personnel of rule learning and maintenance costs , but also improve the engine execution speed .