# US 2022/0046039 A1 · Method, device, and computer program product for abnormality detection

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

- Number: US 2022/0046039 A1
- Document ID: US20220046039A1
- Status: Published application
- Kind: A1
- Application number: 17/066,728
- Filed: 2020-10-09
- Published: 2022-02-10
- Earliest claimed: 2020-08-07
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Fei Peng; Kaikai Jia
- Web page: https://patentgrep.com/patent/US20220046039A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to a method, a device, and a computer program product for abnormality detection. The method provided by embodiments of the present disclosure includes: acquiring information related to a target request initiated by a client terminal to an application and at least one context request, the information at least indicating the type and initiation time of the target request and the type and initiation time of the at least one context request; converting the acquired information into a vectorized feature representation for the target request; and determining an abnormality detection result of the target request based on the vectorized feature representation and using an abnormality detection model, the abnormality detection result indicating whether the target request is an abnormal request, and the abnormality detection model characterizing a correlation between a vectorized feature representation for a request and an abnormality detection result.

## Claims

### Claim 1

A method for abnormality detection, comprising:
acquiring information related to a target request initiated by a client terminal to an application and at least one context request, the information at least indicating the type and initiation time of the target request and the type and initiation time of the at least one context request;
converting the acquired information into a vectorized feature representation for the target request; and
determining an abnormality detection result of the target request based on the vectorized feature representation and using an abnormality detection model, the abnormality detection result indicating whether the target request is an abnormal request, and the abnormality detection model characterizing a correlation between a vectorized feature representation for a request and an abnormality detection result.

### Claim 2 (depends on 1)

The method according to claim 1, wherein converting the acquired information into the vectorized feature representation comprises:
determining, based on a first mapping between a plurality of request types and a first plurality of predetermined values, predetermined values respectively corresponding to the type of the target request and the type of the at least one context request from the plurality of predetermined values; and
determining a part of the vectorized feature representation based on the determined predetermined values.

### Claim 3 (depends on 1)

The method according to claim 1, wherein converting the acquired information into the vectorized feature representation comprises:
determining, from a plurality of time intervals, a first time interval into which the initiation time of the target request falls and at least one second time interval into which the initiation time of the at least one context request falls, the plurality of time intervals being divided from a request time period of the client terminal to the application;
determining, based on a second mapping between the plurality of time intervals and a second plurality of predetermined values, predetermined values respectively corresponding to the first time interval and the at least one second time interval from the second plurality of predetermined values; and
determining the other part of the vectorized feature representation based on the determined predetermined values.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the information further indicates a parameter description associated with the target request, and converting the acquired information into the vectorized feature representation comprises:
converting the parameter description into a one-hot encoding representation; and
determining the other part of the vectorized feature representation based on the one-hot encoding representation.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the vectorized feature representation is configured to comprise context parts corresponding to a predetermined number of context requests, and converting the acquired information into the vectorized feature representation comprises:
setting, if it is determined that the number of the at least one context request indicated by the information is less than the predetermined number, context parts in the vectorized feature representation other than the context part corresponding to the at least one context request to a preset value.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the application comprises a data protection application, and the method further comprises:
selecting the abnormality detection model based on a data protection strategy applied by the client terminal in the data protection application, the abnormality detection model being trained based on training data related to the data protection strategy.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the at least one context request comprises at least one historical request of which the initiation time precedes the initiation time of the target request.

### Claim 8

An electronic device, comprising:
at least one processor; and
at least one memory storing computer instructions, which when executed by the at least one processor, cause the at least one processor to perform actions comprising:
acquiring information related to a target request initiated by a client terminal to an application and at least one context request, the information at least indicating the type and initiation time of the target request and the type and initiation time of the at least one context request;
converting the acquired information into a vectorized feature representation for the target request; and
determining an abnormality detection result of the target request based on the vectorized feature representation and using an abnormality detection model, the abnormality detection result indicating whether the target request is an abnormal request, and the abnormality detection model characterizing a correlation between a vectorized feature representation for a request and an abnormality detection result.

### Claim 9 (depends on 8)

The device according to claim 8, wherein converting the acquired information into the vectorized feature representation comprises:
determining, based on a first mapping between a plurality of request types and a first plurality of predetermined values, predetermined values respectively corresponding to the type of the target request and the type of the at least one context request from the plurality of predetermined values; and
determining a part of the vectorized feature representation based on the determined predetermined values.

