# US 2025/0147951 A1 · Predicting purge effects in hierarchical data environments

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

- Number: US 2025/0147951 A1
- Document ID: US20250147951A1
- Status: Published application
- Kind: A1
- Application number: 18/502,305
- Filed: 2023-11-06
- Published: 2025-05-08
- Earliest claimed: 2023-11-06
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Haipeng Wu; Fen Li; Lei Wang; Feng Zhang; Lai Wei; Yunfeng Jiang
- Web page: https://patentgrep.com/patent/US20250147951A1

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/162: {Delete operations (erasing in storage systems G06F3/0652)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods described herein relate to the prediction of effects of data purging on data sources that are related through hierarchical data relationships. A purge request comprises a set of purge parameters that identify a data source and define one or more purge criteria for purging of data items of the data source. A plurality of impacted data sources is identified based on one or more hierarchical data relationships held by the data items of the data source. The impacted data sources include the data source and one or more additional data sources. The purge parameters are provided to a machine learning model to obtain output indicative of a predicted effect of execution of the purge request on the impacted data sources. The predicted effect is caused to be presented at the user device prior to the execution of the purge request.

## Claims

### Claim 1

A system comprising:
at least one memory that stores instructions; and
one or more processors configured by the instructions to perform operations comprising:
receiving, from a user device, a purge request that comprises a set of purge parameters, the purge parameters identifying a data source and defining one or more purge criteria for purging of data items of the data source;
identifying, based on one or more hierarchical data relationships held by the data items of the data source, a plurality of impacted data sources, the impacted data sources including the data source and one or more additional data sources;
providing the purge parameters to a machine learning model to obtain output indicative of a predicted effect of execution of the purge request on the impacted data sources, the machine learning model being trained on historical purge data; and
causing presentation of the predicted effect at the user device prior to the execution of the purge request.

### Claim 2 (depends on 1)

The system of claim 1, wherein the data items are first data items, the operations further comprising:
detecting the one or more hierarchical data relationships based on one or more parent-child relationships between the first data items and second data items of the one or more additional data sources.

### Claim 3 (depends on 1)

The system of claim 1, wherein the predicted effect is a first predicted effect, the operations further comprising:
receiving, from the user device, user input to adjust the set of purge parameters of the purge request;
in response to receiving the user input, adjusting the purge parameters;
providing the adjusted purge parameters to the machine learning model to obtain adjusted output indicative of a second predicted effect of the execution of the purge request; and
causing presentation of the second predicted effect at the user device prior to the execution of the purge request.

### Claim 4 (depends on 3)

The system of claim 3, wherein the impacted data sources comprise a first set of impacted data sources, the adjustment of the set of purge parameters causes identification of a second set of impacted data sources, and the adjusted output is indicative of the second predicted effect of the execution of the purge request on the second set of impacted data sources.

### Claim 5 (depends on 1)

The system of claim 1, wherein the predicted effect comprises a data source-specific effect for each of the impacted data sources.

### Claim 6 (depends on 5)

The system of claim 5, wherein the causing of the presentation of the predicted effect at the user device comprises causing presentation of the data source-specific effect for each of the impacted data sources separately within a graphical user interface.

### Claim 7 (depends on 1)

The system of claim 1, wherein the predicted effect comprises an overall effect covering the plurality of impacted data sources.

### Claim 8 (depends on 1)

The system of claim 1, wherein the set of purge parameters comprises at least one of: an identifier of the data source, the one or more purge criteria, user data, a purge scope, a data retention policy, a purge date, or a purge time.

### Claim 9 (depends on 1)

The system of claim 1, wherein the providing of the purge parameters to the machine learning model comprises providing, to the machine learning model, the purge parameters from the purge request together with one or more additional purge parameters that identify at least a subset of the impacted data sources.

### Claim 10 (depends on 1)

The system of claim 1, wherein the predicted effect comprises at least one of: a predicted purge volume, a predicted number of data items purged, or a predicted data purge execution duration.

### Claim 11 (depends on 1)

The system of claim 1, the operations further comprising:
scheduling, based on the predicted effect, the execution of the purge request; and
performing, by a processor-implemented purging component, the execution of the purge request in accordance with the scheduling.

### Claim 12 (depends on 1)

The system of claim 1, wherein each impacted data source corresponds to a respective functional module of a cloud-based service, and the user device is associated with a user account held with the cloud-based service.

### Claim 13 (depends on 1)

The system of claim 1, wherein the historical purge data comprises a plurality of input-output pairs, each input-output pair including a set of purge parameters and at least one corresponding purge effect, the purge parameters including a target data source for a purge request associated with the input-output pair.

### Claim 14 (depends on 1)

The system of claim 1, wherein the machine learning model comprises at least one feedforward neural network (FNN).

### Claim 15

A method comprising:
receiving, from a user device, a purge request that comprises a set of purge parameters, the purge parameters identifying a data source and defining one or more purge criteria for purging of data items of the data source;
identifying, based on one or more hierarchical data relationships held by the data items of the data source, a plurality of impacted data sources, the impacted data sources including the data source and one or more additional data sources;
providing the purge parameters to a machine learning model to obtain output indicative of a predicted effect of execution of the purge request on the impacted data sources, the machine learning model being trained on historical purge data; and
causing presentation of the predicted effect at the user device prior to the execution of the purge request.

### Claim 16 (depends on 15)

The method of claim 15, wherein the predicted effect is a first predicted effect, the method further comprising:
receiving, from the user device, user input to adjust the set of purge parameters of the purge request;
in response to receiving the user input, adjusting the purge parameters;
providing the adjusted purge parameters to the machine learning model to obtain adjusted output indicative of a second predicted effect of the execution of the purge request; and
causing presentation of the second predicted effect at the user device prior to the execution of the purge request.

### Claim 17 (depends on 15)

The method of claim 15, wherein the providing of the purge parameters to the machine learning model comprises providing, to the machine learning model, the purge parameters from the purge request together with one or more additional purge parameters that identify at least a subset of the impacted data sources.

### Claim 18

A non-transitory computer-readable medium that stores instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
receiving, from a user device, a purge request that comprises a set of purge parameters, the purge parameters identifying a data source and defining one or more purge criteria for purging of data items of the data source;
identifying, based on one or more hierarchical data relationships held by the data items of the data source, a plurality of impacted data sources, the impacted data sources including the data source and one or more additional data sources;
providing the purge parameters to a machine learning model to obtain output indicative of a predicted effect of execution of the purge request on the impacted data sources, the machine learning model being trained on historical purge data; and
causing presentation of the predicted effect at the user device prior to the execution of the purge request.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the predicted effect is a first predicted effect, the operations further comprising:
receiving, from the user device, user input to adjust the set of purge parameters of the purge request;
in response to receiving the user input, adjusting the purge parameters;
providing the adjusted purge parameters to the machine learning model to obtain adjusted output indicative of a second predicted effect of the execution of the purge request; and
causing presentation of the second predicted effect at the user device prior to the execution of the purge request.

### Claim 20 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the providing of the purge parameters to the machine learning model comprises providing, to the machine learning model, the purge parameters from the purge request together with one or more additional purge parameters that identify at least a subset of the impacted data sources.
