HyperAI

Rule Engine

Rules EngineIt is a component embedded in the application. It is developed based on the reasoning engine, which can separate business decisions from application code and write business decisions using predefined semantic modules. It can receive data input, interpret business rules, and make corresponding decisions based on business rules.

Functionality of the rules engine

  • Separate business decisions from application code and write business decisions using predefined semantic modules;
  • The specific execution can be divided into several processes: accepting data input, interpreting business rules, and making business decisions based on business rules;
  • Using the rule engine can separate complex and redundant business rules from the entire supporting system, making the architecture reusable and portable.

Selection and application of rule engine

Compared with the business system, the rule engine can be regarded as an independent module, which is mainly responsible for the calculation of rules. Generally speaking, the rule engine is mainly used in the following scenarios:

  • Risk control model configuration, risk control is a rule engine;
  • Configuration of user points, such as changes in points caused by daily operations;
  • Simple offline calculations, statistics of various types of data with relatively small amounts, etc.

Currently commonly used engine rules

In the current rule engine system, the most commonly used open source rule engines are:

  • Ilog JRules is the most famous commercial BRMS;
  • Drools is the most active open source rules engine;
  • Jess is the Java implementation of Clips, just like JRuby is to Ruby, and is the representative of the AI system;
  • Visual Rules (Qi Zheng Rules Engine) is a domestic commercial rules engine brand.