# US 2021/0344739 A1 · Systems and/or methods for dynamically configuring and evaluating rules with dynamic and/or user inputs at runtime

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0344739 A1
- Document ID: US20210344739A1
- Status: Published application
- Kind: A1
- Application number: 16/862,886
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Software AG
- Applicants: Software AG
- Inventors: Yashwanth KALVA; Shiva Chetan K S
- Web page: https://patentgrep.com/patent/US20210344739A1

## CPC

- G06F 8/20: Software design
- G06F 8/40: Transformation of program code
- G06F 8/41: Compilation
- G06F 9/44: Arrangements for executing specific programs
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 9/54: Interprogram communication
- G06F 16/168: {Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs (query results presentation G06F16/156)}
- G06F 16/908: using metadata automatically derived from the content
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/146: Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
- H04L 67/564: Enhancement of application control based on intercepted application data
- H04L 67/566: Grouping or aggregating service requests, e.g. for unified processing
- G06F 8/60: Software deployment
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Certain example embodiments relate to web applications. In certain example embodiments, an instance of a web application is executed using a client device. In response to the instance being started up, metadata is retrieved using a service embedded in the application and invoked at a bootstrap hook. The metadata is associated with earmarked programmatic elements in the application. At the client device and using an evaluation service injected into operation of the instance, one or more configured rules are evaluated against input. The rules are definable in relation to the earmarked programmatic elements using the retrieved metadata. They specify behavior of the web application and are dynamically (re)configurable while the instance of the web application is running. The (re)configured rules are dynamically effective without requiring web application redeployment, even if (re)configured while the instance of the web application is running. The instance is controllable responsive to the evaluation.

## Claims

### Claim 1

A method of executing a web application using a client-side client device including at least one processor and a memory operably coupled thereto, the web application being coded to operate in one of a plurality of different modes, a first mode permitting central rule configuration while prohibiting client-side rule configuration, and a second mode permitting client-side rule configuration, the method comprising:
in response to an instance of the web application being started up, retrieving metadata using a computer-executable retrieval service embedded in the web application and invoked at a bootstrap hook, the metadata being associated with earmarked programmatic elements in the web application;
dynamically evaluating, at the client-side client device using an evaluation service embedded in the web application and injected into operation of the instance of the web application, one or more configured rules against input provided in connection with the instance of the web application, the rules being definable in relation to the earmarked programmatic elements using the retrieved metadata, the rules specifying behavior of the web application and being configured in accordance with the mode in which the web application is coded to operate, the rules being both dynamically configurable and dynamically reconfigurable while the instance of the web application is running and being dynamically effective thereafter in the evaluation without requiring redeployment of the web application, even if (re)configured while the instance of the web application is running; and
controlling the operation of the instance of the web application responsive to the evaluation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the metadata provides path, model, component, and label data for the decorated programmatic element associated therewith.

### Claim 3 (depends on 1)

The method of claim 1, further comprising storing the metadata to the memory provided to the client device.

### Claim 4 (depends on 1)

The method of claim 1, further comprising storing the metadata to a persistent store external to web application.

### Claim 5 (depends on 4)

The method of claim 4, wherein the persistent store is shareable by plural different web applications.

### Claim 6 (depends on 5)

The method of claim 5, wherein the plural different web applications are interoperable with one another.

### Claim 7 (depends on 6)

The method of claim 6, wherein one of the web applications is coded to operate in the first mode and another one of the web applications is coded to operate in the second mode.

### Claim 8 (depends on 1)

The method of claim 1, wherein the earmarked programmatic elements are earmarked at design time prior to deployment of the web application.

### Claim 9 (depends on 1)

The method of claim 1, wherein the rules specifying behavior of the web application are conditioned at least in part on the input.

### Claim 10 (depends on 9)

The method of claim 9, wherein the input comprises user input.

### Claim 11 (depends on 9)

The method of claim 9, wherein the input comprises a value from a database, function, and/or remote API call.

### Claim 12 (depends on 1)

The method of claim 1, wherein a web application context object is used as at least some of the input for the dynamic evaluation.

### Claim 13 (depends on 1)

The method of claim 1, wherein at least some of the rules determine navigation within the instance of the web application.

