Rule base processing system and rule evaluation control method therein
First Claim
Patent Images
1. A rule base processing system, comprising:
- an inference engine;
a rule base storage, operatively connected to said inference engine, including;
knowledge source blocks having a selection mode and rules arranged in a first priority sequence, at least some of said knowledge source blocks further including a priority sequence table describing a second priority sequence of the rules, each of the rules including a condition and a procedure; and
a control block having a knowledge source list of said knowledge source blocks in said rule base storage to be executed by said inference engine; and
a rule base compiler, operatively connected to said rule base storage, to compile said rule base storage and generate a program for executing the rules in one of the first and second priority sequences, the program executing in each knowledge source block having a single rule selection mode, only the procedure of a first rule having a condition that is satisfied.
1 Assignment
0 Petitions
Accused Products
Abstract
A rule base processing system for processing rules with an inference engine is provided with a control block and a number of knowledge source blocks containing the rules. The control block contains a knowledge source list of the knowledge source blocks and a function name through which the control block may be called as a subprogram. The knowledge source blocks contain priority sequence tables in which the sequence of execution of the rules is arranged and can be externally controlled. Each rule in the knowledge source contains a number of detailed rules from which an optimum rule is selected.
-
Citations
19 Claims
-
1. A rule base processing system, comprising:
-
an inference engine; a rule base storage, operatively connected to said inference engine, including; knowledge source blocks having a selection mode and rules arranged in a first priority sequence, at least some of said knowledge source blocks further including a priority sequence table describing a second priority sequence of the rules, each of the rules including a condition and a procedure; and a control block having a knowledge source list of said knowledge source blocks in said rule base storage to be executed by said inference engine; and a rule base compiler, operatively connected to said rule base storage, to compile said rule base storage and generate a program for executing the rules in one of the first and second priority sequences, the program executing in each knowledge source block having a single rule selection mode, only the procedure of a first rule having a condition that is satisfied. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method, performed by a computer system, of executing rules in a rule base source to be processed by an inference engine, said method comprising the steps of:
-
(a) storing the rules in knowledge blocks with said computer system; (b) storing a list of the knowledge blocks in a control block with said computer system; (c) storing a function name corresponding to the control block; and (d) executing in said computer system the knowledge blocks responsive to the list, including calling a group of the knowledge blocks listed in the control block as a subroutine using the function name corresponding to the control block. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A method, performed by a computer system, of compiling a rule base source including rules each having a procedure and a condition, said method comprising the steps of:
-
(a) determining with said computer system whether only a single procedure is to be executed when the condition is satisfied, or whether the procedure for all of the rules in which the condition is satisfied is to be executed; (b) determining with said computer system whether the rules are to be executed in a priority conforming to a priority sequence table; and (c) arranging executing of the rules with said computer system in accordance with the priority of the priority sequence table and the result of the determination in step (a).
-
-
18. An expert system, comprising:
-
rules storage storing rules; priority storage storing an evaluation priority list indicating the priority of evaluation of the rules; an inference engine evaluating the rules in accordance with the evaluation priority; wherein said priority storage stores plural priority tables each including an evaluation priority list and the priority tables being selectable by a user; and further comprising means for allowing a user to enter the evaluation priority list.
-
-
19. A rule base processing system, comprising:
-
an inference engine; a rule base storage, operatively connected to said inference engine, including; knowledge source blocks having a selection mode and rules arranged in a first priority sequence, at least some of said knowledge source blocks further including a priority sequence table describing a second priority sequence of the rules, each of the rules including a condition and a procedure; and a control block having a knowledge source list of said knowledge source blocks in said rule base storage to be executed by said inference engine; and a rule base compiler, operatively connected to said rule base storage, to compile said rule base storage to generate a program for executing the rules in one of the first and second priority sequences, the program executing, in each knowledge source block having a multiple rule selection mode, the procedure of all of the rules having a condition that is satisfied.
-
Specification