US 11,989,661 B1
Dynamic rules for rules engines
Monil Shah, Jersey City, NJ (US); Sandeep Verma, Mumbai (IN); and Paul Cherian, Mumbai (IN)
Assigned to Morgan Stanley Services Group Inc., New York, NY (US)
Filed by Morgan Stanley Services Group Inc., New York, NY (US)
Filed on Jul. 24, 2023, as Appl. No. 18/357,821.
Int. Cl. G06N 5/025 (2023.01); G06F 9/54 (2006.01)
CPC G06N 5/025 (2013.01) [G06F 9/542 (2013.01); G06F 2209/547 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A distributed computer system for an enterprise, the distributed computer system comprising:
a rules engine running on a first computer system comprising random access memory (RAM), wherein the RAM stores, within a first Knowledge is Everything (KIE) container, instantiations of rules for the enterprise that are implemented by the rules engine;
a rules manager, running in a second computer system, that is programmed to generate new rules for the enterprise; and
a publish-subscribe (pub/sub) service that provides a communication means between the rules engine and the rules manager,
wherein:
the rules engine is subscribed to a topic via the pub/sub service for new rules;
the rules manager is configured to publish a new rule via the pub/sub service with an associated topic for the new rule; and
the rules engine is configured to:
poll the pub/sub service for new rules;
upon the rules engine determining, from the polling, that the new rule from the rules manager is for the topic, download the new rule;
store the new rule in a second KIE container of the RAM;
execute the new rule stored in the second KIE container without downtime of the rules engine; and
after storing the new rule in the second KIE container, delete the first KIE container.