Research on Pattern Match Algorithm in Rule Engine and Application for Rule Engine
- Author
- TongYi
- Advisor
- WangBai
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 149
- Citations
- 4
Abstract
In recently years, software application industry is dedicated to apply rule-based expert system technology to enterprise service, which spurred the wild interests in rule engine systems. By separating business rules from the specific enterprise application, the rule engine system can significantly reduce the underlying complexity of various applications as well as helping to achieve good system flexibility.In this work, we focus on the research on the pattern match algorithm in rule engine, and resolve to improve Rete algorithm from both functionality and integration. When or logic, not logic and existential quantification are introduced to enhance rule’s representing ability, Rete algorithm will become complicated. In order to reduce the complexity, this work proposes a rule decomposition algorithm and initial fact strategy to improve Rete algorithm from the perspective of functionality. By using common objects instead of facts managed by rule engine API, shadow proxy strategy is introduced to provide easy integration for Rete algorithm. This paper proposes a novel architecture of the rule engine system, and implements a prototype of the pattern match system in rule engine.This paper provides C++ rule engine general interface for the reference of system development engineers and rule engine vendors. This paper also proposes a solution on the integration of rule engine into application system as the following three steps:first constructing the data model and condition model to describe the dataset that will be inserted into the rule engine by application system, then revising the condition part in the original application system by iterative revision strategy, finally invoking rule engine according to the order presented in this work. In the end of this paper, we verify the integration solution and test the pattern match system by embedding rule engine into context billing system.
Table of contents
Abstract 4-5
ABSTRACT 5-9
Chapter Introduction 9-14
the
the 1.1 paper background and purpose 9-12
the 1.2 paper work and achievements 12-13
1.2.1 Rules Engine 12
the
the 1.2.2 rules engine pattern matching system achieve
1.2.3 Rules Engine common interface 12
the 1.2.4 rules engine and application system integration 12-13
1.3 thesis structure 13-14
Chapter II rules engine 14-33
2.1 rule-based expert system and its principle 14-16
2.2 Knowledge Representation - the production rules 16-21
The
rules 2.2.1 OPS5 system said 17-18
the
rules in the CLIPS in 2.2.2 indicates 18-19
2.2.3 DROOLS rules in 19-21
2.3 rules engine core - pattern matching algorithm 21-31
2.3.1 Rete algorithm 21-26
2.3.2 TREAT algorithm 26-28
2.3.3 LFA algorithm 28-29
2.3.4 LEAPS algorithm 29-31
2.4 JAVA rules engine API (JSR94) 31-33
Chapter rule engine pattern-matching system design and implementation 33-60
3.1 business rules management system 33-34
3.2 rule compiler system 34-38
the
the 3.3 mode matching system 38-60
3.3.1 Rete algorithm improvements 42-51
3.3.2 Rules edit 51-54
3.3.3 running execution environment 54-60
Chapter rules engine common interface 60-64
4.1 runtime client universal interface 61-63
4.2 Rules Management universal interface 63-64
Chapter rules engine integration solutions and system testing 64-73
5.1 rules engine integration solution 64-67
5.1.1 build models 65
5.1.2 defined rules 65-66
5.1.3 call rules engine 66-67
5.2 integration program verification and rules engine test 67-73
Chapter Summary and Outlook 73-75
6.1 topic summary of the work 73
6.2 next research direction 73-75
the
References 75-77
Acknowledgements 77-78
the
author papers published during the study for a degree 78
Related dissertations
- Research on the key technology of the rule engine and Application
- Research and Implementation of Using Rules Engine Technology in the Enterprise Service Exploitation
- Design and Implementation of an AML System Based on Rule Engine
- The Research of Banks Pay Wages Management System Based on Rule Engine
- Design and Implementation of an Commercial Bank Fraud Screening System Based on Rule Engine
- Based on E-Government Business Research and Implementation of GIRP Data Management Engine
- Rules engine based on the Rete algorithm in logistics billing engine
- The rule-based engine information classification process technology research
- Based on the Rete algorithm, the rules engine in the underwriting system
- An Implementation of Improved Rule Engine for Emergency Command Platform
- Research on Specialized Rule Engine Component Based on MDA
- Research and Development in Unified Management Platform of Government Websites Cluster
- Study on Automatic Cultivated Land Extraction from High Resolution Satellite Imagery Based on Knowledge
- The Query Research Based on Reachability of Uncertain Graph
- Design and implementation of emergency monitoring system of perceived risk source
- Research and Implementation of Human-machine Interface Based on Data-driven and Business Rule
- Design and Implementation of an Alert Correlation System Based on Rule Engine
- Study on Distributed Instruswn Detection System Based on Military Network
- The Desing and Implementation of Intrusion Detection System for Ndc in Ctt
- The Research and Implementation of Plan-Desinging Domain’s Document Model and Knowledge Search