IP Library › Granted Patent US 12,113,869
Granted Patent B2
US 12,113,869 · App. 17/830,752 · Granted Oct 8, 2024

Application service behavior management using request context

Inventors: Masoud Aghadavoodi Jolfaei (Wiesloch, DE); Frederick Dufour (Heidelberg, DE)
Assignee: SAP SE
H04L67/51G06F16/2455H04L41/084H04L67/133
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 12,113,869
App. No.
17/830,752
Granted
Oct 8, 2024
Kind
B2
Abstract

Techniques for managing application service behavior using request context are disclosed. In some embodiments, a computer system performs a method comprising: detecting a request sent by a service of an application, the service being one of a plurality of services included in a microservice architecture of the application, the request including a service type data that identifies the application and a service identification data that identifies the service; determining a behavior configuration for the request based on the service type data and the service identification data; and executing the service or another service of the plurality of services based on the determined behavior configuration.

Claims (35)

1. A computer-implemented method performed by a computer system comprising a memory and at least one hardware processor, the computer-implemented method comprising:

detecting a request sent by a first service of an application, the first service being one of a plurality of services included in a microservice architecture of the application, the request including a service type data that identifies the application and a service identification data that identifies the first service;

determining a behavior configuration for the request based on the service type data and the service identification data, wherein the determining of the behavior configuration comprises:

accessing a behavior management catalog stored in a database, the behavior management catalog comprising a plurality of behavior configurations including the behavior configuration, wherein a combination of the service type data and the service identification data is stored as a key of a key-value pair in the behavior management catalog, and the behavior configuration is stored as a value of the key-value pair in the behavior management catalog; and

identifying the behavior configuration from the plurality of behavior configurations in the behavior management catalog using the service type data and the service identification data; and

executing a second service of the plurality of services based on the determined behavior configuration, the second service being different from the first service.

2. The computer-implemented method of claim 1 , wherein the behavior management catalog is accessed using a representational state transfer (REST) application programming interface (API).

3. The computer-implemented method of claim 1 , wherein the behavior configuration comprises a configuration of a priority level for the executing of the service or the another service.

4. The computer-implemented method of claim 1 , wherein the behavior configuration comprises a configuration of a log level and a feature flag for the executing of the service or the another service.

5. The computer-implemented method of claim 1 , wherein the behavior configuration comprises a configuration for running a database query with a statement hash and a hint, the statement hash comprising a hash of a query statement of the database query, and the hint being configured to instruct a database engine on how to execute the database query.

6. The computer-implemented method of claim 1 , wherein the behavior configuration comprises a configuration for the executing of the service or the another service using a workload class identification, the workload class identification being configured to be used in allocating one or more computing resources for the executing of the service or the another service.

7. A system comprising:

at least one hardware processor; and

a non-transitory computer-readable medium storing executable instructions that, when executed, cause the at least one hardware processor to perform operations comprising:

detecting a request sent by a first service of an application, the first service being one of a plurality of services included in a microservice architecture of the application, the request including a service type data that identifies the application and a service identification data that identifies the first service;

determining a behavior configuration for the request based on the service type data and the service identification data, wherein the determining of the behavior configuration comprises:

accessing a behavior management catalog stored in a database, the behavior management catalog comprising a plurality of behavior configurations including the behavior configuration, wherein a combination of the service type data and the service identification data is stored as a key of a key-value pair in the behavior management catalog, and the behavior configuration is stored as a value of the key-value pair in the behavior management catalog; and

identifying the behavior configuration from the plurality of behavior configurations in the behavior management catalog using the service type data and the service identification data; and

executing a second service of the plurality of services based on the determined behavior configuration, the second service being different from the first service.

8. The system of claim 7 , wherein the behavior management catalog is accessed using a representational state transfer (REST) application programming interface (API).

9. The system of claim 7 , wherein the behavior configuration comprises a configuration of a priority level for the executing of the service or the another service.

10. The system of claim 7 , wherein the behavior configuration comprises a configuration of a log level and a feature flag for the executing of the service or the another service.

11. The system of claim 7 , wherein the behavior configuration comprises a configuration for running a database query with a statement hash and a hint, the statement hash comprising a hash of a query statement of the database query, and the hint being configured to instruct a database engine on how to execute the database query.

12. The system of claim 7 , wherein the behavior configuration comprises a configuration for the executing of the service or the another service using a workload class identification, the workload class identification being configured to be used in allocating one or more computing resources for the executing of the service or the another service.

13. A non-transitory machine-readable storage medium tangibly embodying a set of instructions that, when executed by at least one hardware processor, causes the at least one processor to perform operations comprising:

detecting a request sent by a first service of an application, the first service being one of a plurality of services included in a microservice architecture of the application, the request including a service type data that identifies the application and a service identification data that identifies the first service;

determining a behavior configuration for the request based on the service type data and the service identification data, wherein the determining of the behavior configuration comprises:

accessing a behavior management catalog stored in a database, the behavior management catalog comprising a plurality of behavior configurations including the behavior configuration, wherein a combination of the service type data and the service identification data is stored as a key of a key-value pair in the behavior management catalog, and the behavior configuration is stored as a value of the key-value pair in the behavior management catalog; and

identifying the behavior configuration from the plurality of behavior configurations in the behavior management catalog using the service type data and the service identification data; and

executing a second service of the plurality of services based on the determined behavior configuration, the second service being different from the first service.

14. The non-transitory machine-readable storage medium of claim 13 , wherein the behavior management catalog is accessed using a representational state transfer (REST) application programming interface (API).

15. The non-transitory machine-readable storage medium of claim 13 , wherein the behavior configuration comprises a configuration of a priority level for the executing of the service or the another service.

16. The non-transitory machine-readable storage medium of claim 13 , wherein the behavior configuration comprises a configuration of a log level and a feature flag for the executing of the service or the another service.

17. The non-transitory machine-readable storage medium of claim 13 , wherein the behavior configuration comprises a configuration for running a database query with a statement hash and a hint, the statement hash comprising a hash of a query statement of the database query, and the hint being configured to instruct a database engine on how to execute the database query.

18. The non-transitory machine-readable storage medium of claim 13 , wherein the behavior configuration comprises a configuration for the executing of the service or the another service using a workload class identification, the workload class identification being configured to be used in allocating one or more computing resources for the executing of the service or the another service.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 2, 2022
From: JOLFAEI, MASOUD AGHADAVOODI; DUFOUR, FREDERICK
To: SAP SE
Reel/Frame 060088/0562 →
Continuity (1)
Related Publication 20230396687A1 · Dec 7, 2023