Abnormal traffic identification system

Through the abnormal traffic identification system that combines unsupervised and supervised learning, it uses a rich rule knowledge base to identify abnormal traffic of unknown and known categories, solves the problems of identifying unknown types and updating rules in the existing technology, and realizes the detection of various abnormalities. Accurate identification and feature optimization of traffic flow.

CN113538049BActive Publication Date: 2024-09-13BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110793756.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-14
Publication Date
2024-09-13
Estimated Expiration
2041-07-14

AI Technical Summary

Technical Problem

Existing abnormal traffic detection solutions can only identify types that have appeared in history, making it difficult to identify unknown types of fraud. Moreover, rule-based methods require a lot of manpower to update and are difficult to keep up with the rapid changes in fraud methods.

Method used

It uses unsupervised learning units, supervised learning units and interactive units combined with a rich rule knowledge base to mine new pattern features through unsupervised learning and optimize feature engineering through supervised learning to identify unknown and known abnormal traffic categories.

Benefits of technology

It achieves accurate identification of various abnormal traffic, reduces the impact of hard thresholds based on rule models, improves the coverage of abnormal traffic, continuously optimizes feature engineering and learning algorithms, and accumulates new business knowledge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113538049B
    Figure CN113538049B
Patent Text Reader

Abstract

The present application provides an abnormal traffic identification system. The system includes an unsupervised learning unit, a supervised learning unit, an interactive unit and a rule knowledge base. The interactive unit enriches the rule knowledge base with the output of the unsupervised learning unit, and uses the enriched rule knowledge base for the construction of the first feature engineering and the second feature engineering. The first feature engineering is the feature engineering of the unsupervised learning unit, and the second feature engineering is the feature engineering of the supervised learning unit. The unsupervised learning unit, the interactive unit and the enriched rule knowledge base are used to identify abnormal traffic with unknown categories. The supervised learning unit, the interactive unit and the enriched rule knowledge base are used to identify abnormal traffic with known categories. This solution uses different methods for identification for different traffic categories, and realizes accurate identification of various abnormal traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of abnormal traffic detection, and in particular, to an abnormal traffic identification system. Background Art

[0002] With the continuous development and popularization of mobile applications, mobile advertising plays a vital role in online advertising. In mobile advertising, mobile advertising fraud caused by fraudulent exposure, clicks or other behaviors has become a stubborn problem in marketing advertising. It not only causes huge economic losses to advertisers, but also seriously affects the image and delivery quality of advertising platforms. This issue has attracted the attention of scholars and companies. In order to combat the increasingly rampant advertising fraud, machine learning methods have been successfully applied to identify advertising fraud and distinguish suspicious advertising fraud from normal advertising fraud. However, the cheating methods of the black industry are changing with each passing day, and the cheating technology is constantly updated to imitate the behavior of normal users. In practical applications, it is difficult to obtain effective and accurate labels for traffic anomalies, making it difficult to effectively identify abnormal traffic.

[0003] Existing abnormal traffic detection solutions are mostly supervised methods and rule-based methods. Supervised methods often rely on historical data to identify abnormal traffic, and require accurate labels for historical data. They learn the patterns and methods of black market attacks through historical behaviors, and can only identify types that have appeared in history. They are almost ineffective for unknown types of fraud. Rule-based methods strongly rely on business experience and understanding of business rules, and require a lot of manpower. Due to the extremely fast speed of fraud methods, rule-based methods need to be constantly updated. The complexity of fraud methods continues to increase, and it is difficult to quickly summarize fraud rules. Therefore, rule-based methods are difficult to keep up with changes in fraud methods. Summary of the invention

[0004] The main purpose of the present application is to provide an abnormal traffic identification system to solve the problem that the abnormal traffic detection scheme in the prior art can only identify the types that have appeared in history.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, there is provided an abnormal traffic identification system, including: an unsupervised learning unit, a supervised learning unit, an interaction unit and a rule knowledge base, the interaction unit enriches the rule knowledge base with the output of the unsupervised learning unit, and uses the enriched rule knowledge base for the construction of a first feature engineering and a second feature engineering, the first feature engineering is the feature engineering of the unsupervised learning unit, and the second feature engineering is the feature engineering of the supervised learning unit; the unsupervised learning unit, the interaction unit and the enriched rule knowledge base are used to identify abnormal traffic of unknown category; the supervised learning unit, the interaction unit and the enriched rule knowledge base are used to identify abnormal traffic of known category.

