# US 2024/0202657 A1 · Integration of enterprise software applications to support logistical analysis

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

- Number: US 2024/0202657 A1
- Document ID: US20240202657A1
- Status: Published application
- Kind: A1
- Application number: 18/068,915
- Filed: 2022-12-20
- Published: 2024-06-20
- Earliest claimed: 2022-12-20
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Dexian LI; Yun Jin; Zichao Song; Hanmei Zhang
- Web page: https://patentgrep.com/patent/US20240202657A1

## CPC

- G06Q 10/083: Shipping
- G06Q 10/087: Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A method may include an integration microservice receiving a fetch request to fetch tracking data associated with a first enterprise software application. The tracking data may be associated with a tracking model tracking a fulfilment cycle of each order item in an order. The integration microservice may determine whether a first capacity of a tenant associated with the fetch request is able to accommodate a job fulfilling the fetch request. If the first capacity of the tenant is able to accommodate the job fulfilling the fetch request, the integration microservice may distribute the job to an instance of a data load microservice selected based on a second capacity of that instance of the data load microservice. The job may be performed by the instance of the data load microservice by sending the tracking data to a second enterprise software application to perform various analytical tasks based on the tracking data.

## Claims

### Claim 1

A system, comprising:
at least one processor; and
at least one memory including program code which when executed by the at least one processor provides operations comprising:
receiving a fetch request to fetch tracking data associated with a first enterprise software application, the tracking data being associated with a tracking model tracking a fulfilment cycle of each order item included in an order;
in response to receiving the fetch request, determining whether a first capacity of a tenant associated with the fetch request is able to accommodate a first job fulfilling the fetch request;
in response to determining that the first capacity of the tenant is able to accommodate the first job fulfilling the fetch request, distributing the first job to a first instance of a data load microservice selected based at least on a second capacity of the first instance of the data load microservice; and
performing, by the first instance of the data load microservice, the first job including by sending the tracking data associated with the first enterprise software application to a second enterprise software application to perform one or more analytical tasks based on at least a portion of the tracking data.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first capacity of the tenant comprises a remaining job creation capacity of the tenant determined based at least on a total job creation capacity of the tenant, and wherein the tenant is determined to have sufficient capacity for the first job fulfilling the fetch request based at least on a third capacity required by the first job not exceeding the remaining job creation capacity of the tenant.

### Claim 3 (depends on 1)

The system of claim 1, wherein the operations further comprise:
selecting the first instance of the data load microservice based at least on the second capacity of the first instance of the data load microservice; and
upon selecting the first instance of the data load microservice, creating a job record corresponding to the first job and binding the first job to the first instance of the data load microservice.

### Claim 4 (depends on 3)

The system of claim 3, wherein the first instance of the data load microservice is selected based at least on (i) the second capacity of the first instance of the data load microservice satisfying one or more thresholds or (ii) the first instance of the data load microservice having a highest capacity of a plurality of instances of the data load microservice.

### Claim 5 (depends on 3)

The system of claim 3, wherein the first instance of the data load microservice includes a background job that detects when the first job is distributed to the first instance of the data load microservice, and wherein the background job responds to the first job being distributed to the first instance of the data load microservice by at least allocating one or more threads to process the first job and monitoring a status of the first job.

### Claim 6 (depends on 5)

The system of claim 5, wherein the background job is associated with a management thread that manages the background job, and wherein the one or more threads allocated by the background job includes a job thread that manages the first job and one or more worker threads that fetch the tracking data from the first enterprise software application.

### Claim 7 (depends on 1)

The system of claim 1, wherein the performing of the first job includes generating one or more payloads comprising the tracking data associated with the first enterprise software application before sending the one or more payloads of the tracking data to the second enterprise software application via an event stream processor.

### Claim 8 (depends on 1)

The system of claim 1, wherein the fetch request specifies a first time period defined by a start timestamp and an end timestamp, and wherein the tracking data fetched from the first enterprise software application includes a first historical tracking data from the first specified time period.

### Claim 9 (depends on 8)

The system of claim 8, wherein the fetch request further specifies a second time period, and wherein the response to receiving the fetch request further includes determining that the first capacity of the tenant is sufficient to accommodate a second job fetching a second historical tracking data from the second specified time period and distributing the second job to a second instance of the data load microservice selected based at least on a third capacity of the second instance of the data load microservice.