### Claim 10 (depends on 8)

The device according to claim 8, wherein converting the acquired information into the vectorized feature representation comprises:
determining, from a plurality of time intervals, a first time interval into which the initiation time of the target request falls and at least one second time interval into which the initiation time of the at least one context request falls, the plurality of time intervals being divided from a request time period of the client terminal to the application;
determining, based on a second mapping between the plurality of time intervals and a second plurality of predetermined values, predetermined values respectively corresponding to the first time interval and the at least one second time interval from the second plurality of predetermined values; and
determining the other part of the vectorized feature representation based on the determined predetermined values.

### Claim 11 (depends on 8)

The device according to claim 8, wherein the information further indicates a parameter description associated with the target request, and converting the acquired information into the vectorized feature representation comprises:
converting the parameter description into a one-hot encoding representation; and
determining the other part of the vectorized feature representation based on the one-hot encoding representation.

### Claim 12 (depends on 8)

The device according to claim 8, wherein the vectorized feature representation is configured to comprise context parts corresponding to a predetermined number of context requests, and converting the acquired information into the vectorized feature representation comprises:
setting, if it is determined that the number of the at least one context request indicated by the information is less than the predetermined number, context parts in the vectorized feature representation other than the context part corresponding to the at least one context request to a preset value.

### Claim 13 (depends on 8)

The device according to claim 8, wherein the application comprises a data protection application, and the method further comprises:
selecting the abnormality detection model based on a data protection strategy applied by the client terminal in the data protection application, the abnormality detection model being trained based on training data related to the data protection strategy.

### Claim 14 (depends on 8)

The device according to claim 8, wherein the at least one context request comprises at least one historical request of which the initiation time precedes the initiation time of the target request.

### Claim 15

A computer program product stored on a non-transitory computer-readable medium and comprising computer-executable instructions, which when executed by a processor, cause the processor to perform actions comprising:
acquiring information related to a target request initiated by a client terminal to an application and at least one context request, the information at least indicating the type and initiation time of the target request and the type and initiation time of the at least one context request;
converting the acquired information into a vectorized feature representation for the target request; and
determining an abnormality detection result of the target request based on the vectorized feature representation and using an abnormality detection model, the abnormality detection result indicating whether the target request is an abnormal request, and the abnormality detection model characterizing a correlation between a vectorized feature representation for a request and an abnormality detection result.

### Claim 16 (depends on 15)

The computer program product according to claim 15, wherein converting the acquired information into the vectorized feature representation comprises:
determining, based on a first mapping between a plurality of request types and a first plurality of predetermined values, predetermined values respectively corresponding to the type of the target request and the type of the at least one context request from the plurality of predetermined values; and
determining a part of the vectorized feature representation based on the determined predetermined values.

### Claim 17 (depends on 15)

The computer program product according to claim 15, wherein converting the acquired information into the vectorized feature representation comprises:
determining, from a plurality of time intervals, a first time interval into which the initiation time of the target request falls and at least one second time interval into which the initiation time of the at least one context request falls, the plurality of time intervals being divided from a request time period of the client terminal to the application;
determining, based on a second mapping between the plurality of time intervals and a second plurality of predetermined values, predetermined values respectively corresponding to the first time interval and the at least one second time interval from the second plurality of predetermined values; and
determining the other part of the vectorized feature representation based on the determined predetermined values.

### Claim 18 (depends on 15)

The computer program product according to claim 15, wherein the information further indicates a parameter description associated with the target request, and converting the acquired information into the vectorized feature representation comprises:
converting the parameter description into a one-hot encoding representation; and
determining the other part of the vectorized feature representation based on the one-hot encoding representation.

### Claim 19 (depends on 15)

The computer program product according to claim 15, wherein the vectorized feature representation is configured to comprise context parts corresponding to a predetermined number of context requests, and converting the acquired information into the vectorized feature representation comprises:
setting, if it is determined that the number of the at least one context request indicated by the information is less than the predetermined number, context parts in the vectorized feature representation other than the context part corresponding to the at least one context request to a preset value.

### Claim 20 (depends on 15)

The computer program product according to claim 15, wherein the application comprises a data protection application, and the method further comprises:
selecting the abnormality detection model based on a data protection strategy applied by the client terminal in the data protection application, the abnormality detection model being trained based on training data related to the data protection strategy.

### Claim 21

(canceled)