[0006] Optionally, the unsupervised learning unit includes: a first data parsing module, used to parse the data returned by the monitoring system into first fields of each dimension, and to verify the legitimacy of the first fields; a first preprocessing module, used to process missing values ​​of each of the first fields; a first feature engineering module, used to construct a first feature engineering based on the first fields after the missing value processing, and to screen out key features by selecting model features; an unsupervised learning module, which splices the key features with the first heuristic feature knowledge that describes the rules in the rule knowledge base using predetermined features to obtain a spliced ​​feature, and uses the spliced ​​feature to represent the traffic feature.

[0007] Optionally, an unsupervised model is used to screen the splicing features to screen out new pattern features, and the screened out new pattern features are ranked by importance. The interactive unit summarizes the new pattern features based on expert knowledge to obtain summary rules, and the summary rules are used to enrich the rule knowledge base. Through continuous iteration of the interactive unit and the unsupervised learning module, new pattern abnormal traffic is detected.

[0008] Optionally, the characteristics of normal traffic and abnormal traffic under the unsupervised model are different.

[0009] Optionally, the predetermined feature is a continuous feature or a discrete feature.

[0010] Optionally, missing value processing is performed on each of the first fields, including: for the os field, filling with the mode or unk; and deleting rows where the number of missing values ​​is greater than a predetermined number.

[0011] Optionally, performing missing value processing on each of the first fields further includes: performing missing value processing on each of the first fields in a manner of filling with an average; and standardizing columns whose data differences are greater than a predetermined difference.

[0012] Optionally, the supervised learning unit includes: a second data parsing module, used to parse the data returned by the monitoring system into second fields of each dimension and verify the legitimacy of the second fields; a second preprocessing module, used to process missing values ​​of each second field; a second feature engineering module, used to construct a second feature engineering based on the second fields after the missing value processing and the second heuristic feature knowledge, wherein the second heuristic feature knowledge is obtained by summarizing the output of the unsupervised learning unit by knowledge experts; a supervised learning module, used to delete useless features according to the output of the second feature engineering module and the selection of model features.

[0013] Optionally, the interaction unit is used to continuously update the supervised learning model.

[0014] According to another aspect of the present application, an abnormal traffic identification method is provided, including: enriching a rule knowledge base, wherein the rule knowledge base is enriched using the output of an unsupervised learning unit; using the enriched rule knowledge base to construct a first feature engineering and a second feature engineering, wherein the first feature engineering is a feature engineering of an unsupervised learning unit, and the second feature engineering is a feature engineering of a supervised learning unit; using the unsupervised learning unit to identify abnormal traffic of unknown category; and using the supervised learning unit to identify abnormal traffic of known category.

[0015] According to another aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the abnormal traffic identification method when executing the computer program.

[0016] According to another aspect of the present application, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the abnormal traffic identification method.

[0017] By applying the technical solution of the present application, unsupervised learning units, interactive units and enriched rule knowledge bases are used to identify abnormal traffic of unknown categories. Since the interactive unit enriches the rule knowledge base with the output of the unsupervised learning unit, more types of abnormal traffic can be mined. For abnormal traffic of known categories, supervised learning units, interactive units and enriched rule knowledge bases are used for identification, which can enrich the representation of features, improve the coverage of abnormal traffic, and reduce the impact of hard thresholds based on rule models. By continuously enriching the rule knowledge base, the effect of continuously optimizing the first feature engineering and the second feature engineering is achieved, and the unsupervised learning algorithm and the supervised learning algorithm are continuously optimized, and new business knowledge is precipitated. This solution uses different methods for identification for different traffic categories, and realizes accurate identification of various abnormal traffic. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 A schematic diagram of an abnormal traffic identification system according to an embodiment of the present application is shown;

