Font Size: a A A

Design And Implementation Of A Rule Generator For Salary Computing

Posted on:2013-09-13Degree:MasterType:Thesis
Country:ChinaCandidate:L XuFull Text:PDF
GTID:2248330371993152Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Salary computing system is an important part of the modern enterprise management system. Traditional development approach mixing the complex business logic and the processing program into the code, making the salary computing system has some drawbacks, such as operatoring complex, structure bloated, and poor scalability. Moreover, when the salary policy changes, not only the old system is very difficult to update or upgrade, but also it will cost higher.Salary computing system which based on the Drools rules engine can easily separate the complex business logic and the processing program, computing the salary of the employees through establishing the rule sets and fact sets. It has been dramatically improved in terms of the ease of use, scalability and maintainability. When salary computing system needs to be upgraded, we can update the rule sets instead. It greatly reduces the cost of system upgrades. However, the format of the Drools rules has strict requirements, which must under a specific syntax, so it will professional R&D personnel a lot of time to write it.For these shortcomings, the following have been made. Firstly, the format of the rules in the Drools rules engine has been analysised, a detailed description of the characteristics of the rule properties, rule conditions and rules actions has been given.Then, it classify the rules according to the rules’ type and summarize the relationship between and the rules. At last, it details the design and implementation of the rule generator. The rules generator can be divided into four modules, they are collecting source data module, expressing rule module, generating rule module and managing rule module. Comparing with the traditional method, rule generator has obvious advantages. Rule generator creates rules with segments name which will not caused name conflicts. Rule generator used a template-based and step-by-step injection method in the process of rule generate, it makes rule generator has a wide range of adaptability, which can generate a variety of types of rules. In order to manage the rules, rule generator uses the rule database and the rule fileset, which achieved good results.The rule generator not only reduce the workload of the R&D personnel as well as shortens the development cycle, but also reduces the artificial dependence of the system and improves the system of self-adaptive. It really has a great significance in the actual development.
Keywords/Search Tags:salary computing, rule engine, rule generator, rule generation, automatic
PDF Full Text Request
Related items