Service-based network anomaly detection method, system, equipment and medium

By acquiring and analyzing the historical and current time series data of network equipment, and establishing a data model for difference detection, it solves the problems of low network anomaly detection efficiency and dependence on historical data in the existing technology, achieves fast and accurate network anomaly detection, and improves This ensures the timeliness of operation and maintenance and network stability.

CN118764401AActive Publication Date: 2024-10-11CHINA TELECOM CORP LTD

Patent Information

Application Number
CN202410978109.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-11
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The existing technology is inefficient and untimely in detecting network anomalies, and the time series anomaly prediction method relies on the correctness and standardization of historical data, has a narrow scope of application, and is costly.

Method used

By obtaining the standard process information of the scheduled business, determine the participating equipment and obtain historical and current time series data, conduct correlation analysis, establish reference and network data models, and conduct difference detection to determine network anomalies.

Benefits of technology

It improves the accuracy and response speed of network anomaly detection, enables quick comparison of network anomaly detection results, shortens fault response time, and improves the stability and reliability of network operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764401A_ABST
    Figure CN118764401A_ABST
Patent Text Reader

Abstract

The invention discloses a service-based network anomaly detection method, system and device, and a storage medium. The method comprises the following steps: acquiring standard process information corresponding to a predetermined service; according to the standard process information, determining participating equipment involved in execution of the predetermined service, and obtaining multiple pieces of historical time sequence data corresponding to the participating equipment under the condition that the network state is normal in a historical time period; performing pairwise correlation analysis on the historical time sequence data to obtain a reference data model; acquiring a plurality of first time sequence data corresponding to the participating equipment under the current time node, and performing correlation analysis on each first time sequence data in pairs to obtain a network data model; and performing difference detection on the reference data model and the network data model, and determining a detection result according to a difference detection result. The method can improve the accuracy and efficiency of network anomaly detection. The method can be widely applied to the technical field of computer networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer network technology, and in particular to a business-based network anomaly detection method, system, device and storage medium. Background Art

[0002] At present, when network anomalies occur due to equipment hardware failure, deteriorating transmission quality, human error, security attacks, etc., a large amount of abnormal data will be generated in an instant due to the diversification of services and the complexity of network architecture. For example, work indicator parameters such as alarms, traffic, call volume, and the number of online users may all become abnormal.

[0003] In order to detect abnormal situations in the network, the analysis schemes used in related technologies generally include: the traditional manual maintenance method, in which it is difficult for operation and maintenance personnel to simultaneously pay attention to and analyze a large amount of data to perform anomaly detection, which has a very low efficiency and is not responsive enough. The maintenance method of the digital network anomaly detection method, in which only a single analysis of certain (types of) data is often performed, which is prone to omissions and cannot be detected and responded to. The method based on time series anomaly prediction generally predicts future data through historical data. This method is highly dependent on the correctness and standardization of the historical data obtained, but the continuous development of network services has led to real-time changes in the network, which requires continuous updating and debugging, has a narrow scope of application, and consumes a lot of costs.

[0004] In summary, the problems existing in related technologies need to be solved urgently. Summary of the invention

[0005] The purpose of this application is to solve one of the technical problems existing in the related art to at least a certain extent.

[0006] To this end, an object of embodiments of the present application is to provide a service-based network anomaly detection method, system, device and storage medium.

[0007] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present application include:

[0008] On the one hand, an embodiment of the present application provides a service-based network anomaly detection method, the method comprising:

[0009] Obtain standard process information corresponding to the scheduled business;

[0010] According to the standard process information, determine the participating devices involved in executing the predetermined business, and obtain a plurality of historical time series data corresponding to the participating devices when the network status is normal during the historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices during the historical period, and the length of the historical time series data corresponding to each of the participating devices is the same;

[0011] Performing pairwise correlation analysis on each of the historical time series data to obtain a reference data model;

[0012] Acquire multiple first time series data corresponding to the participating devices at the current time node, perform pairwise correlation analysis on each of the first time series data, and obtain a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the first time series data corresponding to each of the participating devices has the same length;

[0013] A difference detection is performed on the reference data model and the network data model, and a detection result is determined according to the result of the difference detection.

[0014] In addition, the service-based network anomaly detection method according to the above embodiment of the present application may also have the following additional technical features:

[0015] Furthermore, in one embodiment of the present application, the participating equipment includes at least one of a router, a switch, a core network element, a switchboard, a firewall, and a deep packet inspection device; the work indicator parameters include at least one of equipment alarm parameters, port traffic parameters, equipment CPU parameters, memory parameters, user online number parameters, user registration number parameters, call success rate parameters, complaint volume parameters, complaint service parameters, firewall session number parameters, and packet detection number parameters.

[0016] Further, in one embodiment of the present application, the acquiring of a plurality of historical time series data corresponding to the participating devices in a normal network state during a historical period includes:

[0017] For a target device, determining a parameter type of a working indicator parameter of the target device that needs to be obtained; the target device is any of the participating devices;

[0018] According to the parameter type, obtaining the work indicator parameters corresponding to the target device under multiple historical nodes when the network status is normal;

[0019] According to the chronological order, the working indicator parameters of each parameter type are integrated to obtain the corresponding historical time series data under each parameter type.

[0020] Furthermore, in one embodiment of the present application, the method further includes:

[0021] Get the amount of available computing resources;

[0022] According to the computing resource amount, the number of parameter types of the work indicator parameters included in the acquired historical time series data and the first time series data is determined.

