# US 2024/0004748 A1 · Abnormality Detection Method and Apparatus

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

- Number: US 2024/0004748 A1
- Document ID: US20240004748A1
- Status: Published application
- Kind: A1
- Application number: 18/469,023
- Filed: 2023-09-18
- Published: 2024-01-04
- Earliest claimed: 2021-03-17
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Gang Bi; Dong Fang
- Web page: https://patentgrep.com/patent/US20240004748A1

## CPC

- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/3409: {for performance assessment}
- G06F 11/0721: {within a central processing unit [CPU]}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/323: {Visualisation of programs or trace data}
- G06F 2201/81: Threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An abnormality detection method includes displaying a target interface, where n-dimensional visualization space defined by n coordinate axes, and m data points and p target regions that are located in the n-dimensional visualization space are displayed in the target interface, each coordinate axis corresponds to one detection indicator of a detected object, location data of each data point in the n-dimensional visualization space is a data record of the detected object, the data record includes n items of data, each item of data is a value record of the one detection indicator of the detected object, the p target regions are determined by n one-dimensional data intervals, and each one-dimensional data interval is within a range of a corresponding coordinate axis; and displaying, in the target interface, that the detected object is abnormal when k data points in the m data points are located outside the target region.

## Claims

### Claim 1

A method comprising:
displaying a target interface comprising an n-dimensional visualization space defined by n coordinate axes, m data points, and p target regions, wherein the m data points and the p target regions are located in the n-dimensional visualization space, wherein each of the n coordinate axes corresponds to one detection indicator of a detected object, wherein location data of each of the m data points is a data record of the detected object, wherein the data record comprises n items of data, wherein each of the n items of data is a value record of the one detection indicator, wherein the p target regions are based on n one-dimensional data intervals, wherein the n one-dimensional data intervals correspond to the n coordinate axes, wherein each of the n one-dimensional data intervals is within a range of a corresponding coordinate axis, wherein n≥2, m≥1, p≥1, and wherein n, m, and p are integers; and
displaying, in the target interface, that the detected object is abnormal when k data points in the m data points are located outside a target region,
wherein m≥k≥1, and
wherein k is an integer.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
identifying that the m data points are located in the target region; and
displaying, in the target interface and in response to identifying that the m data points are located in the target region, that the detected object is normal.

### Claim 3 (depends on 1)

The method of claim 1, wherein the n one-dimensional data intervals correspond to n regions in the n-dimensional visualization space, wherein the target region is an overlapping region of the n regions, wherein the method further comprises displaying, in the target interface, that an ith detection indicator of the detected object is abnormal when the k data points are located outside an ith region, wherein the ith region is a corresponding region of an ith one-dimensional data interval in the n-dimensional visualization space, wherein the ith one-dimensional data interval corresponds to the ith detection indicator, wherein n≥i≥1, and wherein i is an integer.

### Claim 4 (depends on 3)

The method of claim 3, wherein the n coordinate axes correspond to n detection indicators of the detected object, wherein the n detection indicators comprise a first processor usage and a first memory usage, wherein each data record comprises a second processor usage of the detected object and a second memory usage of the detected object, and wherein the method further comprises:
displaying, in the target interface, that the second processor usage is abnormal when the k data points are located outside a first region, wherein the first region corresponds to a first one-dimensional data interval in the n-dimensional visualization space, and wherein the first one-dimensional data interval corresponds to the first processor usage;
displaying, in the target interface, that the second memory usage is abnormal when the k data points are located outside a second region, wherein the second region corresponds to a second one-dimensional data interval in the n-dimensional visualization space, and wherein the second one-dimensional data interval corresponds to the first memory usage; and
displaying, in the target interface, that a processing capability of the detected object is abnormal when the k data points are located outside of each of the first region and the second region.

### Claim 5 (depends on 1)

The method of claim 1, wherein the n one-dimensional data intervals correspond to n detection indicators of the detected object, and wherein the method further comprises:
obtaining a test data set corresponding to each of the n detection indicators, wherein the test data set corresponding to a detection indicator of the n detection indicators comprises t items of sampled data of the detected object, wherein t≥1, and wherein t is an integer; and
determining, based on the test data set corresponding to the detection indicator, a one-dimensional data interval corresponding to the detection indicator.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
determining a maximum value in the t items, a first value of an upper quartile in the t items, or a second value that is based on an average value of the t items and a variance of the t items as an upper limit value of the one-dimensional data interval; and
determining a minimum value in the t items, a third value of a lower quartile in the t items, a fourth value that is based on the average value and the variance, or 0 as a lower limit value of the one-dimensional data interval.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
inputting the t items into a first model to enable the first model to perform calculation based on the t items to obtain an upper limit value of the one-dimensional data interval; and
inputting the t items into a second model to enable the second model to perform calculation based on the t items to obtain a lower limit value of the one-dimensional data interval or determining the lower limit value as 0.

### Claim 8 (depends on 5)

The method of claim 5, wherein the method is implemented by a controller or a management device configured to manage the detected object, and wherein the method further comprises:
applying a preset service pressure to the detected object; and
performing, after applying the preset service pressure to the detected object, data sampling on the detection indicator to obtain the t items.

### Claim 9 (depends on 1)

The method of claim 1, wherein the detected object is a computer, a process running in the computer, or a virtual machine running in the computer.

