Method for increasing operating efficiency of rule engines

A technology of operating efficiency and rules, applied in the direction of program control devices, etc., can solve problems such as low operating efficiency, and achieve the effects of improving operating efficiency, improving matching hit rate, and reducing time loss

Inactive Publication Date: 2016-05-11
INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] The purpose of the present invention is to overcome the shortcoming of the low operation efficiency of the rule engine currently applied to the lightweight equipment, and propose a method of adding an "associated fact" attribute for each rule on the basis of the existing matching algorithm. This method can improve the operating efficiency of the rule engine

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
  • Method for increasing operating efficiency of rule engines
  • Method for increasing operating efficiency of rule engines
  • Method for increasing operating efficiency of rule engines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Compared with the existing rule engine technology, the method of the present invention adds an attribute of "associated facts" to each rule in the rule set. Each rule in the rule set is initially matched, that is, each fact is associated with the "associated fact" attribute of each rule. Only when the initial match is successful can it enter the regular matching link, and if the initial match is unsuccessful, it is directly considered that the fact is related to the rule. The rule did not match. Through the preliminary matching process, unnecessary routine matching process is effectively avoided, the success rate of each matching is improved, unnecessary time consumption is reduced, and the operating efficiency of the entire rule engine is significantly improved.

[0049]The method for improving the operating efficiency of the rule engine of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[...

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 invention relates to a method for increasing the operating efficiency of rule engines. The method comprises the following steps: (101) establishing a fact set comprising a plurality of facts; (102) establishing a rule set comprising a plurality of rules, wherein each rule comprises a condition part and an action part; (103) adding a corresponding related fact attribute to each rule in the rule set; (104) matching the fact set with the rule set on the basis of a matching algorithm and establishing a matched rule set; (105) confirming the execution sequence of the rules in the matched rule set according to a rule priority; and (106) executing the action parts of the rules according to the execution sequence of the rules and updating the fact set by using the execution results. The method disclosed by the invention has the advantages that the matching hit rate of the fact set and the rule set in a rule engine inference can be increased; the time loss is reduced; and the operating efficiency of the rule engines is effectively increased.

Description

technical field [0001] The invention relates to the rule engine technology in the field of artificial intelligence, in particular to a method for improving the operating efficiency of the rule engine. Background technique [0002] Developed from the inference engine, the rule engine is a component embedded in the application, which separates business decisions from application code and writes business decisions using predefined semantic modules. Since the rule engine is a software component, only developers can use and control it through the program interface. Usually, the five steps for developers to use the rule engine in the program are: [0003] 1) Create a rule engine object; [0004] 2) Load the rule set into the engine or replace the rule set; [0005] 3) Submit the fact set to be processed by the rule set to the engine; [0006] 4) Command the engine to execute; [0007] 5) Export the engine execution result and withdraw the processed data from the engine. [00...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 田瑞琴唐鼎杨兴华杨国立赵志军慈松谭红艳
Owner INST OF ACOUSTICS CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products