A method for detecting abnormal behavior based on FP-growth algorithm and a model using the method

The abnormal behavior detection model combined with FP-growth algorithm and dynamic time planning realizes double verification and multi-dimensional analysis of user behavior, solves the problem that traditional algorithms cannot quickly update and capture complex behavioral characteristics, and improves the accuracy of detection. and response speed.

CN112800101BActive Publication Date: 2024-09-17CHINA TRUST REGISTRATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911106197.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-13
Publication Date
2024-09-17
Estimated Expiration
2039-11-13

AI Technical Summary

Technical Problem

Traditional abnormal behavior detection algorithms cannot quickly update the data model and cannot effectively capture complex user combination behavioral characteristics. As a result, the detection results are not intelligent enough and are mainly offline. They cannot meet the demand for rapid abnormal feedback in the production process.

Method used

It adopts the user normal behavior pattern mining model based on FP-growth algorithm and the user behavior sequence model of dynamic time planning, combined with the abnormal probability calculation model of Poisson distribution, to achieve double verification and multi-dimensional analysis of user behavior, and can be updated online at high frequency. Normal/abnormal ruleset.

Benefits of technology

It improves the accuracy of abnormal behavior detection, can update the rule set online in a timely manner, analyze user behavior in multiple dimensions, capture complex user combination behavior characteristics, and meet the need for rapid abnormal feedback in the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112800101B
    Figure CN112800101B
Patent Text Reader

Abstract

The present invention provides an abnormal behavior detection method based on an FP-growth algorithm and a model using the method. The abnormal behavior detection model comprises a user normal behavior pattern mining model based on FP-growth, a user behavior sequence model based on dynamic time planning, and an abnormal probability calculation model. The user normal behavior pattern mining model based on FP-growth and the user behavior sequence model based on dynamic time planning are combined to realize user normal behavior pattern mining, and the user's current operation is compared with the obtained normal behavior pattern library and user behavior sequence model library to obtain double verification, thereby improving the accuracy of judgment. At the same time, the abnormal total score of the current user behavior combination is calculated according to the abnormal probability calculation model of the number of occurrences based on Poisson distribution, thereby realizing multi-dimensional analysis of user behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a detection model, and in particular to an abnormal behavior detection method based on an FP-growth algorithm and a model applying the method. Background Art

[0002] In the prior art, detection is mainly achieved through statistical methods and clustering methods. The first method is to detect through statistical methods. Anything that deviates from the statistical distribution of the training set is considered an anomaly. For example, in the control chart model, the mean and standard deviation of each characteristic of the training set are calculated, and then a threshold is defined around the mean: k*standard deviation (k is an arbitrary coefficient usually between 1.5 and 3.0, depending on the conservativeness of the established algorithm). When applied, points that exceed the threshold in the positive or negative direction are suspected candidates for abnormal events. The second method is through clustering methods. The algorithm creates some clusters on the training set, and calculates the distance between the current data point and the cluster when applied. If the distance is higher than the given threshold, the data point is a suspected candidate for an abnormal event. Based on the distance measurement method and aggregation rules, people have designed different aggregation algorithms and created various clusters.

[0003] The implementation process of traditional abnormal behavior detection algorithms is mostly offline. It requires manual setting of rule sets based on pure experience, or static use of large amounts of historical data for data modeling, that is, regularly inputting historical data into the algorithm model and generating normal / abnormal rule sets after calculation.

[0004] Whether it is a statistical method or a clustering method, the model is relatively fixed: the average and standard deviation or cluster are calculated using a fixed training set, and then the distance is calculated. The above method is not suitable for the needs of rapid abnormal feedback in the actual production process, because in order to improve accuracy and reduce false alarm rate in the production process, the data model needs to be updated very frequently, which is beyond the reach of traditional algorithms. Moreover, traditional methods based on mathematical statistics can only analyze user behavior from a single dimension, and cannot well capture the complex user combination behavior characteristics, resulting in insufficient intelligence in the detection results. Summary of the invention

[0005] In order to overcome the defects and shortcomings of the current detection algorithms in the prior art, the present invention provides an abnormal behavior detection method based on the FP-growth algorithm, which mines a normal behavior pattern library and a user behavior sequence model library that can be updated regularly from two dimensions, and compares the user's current behavior set with the obtained normal behavior pattern library and user behavior sequence model library to obtain double verification and improve the accuracy of judgment; judge whether the user's current behavior is abnormal based on the above comparison results, and if the judgment result is an abnormal situation, calculate the total abnormal score of the current user behavior set.