[0020] Figure 2 A schematic diagram of a specific abnormal traffic identification system according to an embodiment of the present application is shown;

[0021] Figure 3 A flow chart of an abnormal traffic identification method according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0023] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0024] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.

[0025] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0026] Supervised learning: Use samples with known characteristics as training sets to build a mathematical model, and then use the established model to predict unknown samples. It is a machine learning task to infer functions from labeled training data sets. In supervised learning, each example is an input object (usually a vector) and a desired output value (also called a supervisory signal). The supervised learning algorithm analyzes the training data and produces an inferred function that can be used to map new examples. An optimal solution will allow the algorithm to correctly determine the class label when the label is unseen.

[0027] Unsupervised learning: In real life, it is often difficult to manually label categories due to the lack of sufficient prior knowledge or the cost of manual category labeling is too high. Naturally, it is hoped that computers can replace these tasks or at least provide some help to solve various problems in pattern recognition based on training samples with unknown categories. Commonly used unsupervised learning algorithms include: principal component analysis method PCA, isometric mapping method, local linear embedding method, Laplace eigenmapping method, Hessian local linear embedding method and local tangent space arrangement method.

[0028] Knowledge base: is the collection of all knowledge. However, the knowledge base is not limited to classification and graph. The knowledge base can include rules, procedural knowledge, etc. Ontology can also be defined very abstractly. The connotation and extension of any concept can define ontology.

[0029] Feature engineering: refers to the use of a series of engineering methods to filter out better data features from raw data to improve the training effect of the model. Good data and features are the prerequisites for models and algorithms to play a greater role. Feature engineering usually includes data preprocessing, feature selection, and dimensioning.

[0030] Inspired feature knowledge: refers to the features inspired by the rules of the rule knowledge base.

[0031] As introduced in the background technology, the abnormal traffic detection scheme in the prior art can only identify the types that have appeared in history. In order to solve the problem that the above abnormal traffic detection scheme can only identify the types that have appeared in history, an embodiment of the present application provides an abnormal traffic identification system.

[0032] A typical embodiment of the present application provides an abnormal traffic identification system, such as Figure 1 As shown, the system includes:

[0033] An unsupervised learning unit, a supervised learning unit, an interactive unit and a rule knowledge base, wherein the interactive unit enriches the rule knowledge base using the output of the unsupervised learning unit, and uses the enriched rule knowledge base for the construction of a first feature engineering and a second feature engineering, wherein the first feature engineering is the feature engineering of the unsupervised learning unit, and the second feature engineering is the feature engineering of the supervised learning unit;

[0034] The unsupervised learning unit, the interactive unit and the enriched rule knowledge base are used to identify abnormal traffic of unknown categories;

[0035] The supervised learning unit, the interactive unit and the enriched rule knowledge base are used to identify abnormal traffic with known categories.

[0036] In the above scheme, for abnormal traffic with unknown categories, unsupervised learning units, interactive units and enriched rule knowledge bases are used for identification. Since the interactive unit enriches the rule knowledge base with the output of the unsupervised learning unit, more types of abnormal traffic can be mined. For abnormal traffic with known categories, supervised learning units, interactive units and enriched rule knowledge bases are used for identification, which can enrich the representation of features, improve the coverage of abnormal traffic, and reduce the impact of hard thresholds based on rule models. By continuously enriching the rule knowledge base, the effect of continuously optimizing the first feature engineering and the second feature engineering can be achieved, and the unsupervised learning algorithm and the supervised learning algorithm can be continuously optimized, and new business knowledge can be precipitated. This scheme uses different methods for identification for different traffic categories, and realizes accurate identification of various abnormal traffic.