### Claim 14 (depends on 13)

The method of claim 13, wherein the evaluation service is triggered via hooks inserted at different pages in the web application.

### Claim 15 (depends on 1)

The method of claim 1, further comprising receiving user input reconfiguring one or more of the rules.

### Claim 16 (depends on 15)

The method of claim 15, wherein following the receipt of the user input reconfiguring one of more of the rules, different instances of the web application operating with different client-side client devices function differently in response to the same input.

### Claim 17 (depends on 1)

The method of claim 1, wherein the rules are (re)configurable by an end user of the client device.

### Claim 18

A non-transitory computer readable storage medium tangibly storing instruction that, when executed by a processor of a client-side client device, execute a web application, the web application being coded to operate in one of a plurality of different modes, a first mode permitting central rule configuration while prohibiting client-side rule configuration, and a second mode permitting client-side rule configuration, the execution of the web application comprising:
in response to an instance of the web application being started up, retrieving metadata using a computer-executable retrieval service embedded in the web application and invoked at a bootstrap hook, the metadata being associated with earmarked programmatic elements in the web application;
dynamically evaluating, at the client-side client device using an evaluation service embedded in the web application and injected into operation of the instance of the web application, one or more configured rules against input provided in connection with the instance of the web application, the rules being definable in relation to the earmarked programmatic elements using the retrieved metadata, the rules specifying behavior of the web application and being configured in accordance with the mode in which the web application is coded to operate, the rules being both dynamically configurable and dynamically reconfigurable while the instance of the web application is running and being dynamically effective thereafter in the evaluation without requiring redeployment of the web application, even if (re)configured while the instance of the web application is running; and
controlling the operation of the instance of the web application responsive to the evaluation.

### Claim 19

A client-side client device, comprising:
at least one processor and a memory, the at least one processor being configured to execute a web application, the web application being coded to operate in one of a plurality of different modes, a first mode permitting central rule configuration while prohibiting client-side rule configuration, and a second mode permitting client-side rule configuration, wherein
in response to an instance of the web application being started up, metadata is retrieved using a computer-executable retrieval service embedded in the web application and invoked at a bootstrap hook, the metadata being associated with earmarked programmatic elements in the web application;
using an evaluation service embedded in the web application and injected into operation of the instance of the web application, one or more configured rules is/are dynamically evaluated against input provided in connection with the instance of the web application, the rules being definable in relation to the earmarked programmatic elements using the retrieved metadata, the rules specifying behavior of the web application and being configured in accordance with the mode in which the web application is coded to operate, the rules being both dynamically configurable and dynamically reconfigurable while the instance of the web application is running and being dynamically effective thereafter in the evaluation without requiring redeployment of the web application, even if (re)configured while the instance of the web application is running; and
the operation of the instance of the web application is controlled responsive to the evaluation.

### Claim at position 20

20-28. (canceled)

### Claim 29 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the metadata provides path, model, component, and label data for the decorated programmatic element associated therewith.

### Claim 30 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the metadata is stored to a persistent store external to web application.

### Claim 31 (depends on 30)

The non-transitory computer readable storage medium of claim 30, wherein the persistent store is shareable by plural different web applications.

### Claim 32 (depends on 31)

The non-transitory computer readable storage medium of claim 31, wherein the plural different web applications are interoperable with one another.

### Claim 33 (depends on 32)

The non-transitory computer readable storage medium of claim 32, wherein one of the web applications is coded to operate in the first mode and another one of the web applications is coded to operate in the second mode.

### Claim 34 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the rules specifying behavior of the web application are conditioned at least in part on the input, and
wherein the input comprises a value from a database, function, and/or remote API call.

### Claim 35 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein a web application context object is used as at least some of the input for the dynamic evaluation.

### Claim 36 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein at least some of the rules determine navigation within the instance of the web application, and
wherein the evaluation service is triggered via hooks inserted at different pages in the web application.

### Claim 37 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein user input is received to reconfigure one or more of the rules, and
wherein following the receipt of the user input reconfiguring one of more of the rules, different instances of the web application operating with different client-side client devices function differently in response to the same input.
