# US 2021/0286797 A1 · Preventing unnecessary upload

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

- Number: US 2021/0286797 A1
- Document ID: US20210286797A1
- Status: Published application
- Kind: A1
- Application number: 16/813,785
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: TYMOTEUSZ GEDLICZKA; TOMASZ KANIA; KRZYSZTOF PITULA; SZYMON BRANDYS; MACIEJ MADEJ; PIOTR GRZYWNA
- Web page: https://patentgrep.com/patent/US20210286797A1

## CPC

- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/957: Browsing optimisation, e.g. caching or content distillation
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/258: {Data format conversion from or to a database}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method that can prevent an upload of a data set upon detection of a modification of the data set. The method includes storing a first portion of a file in a buffer while being in a receiving mode. Upon determining that applying one of a predefined transformation performed to the first portion of an existing data set will result in reproducing a content of the buffer: generating a transformation notification signal; and upon receiving a stop message, stopping the receiving mode which results in using the existing file on the server.

## Claims

### Claim 1

A computer-implemented method, the computer-implemented method comprising:
storing a first portion of a file in a buffer while a receiving mode is active;
determining that applying a predefined transformation on a first portion of an existing data set results in a generation of a data set that corresponds to the first portion of the file;
generating a transformation notification signal; and
upon receiving a stop message, stopping the receiving mode.

### Claim 2 (depends on 1)

The computer-implemented method according to claim 1, the computer-implemented method comprising:
determining that an execution of the predefined transformation will yield a content of the buffer; and
applying the predefined transformation to all of the existing data set.

### Claim 3 (depends on 2)

The computer-implemented method according to claim 2, the computer-implemented method comprising one or both of:
generating a progress message that indicates a status of the transformation that is being applied to the entire existing data set; and
upon determining that an inconsistency exists between a second portion of the file and a portion of the transformed existing file while being in the receiving mode, generating a difference message that indicates the inconsistency.

### Claim 4 (depends on 1)

The computer-implemented method according to claim 1, wherein the predefined transformation comprises executing at least one action selected out of a group of possible actions that include: a removal of a column, a renaming of a column, a reordering of columns, an insertion of a column, and a removal of an empty row.

### Claim 5 (depends on 1)

The computer-implemented method according to claim 1, wherein the first portion of the file is a predefined number of rows, a predefined volume of data, or a predefined number of records.

### Claim 6 (depends on 1)

The computer-implemented method according to claim 1, the computer-implemented method comprising:
receiving a file upload request that includes meta data about a given file to be uploaded; and
using the meta data to identify a candidate existing file that, when transformed, may yield at least a portion of the given file to be uploaded.

### Claim 7 (depends on 1)

The computer-implemented method according to claim 1, the computer-implemented method comprising:
before reception of the data set, storing meta data of one or both of (i) a first portion of a complete file, wherein the first portion is stored in the buffer, and (ii) a related existing file generable by a transformation or an applied transformation.

### Claim 8 (depends on 1)

The computer-implemented method according to claim 1, the computer-implemented method comprising:
before receiving the stop message:
continuing to receive the file of which the first portion of the file is already stored in the buffer;
continuing the transformation of the existing file; and
generating progress information about a progress of the transformation of the existing data set.

### Claim 9 (depends on 8)

The computer-implemented method according to claim 8, the computer-implemented method comprising:
terminating the receiving mode automatically in response to a determination that a stop message was not received within a time period and that applying the one of a predefined transformation to a predetermined percentage of a second portion of the existing file continues to result in a set of data that corresponds to a porting of the existing file.

### Claim 10 (depends on 1)

The computer-implemented method according to claim 1, the computer-implemented method comprising:
responsive to receiving the stop message, using a transformed existing file for an additional operation.

### Claim 11

A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a device to cause the device to perform a computer-implemented method comprising:
storing a first portion of a file in a buffer while a receiving mode is active;
determining that applying a predefined transformation on a first portion of an existing data set results in a generation of a data set that corresponds to the first portion of the file;
generating a transformation notification signal; and
upon receiving a stop message, stopping the receiving mode.

### Claim 12 (depends on 11)

The computer program product according to claim 11, the computer-implemented method comprising:
determining that an execution of the predefined transformation will yield a content of the buffer; and
applying the predefined transformation to all of the existing data set.

### Claim 13 (depends on 12)

The computer program product according to claim 12, the computer-implemented method comprising one or both of:
generating a progress message that indicates a status of the transformation that is being applied to the entire existing data set; and
upon determining that an inconsistency exists between a second portion of the file and a portion of the transformed existing file while being in the receiving mode, generating a difference message that indicates the inconsistency.

### Claim 14 (depends on 11)

The computer program product according to claim 11, wherein the predefined transformation comprises executing at least one action selected out of a group of possible actions that include: a removal of a column, a renaming of a column, a reordering of columns, an insertion of a column, and a removal of an empty row.

### Claim 15 (depends on 11)

The computer program product according to claim 11, wherein the first portion of the file is a predefined number of rows, a predefined volume of data, or a predefined number of records.

### Claim 16 (depends on 11)

The computer program product according to claim 11, the computer-implemented method comprising:
receiving a file upload request that includes meta data about a given file to be uploaded; and
using the meta data to identify a candidate existing file that, when transformed, may yield at least a portion of the given file to be uploaded.

### Claim 17 (depends on 11)

The computer program product according to claim 11, the computer-implemented method comprising:
before reception of the data set, storing meta data of one or both of (i) a first portion of a complete file, wherein the first portion is stored in the buffer, and (ii) a related existing file generable by a transformation or an applied transformation.

### Claim 18 (depends on 11)

The computer program product according to claim 11, the computer-implemented method comprising:
before receiving the stop message:
continuing to receive the file of which the first portion of the file is already stored in the buffer;
continuing the transformation of the existing file; and
generating progress information about a progress of the transformation of the existing data set.

### Claim 19 (depends on 18)

The computer program product according to claim 18, the computer-implemented method comprising:
terminating the receiving mode automatically in response to a determination that a stop message was not received within a time period and that applying the one of a predefined transformation to a predetermined percentage of a second portion of the existing file continues to result in a set of data that corresponds to a porting of the existing file.

### Claim 20

A computer system, the computer system comprising:
one or more computer processors;
at least one computer readable storage medium that is not a transitory signal per se; and
program instructions stored on the at least one computer readable storage medium, the program instructions being executable by at least one computer processor of the one or more computer processors to cause the at least one computer processor to perform a computer-implemented method comprising:
storing a first portion of a file in a buffer while a receiving mode is active;
determining that applying a predefined transformation on a first portion of an existing data set results in a generation of a data set that corresponds to the first portion of the file;
generating a transformation notification signal; and
upon receiving a stop message, stopping the receiving mode.
