Font Size: a A A

Design And Implementation Of A Business Rule Management Platform Based On Drools

Posted on:2022-04-19Degree:MasterType:Thesis
Country:ChinaCandidate:Y C ChenFull Text:PDF
GTID:2518306605466264Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
At present,with the rapid development of science and technology,various high-end technologies emerge in an endless stream.Common ones include big data,artificial intelligence,and deep learning.Nowadays,in many industries,due to the characteristics of the industry's business,information systems have encountered maintenance difficulties and low efficiency due to frequent changes in business requirements.According to traditional development thinking,the basic way of writing this type of business is to add multiple if judgments,or add judgments in SQL statements.What follows is an increase in the workload of developers,employment costs,and time costs incurred by business communication.So how to solve such problems,separate business rules and logic codes,and complete the decoupling of business and logic has become the research focus of the technical department.Based on the needs of insurance company B in auto insurance claims business,combined with object-oriented,web technology and rule engine,this paper designs and implements a business rule management platform based on Drools rule engine.This system uses the Drools rule engine to provide services for the decoupling of business rules and logic codes in the original obsolete system of B insurance company,so that the system can dynamically change business rules,improve development efficiency,and reduce maintenance difficulty.The specific research content of this paper is as follows: First,it analyzes the problems caused by frequent business changes,introduces some solutions in the current industry,and then introduces the Drools rule engine,including the basic concepts,mechanisms and rule structure of Drools.Among them,the structure and grammar of the rule file used in the Drools rule engine are analyzed in detail,which lays the foundation for the subsequent design and realization of system functions.In the demand analysis stage,according to the business needs of B insurance company,the main process of the system is modeled.Then it analyzes the requirements from the perspectives of function and performance,and divides the system into the following functional modules: rule factor management,rule configuration,rule analysis,rule script,knowledge package,interface configuration and other modules,and respond to the system at the same time Time puts forward performance indicators.Then the overall design of the system is carried out,the overall hierarchical structure of the system is divided,and then the database table structure design of each module is described in a table and the E-R diagram of the system is given.On this basis,each functional module is designed in detail by the analysis of the requirements of each module,including the version management of the rule factor,the analysis of the rule message and the loading process of the rule script,etc.,and the class of each module in the system is given.The diagram design lists the functions of the key methods,and then uses the sequence diagram to analyze and explain them in detail.Finally,the test process of the system is introduced,and the actual test proves that the system meets the business needs of insurance company B for car parts,damage assessment,and service release.For the test of the performance requirements of the system,the form of a table was used for display,and it was demonstrated that the results meet the performance indicators of B insurance company.The business rule management platform has designed a simple and easy-to-use rule editing interface on the front-end page,which is convenient for business personnel to write business rules easily.For complex business scenarios,it is also supported through the establishment of knowledge packages,rule scripts,etc.At the same time,the design user only needs to configure the interface in the system,so that the external system can easily obtain services,alleviating the problems caused by the strong coupling of some business rules and logic codes,which has a certain promotion value..
Keywords/Search Tags:Business rules management, Drools, Rule engine
PDF Full Text Request
Related items