Font Size: a A A

Research On Specialized Rule Engine Component Based On MDA

Posted on:2014-10-28Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhangFull Text:PDF
GTID:2268330422957264Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In IT system, rule engine, a flexible component, can strip business rule from hard-codedmodule, which realizes separated creation and maintenance of business rule. General speaking,business rule refers to business-related rules, regulations, operation specifications, industrystandards, and management rules, it can definite and restrict business logic, maintain businessstructure and influence business behavior. Rule grammar receive curve of business engine issteep. So it’s hard for business personnel to quickly create and maintain rule, instead, it oftenrequires business personnel and development personnel to program rule jointly. On the otherhand, API calling process of rule engine is complicated. The engine performing speedbecomes rather slow when many fact objects exist.This thesis adopts object-oriented software engineering method, starts from use-casemodel, identifies field subject in different application scenarios, and analyzes correspondentrule engine application interfaces. It picks the problems that are hard for rules to program orunderstand in realistic application process. It uses JIDE component to form humanizedoperation interface, and acquires to-be-inspected attribute list of data value object throughJava reflection mechanism. It adopts the rule matches according to each attribute, andachieves the purpose of automatically-created rule file. It, thus, simplifizes the process for thebusiness personnel to learn and manage rules. Meanwhile, for the problem of slowverification speed for large amount of data, it proposes an effective plan of Drools APIencapsulation, and takes rule basic information as a category, including rule verification type,creation time, creator, data type, rule file, result variable name, and so on. Then, it makes allthe needed behavior for the performance of rule in one category, including setting globalvariables, inserting fact objects, performing all the rules, reclaiming of memory. It includesthe reclaiming memory method into Java multi-thread, reduces frequent reclaiming memorybehavior, and improves the rule performance behavior.Experiments showed that, the rule file encapsulation adopted in this thesis reduces thetime for business personnel to learn rule grammar. It simplifizes the programming andmaintaining process, and solves the problem of inefficient rule programming for businesspersonnel. The rule engine API encapsulation plan, simplifizes the process for developingpersonnel to call engine API, improves the speed of engine performance. This thesis is ofgreat significance for the spread of rule engine, and the wide application of rule engine toindustry field.
Keywords/Search Tags:Business Rule, Rule Engine, Drools, Model Driven Architecture
PDF Full Text Request
Related items