[0037] In one embodiment of the present application, Figure 2As shown, the above-mentioned unsupervised learning unit includes a first data analysis module, a first preprocessing module, a first feature engineering module and an unsupervised learning module. The first data analysis module is used to parse the data sent back by the monitoring system into the first fields of each dimension and verify the legitimacy of the above-mentioned first fields; the first preprocessing module is used to process missing values ​​for each of the above-mentioned first fields; the first feature engineering module is used to construct the first feature engineering based on the above-mentioned first fields after the missing value processing, and screen out key features through the selection based on model features; the unsupervised learning module splices the above-mentioned key features and the first heuristic feature knowledge that describes the rules in the above-mentioned rule knowledge base using predetermined features to obtain spliced ​​features, and uses the above-mentioned spliced ​​features to represent traffic features. Among them, the selection based on model features refers to the use of models to select important features. If the importance of related features is lower than a certain threshold, these features will be considered unimportant and removed. Key features refer to the more critical features in feature engineering, which are the features retained after feature selection.

[0038] Specifically, the data sent back by the monitoring system can be represented from multiple dimensions, such as IP address, UUID, device type, operating system and version, region, ad slot, media, etc., to improve the representation capability of traffic.

[0039] In another embodiment of the present application, an unsupervised model is used to screen the above-mentioned splicing features, screen out new pattern features, and sort the importance of the screened new pattern features. The above-mentioned interactive unit summarizes the expert knowledge of the above-mentioned new pattern features to obtain summary rules, and the above-mentioned summary rules are used to enrich the above-mentioned rule knowledge base. Through the continuous iteration of the above-mentioned interactive unit and the above-mentioned unsupervised learning module, the new pattern abnormal traffic is detected. That is, after the unsupervised learning module sorts the importance of the screened new new pattern features, it is input into the interactive unit for summary.

[0040] In a specific embodiment of the present application, the characteristics of normal traffic and abnormal traffic under the above unsupervised model are different, and the normal traffic is much larger than the abnormal traffic in terms of magnitude.

[0041] Specifically, the above-mentioned predetermined features are continuous features or discrete features. Specifically, the unsupervised learning module uses the key features output by the first feature engineering module and the first heuristic feature knowledge that describes the rules in the above-mentioned rule knowledge base using predetermined features to obtain spliced ​​features, and uses the above-mentioned spliced ​​features to represent the traffic features. After the unsupervised model, the multi-dimensional space is focused, the combined features are automatically screened, the new mode abnormal traffic is mined, and then the feature dimensions focused on the new mode features are screened, and the features are sorted by importance, and input into the interactive module to summarize the new mode. After the traffic features pass through the unsupervised model, the multi-dimensional space is focused, and the model automatically screens the combined features. The meaning of the combined features is the model's screening operation on the features. "Mining the new mode abnormal traffic, and then screening the feature dimensions focused on the new mode features" The relationship between "mining the new mode abnormal traffic" and "combined features is: the new mode abnormal traffic refers to the traffic that the model judges to be abnormal, and the combined features are used to represent the traffic. This feature is used to distinguish whether the traffic is normal or abnormal.

[0042] In an optional embodiment of the present application, each of the above first fields is processed for missing values, including: for the os field, filling with the mode or unk; deleting rows where the number of missing values ​​is greater than a predetermined number. The os field is the operating system used by the traffic sending end, and unk is unknown. By deleting rows where the number of missing values ​​is greater than a predetermined number, the negative impact on the unsupervised learning model can be reduced.

[0043] In an optional embodiment of the present application, the missing value processing is performed on each of the above-mentioned first fields, and further includes: using the mean filling method to process the missing values ​​of each of the above-mentioned first fields; and standardizing the columns whose data differences are greater than the predetermined differences. The number of seconds in which the request is received is a fixed-distance variable, and the fixed-distance variable is generally filled with the mean (i.e., the mean filling). Standardization refers to data normalization, that is, scaling the data to [0,1].

