Research on the Application of Rule Engine in the Distributed Conditions

Author
WangXiaoGuang
Advisor
YangDan
School
Chongqing University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
131
Citations
5

Request the full text

Abstract

Today’s business markets are changing frequently. In order to always remain competitive, modern enterprises necessarily need their applications to keep up with market changes and make response quickly. Compared to the traditional methodology which hard-coding business logic into applications, the rule engine based development methodology can separate the business logic from the implementation logic. In this new architecture, business rules can be set up, modified or deleted without recompiling and deploying the applications. So it greatly enhances the response speed of enterprises. Several industrial domains are highly distributed. This organizational structure is also reflected in their applications. In recent years, service-oriented architecture has attracted more and more interest and it can provide strong support for distributed applications to achieve loose coupling and enhance reusability. Therefore, combining business rules with a service-oriented architecture can help to develop more flexible and adaptive enterprise applications. However, most of the current rule engines are lack of remote invocation interfaces, so they can’t be integrated effectively in the distributed conditions.In this paper, we start from the actual situation, combine the existing specification with technology, and research on the application of rule engine in the distributed conditions. Based on Java Specification Request (JSR) 94 specification, through combing with Web services technology, we implement a rule engine integration platform. This integration platform breaks through the restriction that traditional rule engine can only be used in local applications. So it extends the application range of rule engine and also achieves the reusability of business rules. In this paper, we also research on distributed rule execution and implement a prototype of distributed rule engine based on our rule engine integration platform. If several distributed rule engines are used together, they will create a distributed network of rule engines. The distributed rule engine has the ability to execute distributed business rules and extends the range of rule inference.In this paper we complete the following works:①We analyze the research background and significance, discuss the research status at home and board, and make clear the problems that current rule engines can not be effectively applied in the distributed conditions. In order to solve these problems, we propose our research objectives that we should set up a rule engine integration platform and implement a prototype of distributed rule engine based on our integration platform.②We present related technologies about rule engine, and based on these technologies we design and implement a rule engine integration platform. The integration platform is based on JSR94 specification and combined with Web services technology. The integration platform is made up of 3 parts which are JSR94 client, JSR94 server and rule service toolkit. Through using this platform, we can easily invoke remote rule engines and achieve an effective reuse of business rules.③Based on rule engine integration platform and open source rule engine Drools, we analyze the distributed rule engine and implement a prototype system.

Table of contents

Abstract 4-5 ABSTRACT 5-9 1 Introduction 9-13 1.1 research background and significance 9-10 1.2 research status 10-12 1.3 The main research work 12 1.4 Chapter Summary 12-13 2 rules engines and related technologies 13-27 2.1 Business Rules 13-14 2.1.1 Business Rule Type 13-14 2.1.2 Rule Syntax 14 2.2 rules engine 14-20 2.2.1 Rules Engine architecture 14-16 2.2.2 declarative programming 16 2.2.3 backward reasoning 16-17 2.2.4 forward reasoning 17-18 2.2.5 Rete algorithm 18-20 2.3 JAVA Rule Engine API 20-23 2.3.1 Architecture 20-22 2.3.2 security problems with exception handling 22-23 2.4 Service Oriented Architecture 23-24 2.5 WEB services architecture 24-25 2.6 Chapter Summary 25-27 3 rules engine design and implementation of an integrated platform 27-48 3.1 Integration Platform functional design 27-29 3.2 Integration Platform overall architecture 29-31 3.3 JSR94 server 31-35 3.3.1 integrated rules engine configuration 31-32 3.3.2 Web services provided 32-35 3.4 JSR94 client 35-41 3.4.1 JSR94 specification realize 35-39 3.4.2 perform remote rules engine 39-41 3.5 Rules Services Toolkit 41-46 3.5.1 Rules service interface description 42-43 3.5.2 Rule Service automatically generates 43-46 3.6 application integration platform analysis 46 3.7 Chapter Summary 46-48 4 based integration platform for distributed rule engine prototype 48-63 4.1 Distributed rule execution 48-49 4.2 Distributed rule execution to achieve 49-52 4.3 based integration platform for distributed rule engine prototype 52-61 4.3.1 Overview 52-53 4.3.2 build rules 53-54 4.3.3 rulebase 54 4.3.4 working memory 54-57 4.3.5 agenda 57 4.3.6 integrated rules engine integration platform 57-61 4.4 distributed rule engine prototype application analysis 61-62 4.5 Chapter Summary 62-63 5 Conclusion and Outlook 63-65 5.1 Conclusion 63 5.2 Prospects 63-65 Thanks 65-66 References 66-69 Appendix 69-71

Related dissertations

  1. Research on the Application of Business Rules Technology in the Distributed Environment
    PengJinWen ·Chongqing University ·2010 ·Master's thesis
  2. An Implementation of Improved Rule Engine for Emergency Command Platform
  3. Research on Specialized Rule Engine Component Based on MDA
  4. Integration Design and Implementation on Campus Management System Based on Web Services Technology
  5. Research and Development in Unified Management Platform of Government Websites Cluster
    HuLiLong ·Hunan University ·2013 ·Master's thesis
  6. Study on Automatic Cultivated Land Extraction from High Resolution Satellite Imagery Based on Knowledge
    SunJiaBo ·China Agricultural University ·2014 ·Doctoral dissertation
  7. Research and Implementation of Human-machine Interface Based on Data-driven and Business Rule
  8. Design and Implementation of an Alert Correlation System Based on Rule Engine
    LiTuo ·Jilin University ·2012 ·Master's thesis
  9. The Research and Implementation of Plan-Desinging Domain’s Document Model and Knowledge Search
  10. Research on the key technology of the rule engine and Application
  11. Reserch on the JTA Transaction Based Method of the Heterogeneous System Data Migration
  12. Design and Implementation of a Rule Generator for Salary Computing
    XuZuo ·Central China Normal University ·2012 ·Master's thesis
  13. The Research and Implementation of Information Management and Decision System Based on Drools
    ZhuHuiBing ·Wuhan University of Technology ·2012 ·Master's thesis
  14. Research and Application of RFID Technology in the Warehouse Management System
  15. An Implementation of Rule Engine Suitable for Salary Computing
    ShuQin ·Central China Normal University ·2012 ·Master's thesis
  16. Design and Implementation of the Workflow Node in Financial Reimbursement
    ZhangHe ·Nanjing University ·2012 ·Master's thesis
  17. A Research and Implementation Based on Enterprise Service Bus with Rule Engine
  18. Design and Implementation of Sales System for Insurance Companies under New Situation
    LiShuang ·Jilin University ·2013 ·Master's thesis
  19. Construction of the accounting data processing system based on rule engine
    ZhouRuPeng ·Fudan University ·2012 ·Master's thesis
  20. Design and Implementation of the Rule Engine Platform in the Next Generation Interactive System of Bank
    FeiTeng ·Harbin Institute of Technology ·2013 ·Master's thesis