[0023] Furthermore, in one embodiment of the present application, performing pairwise correlation analysis on each of the historical time series data to obtain a reference data model includes:

[0024] Performing pairwise correlation analysis on each of the historical time series data to obtain correlation values;

[0025] The correlation values ​​are quantified and arranged in a matrix to obtain the reference data model.

[0026] Further, in one embodiment of the present application, performing difference detection on the reference data model and the network data model, and determining a network anomaly detection result according to a result of the difference detection, includes:

[0027] calculating a paradigm distance between the reference data model and the network data model;

[0028] If the paradigm distance is greater than a preset threshold, the network anomaly detection result is determined to be that the network has an anomaly; or, if the paradigm distance is less than or equal to the preset threshold, the network anomaly detection result is determined to be that the network does not have an anomaly.

[0029] Further, in one embodiment of the present application, the performing difference detection on the reference data model and the network data model, and determining the network anomaly detection result according to the result of the difference detection, further includes:

[0030] If it is determined that the network anomaly detection result is that the network is anomaly, calculating the difference between the correlation values ​​of the same positions in the reference data model and the network data model;

[0031] According to the maximum value of the difference, a participating device causing the abnormality of the predetermined service network is determined.

[0032] On the other hand, an embodiment of the present application provides a service-based network anomaly detection system, the system comprising:

[0033] An acquisition unit, used to acquire standard process information corresponding to a predetermined business;

[0034] A first processing unit is used to determine, according to the standard process information, participating devices involved in executing the predetermined service, and obtain a plurality of historical time series data corresponding to the participating devices when the network status is normal during a historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices during the historical period, and the length of the historical time series data corresponding to each of the participating devices is the same;

[0035] An analysis unit, used for performing pairwise correlation analysis on each of the historical time series data to obtain a reference data model;

[0036] A second processing unit is used to obtain a plurality of first time series data corresponding to the participating devices at the current time node, and perform a pairwise correlation analysis on each of the first time series data to obtain a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the first time series data corresponding to each of the participating devices has the same length;

[0037] The determination unit is used to perform a difference detection on the reference data model and the network data model, and determine a detection result according to the result of the difference detection.

[0038] On the other hand, an embodiment of the present application provides an electronic device, including:

[0039] at least one processor;

[0040] at least one memory for storing at least one program;

[0041] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned service-based network anomaly detection method.

[0042] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the above-mentioned business-based network anomaly detection method.

[0043] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:

[0044] The business-based network anomaly detection method, system, device and storage medium disclosed in the embodiments of the present application, the method obtains standard process information corresponding to a predetermined business; according to the standard process information, determines the participating devices involved in executing the predetermined business, and obtains multiple historical time series data corresponding to the participating devices when the network status is normal in a historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices in the historical period, and the length of the historical time series data corresponding to each of the participating devices is the same; performs pairwise correlation analysis on each of the historical time series data to obtain a reference data model; obtains multiple first time series data corresponding to the participating devices at the current time node, performs pairwise correlation analysis on each of the first time series data, and obtains a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the length of the first time series data corresponding to each of the participating devices is the same; performs difference detection on the reference data model and the network data model, and determines the detection result according to the result of the difference detection. The method can obtain the historical time series data of each participating device involved in the scheduled business according to the standard process information corresponding to the scheduled business, and perform correlation analysis. It can make comprehensive use of multiple devices and multiple work indicator parameters, which is beneficial to improving the accuracy of network anomaly detection; and when the method is executed, it can quickly compare the network anomaly detection results based on the current first time series data, which is beneficial to shorten the response time of the fault, improve the timeliness of operation and maintenance, and thus improve the stability and reliability of network operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following introduction is made to the drawings of the embodiments of the present application or the related technical solutions in the prior art. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present application. For technical personnel in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 A schematic diagram of an implementation environment of a service-based network anomaly detection method provided in an embodiment of the present application;

[0047] Figure 2 A flowchart of a service-based network anomaly detection method provided in an embodiment of the present application;

[0048] Figure 3 A schematic diagram of standard process information of a network service provided in an embodiment of the present application;

[0049] Figure 4 A schematic diagram of a process for obtaining a reference data model provided in an embodiment of the present application;

[0050] Figure 5 A schematic diagram of the implementation principle of a service-based network anomaly detection method provided in an embodiment of the present application;

[0051] Figure 6 A sequence flow chart of a HSS start-up separation procedure provided in an embodiment of the present application;

[0052] Figure 7 A schematic diagram of the principle of collecting port traffic provided in an embodiment of the present application;

[0053] Figure 8 A data flow trend diagram provided in an embodiment of the present application;

[0054] Fig. 9 A schematic diagram of the structure of a service-based network anomaly detection system provided in an embodiment of the present application;

[0055] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The present application is further described below in conjunction with the accompanying drawings and specific embodiments. The described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0057] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0059] At present, when network anomalies occur due to equipment hardware failure, deteriorating transmission quality, human error, security attacks, etc., a large amount of abnormal data will be generated in an instant due to the diversification of services and the complexity of network architecture. For example, work indicator parameters such as alarms, traffic, call volume, and the number of online users may all become abnormal.