### Claim 10 (depends on 1)

The method of claim 1, wherein the one detection indicator comprises at least one of:
a processor usage;
a memory usage;
an amount of used memory;
a quantity of used handles;
a quantity of used threads;
an amount of read data;
an amount of written data;
an amount of read/written data;
a throughput;
an amount of transmitted data;
a service success rate;
an average service duration;
a total quantity of executed tasks;
a service saturation;
a quantity of errors in executing a task;
a young generation garbage collection time (YGCT);
a full generation garbage collection time (FGCT); or
a sum of the YGCT and the FGCT.

### Claim 11

An apparatus comprising:
a memory configured to store instructions; and
a processor coupled to the memory and configured to execute the instructions to cause the apparatus to:
display a target interface comprising an n-dimensional visualization space defined by n coordinate axes, m data points, and p target regions, wherein the m data points and the p target regions are located in the n-dimensional visualization space, wherein each of the n coordinate axes corresponds to one detection indicator of a detected object, wherein location data of each of the m data points is a data record of the detected object, wherein the data record comprises n items of data, wherein each of the n items of data is a value record of the one detection indicator, wherein the p target regions are based on n one-dimensional data intervals, wherein the n one-dimensional data intervals correspond to the n coordinate axes, wherein each of the n one-dimensional data intervals is within a range of a corresponding coordinate axis, wherein n≥2, m≥1, p≥1, and wherein n, m, and p are integers; and
display, in the target interface, that the detected object is abnormal when k data points in the m data points are located outside a target region,
wherein m≥k≥1, and
wherein k is an integer.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the processor is further configured to execute the instructions to cause the apparatus to:
identify that the m data points are located in the target region; and
display, in the target interface and in response to identifying that the m data points are located in the target region, that the detected object is normal.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the n one-dimensional data intervals correspond to n regions in the n-dimensional visualization space, wherein the target region is an overlapping region of the n regions, wherein the processor is further configured to execute the instructions to cause the apparatus to display, in the target interface, that an ith detection indicator of the detected object is abnormal when the k data points are located outside an ith region, wherein the ith region corresponds to an ith one-dimensional data interval in the n-dimensional visualization space, wherein the ith one-dimensional data interval corresponds to the ith detection indicator, wherein n≥i≥1, and wherein i is an integer.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the n coordinate axes correspond to n detection indicators of the detected object, wherein the n detection indicators comprise a first processor usage and a first memory usage, wherein each data record comprises a second processor usage of the detected object and a second memory usage of the detected object, and wherein the processor is further configured to execute the instructions to cause the apparatus to:
display, in the target interface, that the second processor usage is abnormal when the k data points are located outside a first region, wherein the first region corresponds to a first one-dimensional data interval in the n-dimensional visualization space, and wherein the first one-dimensional data interval corresponds to the first processor usage;
display, in the target interface, that the second memory usage is abnormal when the k data points are located outside a second region, wherein the second region corresponds to a second one-dimensional data interval in the n-dimensional visualization space, and wherein the second one-dimensional data interval corresponds to the first memory usage; and
display, in the target interface, that a processing capability of the detected object is abnormal when the k data points are located outside of each of the first region and the second region.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the n one-dimensional data intervals correspond to n detection indicators of the detected object, and wherein the processor is further configured to execute the instructions to cause the apparatus to:
obtain a test data set corresponding to each of the n detection indicators, wherein the test data set corresponding to a detection indicator of the n detection indicators comprises t items of sampled data of the detected object, wherein t≥1, and wherein t is an integer; and
determine, based on the test data set corresponding to the detection indicator, a one-dimensional data interval corresponding to the detection indicator.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the processor is further configured to execute the instructions to cause the apparatus to:
determine a maximum value in the t items, a first value of an upper quartile in the t items, or a second value that is based on an average value of the t items and a variance of the t items as an upper limit value of the one-dimensional data interval; and
determine a minimum value in the t items, a third value of a lower quartile in the t items, a fourth value that is based on the average value and the variance, or 0 as a lower limit value of the one-dimensional data interval.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the processor is further configured to execute the instructions to cause the apparatus to:
input the t items into a first model to enable the first model to perform calculation based on the t items to obtain an upper limit value of the one-dimensional data interval; and
input the t items into a second model to enable the second model to perform calculation based on the t items to obtain a lower limit value of the one-dimensional data interval or determine 0 as the lower limit value.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the detected object is a computer, a process running in the computer, or a virtual machine running in the computer.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the apparatus further comprises a controller or a management device configured to manage the detected object, and wherein the controller or the management device is configured to:
apply a preset service pressure to the detected object; and
perform, after applying the preset service pressure to the detected object, data sampling on the detection indicator to obtain the t items.

### Claim 20 (depends on 11)

The apparatus of claim 11, wherein the one detection indicator comprises at least one of:
a processor usage;
a memory usage;
an amount of used memory;
a quantity of used handles;
a quantity of used threads;
an amount of read data;
an amount of written data;
an amount of read/written data;
a throughput;
an amount of transmitted data;
a service success rate;
an average service duration;
a total quantity of executed tasks;
a service saturation;
a quantity of errors in executing a task;
a young generation garbage collection time (YGCT);
a full generation garbage collection time (FGCT); or
a sum of the YGCT and the FGCT.
