Method for improving rule engine response speed

A technology of response speed and rules, applied to electrical components, transmission systems, etc., can solve problems such as limited computing power and storage capacity of lightweight equipment, inapplicability of rule engines on lightweight equipment, and affecting the real-time performance of application systems, etc., to improve Average response speed, guaranteed real-time performance, and improved real-time performance

Inactive Publication Date: 2016-06-01
INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] The above research methods have improved the response speed of the rule engine to varying degrees, but most of these research methods are suitable for rule engines running on PCs or servers, but not suitable for rule engines on lightweight devices. The computing power and storage capacity of the equipment are limited, and the direct application of the above research methods will have certain limitations
[0018] Since th

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 improving rule engine response speed
  • Method for improving rule engine response speed
  • Method for improving rule engine response speed

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In the method of the present invention, before the rule set and the fact set are matched, the rules in the rule set are first sorted according to the priority level, that is, the rule with higher priority will be matched earlier, and as long as the rule match is successful, the It will be executed immediately instead of executing the matching rules after all the rules in the rule set are matched. This parallel working mode of matching and executing can significantly improve the response speed of the rule engine.

[0045] 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.

[0046] Such as figure 1 As shown, a method to improve the response speed of the rule engine includes:

[0047] Step 101) establishes a fact set; The fact set is a collection of several facts;

[0048] The fact includes several fact variables, and each fa...

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 improving a rule engine response speed. The method comprises the following steps: establishing a fact set which is a set of a plurality of facts; establishing a rule set which is a set of a plurality of rules comprising condition parts and action parts; adding a priority attribute to each rule in the rule set; and matching the facts in the fact set with the rules in the rule set on the basis of a matching algorithm according to a priority sequence of the rules, executing the action parts of the rules if one rule is matched successfully, continuously performing matching after execution is finished, and repeating the process until all the facts in the fact set already match with the rules in the rule set. The method improves the rule engine response speed, and then improves rule engine real-time performance.

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 response speed 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. [0008] Ru...

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): H04L29/12
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