[0060] In order to detect abnormal situations in the network, the analysis schemes used in related technologies generally include: the traditional manual maintenance method, in which it is difficult for operation and maintenance personnel to simultaneously pay attention to and analyze a large amount of data to perform anomaly detection, which has a very low efficiency and is not responsive enough. The maintenance method of the digital network anomaly detection method, in which only a single analysis of certain (types of) data is often performed, which is prone to omissions and cannot be detected and responded to. The method based on time series anomaly prediction generally predicts future data through historical data. This method is highly dependent on the correctness and standardization of the historical data obtained, but the continuous development of network services has led to real-time changes in the network, which requires continuous updating and debugging, has a narrow scope of application, and consumes a lot of costs.

[0061] In view of this, a service-based network anomaly detection method is provided in an embodiment of the present application, which obtains standard process information corresponding to a predetermined service; determines the participating devices involved in executing the predetermined service according to the standard process information, and obtains multiple historical time series data corresponding to the participating devices when the network status is normal during a historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices during a historical period, and the length of the historical time series data corresponding to each of the participating devices is the same; performs pairwise correlation analysis on each of the historical time series data to obtain a reference data model; obtains multiple first time series data corresponding to the participating devices at the current time node, performs pairwise correlation analysis on each of the first time series data, and obtains a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the length of the first time series data corresponding to each of the participating devices is the same; performs difference detection on the reference data model and the network data model, and determines the detection result according to the result of the difference detection. The method can obtain the historical time series data of each participating device involved in the scheduled business according to the standard process information corresponding to the scheduled business, and perform correlation analysis. It can make comprehensive use of multiple devices and multiple work indicator parameters, which is beneficial to improving the accuracy of network anomaly detection; and when the method is executed, it can quickly compare the network anomaly detection results based on the current first time series data, which is beneficial to shorten the response time of the fault, improve the timeliness of operation and maintenance, and thus improve the stability and reliability of network operation.

[0062] Please refer to Figure 1 , Figure 1The schematic diagram of the implementation environment of a service-based network anomaly detection method provided in the embodiment of the present application is shown. In the implementation environment, the main hardware and software entities involved include a terminal device 110 and a backend server 120. The terminal device 110 and the backend server 120 are connected in communication.

[0063] Specifically, the service-based network anomaly detection method provided in the embodiments of the present application can be executed solely on the terminal device 110 side, or solely on the background server 120 side, or based on data interaction between the terminal device 110 and the background server 120.

[0064] Exemplarily, taking the service-based network anomaly detection method provided in the embodiment of the present application as an example, which is executed based on the data interaction between the terminal device 110 and the background server 120, its implementation process is briefly introduced and described:

[0065] In the embodiment of the present application, the terminal device 110 can initiate a network anomaly detection request, which can specify a scheduled service that needs to be detected and trigger the background server 120 to execute a specific network anomaly detection method. After receiving the network anomaly detection request, the background server 120 can respond to the network anomaly detection request and obtain the standard process information corresponding to the scheduled service; determine the participating devices involved in executing the scheduled service according to the standard process information, and obtain multiple historical time series data corresponding to the participating devices in a normal network state under multiple historical periods; perform a pairwise correlation analysis on each historical time series data to obtain a reference data model; obtain multiple first time series data corresponding to the participating devices under multiple current periods, perform a pairwise correlation analysis on each first time series data to obtain a network data model; perform a difference detection on the reference data model and the network data model, determine the network anomaly detection result according to the result of the difference detection, and then give the network anomaly detection result to the terminal device 110, thereby completing the task of network anomaly detection.

[0066] Among them, the terminal device 110 of the above embodiment may include a mobile phone, a computer, a smart wearable device, a PDA device, an intelligent voice interaction device, a vehicle-mounted terminal, etc., but is not limited thereto.

[0067] The backend server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0068] The terminal device 110 and the backend server 120 may establish a communication connection via a wireless network or a wired network. The wireless network or wired network uses standard communication technology and / or protocols, and the network may be set to the Internet or any other network, such as but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network.

[0069] Of course, it is understandable that Figure 1 The implementation environment in the present application is only some optional application scenarios of the service-based network anomaly detection method provided in the embodiment of the present application, and the actual application is not fixed. Figure 1 The hardware and software environment shown.

[0070] Below, in combination with the introduction of the aforementioned implementation environment, a service-based network anomaly detection method provided in an embodiment of the present application is introduced and explained.

[0071] Please refer to Figure 2 , Figure 2 : is a schematic diagram of a service-based network anomaly detection method provided in an embodiment of the present application, and the service-based network anomaly detection method includes but is not limited to:

[0072] Step 210: Obtain standard process information corresponding to the scheduled service;

[0073] Step 220: Determine the participating devices involved in executing the predetermined service according to the standard process information, and obtain a plurality of historical time series data corresponding to the participating devices when the network status is normal during the historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices during the historical period, and the length of the historical time series data corresponding to each of the participating devices is the same;

[0074] Step 230: performing pairwise correlation analysis on each of the historical time series data to obtain a reference data model;

[0075] Step 240: Acquire multiple first time series data corresponding to the participating devices at the current time node, perform pairwise correlation analysis on each of the first time series data, and obtain a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the first time series data corresponding to each of the participating devices has the same length;

[0076] Step 250: Perform a difference detection on the reference data model and the network data model, and determine a network anomaly detection result according to the result of the difference detection.