[0006] The present invention further provides an abnormal behavior detection model based on the FP-growth algorithm, wherein the abnormal behavior detection model includes a user normal behavior pattern mining model based on FP-growth, a user behavior sequence model based on dynamic time planning, and an abnormal probability calculation model; the user normal behavior pattern mining model based on FP-growth and the user behavior sequence model based on dynamic time planning are combined to realize user normal behavior pattern mining, and the user's current operation is compared with the obtained normal behavior pattern library and user behavior sequence model library to obtain double verification, thereby improving the accuracy of judgment; at the same time, the total abnormal score of the current user behavior combination is calculated according to the abnormal probability calculation model of the number of occurrences based on the Poisson distribution, and the higher the abnormal score, the higher the abnormal degree of the user behavior at that moment, which deserves high priority attention from relevant personnel.

[0007] By analyzing the combined behavior of users, the normal / abnormal rule set can be updated through online high-frequency operations, solving the problem of fixed data models in traditional algorithms. At the same time, after the FP-growth algorithm mines frequent item sets (i.e., a set of operation behaviors with support greater than or equal to a manually preset threshold), the present invention combines mathematical statistics methods and dynamic time planning algorithms to perform multi-dimensional analysis, solving the problem that traditional algorithms can only analyze user behavior from a single dimension. Among them, the realization of user normal behavior pattern mining and abnormal behavior detection includes the following steps:

[0008] S1: cleaning and grouping of historical data;

[0009] S2: Mining normal user behavior patterns; the details are as follows:

[0010] S21: Mining the user's normal behavior pattern based on FP-growth to obtain a normal behavior pattern library, wherein the normal behavior pattern library includes a user's normal behavior pattern set and a group normal behavior pattern library, wherein the normal behavior pattern mining includes:

[0011] S211: Define the user's operation behavior as item p, construct an FP tree, and obtain the probability of each item p appearing and the associated item set.

[0012] S212: mining frequent item sets from the FP tree items. Frequent item sets whose support exceeds a preset threshold are regarded as a set of normal user behavior patterns and added to the group normal user behavior pattern library.

[0013] S3: Manually determine whether the normal user behavior pattern in step S2 is reasonable, and save a library of normal user behavior patterns that are determined to be reasonable;

[0014] S4: Creating and updating a user behavior sequence model library through the user behavior sequence clustering model of the dynamic time planning algorithm;

[0015] Compare the user's current behavior with the normal behavior pattern library and the user behavior sequence model library obtained in step S3 and step S4;

[0016] S5: Calculate the probability of a certain behavior of the user occurring a specific number of times through the abnormal probability calculation model;

[0017] S6: Online detection of user behavior, including behavior comparison and abnormality calculation; wherein the behavior comparison is to compare the user's current behavior set with the normal behavior pattern library in S2 and the user behavior sequence model library mined in step S4. If the user's current behavior set does not conform to the normal pattern in step S2 and step S4, the abnormality is calculated according to step S5, and the total abnormal score of the user's current behavior set is calculated by the abnormal probability calculation model. If the user's current behavior set conforms to the normal pattern in step S2 and step S4, it is judged as normal behavior and no subsequent processing is performed.

[0018] Furthermore, step S3 obtains the normal user behavior pattern library as follows: S31: manually judge the user normal behavior pattern set and the group normal user behavior pattern library mined in step S2, S32: save the reasonable model after manual judgment in step S31, set the task to be automatically executed, regularly use historical data to train and mine the model (repeat S1-S6), and update the normal / abnormal rule set online, wherein the rule set is the reasonable user normal behavior pattern set and the group normal user behavior pattern library.

[0019] Furthermore, the data grouping refers to grouping the original data according to the user name and the name of the group to which the user belongs.

[0020] Furthermore, constructing the FP tree in step S2101 further includes: step S2111: scanning the original user behavior database, obtaining the probability of occurrence of each item p and the associated item set, collecting the frequent item set and its support; S2112: creating the FP tree root node; S2113: mining frequent items from the FP tree.

[0021] Furthermore, the calculation formula of the abnormal probability in step S5 is as follows:

[0022]

[0023] Among them, i represents the user behavior element and k represents the number of occurrences.

[0024] Furthermore, step S4 of realizing the user behavior sequence model library further includes the following process: S41: defining the initial template distance matrix; S42: performing distance calculation on any two template time series in the historical data; when the distance is within the specified threshold, the common part of the two template time series is used as the user behavior sequence template and added to the user behavior sequence template library; S43: repeating the S42 process until the number of templates in the template library converges; S44: counting the current user behavior sequence templates and updating and maintaining them regularly.

