# US 2022/0035549 A1 · Trace data protection

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

- Number: US 2022/0035549 A1
- Document ID: US20220035549A1
- Status: Published application
- Kind: A1
- Application number: 16/940,442
- Filed: 2020-07-28
- Published: 2022-02-03
- Earliest claimed: 2020-07-28
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Xi Bo Zhu; Xiao Xiao Pei; Shi Yu Wang; QIN LI; Lu Zhao
- Web page: https://patentgrep.com/patent/US20220035549A1

## CPC

- G06F 3/0647: {Migration mechanisms}
- G06F 11/3409: {for performance assessment}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0673: {Single storage device}
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 11/3495: {for systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure relate to a method, system and computer program product for trace data protection. In some embodiments, a method is disclosed. According to the method, a target task is determined from a plurality of tasks, where trace data of the target task is to be protected. The trace data of the target task is transferred from a first area to a second area of a memory. Existing trace data in the second area is offloaded to a storage device before being overwritten. In other embodiments, a system and a computer program product are disclosed.

## Claims

### Claim 1

A computer-implemented method comprising:
determining, by one or more processors, a target task from a plurality of tasks, wherein trace data of the target task is to be protected; and
transferring, by the one or more processors, the trace data of the target task from a first area to a second area of a memory, wherein an existing trace data in the second area is offloaded to a storage device before being overwritten.

### Claim 2 (depends on 1)

The method of claim 1, wherein a respective plurality of trace data of the plurality of tasks is stored in the first area, and wherein the plurality of trace data in the first area is to be overwritten by new trace data generated by executing subsequent tasks.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the target task from the plurality of tasks comprises:
obtaining, by the one or more processors, respective execution information of the plurality of tasks;
determining, by the one or more processors, whether execution information of each of the plurality of tasks matches at least one abnormal pattern; and
in accordance with a determination that the execution information of one of the plurality of tasks matches the at least one abnormal pattern, determining, by the one or more processors, the one of the plurality of tasks as the target task.

### Claim 4 (depends on 1)

The method of claim 1, wherein transferring the trace data of the target task from the first area to the second area comprises:
extracting, by the one or more processors, the trace data of the target task from the first area; and
storing, by the one or more processors, the trace data of the target task into the second area.

### Claim 5 (depends on 4)

The method of claim 4, wherein storing the trace data of the target task into the second area comprises:
in accordance with a determination that available space in the second area is sufficient to store the trace data of the target task, storing, by the one or more processors, the trace data of the target task into the available space.

### Claim 6 (depends on 4)

The method of claim 4, wherein storing the trace data of the target task into the second area comprises:
in accordance with a determination that available space in the second area is insufficient to store the trace data of the target task, offloading, by the one or more processors, at least part of the existing trace data in the second area to the storage device; and
storing, by the one or more processors, the trace data of the target task into the second area.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
offloading, by the one or more processors, at least part of the existing trace data in the second area to the storage device.

### Claim 8

A system comprising:
a processing unit; and
a memory coupled to the processing unit and storing instructions thereon, the instructions, when executed by the processing unit, performing actions comprising:
determining a target task from a plurality of tasks, wherein trace data of the target task is to be protected; and
transferring the trace data of the target task from a first area to a second area of a memory, wherein an existing trace data in the second area is offloaded to a storage device before being overwritten.

### Claim 9 (depends on 8)

The system of claim 8, wherein a plurality of respective trace data of the plurality of tasks is stored in the first area, and wherein the plurality of trace data in the first area is to be overwritten by new trace data generated by executing subsequent tasks.

### Claim 10 (depends on 8)

The system of claim 8, wherein determining the target task from the plurality of tasks comprises:
obtaining respective execution information of the plurality of tasks;
determining whether execution information of each of the plurality of tasks matches at least one abnormal pattern; and
in accordance with a determination that the execution information of one of the plurality of tasks matches the at least one abnormal pattern, determining the one of the plurality of tasks as the target task.

### Claim 11 (depends on 8)

The system of claim 8, wherein transferring the trace data of the target task from the first area to the second area comprises:
extracting the trace data of the target task from the first area; and
storing the trace data of the target task into the second area.

### Claim 12 (depends on 11)

The system of claim 11, wherein storing the trace data of the target task into the second area comprises:
in accordance with a determination that available space in the second area is sufficient to store the trace data of the target task, storing the trace data of the target task into the available space.

### Claim 13 (depends on 11)

The system of claim 11, wherein storing the trace data of the target task into the second area comprises:
in accordance with a determination that available space in the second area is insufficient to store the trace data of the target task, offloading at least part of the existing trace data in the second area to the storage device; and
storing the trace data of the target task into the second area.

### Claim 14 (depends on 8)

The system of claim 8, wherein the actions further comprise:
offloading at least part of the existing trace data in the second area to the storage device.

### Claim 15

A computer program product being tangibly stored on a non-transient machine-readable medium and comprising machine-executable instructions, the instructions, when executed on a device, causing the device to perform actions comprising:
determining a target task from a plurality of tasks, wherein trace data of the target task is to be protected; and
transferring the trace data of the target task from a first area to a second area of a memory, wherein an existing trace data in the second area is offloaded to a storage device before being overwritten.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein a plurality of respective trace data of the plurality of tasks is stored in the first area, and wherein the plurality of trace data in the first area is to be overwritten by new trace data generated by executing subsequent tasks.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein determining the target task from the plurality of tasks comprises:
obtaining respective execution information of the plurality of tasks;
determining whether execution information of each of the plurality of tasks matches at least one abnormal pattern; and
in accordance with a determination that the execution information of one of the plurality of tasks matches the at least one abnormal pattern, determining the one of the plurality of tasks as the target task.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein transferring the trace data of the target task from the first area to the second area comprises:
extracting the trace data of the target task from the first area; and
storing the trace data of the target task into the second area.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein storing the trace data of the target task into the second area comprises:
in accordance with a determination that available space in the second area is sufficient to store the trace data of the target task, storing the trace data of the target task into the available space.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein storing the trace data of the target task into the second area comprises:
in accordance with a determination that available space in the second area is insufficient to store the trace data of the target task, offloading at least part of the existing trace data in the second area to the storage device; and
storing the trace data of the target task into the second area.