[0077] In an embodiment of the present application, a service-based network anomaly detection method is provided, which can detect network anomalies according to specific service types. The services here can be various types of network services, and the present application does not limit their types. When executing the method in the embodiment of the present application, the service to be analyzed can be determined, recorded as a scheduled service, and the standard process information corresponding to the scheduled service can be obtained. In the embodiment of the present application, generally speaking, network services follow technical specifications such as 3GPP and RFC. Therefore, for various types of services, the corresponding standard process information can be obtained through standard end-to-end service processes such as mobile Internet access, mobile voice, broadband Internet access, etc. in technical specifications such as 3GPP and RFC. The standard process information specifies which steps are required to execute a complete scheduled service and which participating devices are involved in each step. In the embodiment of the present application, participating devices refer to network devices and network elements in network services, and their specific types are not limited. Exemplarily, in some embodiments, participating devices may include at least one of routers, switches, core network network elements, switchboards, firewalls, and deep packet inspection devices.

[0078] The standard process information will mark the collaboration process between the participating devices involved in each step. For example, please refer to Figure 3 , Figure 3A schematic diagram of standard process information of a network service provided in an embodiment of the present application is shown. In an embodiment of the present application, the standard process information can characterize the interaction process between various devices when executing a predetermined service in the form of a time sequence diagram. In a standard process, each step will use the resources of the corresponding participating device, and as each step is executed, various types of data will fluctuate in time. In addition, the various steps in a standard process are closely related. In a complete standard process, various types of data of participating devices caused by the execution of each step are related in time. Therefore, in an embodiment of the present application, the participating devices involved in the execution of the predetermined service can be determined according to the standard process information, and multiple historical time series data corresponding to the participating devices in the normal network state in the historical period can be obtained. Here, the historical time series data is used to record the data of the participating devices in the historical period. The historical period here can be divided into multiple historical cycles, and each historical cycle can collect a work indicator parameter to obtain the historical time series data. For example, for a certain work indicator parameter, its specific value can be recorded 5 times in a historical period, so these 5 values ​​can be arranged according to the recording time to form the historical time series data corresponding to the work indicator parameter in the historical period. In an embodiment of the present application, the work indicator parameters can be set according to different participating devices. For example, in some embodiments, the work indicator parameters may include at least one of device alarm parameters, port traffic parameters, device CPU parameters, memory parameters, user online number parameters, user registration number parameters, call success rate parameters, complaint volume parameters, complaint service parameters, firewall session number parameters, and packet detection number parameters.

[0079] In the embodiment of the present application, for each parameter device, the length of each historical time series data collected is the same. For example, the length of each historical time series data can be n, where n≥1, and n is a positive integer. Different participating devices may correspond to one or more work indicator parameters. Therefore, the total number of data dimensions of the work indicator parameters in the historical time series data can be recorded as m, where m is greater than or equal to 2 and is a positive integer, which is the number of historical time series data. It can be understood that the larger the data dimension of the work indicator parameter, the higher the accuracy of subsequent anomaly detection, and the more detectable situations, but the higher the computing power requirements. When computing power is limited, the efficiency of anomaly detection will be affected. Therefore, in the embodiment of the present application, the data dimension of the work indicator parameter can be comprehensively determined according to demand, and the present application does not impose any restrictions on this. For example Figure 3 As shown, it is determined that the data set participating in the calculation should include the working index parameters of the participating devices, namely, device 1, device 2, device 3, and device 4. The types and numbers of the working index parameters used by each participating device can be flexibly selected.

[0080] In the embodiment of the present application, after obtaining a plurality of historical time series data, correlation analysis can be performed on each historical time series data to obtain a reference data model. Figure 4 , performing pairwise correlation analysis on each of the historical time series data to obtain a reference data model, including:

[0081] Performing pairwise correlation analysis on each of the historical time series data to obtain correlation values;

[0082] The correlation values ​​are quantified and arranged in a matrix to obtain the reference data model.

[0083] In the embodiment of the present application, the correlation value between two historical time series data can be calculated by the following formula:

[0084]

[0085] In the formula, i and j represent the serial numbers of historical time series data, k i represents the i-th historical time series data, k j represents the jth historical time series data, r ij It represents the correlation value between two historical time series data, n represents the total length of the historical time series data, and m represents the number of historical time series data.

[0086] After obtaining the correlation values ​​between each two historical time series data, they can be quantified and matrixed to obtain a reference data model. The specific representation of the reference data model is as follows:

[0087]

[0088] In the formula, PD represents the reference data model, and the value of the i-th row and j-th column represents the result of the numerical quantification of the correlation between the i-th historical time series data and the j-th historical time series data. The result of the numerical quantification of the correlation is a natural number in the interval [-1, 1], where less than 0 indicates negative correlation, greater than 0 indicates positive correlation, the closer to -1, the stronger negative correlation between the two historical time series data, and the closer to 1, the stronger positive correlation between the two historical time series data.

[0089] In the embodiment of the present application, for actual analysis applications, multiple first time series data corresponding to the participating devices at the current time node can be obtained. The first time series data here can be the work index parameters of the participating devices at the current time node and the predetermined period before the current time node, that is, the work index parameters of the current time node and some time nodes before the current time node can be collected, and arranged in the order of the collection time to obtain the first time series data. Then, the correlation analysis of each first time series data can be performed pairwise to obtain a network data model. The above implementation process is similar to the process of obtaining the reference data model, which will not be repeated here.

[0090] It is understandable that in the embodiment of the present application, the reference data model is collected and analyzed when the participating devices are in a normal network state. If the participating devices are still in a normal network state at the current time node, then the difference between the reference data model and the network data model should be relatively small. On the contrary, if the difference between the reference data model and the network data model is large, it means that a network anomaly is likely to occur. Therefore, in the embodiment of the present application, a difference detection can be performed on the reference data model and the network data model, and the detection result corresponding to the network can be determined based on the result of the difference detection.