[0025] A model for applying an abnormal behavior detection method comprises a user normal behavior pattern mining model based on FP-growth, a user behavior sequence model based on dynamic time planning, and an abnormal probability calculation model; wherein the user normal behavior pattern mining model based on FP-growth is used to obtain a user normal behavior pattern set and create a group normal user behavior pattern library; the user behavior sequence model based on dynamic time planning is used to create and update a user behavior sequence model library; the abnormal probability calculation model calculates the abnormality of the current user behavior set according to the comparison results of the user's current behavior set with the normal behavior pattern library and the user behavior sequence model library.

[0026] The user abnormal behavior detection method based on the FP-growth algorithm and the model using the method proposed in the present invention will analyze the user's combined behavior, and can update the normal / abnormal rule set through online high-frequency operation, thus solving the problem of fixed data model in traditional algorithms. At the same time, after the FP-growth algorithm mines frequent item sets, the present invention combines mathematical statistics methods and dynamic time planning algorithms to perform multi-dimensional analysis, thus solving the problem that traditional algorithms can only analyze user behavior from a single dimension, and realizing multi-dimensional analysis of user behavior. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A flowchart of mining normal user behavior patterns provided by the present invention;

[0028] Figure 2 This is a flowchart of user anomaly detection provided by the present invention. DETAILED DESCRIPTION

[0029] The specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. However, the present invention should be understood as not being limited to the embodiments described below, and the technical concept of the present invention can be implemented in combination with other known technologies or other technologies with the same functions as those known technologies.

[0030] In the description of the following specific embodiments, in order to clearly demonstrate the structure and working mode of the present invention, many directional words will be used for description, but the words "front", "rear", "left", "right", "outside", "inside", "outward", "inward", "axial", "radial" and the like should be understood as convenient terms and should not be understood as restrictive terms.

[0031] The relevant terms are explained as follows:

[0032] Data cleaning: Data cleaning is the process of reviewing and verifying data with the aim of removing duplicate information, correcting existing errors, and providing data consistency.

[0033] Frequent item set: a set of operation behaviors whose support is greater than or equal to the manually preset threshold;

[0034] p represents user behavior: the possible meanings of the elements are operations such as user login, user logout, and user viewing plain text information.

[0035] Rule set: refers to the set of normal user behavior patterns and the library of normal user behavior patterns in a group;

[0036] Groups: can be divided according to the user's operating identity or other classification criteria. For example, operators can be divided into one group, technicians can also be divided into one group, etc.;

[0037] Normal behavior pattern library: contains the user (individual) normal behavior pattern set and the group normal behavior pattern library.

[0038] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0039] Reference Figure 1 , the user normal behavior pattern mining process includes steps S1-S5 as follows:

[0040] 1. Step S1—Historical data cleaning and grouping

[0041] The raw data is based on each user's operation instruction at the finest level, such as "Zhang San decrypted and checked the ID card information". In order to mine the behavior patterns of each user and the behavior patterns of the group to which the user belongs, the raw data needs to be grouped by user name and group name, and stored for subsequent mining.

[0042] 2. Step S2—Mining normal user behavior patterns based on FP-growth

[0043] 2.1 Constructing FP-tree

[0044] (a) Scan the transaction database D once. Collect the set F of frequent items and their support. Sort F in descending order of support. The result is the frequent item table L.

[0045] (b) Create the root node of the FP-tree and mark it with "null". For each transaction Trans in D, execute: Select the frequent items in Trans and sort them in the order in L. Let the sorted frequent item list be [p|P], where p is the first element and P is the list of remaining elements. Call insert_tree([p|P],T). The process is executed as follows. If T has children N such that N.item-name = p.item-name, then the count of N is increased by 1; otherwise, create a new node N, set its count to 1, link it to its parent node T, and link it to the node with the same item-name through the node chain structure. If P is not empty, recursively call insert_tree(P,N).

[0046] (c) From the constructed FP-tree, we can see the frequency of occurrence of each item p and the associated item set, which can be used to find the normal behavior set in the next step.

[0047] 2.2 Mining frequent itemsets from FP-tree

[0048] This is done by calling FP_growth(FP_tree,null). The process is as follows:

[0049] For FP_growth(Tree,α)

[0050] (1) if Tree contains a single path P then

