Providing results from external rule engines based on rule engine vocabularies
First Claim
Patent Images
1. A computer-implemented method comprising:
- automatically generating, at a local rule engine, a rule engine vocabulary comprising a context description and a result description that respectively define an input to and an output of an external rule engine, the rule engine vocabulary defining a data type of a result;
serializing the rule engine vocabulary in a schema document that, when received at the external rule engine, allows a rule to be defined by the external rule engine based on the context description and the result description;
transmitting the schema document to the external rule engine;
transmitting a context specified according to the context description as the input to the external rule engine, for evaluation by the rule to provide the result corresponding to the data type;
receiving, at the local rule engine, the result specified according to the result description as the output of the external rule engine; and
outputting the result.
2 Assignments
0 Petitions
Accused Products
Abstract
An enhanced rule engine, in which a rule-evaluated result that is received from an external rule engine based on a context transmitted to the external rule engine for evaluation by the rule and on a schema document serializing an automatically generated vocabulary transmitted to the external rule engine is output. The schema document defines the business rule based on a context description and a result description included in the vocabulary, and the context and the result are respectively specified according to the context description and the result description.
19 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
automatically generating, at a local rule engine, a rule engine vocabulary comprising a context description and a result description that respectively define an input to and an output of an external rule engine, the rule engine vocabulary defining a data type of a result; serializing the rule engine vocabulary in a schema document that, when received at the external rule engine, allows a rule to be defined by the external rule engine based on the context description and the result description; transmitting the schema document to the external rule engine; transmitting a context specified according to the context description as the input to the external rule engine, for evaluation by the rule to provide the result corresponding to the data type; receiving, at the local rule engine, the result specified according to the result description as the output of the external rule engine; and outputting the result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product, tangibly embodied in a non-transitory machine-readable storage device, the computer program product comprising instructions that, when read by a machine, operate to cause a data processing apparatus to:
-
automatically generate, at a local rule engine, a rule engine vocabulary comprising a context description and a result description that respectively define an input to and an output of an external rule engine, the rule engine vocabulary defining a data type of a result; serialize the rule engine vocabulary in a schema document that, when received at the external rule engine, allows a rule to be defined by the external rule engine based on the context description and the result description; transmit the schema document to the external rule engine; transmit a context specified according to the context description as the input to the external rule engine, for evaluation by the rule to provide the result corresponding to the data type; receive, at the local rule engine, the result specified according to the result description as the output of the external rule engine; and output the result.
-
-
20. A device comprising:
-
a processor configured to; automatically generate, at a local rule engine, a rule engine vocabulary comprising a context description and a result description that respectively define an input to and an output of an external rule engine, the rule engine vocabulary defining a data type of a result, and serialize the rule engine vocabulary in a schema document that, when received at the external rule engine, allows a rule to be defined by the external rule engine based on the context description and the result description; an interface configured to; transmit the schema document to the external rule engine, transmit a context specified according to the context description as the input to the external rule engine, for evaluation by the rule to provide the result corresponding to the data type, and receive, at the local rule engine, the result specified according to the result description as the output of the external rule engine; and an output module configured to output the result.
-
Specification