[0091] Specifically, in some embodiments, the acquiring of a plurality of historical time series data corresponding to the participating devices in a normal network state during a historical period includes:

[0092] For a target device, determining a parameter type of a working indicator parameter of the target device that needs to be obtained; the target device is any of the participating devices;

[0093] According to the parameter type, obtaining the work indicator parameters corresponding to the target device under multiple historical nodes when the network status is normal;

[0094] According to the chronological order, the working indicator parameters of each parameter type are integrated to obtain the corresponding historical time series data under each parameter type.

[0095] In the embodiment of the present application, when collecting historical time series data, the participating device currently being collected is recorded as the target device. For the target device, the parameter type of the working index parameter of the target device to be obtained can be determined first, and then the working index parameters corresponding to the target device under multiple historical nodes when the network status is normal can be obtained. According to the chronological order, the working index parameters of each parameter type are integrated to obtain the corresponding historical time series data under each parameter type. In the embodiment of the present application, there is no restriction on the type and number of the specific selected parameter types, which can be flexibly selected according to actual needs.

[0096] In some embodiments, the method further comprises:

[0097] Get the amount of available computing resources;

[0098] According to the computing resource amount, the number of parameter types of the work indicator parameters included in the acquired historical time series data and the first time series data is determined.

[0099] In an embodiment of the present application, when acquiring historical time series data and first time series data, as mentioned above, the larger the data dimension of the work indicator parameter, the higher the accuracy of subsequent anomaly detection, the more detectable situations, but the higher the computing power requirement. Therefore, in an embodiment of the present application, the amount of available computing resources can be obtained, and then the number of parameter types of the work indicator parameters contained in the acquired historical time series data and first time series data can be determined based on the amount of computing resources. The larger the amount of available computing resources, the more number of parameter types of the work indicator parameters that can be obtained, and the specific functional relationship between the two is not limited by this application.

[0100] In some embodiments, performing difference detection on the reference data model and the network data model, and determining a network anomaly detection result according to a result of the difference detection, includes:

[0101] calculating a paradigm distance between the reference data model and the network data model;

[0102] If the paradigm distance is greater than a preset threshold, the network anomaly detection result is determined to be that the network has an anomaly; or, if the paradigm distance is less than or equal to the preset threshold, the network anomaly detection result is determined to be that the network does not have an anomaly.

[0103] In an embodiment of the present application, when performing a difference detection on the reference data model and the network data model, the paradigm distance between the reference data model and the network data model can be calculated. The larger the paradigm distance, that is, the greater the difference between the two models, indicates that the change trend of the network data at this moment is inconsistent with the standard process defined by the 3GPP and RFC specifications. In an embodiment of the present application, a difference threshold can be pre-set. If the preset threshold is exceeded, it means that the change trend of the current network data is inconsistent with the standard process defined by the 3GPP and RFC specifications, resulting in an abnormality in the network, and this abnormality may cause damage to the business. In an embodiment of the present application, the size of the preset threshold can be set according to the detection accuracy and network reliability. The higher the detection accuracy of the business requirements, the smaller the value of the preset threshold; the weaker the network reliability, the smaller the value of the preset threshold. It can be specifically determined by comparing and determining through continuous experiments in combination with the current network status. The present application does not limit its size. Here, the formula for calculating the paradigm distance is as follows:

[0104]

[0105] In the formula, PD represents the reference data model, MD represents the network data model, d(PD, MD) represents the paradigm distance between the reference data model and the network data model, and x ij Indicates the value of the i-th row and j-th column in the reference data model, y ij Represents the value of the i-th row and j-th column in the network data model.

[0106] In some embodiments, the performing difference detection on the reference data model and the network data model, and determining the network anomaly detection result according to the result of the difference detection, further includes:

[0107] If it is determined that the network anomaly detection result is that the network is anomaly, calculating the difference between the correlation values ​​of the same positions in the reference data model and the network data model;

[0108] According to the maximum value of the difference, a participating device causing the abnormality of the predetermined service network is determined.

[0109] In the embodiment of the present application, if the calculated paradigm distance does not exceed the preset threshold, it can be determined that the network anomaly detection result is that there is no anomaly in the network and no further processing is performed. If it exceeds the preset threshold, it can be determined that the network anomaly detection result is that there is an anomaly in the network. In the embodiment of the present application, the difference between the correlation values ​​of each identical position in the reference data model and the network data model can be further calculated. The specific formula is as follows:

[0110]

[0111] Through the above calculation, the difference of each correlation value can be determined. In the embodiment of the present application, the maximum value of the difference between the correlation values ​​in the reference data model and the network data model can be found. It can be understood that the maximum value of the difference indicates that the deviation between the two is the largest. It is likely that there is a problem with the relevant participating equipment, resulting in network anomalies. Therefore, in the embodiment of the present application, the maximum value of the difference can be used to judge the abnormal steps in the business process and determine the participating equipment that causes the abnormality of the predetermined business network. Find the relationship pair with the largest difference max(diff mm )The formula is as follows.

[0112] max(diff mm )=max|Diff(PD,MD)|

[0113] Below, in conjunction with a specific implementation case, the implementation process of a service-based network anomaly detection method provided in an embodiment of the present application is introduced and explained.

[0114] Reference Figure 5 , Figure 5 The schematic diagram of the implementation principle of a service-based network anomaly detection method provided in the embodiment of the present application is shown. The embodiment of the present application uses section 5.3.8.4 of 3GPP TS23.401 version 8.2.0 Release 8 as shown in FIG. Figure 6 The sequence flow chart of the HSS starting the separation procedure is shown, and the outflow traffic data of the corresponding ports of the MME equipment in steps 2 and 3 are collected through SNMP. The specific process of this application includes the following steps:

