Telecommunication database anomaly detection method and system based on fuzzy joint clustering
Through fuzzy joint clustering and information entropy calculation, combined with the adaptive weight strategy, the complexity and diversity problems of anomaly detection in telecommunications databases are solved, more accurate and efficient anomaly identification is achieved, and the efficiency of telecommunications operation management and decision-making analysis is improved. Support capabilities.
Patent Information
- Application Number
- CN202410955207.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing telecom database anomaly detection methods suffer from limitations in definition and detection capabilities, sensitivity to noise and fluctuations, and large-scale data processing challenges when dealing with complex and high-dimensional data.
The method based on fuzzy joint clustering is used to perform fuzzy clustering on the data in the telecommunications database. Potential abnormal sub-matrices are identified through information entropy calculation, and the information attention in the clustering process is dynamically adjusted in combination with the adaptive weight strategy.
It improves the ability to identify abnormal situations, enhances the adaptability to complex data sets, provides a more comprehensive data analysis perspective, and can more accurately and efficiently identify abnormal indicators in telecommunications databases.
Smart Images

Figure CN118820531A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a telecommunication database anomaly detection method and belongs to the field of database operation and maintenance. Background Art
[0002] In today's information society, the telecommunications industry is an important part of key infrastructure, and the various business indicator data in its database plays a very important role in operation management and decision-making analysis. In particular, with the development of big data technology, the amount of data in telecommunications databases has increased dramatically, and the complexity and diversity of data are also increasing. In this case, how to effectively detect and identify abnormal indicators in the database is of great practical significance for ensuring the quality of telecommunications services, improving operational efficiency, and preventing potential risks. For example, by real-time monitoring of key indicators such as network traffic and call quality, timely detection of abnormal situations helps to ensure the stability of telecommunications services; abnormal detection of equipment performance and network status data can provide early warning of possible failures and risks, reducing service interruptions caused by failures.
[0003] At present, the methods for anomaly detection in databases mainly include:
[0004] (1) Statistical and machine learning methods: Anomaly detection is performed based on statistical models and machine learning algorithms. This type of method is currently widely used in telecommunications databases.
[0005] (2) Time series analysis: Since many indicator data in telecommunications databases have time series characteristics, anomaly detection methods based on time series models have also been widely used. These methods can capture the temporal dynamics and trend changes of data, but may be insufficient in dealing with nonlinear relationships and complex patterns.
[0006] (3) Clustering and classification methods: Anomaly detection methods based on clustering algorithms such as K-means and classification algorithms such as decision trees can discover the inherent structure and patterns of data, but the definition of anomalies and the selection of detection thresholds still require human intervention.
[0007] Based on the above analysis, it can be seen that although the existing anomaly detection methods have achieved certain application results in telecommunication databases, there are still some challenges and problems, such as the limitations of anomaly definition and detection capabilities, sensitivity to noise and fluctuations, and challenges in processing large-scale and high-dimensional data. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 The figure is a flow chart of the method of the present invention. Summary of the invention
[0009] In order to solve the above problems existing in the prior art, the present invention provides a telecommunication database anomaly detection method based on fuzzy joint clustering, comprising the following steps:
[0010] (1) Given an M×N matrix X, where M is the number of indicators, i.e. the number of samples; N is the length of the time series, i.e. the number of features; set the number of sample categories c s , number of feature categories c f , fuzzy index β, initial iteration number t=0, minimum weight α min , maximum weight α max / Maximum number of iterations max iter ; Randomly initialize c s ×M sample category center matrix C and N×c f The feature category center matrix F of the tth iteration is initialized with the weight parameter α t =α0, biased towards sample clustering, α0 is a constant;
[0011] (2) Perform fuzzy joint clustering iteration on the matrix X in (1);
[0012] (3) For the kth sample category and the lth feature category, construct a submatrix X kl ={x ij ∈X|U ik >threshold U , V jl >threshold V}, where x ij is the i-th sample x in matrix X i The value of the j-th feature column, threshold U and threshold V is a pre-set membership threshold;
[0013] (4) For each submatrix X kl The features in , count their value distribution, and then calculate the information entropy H j =-∑(p ij ×log2(p ij )), calculate the submatrix X kl The overall information entropy H kl , calculate the arithmetic mean of the information entropy corresponding to the features belonging to the submatrix;
[0014] (5) Calculate the information entropy distribution of all sub-matrices and set a threshold T entropy , the information entropy is greater than T entropy The submatrices of are marked as potential abnormal submatrix candidates;
[0015] (6) Output the results of fuzzy clustering, including sample category center, feature category center, membership matrix, identified abnormal submatrix and related information.
[0016] Furthermore, the specific steps of fuzzy joint clustering iteration are:
[0017] 2.1 Update weight α t , α t =min(α max ,max(α min ,α t-1 +(α max -α min )×t / max iter ));
[0018] 2.2 For the i-th sample x i And the k-th sample category, calculate the fuzzy distance Where C(k,:) is the center vector of the kth sample category in the sample category center matrix C;
[0019] 2.3 For the jth feature column and the lth feature category, calculate the fuzzy distance Where X(:,j) is the vector of the jth feature column in the matrix X, and F(:,l) is the center vector of the lth feature category in the feature category center matrix F;
[0020] 2.4 Calculate the membership of the i-th sample to the k-th sample category based on the fuzzy distance
[0021] 2.5 Calculate and normalize the membership of feature j to feature category l
[0022] 2.6 Update the sample category center matrix C and feature category center matrix F,
[0023]
[0024] 2.7 If the change in the objective function or the change in the category center is less than the preset threshold, stop the iteration, otherwise t = t + 1 and return to step 2.1
[0025] Based on the above method, the present invention further proposes a telecommunication database anomaly detection system based on fuzzy joint clustering, the system comprising an initialization module, a fuzzy joint clustering iteration module, a submatrix construction module, a submatrix information entropy calculation module, a threshold setting and anomaly judgment module, and a result output module. Specifically:
[0026] (1) In the initialization module, an M×N matrix X is given, where M is the number of indicators, i.e., the number of samples; N is the length of the time series, i.e., the number of features; and the number of sample categories c is set. s , number of feature categories c f , fuzzy index β, initial iteration number t=0, minimum weight α min , maximum weight α max / Maximum number of iterations max iter ; Randomly initialize c s ×M sample category center matrix C and N×c f The feature category center matrix F of the tth iteration is initialized with the weight parameter α t =α0, biased towards sample clustering, α0 is a constant;
[0027] (2) The fuzzy joint clustering iteration module completes the fuzzy joint clustering iteration of the matrix X in the initialization module;
[0028] (3) In the sub-matrix construction module, for the kth sample category and the lth feature category, a sub-matrix X is constructed. kl ={x ij ∈X|U ik >threshold U , V jl >threshold V}, where x ij is the i-th sample x in matrix X i The value of the j-th feature column, threshold U and threshold V is a pre-set membership threshold;
[0029] (4) In the submatrix information entropy calculation module, for each submatrix X kl The features in , count their value distribution, and then calculate the information entropy H j =-∑(p ij ×log2(p ij )), calculate the submatrix X kl The overall information entropy H kl , calculate the arithmetic mean of the information entropy corresponding to the features belonging to the submatrix;
[0030] (5) In the threshold setting and abnormality judgment module, the information entropy distribution of all sub-matrices is calculated and a threshold T is set. entropy , the information entropy is greater than T entropy The sub-matrices of are marked as potential abnormal sub-matrix candidates.
[0031] (6) In the result output module, the fuzzy clustering results are output, including the sample category center, the feature category center, the membership matrix, the identified abnormal submatrix and its related information.
[0032] Furthermore, in the fuzzy joint clustering iteration module, the fuzzy joint clustering iteration process is
[0033] 2.1 Update weight α t , α t =min(α max ,max(α min ,α t-1 +(α max -α min )×t / max iter ));
[0034] 2.2 For the i-th sample x i And the k-th sample category, calculate the fuzzy distance Where C(k,:) is the center vector of the kth sample category in the sample category center matrix C;
[0035] 2.3 For the jth feature column and the lth feature category, calculate the fuzzy distance Where X(:,j) is the vector of the jth feature column in the matrix X, and F(:,l) is the center vector of the lth feature category in the feature category center matrix F;
[0036] 2.4 Calculate the membership of the i-th sample to the k-th sample category based on the fuzzy distance
[0037] 2.5 Calculate and normalize the membership of feature j to feature category l
[0038] 2.6 Update the sample category center matrix C and feature category center matrix F,
[0039]
[0040] 2.7 If the change in the objective function or the change in the category center is less than the preset threshold, stop the iteration, otherwise t=t+1 and return to step 2.1.
[0041] The present invention has the following advantages:
[0042] (1) Fuzzy clustering characteristics: The fuzzy joint clustering method allows samples and features to have fuzzy membership at the same time, which helps to capture the uncertainty in the data and is more suitable for data distribution with unclear boundaries or overlaps.
[0043] (2) Multidimensional analysis: By performing double clustering of samples and features, we can discover the relationship between samples and the association between features, providing a more comprehensive perspective for data analysis and facilitating the identification of potential structures and patterns.
[0044] (3) Adaptive weight strategy: By dynamically adjusting the sample and feature clustering weights, different information sources can be focused on at different iteration stages, thereby enhancing the algorithm's adaptability to complex data sets.
[0045] (4) Anomaly detection capability: By combining the information entropy of the submatrix with the information entropy, we can further detect the submatrix that may contain anomalies or noise based on the clustering results, thereby improving the ability to identify abnormal situations.
[0046] The present invention designs a telecommunication database anomaly detection method and system based on fuzzy joint clustering, which first reveals the intrinsic structure and correlation of data from multiple dimensions by simultaneously performing fuzzy joint clustering on samples and features. Then, an adaptive weight strategy is introduced to dynamically adjust the degree of attention to sample clustering and feature clustering during the iteration process, which can better adapt to the complex and changeable data characteristics. The information entropy of the submatrix is calculated using information entropy, which can effectively identify submatrices that may contain anomalies or noise, thereby improving the expressiveness of the algorithm in anomaly detection. In summary, the present invention provides a flexible, comprehensive and highly interpretable data analysis method to adapt to the complexity and diversity of telecommunication database data, and can more accurately and efficiently identify abnormal indicators in telecommunication databases, providing strong data support and tool support for the operation management and decision-making analysis of the telecommunication industry, and promoting the digital transformation and intelligent development of the telecommunication industry. DETAILED DESCRIPTION
[0047] Depend on Figure 1 It can be clearly seen that the method flow of the present invention is:
[0048] (1) Initialization: Given an M×N matrix X, M is the number of indicators, that is, the number of samples; N is the length of the time series. The algorithm uses time points as features, so N is the number of features.
[0049] Set fuzzy clustering parameters: number of sample categories c s , number of feature categories c f , fuzzy index β (usually 2), initial iteration number t = 0, minimum weight α min , maximum weight α max And the maximum number of iterations max iter .
[0050] Randomly initialize c s ×M sample category center matrix C and N×c fThe feature category center matrix F is .
[0051] Initialize the weight parameter α for the tth iteration t =α0, tends to sample clustering, α0 is a constant.
[0052] (2) Fuzzy joint clustering iterative process
[0053] a. Update weight α t , that is, according to the parameter α in the previous iteration t-1 Calculate the parameter α for this iteration t :
[0054] α t =min(α max ,max(α min ,α t-1 +(α max -α min )×t / max iter ))
[0055] b. Calculate the fuzzy distance from the sample to the center of the sample category: for the i-th sample x i and the kth sample category, calculate the fuzzy distance d ik :
[0056]
[0057] Where C(k,:) represents the k-th row of matrix C, that is, the center vector of the k-th sample category in the sample category center matrix C;
[0058] c. Calculate the fuzzy distance from the feature column to the center of the feature category: For the jth feature column and the lth feature category, calculate the fuzzy distance e jl :
[0059]
[0060] Where X(:,j) represents the j-th column of matrix X, that is, the vector of the j-th feature column in matrix X, and F(:,l) represents the l-th column of matrix F, that is, the center vector of the l-th feature category in the feature category center matrix F.
[0061] d. Update the sample membership matrix U: Calculate the membership U of the i-th sample to the k-th sample category based on the fuzzy distance ik :
[0062] e. Update the feature membership matrix V: Similarly, calculate and normalize the membership V of feature j to feature category l jl :
[0063]
[0064] f. Update category center: Update the sample category center matrix C and feature category center matrix F respectively:
[0065]
[0066] g. Check convergence conditions: If the change in the objective function or the change in the category center is less than a preset threshold, stop the iteration, otherwise t = t + 1 and return to step a.
[0067] (3) Constructing submatrices
[0068] For the kth sample category and the lth feature category, construct a submatrix X kl , which contains those elements that have high membership in both the k-th sample category and the l-th feature category:
[0069] X kl ={x ij ∈X|U ik >threshold U , V jl >threshold V}
[0070] Among them, x ij Represents the i-th sample x in matrix X i The value of the j-th feature column, threshold U and threshold V It is a pre-set membership threshold used to determine whether samples and features "significantly" belong to the corresponding category.
[0071] (4) Calculate the information entropy of the submatrix
[0072] For each submatrix X kl The features in , count their value distribution, and then calculate the information entropy H j :
[0073] p ij = feature j in X kl The number of times the value i appears in / X kl The total number of times all the values of feature j are taken
[0074] H j =-∑(p ij ×log2(p ij ))
[0075] Calculate the submatrix X kl The overall information entropy H kl , calculate the arithmetic mean of the information entropy corresponding to the features belonging to this submatrix.
[0076] (5) Set thresholds and determine abnormalities
[0077] Calculate the information entropy distribution of all sub-matrices and set a threshold T entropy .
[0078] The information entropy is greater than T entropy The sub-matrices of are marked as potential abnormal sub-matrix candidates.
[0079] (6) Output results
[0080] Output the results of fuzzy clustering (including sample category centers, feature category centers and membership matrix), as well as the identified abnormal submatrices and related information.
[0081] Because the given matrix X is actually an indicator-time series matrix, the above algorithm is executed on the basis of this matrix, and finally one or more abnormal sub-matrices are obtained. The sub-matrices are also indicator-time series matrices, and the sub-matrices reflect that the corresponding indicators have abnormalities at the corresponding time points, and the related indicators and related time points can be seen at the same time. With this information, when the operation and maintenance system detects an abnormality, the operation and maintenance administrator can easily view the abnormal indicators and their related indicators, and the time point / time period when the abnormality occurred can also be seen at a glance, which is convenient for quickly locating the abnormality.
[0082] The following is a more specific embodiment:
[0083] (1) Initialization:
[0084] Given an M×N matrix X, where M is the number of indicators, i.e. the number of samples, and N is the length of the time series, the algorithm uses time points as features, so N is the number of features.
[0085] Assume that the information of matrix X is as shown in Table 1.
[0086] Table 1 Matrix X
[0087] T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 S1 90 92 91 91 90 90 91 90 91 92 S2 75 77 76 76 75 75 76 75 76 77 S3 80 81 81 50 80 81 81 80 81 82 S4 85 84 84 85 50 55 55 85 84 83 S5 95 96 96 95 96 95 96 95 96 95 S6 100 100 101 100 100 100 101 100 101 100 S7 105 105 105 50 50 50 50 50 105 105 S8 110 112 111 111 110 52 51 50 111 110 S9 115 114 114 115 114 114 115 114 115 114 S10 120 121 120 120 121 120 120 121 120 121
[0088] In Table 1, S1 to S10 in the first column are sample numbers, and T1 to T10 in the first row are time point numbers, i.e., feature numbers.
[0089] Setting parameters: number of sample categories c s =3, number of feature categories c f =2, fuzzy index β =2, weight α min =0.1,α max =0.9, maximum number of iterations max iter =5.
[0090] Randomly initialize the 3×10 sample category center matrix C and the 10×2 feature category center matrix F:
[0091]
[0092] Set fuzzy clustering parameters: number of sample categories c s , number of feature categories c f , fuzzy index β (usually 2), initial iteration number t = 0, minimum weight α min , maximum weight α max And the maximum number of iterations max iter .
[0093] Randomly initialize c s ×M sample category center matrix C and N×c f The feature category center matrix F is .
[0094] Initialize the weight parameter α for the tth iteration t =α0, biased towards sample clustering, α0 is a constant, parameter α t Dependent on the number of iterations t.
[0095] For a given data, after one iteration, the approximate values of the updated sample and feature category center matrices are:
[0096]
[0097] The sample and feature membership matrices U and V after iteration are:
[0098]
[0099] In the sample and feature membership matrices U and V, each row represents the membership of the i-th sample to each sample category and the membership of the j-th feature to each feature category.
[0100] Assume that the sample and feature membership matrices U and V obtained after iteration are:
[0101]
[0102] Based on the membership matrix, a threshold of 0.5 is selected, and elements above this threshold are considered to belong significantly to the corresponding category. Construct the submatrix X 11 , X 12 , X 21 , X 22 , X 31 , X 32 For example, for the matrix X 11 , contains those elements that have high membership in both the first sample category and the first feature category. Assume that X11 Contains some features of sample 1, all features of sample 3, etc.
[0103] For each submatrix X 11 , X 12 , X 21 , X 22 , X 31 , X 32 , calculate the information entropy H of its internal features j .
[0104] Assume that the submatrix X 11 The first feature (j=1) has the following distribution: [50,20,...,30], where the number represents the frequency of taking a specific value, and the total frequency is 100.
[0105] Then the information entropy H1 of this feature can be calculated by the following formula:
[0106] p1=50 / 100,
[0107] p2=20 / 100,
[0108] ...,
[0109] H1=-(p1×log2(p1)+p2×log2(p2)+...)
[0110] Similarly, the information entropy of other features is calculated in turn, and the arithmetic mean of each information entropy is calculated as the overall information entropy H 11 Assume X 11 , X 12 , X 21 , X 22 , X 31 , X 32 The overall information entropy is 0.8, 0.7, 0.2, 0.1, 0.4, and 0.3 respectively. Assuming the threshold T entropy = 0.5, then X exceeding this threshold 11 , X 12 This is the final abnormal sub-matrix. Through the samples and features contained in each sub-matrix, during the operation and maintenance process, it can be determined that the indicators in each sub-matrix have abnormalities at the corresponding time point, thereby forming the correlation between indicators and time points.
[0111] Combining the above data with the prior art, the present invention finally obtains one or more abnormal sub-matrices. Since the sub-matrix is also an indicator-time series matrix, it can reflect that the corresponding indicator has an abnormality at the corresponding time point. Based on this information, it can help the operation and maintenance administrator to clearly view the abnormal indicator and its related indicators, and the time point / time period when the abnormality occurred can also be seen at a glance. Such a method can greatly facilitate the rapid location of abnormalities.
[0112] The units, devices or modules described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. For the convenience of description, the above devices are described separately by functions divided into various modules. Of course, when implementing this application, the functions of each module can be implemented in the same or more software and / or hardware, or the modules that implement the same function can be implemented by a combination of multiple sub-modules or sub-units. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0113] Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, the controller can be made to implement the same function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules for implementing the method and structures within the hardware component.
[0114] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0115] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0116] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0117] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A telecommunication database anomaly detection method based on fuzzy joint clustering, characterized by: The method comprises the following steps: (1) Data initialization: Given an M×N matrix X, where M is the number of indicators, i.e., the number of samples; N is the length of the time series, i.e., the number of features; and c is the number of sample categories. s , number of feature categories c f , fuzzy index β, initial iteration number t=0, minimum weight α min , maximum weight α max , maximum number of iterations max iter ; Randomly initialize c s ×M sample category center matrix C and N×c f The feature category center matrix F of the tth iteration is initialized with the weight parameter α t =α0, biased towards sample clustering, α0 is a constant; (2) Perform fuzzy joint clustering iteration on the matrix X in (1); (3) Construct a submatrix. For the kth sample category and the lth feature category, construct a submatrix X kl ={x ij ∈X|U ik >threshold U , V jl >threshold V }, where x ij is the i-th sample x in matrix X i The value of the j-th feature column, threshold U and threshold V is a pre-set membership threshold; (4) Calculate the submatrix information entropy, for each submatrix X kl The features in , count their value distribution, and then calculate the information entropy H j =-∑(p ij ×log2(p ij )), calculate the submatrix X kl The overall information entropy H kl , calculate the arithmetic mean of the information entropy corresponding to the features belonging to the submatrix; (5) Threshold setting and abnormality judgment: Calculate the information entropy distribution of all sub-matrices and set a threshold T entropy , the information entropy is greater than T entropy The sub-matrices of are marked as potential abnormal sub-matrix candidates. (6) Output the results of fuzzy clustering, including sample category center, feature category center, membership matrix, identified abnormal submatrix and related information.
2. A telecommunication database anomaly detection method based on fuzzy joint clustering as claimed in claim 1, characterized in that: the specific steps of fuzzy joint clustering iteration are: 2.1 update rights t ,a t =min(a max ,max(a min ,a t-1 +(a max -a min )×t / max iter )); 2.2 For the i-th sample x i And the k-th sample category, calculate the fuzzy distance Where C(k,:) is the center vector of the kth sample category in the sample category center matrix C; 2.3 For the jth feature column and the lth feature category, calculate the fuzzy distance Where X(:,j) is the vector of the jth feature column in the matrix X, and F(:,l) is the center vector of the lth feature category in the feature category center matrix F; 2.4 Calculate the membership of the i-th sample to the k-th sample category based on the fuzzy distance 2.5 Calculate and normalize the membership of feature j to feature category l 2.6 Update the sample category center matrix C and feature category center matrix F, 2.7 If the change in the objective function or the change in the category center is less than the preset threshold, stop the iteration, otherwise t=t+1 and return to step 2.
1.
3. A telecommunication database anomaly detection system based on fuzzy joint clustering, the system comprising an initialization module, a fuzzy joint clustering iteration module, a submatrix construction module, a submatrix information entropy calculation module, a threshold setting and anomaly judgment module, and a result output module, characterized in that: (1) In the initialization module, an M×N matrix X is given, where M is the number of indicators, i.e. the number of samples; N is the length of the time series, i.e. the number of features; Set the number of sample categories c s , number of feature categories c f , fuzzy index β, initial iteration number t=0, minimum weight α min , maximum weight α max , maximum number of iterations max iter ; Randomly initialize c s ×M sample category center matrix C and N×c f The feature category center matrix F of the tth iteration is initialized with the weight parameter α t =α0, biased towards sample clustering, α0 is a constant; (2) The fuzzy joint clustering iteration module completes the fuzzy joint clustering iteration of the matrix X in the initialization module; (3) In the sub-matrix construction module, for the kth sample category and the lth feature category, a sub-matrix X is constructed. kl ={x ij ∈X|U ik >threshold U , V jl >threshold V }, where x ij is the i-th sample x in matrix X i The value of the j-th feature column, threshold U and threshold V is a pre-set membership threshold; (4) In the submatrix information entropy calculation module, for each submatrix X kl The features in , count their value distribution, and then calculate the information entropy H j =-∑(p ij ×log2(p ij ))Submatrix X kl The overall information entropy H kl , calculate the arithmetic mean of the information entropy corresponding to the features belonging to the submatrix; (5) In the threshold setting and abnormality judgment module, the information entropy distribution of all sub-matrices is calculated and a threshold T is set. entropy , the information entropy is greater than T entropy The sub-matrices of are marked as potential abnormal sub-matrix candidates. (6) In the result output module, the fuzzy clustering results are output, including the sample category center, feature category center, membership matrix, identified abnormal submatrix and related information.
4. The telecommunication database anomaly detection system based on fuzzy joint clustering as claimed in claim 3, characterized in that: In the fuzzy joint clustering iteration module, the specific steps of fuzzy joint clustering iteration are: 2.1 update rights t ,a t =min(a max ,max(a min ,a t-1 +(a max -a min )×t / max iter )); 2.2 For the i-th sample x i And the k-th sample category, calculate the fuzzy distance Where C(k,:) is the center vector of the kth sample category in the sample category center matrix C; 2.3 For the jth feature column and the lth feature category, calculate the fuzzy distance Where X(:,j) is the vector of the jth feature column in the matrix X, and F(:,l) is the center vector of the lth feature category in the feature category center matrix F; 2.4 Calculate the membership of the i-th sample to the k-th sample category based on the fuzzy distance 2.5 Calculate and normalize the membership of feature j to feature category l 2.6 Update the sample category center matrix C and feature category center matrix F, 2.7 If the change in the objective function or the change in the category center is less than the preset threshold, stop the iteration, otherwise t=t+1 and return to step 2.1.
Citation Information
Patent Citations
Internet financial platform application fraud behavior detection method based on fuzzy C-mean value
CN112560921A
Feature weighted fuzzy clustering method and system based on information entropy
CN115828125A
Multi-dimensional data clustering
WO2015001416A1
Missing trajectory filling method and system
WO2023201938A1
