Target situation relationship mining method based on FP-Growth correlation analysis algorithm
Through the FP-Growth correlation analysis algorithm and neural network model, the limitations of relying on expert rules in air situation target correlation analysis are solved, and more accurate and flexible situation data analysis is achieved, which improves the universality of data mining.
Patent Information
- Application Number
- CN202410933038.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The existing air situation target correlation analysis method relies on expert rules, has limitations and uncertainties in subjective judgments of individual experience, and lacks real-time adjustment and adaptability, resulting in lag and inaccurate analysis results.
The target situation relationship mining method based on FP-Growth correlation analysis algorithm is adopted, and the transaction database is preprocessed and constructed, and the FP-Growth algorithm is used to mine the correlation situation in the target situation transaction table, and the target is predicted in combination with the neural network model. intention to act.
Improve the accuracy and versatility of air situation data analysis, providing a reliable solution to extract target situation correlation relationships and improve the working methods of existing situation data correlation analysis.
Smart Images

Figure CN118897852A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of situation data analysis and mining, and in particular relates to a target situation relationship mining method based on an FP-Growth association analysis algorithm. Background Art
[0002] Aerial target situation analysis involves real-time monitoring, analysis, and evaluation of aerial targets. The field of aerial target situation analysis is highly complex and uncertain. Targets are often characterized by high-speed maneuvers, multiple directions, and multiple levels. They are also affected by multiple factors such as weather, terrain, and electromagnetic environment.
[0003] The existing air situation target association analysis method is based on expert rules. This method usually integrates professional knowledge or experience to form a complete set of rule systems. This system has multiple dimensions for describing and defining the characteristics and behavior patterns of targets. Although the association analysis technology based on expert rules has certain accuracy and reliability, it still has certain limitations and uncertainties. This method relies heavily on the personal experience and subjective judgment of experts. Different experts may have different views on the basis of formulating rules, which leads to differences and uncertainties in the analysis results. Secondly, it lacks the ability to adjust and adapt in real time during use. In the rapidly changing air situation, the analysis results may be delayed and inaccurate. Summary of the invention
[0004] The purpose of the present invention is to utilize the FP-Growth association analysis algorithm to mine the situation association relationship of air targets and predict the confrontation intention of the targets under the current situation.
[0005] In order to achieve the above object, the present invention adopts a target situation relationship mining method based on the FP-Growth association analysis algorithm, and the technical solution of the method mainly comprises the following steps:
[0006] S1, preprocessing the original situation data and constructing the transaction database;
[0007] S2, training the target situation recognition model based on expert rule-labeled data;
[0008] S3, using the target situation recognition model to identify the target situation in the processed original situation data, and constructing a target situation transaction data set based on the situation, and the data set is used as the input of the FP-Growth association relationship mining algorithm;
[0009] S4, using FP-Growth algorithm to mine the associated situation in the target situation transaction table;
[0010] S5, output the association relationship of the other party's target under the target situation association relationship.
[0011] Furthermore, the data preprocessing stage purifies, removes noise, processes consistency, and abstractly describes the collected data to eliminate missing, duplicate, similar, and inconsistent data.
[0012] Furthermore, the target situation recognition model uses a method based on a neural network model to predict and evaluate the action intention information of the target based on the above-mentioned primary situation data. The method first constructs an action intention label;
[0013] (1) Constructing a model training data set: The target situation data is sequence information. For each target, the target situation data is prepared in chronological order. At the tth moment, the target situation data is represented by a tuple:
[0014] S t ={c 1 ,c1,c3,...}
[0015] Among them, c 1 ,c 2 ,c 3 They are different features of the target. For a certain target, its features near time t are integrated together to represent the global state of the target at time t:
[0016] x t ={s t-2 ,s t-1 ,s t ,s t+1 ,s t+2}
[0017] For the global state of the target at time t, the current state label is determined by manual labeling, and y t Indicates that, using this manual labeling method, a part of the above data set is selected for labeling to obtain the labeled training data set:
[0018] D = {x t ,y t ,}
[0019] (2) Constructing and training a recurrent neural network
[0020] The target intention prediction model is based on a recurrent neural network, which includes a physical RNN unit that is expanded according to time steps. At each time step, it receives the input of the current time step and the output of the previous time step, and then calculates the output of the current time step.
[0021] After the RNN unit gives a situation prediction based on the current state and the historical state, and the optimal situation of the current target is input, a fully connected layer is added to the final vector output. The output of this layer is the same as the number of situation intentions to be predicted. The fully connected layer is followed by an input softmax activation function to generate the probability of each target situation intention;
[0022] The training of this neural network is based on artificially constructed data sets, and batch data training and stochastic gradient descent algorithms are used during training;
[0023] (3) Model prediction: Use the trained situation intention recognition model to identify the target intention in the original data.
[0024] Furthermore, the implementation process of the FP-Growth algorithm includes two parts: constructing the FP-tree and mining the FP-tree to obtain frequent itemsets.
[0025] Furthermore, the specific process of constructing FP-tree is as follows:
[0026] (1) Obtaining the frequent item list FList: First, traverse the transaction database T, count the frequencies of all data items in the transaction database, delete the data items that do not meet the minimum support count, and sort the data items in descending order of frequency to obtain the frequent item list FList;
[0027] (2) Create FP-tree: Create FP-tree with Null as the root node, and process each transaction in the transaction database T as follows: sort according to FList, delete the data items in the transaction that do not meet the minimum support; insert the sorted transactions into the FP-tree, share the path if necessary, and record the number of nodes;
[0028] The root node of the FP-tree is null and does not represent any item. Next, the transactional database is scanned a second time to start building the FP-tree: The first record<f,c,a,m,p> Corresponding to the first branch <(f:1), (c:1), (a:1), (m:1), (p:1)> in the FP-tree, f, c, a, m, p are the target situation elements;
[0029] Similarly, insert the remaining sorted transactions into the FP-tree to obtain the final FP-tree;
[0030] The FList list corresponds to the node where the data item first appears in the FP-tree. In order to facilitate traversal of the entire tree, a header table of items is established. The first column of this table is the frequent items arranged in descending order, and the second column is a pointer to the node position of the frequent item in the FP-tree. Each node in the FP-tree also has a pointer to the node with the same name.
[0031] Furthermore, the steps of mining FP-tree are as follows:
[0032] With α as the suffix pattern and the initial value as Null, the FP-Growth algorithm is called to mine the FP-tree: if the FP-tree is a single branch, the nodes on the branch with a count less than the minimum support are removed, and any set of the remaining nodes on the branch is the prefix pattern β, and β and α are combined to obtain all corresponding frequent item sets;
[0033] Otherwise, increase α, α = α∪{Ii}, Ii is the last item of FList, i.e. the item with the smallest support count, then construct the conditional pattern base and conditional FP-tree of suffix pattern α, and then call FP-Growth algorithm to mine the conditional FP-tree;
[0034] Start mining frequent patterns in the FP-tree from the bottom of the header table: There are two node chains ending with p in the FP-tree, namely <(:4), (c:3), (a:3), (m:2), (p:2)> and <(c:1), (b:1), (p:1)>. The first node chain represents the target situation list.<f,c,a,m,p> It appears twice in the database; although<f,c,a> Appeared 3 times in the first node chain, a single situation <f>They appear 4 times, but they only appear twice together with p, so in the conditional FP-tree, <(f:4), (c:3), (a:3), (m:2), (p:2)> is recorded as <(f:2), (c:2), (a:2), (m:2), (p:2)>;
[0035] Similarly, the second node chain represents the target situation list<c,b,p> It only appears once in the database. The prefix node chain of p <(f:2), (c:2), (a:2), (m:2)> and <(c:1), (b:1)> are called the conditional pattern base of p. The conditional pattern base of p is used as the new target situation transaction database. Each row stores a prefix node chain of p. According to the process of building FP-tree, the support of each target situation in each row record is calculated, and then arranged in descending order of support. Only frequent item sets are retained, and those items below the support threshold are eliminated to establish a new FP-tree. This tree is called the conditional FP-tree of p:
[0036] There are two node chains ending with m in the FP-tree, namely <(f:4), (c:3), (a:3), (m:2)> and <(f:4), (c:3), (a:3), (b:1), (m:1)>. Therefore, the conditional pattern base of m is <(f:2), (c:2), (a:2)> and <(f:1), (c:1), (a:1), (b:1)>. The conditional pattern base of m is used as the new transaction database, and each row stores a prefix node chain of m. The support of each target situation in each row is calculated, and then it is arranged in descending order of support. Only frequent item sets are retained, and those items below the support threshold are eliminated to establish the conditional FP-tree of m.
[0037] Mining out other conditional FP-trees in turn.
[0038] The beneficial effect of the present invention is that the present invention provides a reliable solution for extracting target situation association relationships in the process of analyzing and mining massive situation data, so as to improve the working mode of existing situation data association analysis and improve the versatility of data analysis and mining. The FP-Growth algorithm is to prune, sort and compress transactions in the transaction database and store them in a tree structure (FP-tree). This technical solution optimizes the data processing process based on actual business data, constructs different transaction libraries for different analysis targets, and provides a relatively complete solution for extracting target data association relationships in air situation. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 The present invention uses FP-Growth algorithm to extract correlation relationship from situation data;
[0040] Figure 2 Target situation recognition model;
[0041] Figure 3 FP-tree diagram of the first data;
[0042] Figure 4 FP-tree diagram of all data;
[0043] Figure 5 FP-tree;
[0044] Figure 6 Conditional FP-tree of p;
[0045] Figure 7 Conditional FP-tree of m;
[0046] Figure 8 FP-Growth algorithm flow chart. DETAILED DESCRIPTION
[0047] The present invention is further described below in conjunction with the accompanying drawings, but the present invention is not limited in any way. Any changes or substitutions made based on the teachings of the present invention belong to the protection scope of the present invention.
[0048] The association mining of aerial target situation data is to find strong association rules from the massive amount of aerial target situation data collected, and to find out the useful knowledge contained in the data through analysis and extraction. Its process mainly includes the following three stages: data preprocessing, prediction and evaluation of relevant situation data, and association rule mining and forming analysis conclusions. Among them: (1) The data preprocessing stage mainly purifies, denoises, processes consistency, and abstractly describes the collected data to eliminate missing, repeated, similar, and inconsistent data; (2) In the situation data prediction and evaluation process stage, the manual labeling process is mainly used to determine the relevant situation labels as a supplement to the data field, which is used as the input of the association analysis algorithm; (3) In the association data analysis stage, the data is first stored in a mode suitable for association rule mining. Different methods need to be used for processing according to different mining rules. The specific implementation methods are as follows.
[0049] Target situation dataset preprocessing
[0050] The original data set is sorted, and the target situation data is processed into the following tuple form based on a single target: [year ID, month ID, week ID, time ID, model ID, type ID, speed ID, direction ID, party ID, region ID]. The meaning of each field in the tuple is described as follows.
[0051] (1) Year ID indicates the year in which the target appears, such as 2021, 2022, 2023, etc.;
[0052] (2) Month ID indicates the month in which the target appears, with 1-12 representing each month;
[0053] (3) Time ID indicates the time when the target appears. It uses 0-23 to represent each moment. The minimum time unit for analysis is hour.
[0054] (4) Model ID indicates the specific model of the target, such as unknown, F16, etc.
[0055] (5) Type ID indicates the specific type of the target, such as unknown, drone, ship, etc.;
[0056] (6) Speed ID indicates the current speed of the target: full speed, high speed, cruising, low speed, stationary, etc.
[0057] (7) Direction: due north, northeast, due east, southeast, etc.;
[0058] (8) Party affiliation: Unknown, Party A, Party J, Party K, Party P, Party T, etc.;
[0059] (9) Area ID: Area A, Area B, Area C, Area D, Area E, H Airport, R Facility, etc.;
[0060] This tuple constitutes a piece of data describing the target information. Since the original data set involves a large number of targets and a long time span, a large number of tuples of target situation information can be generated in the above manner, providing data support for subsequent mining algorithms.
[0061] First, remove irregular data such as duplicate values, missing values, and outliers in the target situation data to ensure the integrity and consistency of the data, so as to avoid the interference of these irregular data on the results of association rule mining and improve the accuracy of mining.
[0062] Target situation recognition model
[0063] The above data are constructed only based on the original situation data, which mainly includes the target's appearance time, area, maneuver status and target type, etc., and lack more advanced target situation information, such as the target's action status. Here, a method based on a neural network model is used to predict and evaluate the target's action intention and other information based on the above primary situation data. This method first constructs action intention labels, such as reconnaissance, intelligence collection, patrol and vigilance, support and guarantee, transfer and deployment, electronic interference, etc.
[0064] (1) Construct a model training data set. The target’s situation data is sequence information. For each target, the target’s situation data is prepared in chronological order. At the tth moment, the target’s situation data can be expressed by the above tuple as:
[0065] s t ={c1,c1,c3,...}
[0066] Among them, c 1 ,c 2 ,c 3 They are different features of the target, such as type, speed, area, etc. For a certain target, we integrate its features near time t to represent the global state of the target at time t:
[0067] x t ={s t-2 ,s t-1 ,s t ,s t+1 ,s t+2 }
[0068] For the global state of the target at time t, the current situation label is determined by manual labeling, such as reconnaissance, intelligence collection, patrol and alert, support and guarantee, transfer and deployment, electronic interference, etc., and y t Indicates that, using this manual labeling method, a part of the above data set is selected for labeling to obtain the labeled training data set:
[0069] D = {x t ,y t ,}
[0070] (2) Construct a recurrent neural network and train it.
[0071] The prediction model of target intention is based on the recurrent neural network, which is widely used in a variety of time series information processing. This network is a very classic sequence-oriented model that can model natural language sentences or other time series data. Its model has only one physical RNN unit, which can be expanded according to time steps. At each time step, it receives the input of the current time step and the output of the previous time step, and then calculates the output of this time step.
[0072] The structure of the network is as follows Figure 2 As shown in the figure, after the RNN unit gives a situation prediction based on the current state and the historical state and the optimal situation input of the current target, a fully connected layer is added to the final vector output. The output of this layer is the same as the number of situation intentions to be predicted. The fully connected layer is followed by an input softmax activation function to generate the probability of each target situation intention.
[0073] The training of the neural network is based on the artificially constructed data set in the above step (1), and batch data training and stochastic gradient descent algorithm are used during training.
[0074] (3) Model prediction: Use the trained situation intention recognition model to identify the target intention in the original data.
[0075] Target association mining
[0076] The target situation data is converted into a transaction database according to the time dimension. Each transaction represents a target situation data set, and each target situation data set contains multiple target situations. This facilitates the FP-Growth algorithm to mine frequent itemsets. The target situation transaction data sample is shown in the following table.
[0077] Table 1 Target situation transaction data sample
[0078] Target situation transaction ID Target situation element 001 F,a,c,d,g,i,m,p 002 A,b,c,f,l,m,o 003 B,f,h,j,o 004 B,c,k,s,p 005 A,f,c,e,l,p,m,n
[0079] Secondly, the target situation data is converted and formatted to make it suitable for processing by the FP-Growth algorithm. The target situation is encoded and the transaction database is constructed. The target situation encoding table is shown in Table 1.
[0080] In addition, feature selection and dimensionality reduction are performed on the target situation data to reduce the complexity and redundancy of the data and improve the efficiency of the algorithm. For example, low-frequency items are removed, similar items are merged, etc., the number of frequent item sets is reduced, and the mining process is accelerated.
[0081] The basic idea of the FP-Growth (Frequent-Pattern Growth) algorithm is to prune, sort, and compress transactions in the transaction database T and store them in a tree structure (FP-tree). Compared with the classic Apriori algorithm, the efficiency has been improved by nearly an order of magnitude. The basic concepts of FP-Growth are as follows:
[0082] FP tree: FP tree is the core of the whole algorithm. An FP tree consists of two parts: header table and tree. Header table: stores frequent items and the id of the node where the item first appears in the tree. This program stores an ordered list of all the node ids of the item in the tree.
[0083] Tree: The structure of a tree is relatively complex. It includes items, item counts, parent node ids, lists of child node ids, and the next node id with the same item. This program stores this information in the item header table. The two metrics of FP-Growth algorithm support (s) and confidence (c) are defined as follows:
[0084]
[0085] Where N is the total number of transactions, and X and Y are disjoint item sets.
[0086] The implementation process of the FP-Growth algorithm of the present invention mainly includes two parts: constructing an FP-tree and mining the FP-tree to obtain frequent item sets. The specific process of the FP-Growth algorithm is as follows:
[0087] (1) Obtain the frequent item list FList. First, traverse the transaction database T. The work that needs to be completed is: count the frequency of all data items in the transaction database, delete the data items that do not meet the minimum support count, and sort the data items in descending order of frequency to obtain the frequent item list FList as shown in Table 2.
[0088] Table 2FList
[0089] Target situation transaction ID Target situation element 001 f,c,a,m,p 002 f,c,a,b,m, 003 f,b 004 c,b,p 005 f,c,a,m,p
[0090] (2) Create an FP-tree. Create an FP-tree with Null as the root node, and process each transaction in the transaction database T as follows: sort according to FList, delete the data items in the transaction that do not meet the minimum support; insert the sorted transactions into the FP-tree, share the path if it can, and record the number of nodes.
[0091] refer to Figure 3 , the root node of the FP-tree is null and does not represent any item. Next, the transactional database is scanned a second time to start building the FP-tree: The first record<f,c,a,m,p> Corresponding to the first branch in the FP-tree <(f:1), (c:1), (a:1), (m:1), (p:1)>:
[0092] Similarly, insert the remaining sorted transactions into the FP-tree to obtain the final FP-tree as follows Figure 4 As shown. The FList list corresponds to the node where the data item first appears in the FP-tree. In order to facilitate traversal of the entire tree, a header table of items is established. The first column of this table is the frequent items in descending order. The second column is a pointer to the node position of the frequent item in the FP-tree. Each node in the FP-tree also has a pointer to the node with the same name, such as Figure 5 shown.
[0093] (3) Mining FP-tree. Take α as the suffix pattern and the initial value is Null. Call the FP-Growth algorithm to mine the FP-tree: If the FP-tree is a single branch, remove the nodes on the branch with a count less than the minimum support. Any set of remaining nodes on the branch is the prefix pattern β. The union of β and α can obtain all corresponding frequent item sets.
[0094] Otherwise, increase α, α=α∪{Ii}, Ii is the last item of FList, that is, the item with the smallest support count, and then construct the conditional pattern base and conditional FP-tree of the suffix pattern α, and then call the FP-Growth algorithm to mine the conditional FP-tree.
[0095] Start mining frequent patterns in the FP-tree from the bottom of the header table. There are two node chains ending with p in the FP-tree, which are <(:4), (c:3), (a:3), (m:2), (p:2)> and <(c:1), (b:1), (p:1)>. The first node chain represents the target situation list.<f,c,a,m,p> It appears twice in the database. It should be noted that although<f,c,a> Appeared 3 times in the first node chain, a single situation <f>They appear 4 times, but they appear together with p only 2 times, so <(f:4), (c:3), (a:3), (m:2), (p:2)> is recorded as <(f:2), (c:2), (a:2), (m:2), (p:2)> in the conditional FP-tree.
[0096] Similarly, the second node chain represents the target situation list<c,b,p> It only appears once in the database. We call p's prefix node chain <(f:2), (c:2), (a:2), (m:2)> and <(c:1), (b:1)> the conditional pattern base of p. The conditional pattern base of p is used as the new target situation transaction database. Each row stores a prefix node chain of p. According to the process of building FP-tree in Section 2, the support of each target situation in each row is calculated, and then arranged in descending order of support. Only frequent item sets are retained, and those items below the support threshold are eliminated to build a new FP-tree. This tree is called p's conditional FP-tree:
[0097] from Figure 6 It can be seen that there is only one node (c:3) in the conditional FP-tree of p that meets the support threshold, so the frequent itemsets ending with p are (p:3) and (cp:3). Since the conditional pattern base of c is empty, there is no need to build the conditional FP-tree of c.
[0098] refer to Figure 7 , there are two node chains ending with m in the FP-tree, namely <(f:4), (c:3), (a:3), (m:2)> and <(f:4), (c:3), (a:3), (b:1), (m:1)>. So the conditional pattern base of m is <(f:2), (c:2), (a:2)> and <(f:1), (c:1), (a:1), (b:1)>. We use the conditional pattern base of m as a new transaction database, storing a prefix node chain of m in each row, calculating the support of each target situation in each row, and then sorting them in descending order of support, retaining only frequent item sets, removing those items below the support threshold, and establishing the conditional FP-tree of m:
[0099] Similarly, other conditional FP-trees can be mined. The FP-Growth algorithm process is as follows: Figure 8 shown.
[0100] The beneficial effects of the present invention are:
[0101] The present invention provides a reliable solution for extracting target situation association relationships in the process of analyzing and mining massive situation data, so as to improve the existing working mode of situation data association analysis and improve the versatility of data analysis and mining. The FP-Growth algorithm prunes, sorts and compresses transactions in the transaction database and stores them in a tree structure (FP-tree). This technical solution optimizes the data processing process based on actual business data, builds different transaction libraries for different analysis targets, and provides a relatively complete solution for extracting target data association relationships in air situation.
[0102] As used herein, the word "preferred" is intended to be used as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as being more advantageous than other aspects or designs. On the contrary, the use of the word "preferred" is intended to present concepts in a specific way. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X employs A or B" means any one of the naturally inclusive permutations. That is, if X employs A; X employs B; or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing examples.
[0103] Moreover, although the present disclosure has been shown and described with respect to one or implementations, those skilled in the art will think of equivalent variations and modifications based on the reading and understanding of this specification and the accompanying drawings. The present disclosure includes all such modifications and variations, and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the above-mentioned components (e.g., elements, etc.), the terms used to describe such components are intended to correspond to any component (unless otherwise indicated) that performs the specified function of the component (e.g., it is functionally equivalent), even if the structure is not equivalent to the disclosed structure that performs the function in the exemplary implementation of the present disclosure shown herein. In addition, although the specific features of the present disclosure have been disclosed with respect to only one of several implementations, such features can be combined with one or other features of other implementations that may be desirable and advantageous for a given or specific application. Moreover, insofar as the terms "including", "having", "containing" or their variations are used in specific embodiments or claims, such terms are intended to be included in a manner similar to the term "comprising".
[0104] The functional units in the embodiments of the present invention may be integrated into a processing module, or each unit may exist physically separately, or multiple or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc. The above-mentioned devices or systems may execute the storage method in the corresponding method embodiment.
[0105] To sum up, the above embodiment is an implementation mode of the present invention, but the implementation mode of the present invention is not limited by the embodiment. Any other changes, modifications, substitutions, combinations, and simplifications that deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.< / f> < / f>
Claims
1. A target situation relationship mining method based on FP-Growth association analysis algorithm, characterized in that: The following steps are involved: S1, preprocessing the original situation data and constructing the transaction database; S2, training the target situation recognition model based on expert rule-labeled data; S3, using the target situation recognition model to identify the target situation in the processed original situation data, and constructing a target situation transaction data set based on the situation, and the data set is used as the input of the FP-Growth association relationship mining algorithm; S4, using FP-Growth algorithm to mine the associated situation in the target situation transaction table; S5, output the association relationship of the other party's target under the target situation association relationship.
2. The target situation relationship mining method based on the FP-Growth association analysis algorithm according to claim 1 is characterized in that: The data preprocessing stage purifies, removes noise, processes consistency, and abstractly describes the collected data to eliminate missing, duplicate, similar, and inconsistent data.
3. The target situation relationship mining method based on the FP-Growth association analysis algorithm according to claim 1 is characterized in that: The target situation recognition model adopts a method based on a neural network model to predict and evaluate the action intention information of the target based on the above-mentioned primary situation data. The method first constructs an action intention label; (1) Constructing a model training data set: The target situation data is sequence information. For each target, the target situation data is prepared in chronological order. At the tth moment, the target situation data is represented by a tuple: s t ={c1,c2,c3,...} Among them, c1, c2, and x3 are different features of the target. For a certain target, its features near time t are integrated together to represent the global state of the target at time t: x t ={s t―2 ,s t―1 ,s t ,s t+1 ,s t+2 } For the global state of the target at time t, the current state label is determined by manual labeling, and y t Indicates that, using this manual labeling method, a part of the above data set is selected for labeling to obtain the labeled training data set: D={x t ,y t ,} (2) Constructing and training a recurrent neural network The target intention prediction model is based on a recurrent neural network, which includes a physical RNN unit that is expanded according to time steps. At each time step, it receives the input of the current time step and the output of the previous time step, and then calculates the output of the current time step. After the RNN unit gives a situation prediction based on the current state and the historical state, and the optimal situation of the current target is input, a fully connected layer is added to the final vector output. The output of this layer is the same as the number of situation intentions to be predicted. The fully connected layer is followed by an input softmax activation function to generate the probability of each target situation intention; The training of this neural network is based on artificially constructed data sets, and batch data training and stochastic gradient descent algorithms are used during training; (3) Model prediction: Use the trained situation intention recognition model to identify the target intention in the original data.
4. The target situation relationship mining method based on the FP-Growth association analysis algorithm according to claim 1 is characterized in that: The implementation process of the FP-Growth algorithm includes two parts: constructing the FP-tree and mining the FP-tree to obtain frequent itemsets.
5. The target situation relationship mining method based on the FP-Growth association analysis algorithm according to claim 4 is characterized in that: The specific process of constructing FP-tree is as follows: (1) Obtaining the frequent item list FList: First, traverse the transaction database T, count the frequencies of all data items in the transaction database, delete the data items that do not meet the minimum support count, and sort the data items in descending order of frequency to obtain the frequent item list FList; (2) Create FP-tree: Create FP-tree with Null as the root node, and process each transaction in the transaction database T as follows: sort according to FList, delete the data items in the transaction that do not meet the minimum support; insert the sorted transactions into the FP-tree, share the path if necessary, and record the number of nodes; The root node of the FP-tree is null and does not represent any item. Next, the transactional database is scanned a second time to start building the FP-tree: The first record<f,c,a,m,p> Corresponding to the first branch <(f:1), (c:1), (a:1), (m:1), (p:1)> in the FP-tree, f, c, a, m, p are the target situation elements; Similarly, insert the remaining sorted transactions into the FP-tree to obtain the final FP-tree; The FList list corresponds to the node where the data item first appears in the FP-tree. In order to facilitate traversal of the entire tree, a header table of items is established. The first column of this table is the frequent items arranged in descending order, and the second column is a pointer to the node position of the frequent item in the FP-tree. Each node in the FP-tree also has a pointer to the node with the same name.
6. The target situation relationship mining method based on the FP-Growth association analysis algorithm according to claim 5 is characterized in that: The steps of mining FP-tree are as follows: With α as the suffix pattern and the initial value as Null, the FP-Growth algorithm is called to mine the FP-tree: if the FP-tree is a single branch, the nodes on the branch with a count less than the minimum support are removed, and any set of the remaining nodes on the branch is the prefix pattern β, and β and α are combined to obtain all corresponding frequent item sets; Otherwise, increase α, α = α∪{Ii}, Ii is the last item of FList, i.e. the item with the smallest support count, then construct the conditional pattern base and conditional FP-tree of suffix pattern α, and then call FP-Growth algorithm to mine the conditional FP-tree; Start mining frequent patterns in the FP-tree from the bottom of the header table: There are two node chains ending with p in the FP-tree, namely <(:4), (c:3), (a:3), (m:2), (p:2)> and <(c:1), (b:1), (p:1)>. The first node chain represents the target situation list.<f,c,a,m,p> It appears twice in the database; although<f,c,a> Appeared 3 times in the first node chain, a single situation <f> They appear 4 times, but they only appear twice together with p, so in the conditional FP-tree, <(f:4), (c:3), (a:3), (m:2), (p:2)> is recorded as <(f:2), (c:2), (a:2), (m:2), (p:2)>;< / f> Similarly, the second node chain represents the target situation list<c,b,p> It only appears once in the database. The prefix node chain of p <(f:2), (c:2), (a:2), (m:2)> and <(c:1), (b:1)> are called the conditional pattern base of p. The conditional pattern base of p is used as the new target situation transaction database. Each row stores a prefix node chain of p. According to the process of building FP-tree, the support of each target situation in each row record is calculated, and then arranged in descending order of support. Only frequent item sets are retained, and those items below the support threshold are eliminated to establish a new FP-tree. This tree is called the conditional FP-tree of p: There are two node chains ending with m in the FP-tree, namely <(f:4), (c:3), (a:3), (m:2)> and <(f:4), (c:3), (a:3), (b:1), (m:1)>. Therefore, the conditional pattern base of m is <(f:2), (c:2), (a:2)> and <(f:1), (c:1), (a:1), (b:1)>. The conditional pattern base of m is used as the new transaction database, and each row stores a prefix node chain of m. The support of each target situation in each row is calculated, and then it is arranged in descending order of support. Only frequent item sets are retained, and those items below the support threshold are eliminated to establish the conditional FP-tree of m. Other conditional FP-trees are mined in sequence.
Citation Information
Patent Citations
Method for predicting protocol data traffic based on FP-Growth and RNN
CN110098944A
Intelligent mining model establishing method based on multi-source marine target data
CN112286991A
Satellite network safety analysis method, device, system and storage medium
CN113194084A
Information generation method and information security system based on situation awareness and big data
CN113297393A
Network security situation assessment method based on improved D-S evidence theory
CN115085948A
Cited By
Target action area clustering prediction method based on sequential network model
CN120336900A