[0115] Step 1: Determine the data set that needs to be calculated. Figure 6 The ports used in step 2 and step 3 are as shown. The ports used in step 2 are: 4 / 0 / 7, 3 / 0 / 3, 3 / 0 / 2, 3 / 0 / 0, 2 / 0 / 3, 2 / 0 / 2; the ports used in step 3 are: 3 / 0 / 1, 2 / 0 / 1.

[0116] Step 2: Data acquisition. Use SNMP to collect the port traffic of MME. Figure 7 , Figure 7 A schematic diagram of the principle of collecting port traffic provided in an embodiment of the present application is shown. In the embodiment of the present application, the start and end time of the outflow traffic data of each port is 2024 / 2 / 8 0:01:55 to 2024 / 2 / 23 14:56:58. The embodiment of the present application uses the existing network data. The existing network management collection cycle is once every 5 minutes. Each port collects a total of 4257 cycles, so each port has a total of 4257 data. The faulty port is 4 / 0 / 7, and the occurrence time is 2024 / 02 / 22 17:26:54 (the 4000th cycle); the recovery time is 2024 / 02 / 22 18:21:54 (the 4011th cycle). Refer to Figure 8 , Figure 8 A data flow trend graph is provided in an embodiment of the present application, wherein the horizontal axis is the collection period and the vertical axis is the flow value collected in the period.

[0117] Step 3: Set the length of the time series data of the indicator to be analyzed, that is, how many time periods need to be calculated. Considering the computing power of the host that can be used in the embodiment of the present application, the length of the time series data to be analyzed is set to 100. According to the sampling of 5 minutes per cycle, the outflow flow data of a single port participating in the calculation each time is 100 cycles in total, that is, the outflow flow data of the port within 500 minutes.

[0118] Step 4: Calculate the reference data model. In the embodiment of the present application, the data of the first 100 cycles of the data set are used as the historical data set when there is no fault, and the reference data model is calculated. It is calculated that the outflow flow data of the ports used in steps 2 and 3 are strongly correlated when there is no fault. Between steps 2 and 3, due to the serial nature of the process, the outflow flow data of the ports used also have a correlation but a weaker one. Therefore, combined with step 1, the reference data model PD in this case is determined as shown in Table 1:

[0119] Table 1

[0120] PD 4 / 0 / 7 3 / 0 / 3 3 / 0 / 2 3 / 0 / 0 2 / 0 / 3 2 / 0 / 2 3 / 0 / 1 2 / 0 / 1 4 / 0 / 7 0 0.9 0.8 0.9 0.9 1 0.6 0.6 3 / 0 / 3 0.9 0 0.9 0.9 0.8 0.9 0.6 0.6 3 / 0 / 2 0.8 0.9 0 1 0.9 0.9 0.6 0.6 3 / 0 / 0 0.9 0.9 1 0 1 0.9 0.6 0.6 2 / 0 / 3 0.9 0.8 0.9 1 0 1 0.6 0.6 2 / 0 / 2 1 0.9 0.9 0.9 1 0 0.6 0.6 3 / 0 / 1 0.6 0.6 0.6 0.6 0.6 0.6 0 1 2 / 0 / 1 0.6 0.6 0.6 0.6 0.6 0.6 1 0

[0121] Step 5: Calculate the network data model. Each calculation is updated in real time, and finally the outflow traffic of multiple ports and 100 cycles of each port is used as a data set for anomaly detection calculation. Combined with step 2, take the collected outflow traffic data of MME port 3 / 0 / 1 as an example, the data involved in the calculation of this port at each time is as follows Figure 7 The data of other ports involved in the calculation are the same as that of MME port 3 / 0 / 1.

[0122] Step 6: Extract features and normalize the time series data to make the data features more obvious and facilitate subsequent calculations.

[0123] Step 7: Use the serial correlation algorithm to calculate the correlation between the two indicators and obtain the network data model. Based on the fault phenomenon and data fluctuation described in step 2, the calculation results of the network data model when there is no fault (Table 2) and the calculation results of the network data model when there is a fault (Table 2) are explained as follows.

[0124] When there is no fault: the period is 1000-1100. At this time, the network is normal. The correlation between each port is calculated. The network data model of this period is shown in Table 2:

[0125] Table 2

[0126] MD 4 / 0 / 7 3 / 0 / 3 3 / 0 / 2 3 / 0 / 0 2 / 0 / 3 2 / 0 / 2 3 / 0 / 1 2 / 0 / 1 4 / 0 / 7 1.00000 0.95148 0.95380 0.95278 0.95279 0.95246 0.82382 0.82937 3 / 0 / 3 0.95148 1.00000 0.96184 0.94987 0.95208 0.95173 0.83042 0.82557 3 / 0 / 2 0.95380 0.96184 1.00000 0.95184 0.95311 0.95110 0.83284 0.82690 3 / 0 / 0 0.95278 0.94987 0.95184 1.00000 0.95243 0.95137 0.82747 0.82307 2 / 0 / 3 0.95279 0.95208 0.95311 0.95243 1.00000 0.95204 0.82209 0.83498 2 / 0 / 2 0.95246 0.95173 0.95110 0.95137 0.95204 1.00000 0.82105 0.82687 3 / 0 / 1 0.82382 0.83042 0.93284 0.92747 0.92209 0.92105 1.00000 0.94904 2 / 0 / 1 0.82937 0.82557 0.92690 0.92307 0.93498 0.92687 0.94904 1.00000

