发明名称 Pattern behavior support in a rule engine
摘要 Some embodiments of pattern behavior support in a rule engine have been presented. In one embodiment, a behavior builder registry is stored on a computer-readable storage device in a server. The behavior builder registry includes a set of behaviors supported by a rule engine and a set of builders associated with the behaviors. A compiler running on the server may compile a set of rules using the behavior builder registry to generate a network having a set of nodes. In response to a data object asserted propagating into a node of the network, the rule engine may first check one or more behaviors at the node before applying one or more regular constraints at the node on the data object asserted.
申请公布号 US9213942(B2) 申请公布日期 2015.12.15
申请号 US200912540289 申请日期 2009.08.12
申请人 Red Hat, Inc. 发明人 Proctor Mark;Tirelli Edson
分类号 G06N5/02;G06N5/04 主分类号 G06N5/02
代理机构 Lowenstein Sandler LLP 代理人 Lowenstein Sandler LLP
主权项 1. A method comprising: storing a behavior builder registry on a computer-readable storage device operatively coupled to a processor, the behavior builder registry comprising a plurality of behaviors constraints supported by a rule engine and a plurality of builders associated with the plurality of behaviors constraints; compiling, by the processor, a plurality of rules using the behavior builder registry to generate a network comprising a plurality of nodes; parsing patterns defined by the plurality of rules to identify a set of behavior constraints, wherein each behavior constraint comprise a power to veto a data object; associating one of the plurality of builders with each of the set of behavior constraints according to the behavior builder registry; propagating a first data object into a first node of the network, wherein the first beta node is associated with a first behavioral constraint; and checking, by the processor, the first behavioral constraint at the first node to determine whether to veto the first data object before applying a regular constraint at the first node on the first data object, wherein the first data object is not propagated by the first node if the behavioral constraint vetoes the first data object.
地址 Raleigh NC US