CODE GENERATION FOR REAL-TIME EVENT PROCESSING
First Claim
1. A method for information processing, comprising:
- determining respective execution times for a plurality of operations on a selected computing platform;
receiving a definition of a rule comprising a complex event and an action to be performed upon occurrence of the complex event;
automatically generating software code to implement the rule on the selected computing platform by invoking a sequence of the operations responsively to the occurrence of the complex event;
computing a worst-case estimate of a duration of execution of the software code based on the respective execution times of the operations in the sequence; and
when the worst-case estimate is no greater than a predetermined limit, running the software code on the selected computing platform so as to cause the action to be performed when the rule is satisfied.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for information processing includes determining respective execution times for a plurality of operations on a selected computing platform. When a definition of a rule is received, including a complex event and an action to be performed upon occurrence of the complex event, software code is automatically generated to implement the rule on the selected computing platform by invoking a sequence of the operations responsively to the occurrence of the complex event. A worst-case estimate of a duration of execution of the software code is computed, based on the respective execution times of the operations in the sequence. When the worst-case estimate is no greater than a predetermined limit, the software code is run on the selected computing platform so as to cause the action to be performed when the rule is satisfied.
-
Citations
20 Claims
-
1. A method for information processing, comprising:
-
determining respective execution times for a plurality of operations on a selected computing platform; receiving a definition of a rule comprising a complex event and an action to be performed upon occurrence of the complex event; automatically generating software code to implement the rule on the selected computing platform by invoking a sequence of the operations responsively to the occurrence of the complex event; computing a worst-case estimate of a duration of execution of the software code based on the respective execution times of the operations in the sequence; and when the worst-case estimate is no greater than a predetermined limit, running the software code on the selected computing platform so as to cause the action to be performed when the rule is satisfied. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. Apparatus for information processing, comprising:
-
a memory, which is arranged to store respective execution times for a plurality of operations on a selected computing platform; and a code processor, which is arranged to receive a definition of a rule comprising a complex event and an action to be performed upon occurrence of the complex event, and to automatically generate software code to implement the rule on the selected computing platform by invoking a sequence of the operations responsively to the occurrence of the complex event and to compute a worst-case estimate of a duration of execution of the software code based on the respective execution times of the operations in the sequence, such that when the worst-case estimate is no greater than a predetermined limit, the code processor outputs the software code to run on the selected computing platform so as to cause the action to be performed when the rule is satisfied. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
- 15. A computer software product, comprising a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to read from a memory respective execution times for a plurality of operations on a selected computing platform, and to receive a definition of a rule comprising a complex event and an action to be performed upon occurrence of the complex event, and to automatically generate software code to implement the rule on the selected computing platform by invoking a sequence of the operations responsively to the occurrence of the complex event and to compute a worst-case estimate of a duration of execution of the software code based on the respective execution times of the operations in the sequence, such that when the worst-case estimate is no greater than a predetermined limit, the computer outputs the software code to run on the selected computing platform so as to cause the action to be performed when the rule is satisfied.
Specification