US 12,411,682 B2
Inversion process for rules framework
Sebastian Mietke, Reilingen (DE)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Oct. 12, 2022, as Appl. No. 17/964,409.
Prior Publication US 2024/0126541 A1, Apr. 18, 2024
Int. Cl. G06F 8/71 (2018.01); G06F 9/54 (2006.01)
CPC G06F 8/71 (2013.01) [G06F 9/542 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computing system comprising:
a memory storing a rules repository; and
a processor configured to automatically:
detect an activation of a custom rule within a rules framework of a software program, wherein the custom rule comprises a plurality of conditions for converting one or more input values into one or more output values;
generate an inverse of the custom rule, wherein the inverse of the custom rule comprises a plurality of statements which each comprise a single output value from among the one or more outputs mapped to a single input value from among the one or more input values and a different condition among the plurality of conditions;
update a rule repository associated with the rules framework with the inverse of the custom rule by storing a mapping table which indicates a particular output value of the one or more output values, a corresponding input value of the one or more input values, and one or more particular conditions of the plurality of conditions associated with the corresponding input value; and
in response to receiving a query for the custom rule from a process, the query having a particular condition, identify an inverse statement of the custom rule that corresponds to the particular condition, generate a response based on the inverse statement of the custom rule, and transmit the response to the process.