[0044] In one embodiment of the present application, Figure 2As shown, the supervised learning unit includes a second data parsing module, a second preprocessing module, a second feature engineering module and a supervised learning module. The second data parsing module is used to parse the data returned by the monitoring system into the second fields of each dimension and verify the legitimacy of the second fields; the second preprocessing module is used to process the missing values ​​of each of the second fields; the second feature engineering module is used to construct the second feature engineering based on the second fields after the missing value processing and the second heuristic feature knowledge, and the second heuristic feature knowledge is obtained by summarizing the output of the unsupervised learning unit by the knowledge expert; the supervised learning module is used to delete useless features according to the output of the second feature engineering module and the selection of model features. Useless features are deleted to reduce the impact on the performance of the supervised learning model. The supervised learning module mainly learns abnormal traffic of known categories, provides accurate labels based on historical data, and constructs features through the rule knowledge base to inspire features, and splices attribute features. Useless features are deleted through model feature selection to reduce the impact of useless features on model performance. Among them, the specific meaning of splicing attribute features is to splice the features inspired by the rule knowledge base and the attribute features.

[0045] In one embodiment of the present application, the above-mentioned interactive unit is used to continuously update the supervised learning model. The interactive unit continuously enriches the rule knowledge base, and then uses the enriched rule knowledge base to construct the second feature engineering, continuously accumulates anomaly detection knowledge, continuously updates and improves the supervised anomaly recognition model, and improves the performance of abnormal traffic recognition.

[0046] A typical embodiment of the present application provides a method for identifying abnormal traffic, such as Figure 3 As shown, the method comprises the following steps:

[0047] Step S101, enriching a rule knowledge base, wherein the rule knowledge base is enriched using the output of an unsupervised learning unit;

[0048] Step S102, using the enriched rule knowledge base to construct a first feature engineering and a second feature engineering, wherein the first feature engineering is a feature engineering of an unsupervised learning unit, and the second feature engineering is a feature engineering of a supervised learning unit;

[0049] Step S103, using the unsupervised learning unit to identify abnormal traffic of unknown category;

[0050] Step S104: using the supervised learning unit to identify abnormal traffic of known categories.

[0051] In the above scheme, by continuously enriching the rule knowledge base, the effects of the first feature engineering and the second feature engineering are continuously optimized, the unsupervised learning algorithm and the supervised learning algorithm are continuously optimized, and new business knowledge is accumulated. This scheme uses different methods for identification of different traffic categories, and realizes the accurate identification of various abnormal traffic.

[0052] An embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, at least the following steps are implemented:

[0053] Step S101, enriching a rule knowledge base, wherein the rule knowledge base is enriched using the output of an unsupervised learning unit;

[0054] Step S102, using the enriched rule knowledge base to construct a first feature engineering and a second feature engineering, wherein the first feature engineering is a feature engineering of an unsupervised learning unit, and the second feature engineering is a feature engineering of a supervised learning unit;

[0055] Step S103, using the unsupervised learning unit to identify abnormal traffic of unknown category;

[0056] Step S104: using the supervised learning unit to identify abnormal traffic of known categories.

[0057] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0058] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the abnormal traffic identification method.

[0059] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0060] Step S101, enriching a rule knowledge base, wherein the rule knowledge base is enriched using the output of an unsupervised learning unit;

[0061] Step S102, using the enriched rule knowledge base to construct a first feature engineering and a second feature engineering, wherein the first feature engineering is a feature engineering of an unsupervised learning unit, and the second feature engineering is a feature engineering of a supervised learning unit;

[0062] Step S103, using the unsupervised learning unit to identify abnormal traffic of unknown category;

[0063] Step S104: using the supervised learning unit to identify abnormal traffic of known categories.

[0064] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0065] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0066] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0067] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0068] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0069] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0070] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0071] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0072] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0073] 1) The abnormal traffic identification system of the present application uses unsupervised learning units, interactive units and enriched rule knowledge bases to identify abnormal traffic of unknown categories. Since the interactive unit enriches the rule knowledge base with the output of the unsupervised learning unit, more types of abnormal traffic can be mined. For abnormal traffic of known categories, supervised learning units, interactive units and enriched rule knowledge bases are used for identification, which can enrich the representation of features, improve the coverage of abnormal traffic, and reduce the impact of hard thresholds based on rule models. By continuously enriching the rule knowledge base, the effect of continuously optimizing the first feature engineering and the second feature engineering is achieved, and the unsupervised learning algorithm and the supervised learning algorithm are continuously optimized, and new business knowledge is precipitated. This solution uses different methods for identification for different traffic categories, and realizes accurate identification of various abnormal traffic.

