Font Size: a A A

An Implementation Of Rule Engine Suitable For Salary Computing

Posted on:2013-08-01Degree:MasterType:Thesis
Country:ChinaCandidate:Q ShuFull Text:PDF
GTID:2248330371493176Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Salary management systems have been an indispensable part of information construction, and play an important role in the implementation of rational income distribution system in our country. However, the tradition solution of developing salary management system has inherent flaw of bad extensibility and mantainability due to its hard-coding on the implementation of salary computing. When the policy changes, it’s hard to modify the software, prone to errors and must deploy the system again and again, causing higher cost on software maintainance. In addition, the salary computing component can not be reused.The rule engine, as a result of the research on artificial intelligence, has brought a new way on coping with the requirement of software development which becomes more and more complex, changeable and deployable, and manifested significant advantages that can not be obtained in tradition solution. Applying the rule engine to salary system by describing salary computing with rules, makes the logic of salary computing more readable, configurable, extensiable, and maintainable. Meanwhile, the rule engine, as a core compoment to interpret salary computing rules, can be reused in different systems, which undoubtedly promotes the development efficiency of salary computing component, thus accelerating the development process of salary system, and greatly reducing the developing cost.This paper focuses on salary computing and rule engine, and elaborates the implementation of rule engine suitable for salary computing, thereby proposing a new solution of salary computing based on rule engine. Compared to the tradition solution, the new solution wins greater flexibility at the cost of a little lose on performance. First of all, establishes an appropriate object-oriented rule model in order to bridge the gap between salary computing and the rule engine to be developed. After briefly introducing the mechanism of rule engine and rete algorithm based, elaborates the solution of rule engine suitable for salary computing, and provides an implementation based on JBoss Drools, which is an open-source rule engine. Three things are done.By removing the unnecessary modules of the JBoss Drools release, ensures the minimum implementation of rule engine that could satisfy the requirement of salary computing. By defining a more accurate conflict resolver strategy, ensures the correct sequence constraints of execution on temporal information. By properly configuring the options of rule base and rule engine based on the research of performance promoting technology used, bridges the performance gap between the new solution and the tradition solution. At the end, integrates the rule engine into the entire system and implements the salary computing, and then compares the new solution to the tradition solution on extensibility, maintainability and performance. Firstly, the new solution gains a prominent advantage over the latter on extensibility and maintainability, which is our main goal. Secondly, the performance measurement experiment shows that the new solution has a slightly disadvantage on performance.Weighing the gain and the loss, it deserves. Finally it comes to the conclusion that the solution based on rule engine is a feasible and reliable substitution on salary computing.
Keywords/Search Tags:Salary computing, Rule engine, Rule model, JBoss Drools, Extensibility, Maintainability
PDF Full Text Request
Related items