Device and method of processing rules based on web services
AssigneeElectronics and Telecommunications Research Institute
InventorsKangchan Lee, Won-Suk Lee, Jong-Hong Jeon, Seung-Yun Lee
Life of this patent
Estimating the term…
Abstract
Provided is a device for storing a rule describing an event, a condition to be satisfied by the event, and an action to be executed when the condition is satisfied and executing the action of the rule in an expended structure for using web services so as to effectively process the web services in various devices as well as a computer. In addition, a global rule manager for inspecting the validity of the rule when the rule is stored and executed is provided. Accordingly, the web services can be effectively used in a ubiquitous environment.
Claims16
A device for processing rules based on web services comprising:
- a rule storage storing rules describing an event, a condition to be satisfied by the event, and an action to be executed when the condition is satisfied;
- a rule engine retrieving a rule describing the event from the rules stored in the rule storage when an event occurs;
- a condition inspector inspecting whether or not the event satisfies the condition described in the retrieved rule;
- and
- an action executor executing the action described in the retrieved rule when the event satisfies the condition;
- and
- a local rule manager storing the rule requested to be registered when the rule is requested to be registered by a service requester and does not generate a static conflict in which the rule requested to be registered describes the same event and condition as those of another rule but describes an action that cannot be simultaneously executed.
A method of using rules based on web services comprising:
- (a) storing rules describing an event, a condition to be satisfied by the event, and an action to be executed when the condition is satisfied;
- (b) when an event occurs, retrieving a rule describing the event from the rules stored in a rule storage;
- (c) inspecting whether or not the event satisfies a condition described in the retrieved rule;
- and
- (d) when the event satisfies the condition, executing an action described in the retrieved rule, wherein in (a), when the rule is requested to be registered by a service requester and the rule requested to be registered does not generate a static conflict in which the rule requested to be registered describes the same event and condition as those of other rules but describes an action that cannot be simultaneously executed, the rule requested to be registered is stored.
A method of using rules based on web services comprising:
- (a) determining whether or not a rule describing an event, a condition to be satisfied by the event, and an action to be executed when the condition is satisfied generates a static conflict in which the rule describes the same event and condition as those of other rules but describes an action that cannot be simultaneously executed;
- (b) when the rule does not generate the static conflict, determining whether or not there is a possibility of an occurrence of a dynamic conflict in which the rule describes an action that cannot be simultaneously executed along with actions described in other rules;
- and (c) when an event occurs, determining whether or not a rule describing the event generates the dynamic conflict in which the rule describes an action that cannot be simultaneously executed with an action described in a rule to be currently executed.
Dependencies are inferred from the claim text.