### Claim 10 (depends on 1)

The system of claim 1, wherein the operations further comprise:
in response to determining that the first capacity of the tenant is unable to accommodate the first job fulfilling the fetch request, rejecting the fetch request by at least returning an error message to a client device associated with the fetch request.

### Claim 11 (depends on 1)

The system of claim 1, wherein the operations further comprise:
in response to determining that the second capacity of the first instance of the data load microservice is unable to accommodate the first job fulfilling the fetch request, rejecting the fetch request by at least returning an error message to a client device associated with the fetch request.

### Claim 12

A computer-implemented method, comprising:
receiving a fetch request to fetch tracking data associated with a first enterprise software application, the tracking data being associated with a tracking model tracking a fulfilment cycle of each order item included in an order;
in response to receiving the fetch request, determining whether a first capacity of a tenant associated with the fetch request is able to accommodate a first job fulfilling the fetch request;
in response to determining that the first capacity of the tenant is able to accommodate the first job fulfilling the fetch request, distributing the first job to a first instance of a data load microservice selected based at least on a second capacity of the first instance of the data load microservice; and
performing, by the first instance of the data load microservice, the first job including by sending the tracking data associated with the first enterprise software application to a second enterprise software application to perform one or more analytical tasks based on at least a portion of the tracking data.

### Claim 13 (depends on 12)

The method of claim 12, wherein the first capacity of the tenant comprises a remaining job creation capacity of the tenant determined based at least on a total job creation capacity of the tenant, and wherein the tenant is determined to have sufficient capacity for the first job fulfilling the fetch request based at least on a third capacity required by the first job not exceeding the remaining job creation capacity of the tenant.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
selecting the first instance of the data load microservice based at least on the second capacity of the first instance of the data load microservice; and
upon selecting the first instance of the data load microservice, creating a job record corresponding to the first job and binding the first job to the first instance of the data load microservice.

### Claim 15 (depends on 14)

The method of claim 14, wherein the first instance of the data load microservice is selected based at least on (i) the second capacity of the first instance of the data load microservice satisfying one or more thresholds or (ii) the first instance of the data load microservice having a highest capacity of a plurality of instances of the data load microservice.

### Claim 16 (depends on 14)

The method of claim 14, wherein the first instance of the data load microservice includes a background job that detects when the first job is distributed to the first instance of the data load microservice, and wherein the background job responds to the first job being distributed to the first instance of the data load microservice by at least allocating one or more threads to process the first job and monitoring a status of the first job.

### Claim 17 (depends on 16)

The method of claim 16, wherein the background job is associated with a management thread that manages the background job, and wherein the one or more threads allocated by the background job includes a job thread that manages the first job and one or more worker threads that fetch the tracking data from the first enterprise software application.

### Claim 18 (depends on 12)

The method of claim 12, wherein the performing of the first job includes generating one or more payloads comprising the tracking data associated with the first enterprise software application before sending the one or more payloads of the tracking data to the second enterprise software application via an event stream processor.

### Claim 19 (depends on 12)

The method of claim 12, wherein the fetch request specifies a first time period defined by a start timestamp and an end timestamp, wherein the tracking data fetched from the first enterprise software application includes a first historical tracking data from the first specified time period, wherein the fetch request further specifies a second time period, and wherein the response to receiving the fetch request further includes determining that the first capacity of the tenant is sufficient to accommodate a second job fetching a second historical tracking data from the second specified time period and distributing the second job to a second instance of the data load microservice selected based at least on a third capacity of the second instance of the data load microservice.

### Claim 20

A non-transitory computer readable medium storing instructions, which when executed by at least one data processor, result in operations comprising:
receiving a fetch request to fetch tracking data associated with a first enterprise software application, the tracking data being associated with a tracking model tracking a fulfilment cycle of each order item included in an order;
in response to receiving the fetch request, determining whether a first capacity of a tenant associated with the fetch request is able to accommodate a first job fulfilling the fetch request;
in response to determining that the first capacity of the tenant is able to accommodate the first job fulfilling the fetch request, distributing the first job to a first instance of a data load microservice selected based at least on a second capacity of the first instance of the data load microservice; and
performing, by the first instance of the data load microservice, the first job including by sending the tracking data associated with the first enterprise software application to a second enterprise software application to perform one or more analytical tasks based on at least a portion of the tracking data.