[0074] 2) The abnormal traffic identification method of the present application continuously optimizes the first feature engineering and the second feature engineering by continuously enriching the rule knowledge base, realizes the continuous optimization of the unsupervised learning algorithm and the supervised learning algorithm, and accumulates new business knowledge. This solution uses different methods for identification of different traffic categories, and realizes the accurate identification of various abnormal traffic.

[0075] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An abnormal traffic identification system, It is characterized in that include: An unsupervised learning unit, a supervised learning unit, an interaction unit and a rule knowledge base, wherein the interaction unit enriches the rule knowledge base using the output of the unsupervised learning unit, and uses the enriched rule knowledge base for the construction of a first feature engineering and a second feature engineering, wherein the first feature engineering is the feature engineering of the unsupervised learning unit, and the second feature engineering is the feature engineering of the supervised learning unit; Using the unsupervised learning unit, the interaction unit and the enriched rule knowledge base to identify abnormal traffic of unknown category; Using the supervised learning unit, the interaction unit and the enriched rule knowledge base, abnormal traffic of known categories is identified; Among them, the unsupervised learning unit includes: a first data parsing module, which is used to parse the data returned by the monitoring system into the first fields of each dimension and verify the legitimacy of the first fields; a first preprocessing module, which uses the average filling method to process missing values ​​of each first field; and standardizes the columns whose data differences are greater than the predetermined difference.

2. The system according to claim 1, It is characterized in that The unsupervised learning unit also includes: A first feature engineering module, used to construct a first feature engineering based on the first field after the missing value processing, and screen out key features through the selection of model features; The unsupervised learning module splices the key feature with the first heuristic feature knowledge that describes the rules in the rule knowledge base using predetermined features to obtain a spliced ​​feature, and uses the spliced ​​feature to represent the traffic feature.

3. The system according to claim 2, It is characterized in that An unsupervised model is used to screen the splicing features, new pattern features are screened out, and the screened new pattern features are ranked by importance. The interactive unit summarizes the expert knowledge of the new pattern features to obtain summary rules, and the summary rules are used to enrich the rule knowledge base. Through continuous iteration of the interactive unit and the unsupervised learning module, new pattern abnormal traffic is detected.

4. The system according to claim 2, It is characterized in that Processing missing values ​​for each of the first fields includes: For the os field, use the majority or unk to fill; Delete rows with more than a predetermined number of missing values.

5. The system according to claim 1, It is characterized in that The supervised learning unit includes: A second data parsing module, used to parse the data returned by the monitoring system into second fields of each dimension, and perform legitimacy verification on the second fields; A second preprocessing module, used for performing missing value processing on each of the second fields; A second feature engineering module, used for constructing a second feature engineering according to the second field after the missing value processing and the second heuristic feature knowledge, where the second heuristic feature knowledge is obtained by summarizing the output of the unsupervised learning unit by a knowledge expert; A supervised learning module is used to delete useless features according to the output of the second feature engineering module and the selection of model features.

6. The system according to claim 5, It is characterized in that The interactive unit is used to continuously update the supervised learning model.

7. A method for identifying abnormal traffic. It is characterized in that include: enriching a rule knowledge base, wherein the rule knowledge base is enriched using the output of the unsupervised learning unit; Using the enriched rule knowledge base, construct a first feature engineering and a second feature engineering, wherein the first feature engineering is the feature engineering of the unsupervised learning unit, and the second feature engineering is the feature engineering of the supervised learning unit; Using the unsupervised learning unit to identify abnormal traffic of unknown category; Using the supervised learning unit to identify abnormal traffic of known categories; Among them, the unsupervised learning unit includes: a first data parsing module, which is used to parse the data returned by the monitoring system into the first fields of each dimension and verify the legitimacy of the first fields; a first preprocessing module, which uses the average filling method to process missing values ​​of each first field; and standardizes the columns whose data differences are greater than the predetermined difference.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the abnormal traffic identification method according to claim 7 is implemented.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the abnormal traffic identification method according to claim 7.