Method and system for dynamic software reconfiguration triggered by component- or system- initiated events
AssigneeInternational Business Machines Corporation
InventorsZhen Liu, Anton V. Riabov
Life of this patent
Estimating the term…
Abstract
A method for handling events in compositional applications represented as processing graphs, including: receiving an event notification; modifying a planning domain according to the event notification; generating a new processing graph for a previously deployed processing graph by using the modified planning domain; determining if the new processing graph is different than the previously deployed processing graph; and if the processing graphs are different: reconfiguring the previously deployed processing graph to match the new processing graph; or deploying the new processing graph and replacing the previously deployed processing graph with the newly deployed processing graph.
Claims15
A method for handling events in compositional applications represented as processing graphs, comprising:
- receiving an event notification from an execution environment;
- modifying a planning domain according to the event notification;
- generating, using a processor of a computer, a new processing graph for a previously deployed first processing graph by using machine code executable by the computer to process the modified planning domain;
- determining if the new processing graph is different than the previously deployed first processing graph;
- and
- if the processing graphs are different:
- deploying the new processing graph and replacing the previously deployed first processing graph with the newly deployed processing graph,
- wherein the event notification is triggered in response to a new data source identified by a previously deployed second processing graph,
- wherein the event notification itself includes a component description and instructions to add the component description to the planning domain.
A system for handling events in compositional applications represented as processing graphs, comprising;
- a memory device for storing a program;
- a processor in communication with the memory device, the processor operative with the program to:
- receive an event notification from an execution environment;
- modify a planning domain according to the event notification;
- generate a new processing graph for a previously deployed first processing graph by using the modified planning domain;
- determine if the new processing graph is different than the previously deployed first processing graph;
- and
- if the processing graphs are different:
- deploy the new processing graph and replace the previously deployed first processing graph with the newly deployed processing graph,
- wherein the event notification is triggered in response to a new data source identified by a previously deployed second processing graph,
- wherein the event notification itself includes a component description and instructions to add the component description to the planning domain.
A non-transitory computer readable storage medium storing instructions that, when executed by a computer, cause the computer to perform a method for handling events in compositional applications represented as processing graphs, the method comprising:
- receiving an event notification from an execution environment;
- modifying a planning domain according to the event notification;
- generating a new processing graph for a previously deployed first processing graph by using the modified planning domain;
- determining if the new processing graph is different than the previously deployed first processing graph;
- and
- if the processing graphs are different:
- deploying the new processing graph and replacing the previously deployed first processing graph with the newly deployed processing graph,
- wherein the event notification is triggered in response to a new data source identified by a previously deployed second processing graph,
- wherein the event notification itself includes a component description and instructions to add the component description to the planning domain.
Dependencies are inferred from the claim text.