IP Library Granted Patent US 10,162,613
Granted Patent B1
US 10,162,613 · App. 15/652,616 · Granted Dec 25, 2018

Re-usable rule parser for different runtime engines

Inventors: Efrat Vilozny (Ra'anana, IL); Anita Demayo (Tel-Aviv, IL); Ronen Halbani (Natania, IL)
Assignee: SAP PORTALS ISRAEL LTD.
G06F8/427G06F3/0481G06F17/2725
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,162,613
App. No.
15/652,616
Granted
Dec 25, 2018
Kind
B1
Abstract

A method and system are provided including a parser module; a display; a memory storing processor-executable process steps; and a parser processor coupled to the memory, and in communication with the parser module and operative to execute the processor-executable steps to cause the system to: provide a user interface to a user via the display, the user interface including one or more data-entry fields; receive an expression in the one or more data-entry fields; transform the expression into a tree structure, wherein the tree structure is usable by two or more different runtime engines; and output the tree structure. Numerous other aspects are provided.

Claims (44)

1. A system comprising:

a user interface (UI) rule control, wherein the UI rule control is a re-usable control;

a parser module;

a display;

a memory storing processor-executable process steps; and

a parser processor coupled to the memory, and in communication with the parser module and the UI rule control and operative to execute the processor-executable steps to cause the system to:

provide, by the UI rule control, a user interface to a user via the display, the user interface including one or more data-entry fields;

receive an expression in the one or more data-entry fields;

transform, via the parser module, the expression into Abstract Syntax Tree (AST), wherein the AST is usable by two or more different types of runtime engines to provide a response to the received expression; and

output, via the UI rule control, the AST, wherein the AST is usable by two or more different types of runtime engines to compile one or more rules, authored via a logic of the UI rule control, based on a runtime environment of the runtime engine.

2. The system of claim 1 , wherein the AST is a nested structure composed of one or more nodes that defines the expression.

3. The system of claim 1 , further comprising processor-executable steps to cause the system to:

receive the AST at the runtime engine;

create a runtime execution artifact using the AST.

4. The system of claim 3 , wherein the runtime execution artifact is written in one of SQL, ABAP or JAVA.

5. The system of claim 1 , wherein the received expression includes one or more terms to define at least one object and at least one attribute.

6. The system of claim 1 , further comprising processor-executable steps to cause the system to:

validate the expression; and

convert the validated expression to the AST.

7. A computer implemented method comprising:

providing, by a user interface (UI) rule control, a user interface to a user, via a display, the user interface including one or more data-entry fields, wherein the UI rule control is a re-usable control;

receiving an expression in the one or more data-entry fields;

transforming the expression into an Abstract Syntax Tree (AST) at a parser module, wherein the AST is a nested structure usable by two or more different types of runtime engines to provide a response to the received expression; and

outputting, via the UI control, the AST, wherein the AST is usable by two or more different types of runtime engines to compile one or more rules, authored via a logic of the UI rule control, based on a runtime environment of the runtime engine.

8. The method of claim 7 , wherein the nested structure composed of one or more nodes that defines the expression.

9. The method of claim 7 , further comprising:

receiving the AST at the runtime engine;

creating a runtime execution artifact using the AST.

10. The method of claim 9 , wherein the runtime execution artifact is written in one of SQL, ABAP or JAVA.

11. The method of claim 7 , wherein the received expression includes one or more terms to define at least one object and at least one attribute.

12. The method of claim 7 , further comprising:

validating the expression; and

converting the validated expression to the AST.

13. A non-transitory computer-readable medium storing program code, the program code executable by a computer system to cause the computer system to:

provide, by a user interface (UI) rule control), a user interface to a user, via a display, the user interface including one or more data-entry fields, wherein the UI rule control is a re-usable control;

receive an expression in the one or more data-entry fields;

transform the expression into an Abstract Syntax Tree (AST), via a parser module, to provide a response to the received expression; and

output, via the UI rule control, the AST, wherein the AST is usable by two or more different types of runtime engines to compile one or more rules, authored via a logic of the UI rule control, based on a runtime environment of the runtime engine.

14. The medium of claim 13 , wherein the AST is a nested structure composed of one or more nodes that defines the expression.

15. The medium of claim 13 , wherein program code executable by the computer system causes the computer system to:

receive the tree structure at the runtime engine;

create a runtime execution artifact using the tree structure.

16. The medium of claim 15 , wherein the runtime execution artifact is written in one of SQL, ABAP or JAVA.

17. The medium of claim 13 , wherein the received expression includes one or more terms to define at least one object and at least one attribute.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 18, 2017
From: VILOZNY, EFRAT; DEMAYO, ANITA; HALBANI, RONEN
To: SAP PORTALS ISRAEL LTD.
Reel/Frame 043032/0046 →
Cited By (1)
US 12,483,597