[0051] (2) for each combination of nodes in path P (denoted as β)

[0052] (3) Generate a pattern β∪α, whose support support = the minimum support of the nodes in β;

[0053] (4) else for each ai at the head of the Tree (scan in ascending order of support) {

[0054] (5) Generate a pattern β = ai ∪ α, whose support support = ai.support;

[0055] (6) Construct the conditional pattern base of β, and then construct the conditional FP-tree Treeβ of β;

[0056] (7)

[0057] (8) Call FP_growth(Treeβ,β);}end

[0058] Through the above construction of FP tree and mining frequent itemsets from FP tree, the final result is: by inputting the user database of each user and the group database of their group to perform FP-growth frequent itemset mining, we can finally obtain a normal behavior pattern library, which includes the relevant user normal behavior pattern set and group normal behavior pattern library, for subsequent judgment, that is, to manually judge whether the mined normal pattern is reasonable.

[0059] 3. Step S3: Manually judge whether the mined normal pattern is reasonable

[0060] 3.1 Manually judge the user normal behavior pattern set and group normal behavior pattern obtained by mining the user normal behavior pattern based on FP-growth.

[0061] 3.2 Save the reasonable model after manual judgment, and then automatically use historical data for training and mining on a regular basis to ensure the timeliness and accuracy of the model. Through this step, the normal / abnormal rule set is continuously updated online.

[0062] 4. Step S4 - User behavior sequence clustering model based on dynamic time planning algorithm

[0063] It is easy to know that the operations performed by a single user during each login to the system can be described as a template time series: S = {a1, a2, ..., an}; using the time series of each user's login to the system in the historical data as the input set S = {S1, S2, ..., Sm}, (m represents the total number of logins of all users), the input set S can be clustered through DTW dynamic time planning to obtain a normal user behavior sequence set, where the DTW dynamic time planning in this article is as follows:

[0064] (1) Define the initial template distance matrix distMatrix:

[0065]

[0066] (2) For any two template time series Si = {a1, a2, …, an} in the historical data,

[0067] Sj = {a2, a1, ..., a4}, perform distance calculation; when the distance is within the specified threshold, the common part of Si and Sj is used as the user behavior sequence template and added to the user behavior sequence template library;

[0068] (3) Repeat process (2) until the number of templates in the template library converges;

[0069] (4) Count the current user behavior sequence template and update and maintain it regularly.

[0070] 5. Step S5——Abnormal probability calculation model based on Poisson distribution

[0071] It is easy to know that the user's behavior is a finite set A = {a1, a2, ..., aN}; then the user's behavior random variable at a certain moment must be any element ai in A, and the user's behavior Action(t) at a certain moment t conforms to the multinomial distribution. The number of occurrences of each behavior in the user's historical data is summarized. According to Bernoulli's law of large numbers, as the total number of user behaviors n increases, the frequency of event ai sum(ai) / n stabilizes and its probability of occurrence pi; thus, the probability of occurrence P = {p1, p2, .., pN} corresponding to each behavior A = {a1, a2, ..., aN} can be statistically obtained.

[0072] With P = {p1, p2, .., pN} as input, we can construct a Poisson distribution to calculate the probability value of each behavior ai of any user during login, with the cumulative number of occurrences k in the current period. The Poisson probability calculation formula is:

[0073]

[0074] Among them, λ can be obtained from historical data: λ=nP (n: number of historical data; P: probability of ai occurring).

[0075] On this basis, we can get the probability calculation formula that the cumulative number of times the user performs operation ai > k in the current period is:

[0076]

[0077] The abnormal probability calculation model is used to calculate the total abnormal score of the user's current behavior set.

[0078] Figure 2 The present invention provides a flowchart for detecting abnormal user behavior, which describes in detail the process of online detection of real-time user behavior.

[0079] After the above process, we can obtain: a normal behavior pattern library based on FP-growth, an abnormal probability calculation model based on the Poisson distribution, and a user behavior sequence model library obtained by mining based on dynamic time planning. We use these three models as a benchmark to perform online detection of real-time user behavior. The online detection is divided into behavior comparison and abnormality calculation processes.

[0080] The anomaly detection process first requires user behavior comparison to determine whether it conforms to the established normal user behavior pattern library or user behavior sequence model library. If both conform to the normal pattern, no processing is done on the user behavior; if it is determined that the user behavior does not conform to the normal pattern, it is necessary to calculate the abnormal probability of the user behavior and calculate the abnormal score of the user behavior.