[0127] Fault: Take the period as 4000-4100. When the network is faulty, calculate the correlation between each port and the obtained network data model for this period as shown in Table 3:

[0128] Table 3

[0129] MD 4 / 0 / 7 3 / 0 / 3 3 / 0 / 2 3 / 0 / 0 2 / 0 / 3 2 / 0 / 2 3 / 0 / 1 2 / 0 / 1 4 / 0 / 7 1.0000 -0.1105 -0.1129 -0.1052 -0.1152 -0.1038 0.28140 0.26580 3 / 0 / 3 -0.1105 1.0000 0.88567 0.86016 0.87114 0.87112 0.69694 0.68595 3 / 0 / 2 -0.1129 0.88567 1.0000 0.85924 0.86860 0.86812 0.69143 0.67852 3 / 0 / 0 -0.1052 0.86016 0.85924 1.0000 0.86351 0.86878 0.69410 0.69146 2 / 0 / 3 -0.1152 0.87114 0.86860 0.86351 1.0000 0.87194 0.6895 0.70578 2 / 0 / 2 -0.1038 0.87112 0.86812 0.86878 0.87194 1.0000 0.68781 0.68526 3 / 0 / 1 0.28140 0.69694 0.69143 0.69410 0.6895 0.68781 1.0000 0.82999 2 / 0 / 1 0.26580 0.68595 0.67852 0.69146 0.70578 0.68526 0.82999 1.0000

[0130] Step 8: Calculate the paradigm distance between the reference data model PD and the computational network data model MD, and determine the difference between the two models. The embodiment of the present application combines the current status of the network, uses the real experimental data of the network to continuously debug the test to obtain the detection accuracy required by the MME, and finally obtains a detection threshold of 1. That is, if the paradigm distance between the reference data model and the network data model is greater than or equal to 1, it means that a fault has occurred in the network at this time, and if it is less than 1, the network is fault-free. The detection results when there is no fault and the detection results when there is a fault are described as follows:

[0131] When there is no fault, the reference data model in Table 1 and the network data model in Table 2 when there is no fault, the normal distance calculation result is 0.6, which does not exceed the detection threshold 1, so it is judged that the network has no fault at this time.

[0132] When a fault occurs: Table 1 refers to the data model and Table 3 shows the network data model when a fault occurs. The result of the normal distance calculation is 7, which is far greater than the detection threshold of 1. In this case, it is determined that the network has a fault.

[0133] Step 9: When judging that the network has a fault, calculate the difference between the reference data model in Table 1 and the network data model in Table 3 when the fault occurs, and calculate that the relationship pair with the largest value at this time is {(4 / 0 / 7, 3 / 0 / 3), (4 / 0 / 7, 3 / 0 / 2), (4 / 0 / 7, 3 / 0 / 0), (4 / 0 / 7, 2 / 0 / 3), (4 / 0 / 7, 2 / 0 / 2)}. This result can be output to the operation and maintenance personnel for further abnormal location and processing.

[0134] It can be seen that the method in the embodiment of the present application has at least the following beneficial effects:

[0135] 1. Strongly related to business processes. Since 3GPP and RFC are unified standards recognized by the communications industry, this application can use the business standard processes specified in the 3GPP and RFC specifications as a theoretical basis to determine the data source that needs to be analyzed for anomaly detection. This reduces the reliance of network anomaly detection on human experience;

[0136] 2. This application can use the multi-dimensional time series data that can be obtained by each network at this stage, including multi-directional traffic of each device in the network, the number of alarms of each device, CPU, memory, number of routing entries, etc., without the need to expand the data acquisition function of the existing network. It can use various types of network time series data for anomaly detection to ensure the accuracy of detection. It can also respond quickly and accurately to abnormal event scenarios caused by improper business logic such as network forwarding anomalies caused by human error, incorrect bandwidth configuration, and detailed routing hijacking;

[0137] 3. This application uses the data that each network can obtain from the network management in real time at this stage, and synchronizes the data of the latest collection cycle from the network management in real time for calculation. It can analyze the latest status of the network in real time and make more accurate and faster decisions.

[0138] Reference Fig. 9 In an embodiment of the present application, a service-based network anomaly detection system is also provided, including:

[0139] An acquisition unit 910 is used to acquire standard process information corresponding to a predetermined service;

[0140] The first processing unit 920 is used to determine the participating devices involved in executing the predetermined service according to the standard process information, and obtain a plurality of historical time series data corresponding to the participating devices when the network status is normal during the historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices during the historical period, and the length of the historical time series data corresponding to each of the participating devices is the same;

[0141] An analysis unit 930 is used to perform a pairwise correlation analysis on each of the historical time series data to obtain a reference data model;

[0142] The second processing unit 940 is used to obtain a plurality of first time series data corresponding to the participating devices at the current time node, and perform a pairwise correlation analysis on each of the first time series data to obtain a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the first time series data corresponding to each of the participating devices has the same length;

[0143] The determination unit 950 is used to perform a difference detection on the reference data model and the network data model, and determine a detection result according to the result of the difference detection.

[0144] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0145] Reference Fig.10 , an embodiment of the present application provides an electronic device, including:

[0146] at least one processor 1010;

[0147] At least one memory 1020, used to store at least one program;

