Font Size: a A A

The Research And Application Of The Raw Material Weighing Settlement System Of Manufacturing Enterprises Based On The Rule Engine

Posted on:2019-04-27Degree:MasterType:Thesis
Country:ChinaCandidate:T L WangFull Text:PDF
GTID:2439330548473573Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The existing coal dry coke pound trading field has a variety of types of settlement rules and frequent changes,frequent trading activities,difficulty in the management of settlement programs,and other issues,a lot of manpower and material resources to the company's economic results are bad influences.In the traditional system management,the main way is hard coding,which combines the complex business logic and processing flow with the code,which makes the system scalability and maintainability worse.When the settlement scheme of the amount is changed,it will bring some adverse effects,such as when the system is modified,it is difficult and error prone.We also need to redeploy the system,and software maintenance and upgrading cost a lot.Based on the above problems,this paper proposes a rule based engine for money settlement.Since the emergence of the rule engine,it has been a very important task.It comes from the development of rule-based expert system,essentially a reasoning engine.Its advantage is that it allows complex business logic not to be written into the program code by means of hard-coded methods,but to adopt an embedded concept that is extracted separately and handed to the rules engine for management.Even when business logic changes again,business personnel can easily handle and update rules,so that no technical staff is required to modify the program code.Meeting the needs of the enterprise,the system software meets the requirements of low cost and rapid change with the change of business requirements.This paper focuses on the application of drools in the field of coal dry coke trading.It designs and implements a solution for drools-based enterprise transaction amount settlement management and decision-making systems.It processes the business logic to the rules engine to make traditional enterprise management.The problems in the system were solved and intelligent settlement of the transaction amount was realized.This article first made an in-depth study and description of the rules engine,including its operating mechanism,the pattern matching process of the core algorithm,and the basic elements of the rules;then it analyzed the problems faced by companies in the management of excessive dry weight settlement in the field of coal dry coke trading.In this field,we analyze the settlement rules,analyze their relationship,classify and classify them,and establish a rule object model.On this basis,we design the rule management subsystem and pre-set rules in the rule base.Processing,optimized drools core pattern matching algorithm-rete algorithm,as much as possible to increase the number of nodes shared in the rete network,thereby saving system space,improve efficiency,users can be convenient and flexible in the drools-based transaction amount settlement subsystem managing business rules.At the end of the paper,the specific implementation of the system is given.The designed rules engine subsystem module is integrated into the entire enterprise management system.The system operation flow is experimentally illustrated,including the key codes and algorithms of the program.Through a humanized interactive interface,even if a business person does not understand the rules and codes,he can easily write rules and manage rules.After testing,the implementation of rule engine facilitates the management of enterprises and meets the needs of users.
Keywords/Search Tags:rule engine, Rete algorithm, pound settlement, commodity trading
PDF Full Text Request
Related items