[0081] The following is a detailed description of behavior comparison and abnormality calculation. Behavior comparison: When the user logs in, the behavior is monitored and saved. When the user performs each operation, the user's current operation set is compared with the normal behavior pattern library based on FP-growth. At the same time, the user's current operation set is compared with the user behavior sequence model library obtained by mining based on dynamic time planning. Double verification improves accuracy. When it is found that the user's behavior combination is not in the frequent item set of his personal normal behavior and is not in the frequent item set of his group's normal behavior, the abnormality calculation process begins.

[0082] Abnormality calculation process: According to different user identities, groups, and types of operations, we can establish an abnormality mapping table for abnormal user behaviors based on human experience. This table will set different abnormalities according to user identities, groups, and types of operations. At the same time, the total abnormality score of the current user behavior combination is calculated based on the Poisson distribution-based abnormal probability calculation model. The higher the abnormality score, the higher the abnormality degree of the user behavior at that moment, and it deserves the high priority attention of relevant personnel. It can enable technical personnel to handle abnormal situations more timely and effectively.

[0083] A model for applying an abnormal behavior detection method includes a user normal behavior pattern mining model based on FP-growth, a user behavior sequence model based on dynamic time planning, and an abnormal probability calculation model; wherein the user normal behavior pattern mining model based on FP-growth is used to obtain a user normal behavior pattern set and create a group normal user behavior pattern library; the user behavior sequence model based on dynamic time planning is used to create and update the user behavior sequence model library; the abnormal probability calculation model calculates the abnormality of the current user behavior set based on the comparison results of the user's current behavior set with the normal user behavior pattern library and the user behavior sequence model library. The abnormal probability calculation model determines that the current user behavior set is abnormal, and the abnormal probability calculation model will further calculate the abnormal total score of the user's current behavior set.

[0084] A large amount of sensitive data is stored in the business systems of companies in different industries and fields. It is encrypted by default and displayed to business system users in the form of masks. Only when necessary can authorized users view sensitive data in plain text. In order to intelligently analyze the actions of business system users to access sensitive data and promptly detect abnormal behaviors (such as viewing a large amount of plain text sensitive data in a short period of time), the company uses a user abnormal behavior detection model based on the FP-growth algorithm to perform real-time analysis of user operation logs (that is, user behavior sets) and monitor their behavior trajectories throughout the process. This detection method and model can discover normal behavior patterns and identify potential abnormal behaviors. It solves the problem in traditional data protection work that after allocating permissions once, it is impossible to dynamically track whether authorized users have violated regulations. It helps companies to protect data more intelligently in the data usage link.

[0085] Compared with the prior art, the present invention achieves the following effects: First, based on the user abnormal behavior detection model of the FP-growth algorithm, the user's combined behavior is analyzed, and the normal / abnormal rule set can be updated through online high-frequency calculations, solving the problem of fixed data models in traditional algorithms; Second, after the FP-growth algorithm mines frequent item sets, it combines mathematical statistics methods and dynamic time planning algorithms to perform multi-dimensional analysis, thereby realizing multi-dimensional analysis of user behavior.

Claims

1. A method for detecting abnormal behavior based on FP-growth algorithm, characterized in that: The abnormal behavior detection method realizes mining of normal user behavior patterns and detecting abnormal user behavior and comprises the following steps: S1: cleaning and grouping of historical data; S2: Mining normal user behavior patterns; details are as follows: S21: mining the normal behavior patterns of users based on FP-growth to obtain a normal behavior pattern library, wherein the normal behavior pattern library includes a user normal behavior pattern set and a group normal behavior pattern library; S3: Manually determine whether the normal user behavior pattern in step S2 is reasonable, and save a library of normal user behavior patterns that are determined to be reasonable; S4: Create and update the user behavior sequence model library through the user behavior sequence clustering model of the dynamic time planning algorithm; S5: Calculate the probability of a user's behavior occurring a certain number of times through the abnormal probability calculation model; S6: Online detection of user behavior, including behavior comparison and abnormality calculation; First, the user behavior needs to be compared to determine whether it conforms to the established normal user behavior model library or user behavior sequence model library. If both conform to the normal model, no processing will be done on the user behavior. If the user behavior is judged not to conform to the normal model, the abnormal probability of the user behavior needs to be calculated, and the abnormal score of the user behavior, i.e., the abnormality degree calculation, needs to be calculated. Behavior comparison: When the user logs in, the behavior is monitored and saved. When the user performs each operation, the user's current operation set is compared with the normal behavior pattern library based on FP-growth, and the user's current operation set is compared with the user behavior sequence model library obtained by mining based on dynamic time planning. The accuracy is improved through double verification. When it is found that the user's behavior combination is not in the frequent item set of his personal normal behavior and is not in the frequent item set of his group's normal behavior, the abnormality calculation process begins. Abnormality calculation process: According to the different user identities, groups, and types of operations, an abnormality mapping table of user abnormal behaviors can be established based on human experience. The table will set different abnormalities according to the user identity, group, and operation type. At the same time, the total abnormality score of the current user behavior combination is calculated based on the abnormal probability calculation model based on the number of occurrences of Poisson distribution. The higher the abnormality score, the more abnormal the user behavior at that moment is, and it deserves high priority attention from relevant personnel.