[0148] When at least one program is executed by at least one processor 1010, at least one processor 1010 implements the above-mentioned service-based network anomaly detection method.

[0149] Similarly, the contents of the above method embodiments are all applicable to the electronic device embodiments. The functions specifically implemented by the electronic device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0150] The embodiment of the present application further provides a computer-readable storage medium, in which a program executable by the processor 1010 is stored. When the program executable by the processor 1010 is executed by the processor 1010, it is used to execute the above-mentioned business-based network anomaly detection method.

[0151] Similarly, the contents of the above method embodiments are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0152] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.

[0153] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.

[0154] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0155] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0156] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0157] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0158] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0159] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

[0160] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A service-based network anomaly detection method, characterized in that: The method comprises: Obtain standard process information corresponding to the scheduled business; According to the standard process information, determine the participating devices involved in executing the predetermined business, and obtain a plurality of historical time series data corresponding to the participating devices when the network status is normal during the historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices during the historical period, and the length of the historical time series data corresponding to each of the participating devices is the same; Performing pairwise correlation analysis on each of the historical time series data to obtain a reference data model; Acquire multiple first time series data corresponding to the participating devices at the current time node, perform pairwise correlation analysis on each of the first time series data, and obtain a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the first time series data corresponding to each of the participating devices has the same length; A difference detection is performed on the reference data model and the network data model, and a detection result is determined according to the result of the difference detection.

2. A method for detecting network anomalies based on services according to claim 1, characterized in that: The participating devices include at least one of routers, switches, core network elements, switchboards, firewalls, and deep packet inspection devices; the work indicator parameters include at least one of device alarm parameters, port traffic parameters, device CPU parameters, memory parameters, user online number parameters, user registration number parameters, call success rate parameters, complaint volume parameters, complaint service parameters, firewall session number parameters, and packet detection number parameters.

3. A method for detecting network anomalies based on services according to claim 1, characterized in that: The acquiring of a plurality of historical time series data corresponding to the participating devices in a normal network state during a historical period includes: For a target device, determining a parameter type of a working indicator parameter of the target device that needs to be obtained; the target device is any of the participating devices; According to the parameter type, obtaining the work indicator parameters corresponding to the target device under multiple historical nodes when the network status is normal; According to the chronological order, the working indicator parameters of each parameter type are integrated to obtain the corresponding historical time series data under each parameter type.

4. A service-based network anomaly detection method according to any one of claims 1 to 3, characterized in that: The method further comprises: Get the amount of available computing resources; According to the computing resource amount, the number of parameter types of the work indicator parameters included in the acquired historical time series data and the first time series data is determined.

5. The method for detecting network anomalies based on services according to claim 1, characterized in that: The pairwise correlation analysis of each of the historical time series data is performed to obtain a reference data model, including: Performing pairwise correlation analysis on each of the historical time series data to obtain correlation values; The correlation values ​​are quantified and arranged in a matrix to obtain the reference data model.

6. A method for detecting network anomalies based on services according to claim 5, characterized in that: The performing difference detection on the reference data model and the network data model, and determining the network anomaly detection result according to the result of the difference detection, includes: calculating a paradigm distance between the reference data model and the network data model; If the paradigm distance is greater than a preset threshold, the network anomaly detection result is determined to be that the network has an anomaly; or, if the paradigm distance is less than or equal to the preset threshold, the network anomaly detection result is determined to be that the network does not have an anomaly.

7. A method for detecting network anomalies based on services according to claim 6, characterized in that: The performing difference detection on the reference data model and the network data model, and determining the network anomaly detection result according to the result of the difference detection, further includes: If it is determined that the network anomaly detection result is that the network is anomaly, calculating the difference between the correlation values ​​of the same positions in the reference data model and the network data model; According to the maximum value of the difference, a participating device causing the abnormality of the predetermined service network is determined.

8. A business-based network anomaly detection system, characterized in that: The system comprises: An acquisition unit, used to acquire standard process information corresponding to a predetermined business; A first processing unit is used to determine, according to the standard process information, participating devices involved in executing the predetermined service, and obtain a plurality of historical time series data corresponding to the participating devices when the network status is normal during a historical period; wherein each of the historical time series data is used to record the working index parameters of the participating devices during the historical period, and the length of the historical time series data corresponding to each of the participating devices is the same; An analysis unit, used for performing pairwise correlation analysis on each of the historical time series data to obtain a reference data model; A second processing unit is used to obtain a plurality of first time series data corresponding to the participating devices at the current time node, and perform a pairwise correlation analysis on each of the first time series data to obtain a network data model; wherein each of the first time series data is used to record the working index parameters of the participating devices at the current time node and a predetermined period before the current time node, and the first time series data corresponding to each of the participating devices has the same length; The determination unit is used to perform a difference detection on the reference data model and the network data model, and determine a detection result according to the result of the difference detection.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a service-based network anomaly detection method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to implement a service-based network anomaly detection method as described in any one of claims 1 to 7 when executed by the processor.

Citation Information

Patent Citations

  • Industrial network abnormal traffic detection method and system

    CN111431937A

  • Network anomaly prediction method and device and storage medium

    CN116056117A

  • Pattern detection in time-series data

    US20190379589A1

  • Network traffic anomaly detection method and apparatus

    US20200007566A1

Cited By

  • Network fault detection method and device, equipment, storage medium and program product

    CN120769291A

  • Network fault detection method, device, equipment, storage medium and program product

    CN120769291B

  • Network anomaly detection method and device based on data analysis

    CN121690628A