Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Rule engine optimization method, device and system and storage medium

An optimization method and optimization device technology, applied in version control, instrumentation, software maintenance/management, etc., can solve the problems of complex rule configuration process, inability to realize reuse, and low efficiency of rule execution, so as to reduce performance disadvantages and quickly restore The effect of using and reducing the workload

Pending Publication Date: 2020-03-06
天阳宏业科技股份有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] To this end, the embodiments of the present invention provide a rule engine optimization method, device, system, and storage medium to solve the problem that when the existing rule engine is applied to business rules with complex algorithmic logic and complex mathematical calculation formulas, The rule configuration process is complicated, the rule execution efficiency is low, and the reuse cannot be realized

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rule engine optimization method, device and system and storage medium
  • Rule engine optimization method, device and system and storage medium
  • Rule engine optimization method, device and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Such as figure 1 As shown, the present embodiment proposes a method for optimizing a rule engine, the method comprising:

[0037] Step 110, constructing an algorithm library in the rule engine, where pre-configured rule-related algorithm packages are stored.

[0038] Specifically, the algorithm library includes a standard algorithm library module, a basic algorithm library module and a custom algorithm library module. The standard algorithm library module is used to provide standard mathematical algorithm packages; the basic algorithm library module is used to provide common algorithm packages summarized at the business level; The definition algorithm library module is used to provide algorithm customization and extension functions.

[0039] Example of a standard algorithm: In the Morton adjustment of the probability of default, the systematic risk factor R needs to be calculated, and the formula is:

[0040]

[0041] It can be seen that the R formula needs to use ...

Embodiment 2

[0055] Corresponding to the above-mentioned embodiment 1, the embodiment of the present invention proposes a rule engine optimization device, such as figure 2 As shown, the device includes:

[0056] The algorithm library module 210 is configured to construct an algorithm library in the rule engine, and a pre-configured rule-related algorithm package is stored in the algorithm library.

[0057] The rule configuration module 220 is configured to call the rule-related algorithm package in the algorithm library according to the requirements to complete the business rule configuration during the business rule configuration process.

[0058] Furthermore, the algorithm library includes a standard algorithm library module, a basic algorithm library module and a custom algorithm library module. The standard algorithm library module is used to provide standard mathematical algorithm packages; the basic algorithm library module is used to provide common algorithm packages summarized at ...

Embodiment 3

[0065] Corresponding to the above embodiments, this embodiment proposes a rule engine optimization system, such as image 3 As shown, the system includes: a processor 310 and a memory 320;

[0066] memory 320 for storing one or more program instructions;

[0067] The processor 310 is configured to run one or more program instructions to execute any method step in the above rule engine optimization method.

[0068] A rule engine optimization system proposed by the embodiment of the present invention, by building an algorithm library in the rule engine, the algorithm with complex algorithm logic and complex mathematical calculation formula required in the process of business rule configuration is introduced in the form of an algorithm package In the rule configuration process, it has the following advantages:

[0069] (1) At the level of rule configuration, through the configuration of this optimization method, the algorithm package of complex mathematical calculation formulas...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a rule engine optimization method, device and system and a storage medium, and the method comprises the steps: building an algorithm library in a rule engine,and introducing an algorithm with complex algorithm logic and a complex mathematical calculation formula needed in a business rule configuration process into the rule configuration process in the form of an algorithm package. On the rule configuration level, by means of the configuration mode of the optimization method, complex algorithm logic can be rapidly achieved by rapidly introducing an algorithm package of a complex mathematical calculation formula; on the rule execution level, through execution of the optimization method, the RETE algorithm and the calculation formula can be merged ina large-granularity mode during operation, and the performance disadvantage caused by alternate execution is reduced; on the rule multiplexing level, accumulation of an algorithm library is achievedthrough introduction of an algorithm package, rapid multiplexing can be achieved in different rule configuration items, and the workload of repeated configuration and repeated code writing is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of rule configuration, and in particular to a rule engine optimization method, device, system and storage medium. Background technique [0002] The rule engine is developed from the inference engine. It can separate business rules from application code and write business decisions using predefined semantic modules. The rule engine can receive data input, interpret business rules, and make business decisions based on business rules. decision making. Existing commercial and open source rule engines can provide business rule design tools such as rule sets, decision tables, decision trees, scorecards, and rule flows, as well as provide browser editing modes for visual business rule configuration. The existing open source and commercial rule engines basically use the RETE algorithm or a similar RETE algorithm. The RETE algorithm is a fast pattern matching algorithm. The rule set, decisi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/30G06F8/71
CPCG06F8/315G06F8/71
Inventor 薛锦涛杨威滨陈嘉强张志莲
Owner 天阳宏业科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products