2. The abnormal behavior detection method based on FP-growth algorithm according to claim 1, characterized in that: The mining of normal user behavior patterns in step S21 further includes: S211: define the user's operation behavior as item p, construct an FP tree, and obtain the probability of each item p appearing and the associated item set; S212: mining frequent item sets from the FP tree items. Frequent item sets whose support exceeds a preset threshold are regarded as a set of normal user behavior patterns and added to the group normal behavior pattern library.

3. The abnormal behavior detection method based on FP-growth algorithm according to claim 2, characterized in that: The user abnormal behavior detection method further comprises after step S4: Compare the user's current behavior set with the normal behavior pattern library and the user behavior sequence model library obtained in step S2 and step S4; Among them, if the user's current behavior set does not conform to the normal pattern in step S2 and step S4, the abnormality degree is calculated according to step S5, and the total abnormal score of the user's current behavior set is calculated by the abnormal probability calculation model; if the user's current behavior set conforms to the normal pattern in step S2 and step S4, it is judged as normal behavior, and step S5 and step S6 are not performed.

4. The abnormal behavior detection method based on FP-growth algorithm according to claim 1, characterized in that: Obtaining a reasonable normal user behavior pattern in step S3 includes the following steps: S31: Manually judge the user normal behavior pattern set and group normal behavior pattern library mined in step S2. S32: Save the reasonable model after manual judgment in step S31, set the task to be automatically executed, regularly train the model with historical data, repeat S1 to S6, and update the normal / abnormal rule set online, where the rule set is the user's normal behavior pattern set and the group's normal behavior pattern library.

5. The abnormal behavior detection method based on FP-growth algorithm according to claim 1, characterized in that: The grouping of data in step S1 refers to grouping the original data according to the user name and the name of the group to which the user belongs.

6. The abnormal behavior detection method based on FP-growth algorithm according to claim 2, characterized in that: The step S211 of constructing the FP tree further includes: S2111: Scan the original user behavior database to obtain the probability of occurrence of each item p and the associated item set; S2112: Create FP tree root node; S2113: Mining frequent items from FP-tree.

7. The abnormal behavior detection method based on FP-growth algorithm according to claim 1, characterized in that: The probability in step S5 can be calculated by the following formula: Among them, i represents the user behavior element and k represents the number of occurrences.

8. The abnormal behavior detection method based on FP-growth algorithm according to claim 1, characterized in that: Step S4 of implementing the user behavior sequence model library may further include the following process: S41: define the initial template distance matrix; S42: Calculate the distance between any two template time series in the historical data; when the distance is within a specified threshold, use the common part of the two template time series as the user behavior sequence template and add it to the user behavior sequence template library; S43: repeat the S42 process until the number of templates in the template library converges; S44: Count the current user behavior sequence template and update and maintain it regularly.

9. A model using the abnormal behavior detection method based on the FP-growth algorithm according to any one of claims 1 to 8, characterized in that: The abnormal behavior detection model includes the user normal behavior pattern mining model based on FP-growth, the user behavior sequence model based on dynamic time planning, and the abnormal probability calculation model; Wherein, the user normal behavior pattern mining model based on FP-growth is used to obtain a user normal behavior pattern set and create a group normal behavior pattern library; The user behavior sequence model based on dynamic time planning is used to create and update the user behavior sequence model library; the abnormal probability calculation model calculates the abnormality of the current user behavior based on the comparison results of the user's current behavior set with the normal behavior pattern library and the user behavior sequence model library.

10. The model of the abnormal behavior detection method based on the FP-growth algorithm according to claim 9, characterized in that: The abnormal probability calculation model calculates the total abnormal score of the user's current behavior set.