A dynamic virtualized network security management method and system based on NFV
Through the dynamic virtualization network security management method based on NFV, combined with the identification and analysis functions of the SDN controller, the problem of being unable to identify and respond to abnormal traffic in the existing technology is solved, and refined management and rapid response to network traffic are achieved. Improved network security protection capabilities.
Patent Information
- Application Number
- CN202410035696.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-01-10
AI Technical Summary
Existing network security management technology is difficult to deeply analyze and identify abnormal traffic, and cannot provide customized abnormal traffic detection and response strategies for different network slices, resulting in the inability to detect and prevent network attacks in a timely manner.
Adopt a dynamic virtualization network security management method based on NFV, build a cross-network slicing mechanism by acquiring network traffic in real time, use the SDN controller to identify and analyze the traffic, determine whether it meets the preset matching rules, analyze abnormal traffic patterns and behavioral data, and input Train the model to generate adjustment policies and automatically execute the policies through the SDN controller.
It achieves refined management of network traffic, quickly identifies abnormal traffic and takes corresponding measures, improves the efficiency and effectiveness of network security management, and enhances the ability to prevent network attacks.
Smart Images

Figure CN117879936B
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security, and in particular to a NFV-based dynamic virtualized network security management method and system. Background Art
[0002] Virtualized network security refers to a series of measures and technologies to ensure the security of network communications and data integrity in a virtualized environment. With the rapid development of network technology, network security issues are becoming increasingly prominent, and network attack methods are also becoming more innovative. Traditional network security management methods are difficult to meet the growing security needs, and network security management also needs to be adjusted and optimized accordingly.
[0003] Existing network security management technologies often lack in-depth analysis and identification of abnormal traffic when facing complex and ever-changing network attacks, resulting in the inability to timely discover and prevent potential network attacks; at the same time, existing network traffic management methods also lack effective management of different network slices, and cannot provide customized abnormal traffic detection and response strategies for specific network slices, making it difficult to finely control network traffic. Therefore, existing technologies have defects and need to be improved. Summary of the invention
[0004] In order to solve one or several problems in the prior art, the main purpose of the present application is to provide a dynamic virtualized network security management method and system based on NFV.
[0005] In order to achieve the above-mentioned invention object, the present application proposes a dynamic virtualized network security management method based on NFV, the method comprising:
[0006] Get access to network traffic in real time;
[0007] Construct a cross-network slice mechanism, and identify the network traffic matching different network slices through the SDN controller, wherein the identified content includes source address, destination address, port information and protocol type;
[0008] According to the identification result, determining whether the network traffic meets the preset matching rules;
[0009] When the network traffic does not meet the preset matching rules, the network traffic is determined to be abnormal traffic;
[0010] Analyzing the abnormal traffic to obtain pattern data and behavior data of the abnormal traffic;
[0011] Inputting the pattern data and behavior data of the abnormal traffic into the trained model for identification to obtain an adjustment strategy;
[0012] The network traffic is processed based on a result of the adjustment policy.
[0013] Further, judging whether the network traffic meets a preset matching rule according to the identification result includes:
[0014] Loading the preset matching rules, wherein the preset matching rules include the IP address, port range, and protocol type allowed to be accessed;
[0015] Determine whether the source address is within the range of IP addresses allowed to be accessed;
[0016] Determine whether the target address is within the range of IP addresses allowed to be accessed;
[0017] Determining whether the port information is within the allowed port range;
[0018] Determine whether the protocol type complies with the protocol type;
[0019] According to the result of the judgment, when all the network traffic meets the preset matching rules, the network traffic is determined to be normal traffic.
[0020] Furthermore, the cross-network slice mechanism is constructed, and the network traffic matching different network slices is identified by the SDN controller, and the identified content includes source address, destination address, port information and protocol type, including:
[0021] Setting an attribute policy for the network slice to allocate network traffic greater than a preset traffic threshold to the first network slice;
[0022] According to the location of the network traffic, the network traffic with the preset location information is allocated to the second network slice;
[0023] Identify the user identity of the network traffic according to the user authentication information, and allocate the network traffic within the preset user identity range to the third network slice;
[0024] When the network traffic satisfies multiple conditions at the same time, the slice to which the network traffic belongs is determined according to the priority, the first network slice is the first priority, the second network slice is the second priority, and the third network slice is the third priority;
[0025] Configuring identification attributes of the SDN controller, identifying network traffic through the SDN controller, and classifying it according to traffic characteristics;
[0026] Setting a network generator and setting flow parameters for the network generator;
[0027] Inputting the network traffic of each category into a filter, and filtering out the source address, destination address, port information and protocol type of the network traffic through the filter;
[0028] Determine whether the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters;
[0029] If the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters, the source address, destination address, port information and protocol type are output.
[0030] Furthermore, the inputting of the pattern data and behavior data of the abnormal traffic into the trained model for identification to obtain an adjustment strategy includes:
[0031] Performing data preprocessing on the pattern data and behavior data of the abnormal traffic;
[0032] The pre-processed pattern data and behavior data are input into a trained neural network model for identification to obtain an adjustment strategy, which includes an alarm strategy, a current limiting strategy, and a blocking strategy.
[0033] Furthermore, the method further comprises:
[0034] Collect abnormal traffic data;
[0035] Preprocessing the abnormal traffic data, wherein the preprocessing includes data cleaning, deduplication, and format conversion;
[0036] Extracting a feature set from the preprocessed abnormal traffic data, the feature set includes traffic rate, number of connections, message length, message sequence, and protocol type;
[0037] Dividing the abnormal traffic data into different time windows according to the timestamp information;
[0038] Based on each of the time windows, calculating statistical indicators of abnormal traffic, the statistical indicators including mean, standard deviation, skewness, and kurtosis;
[0039] Combining the feature set and the statistical index to obtain a feature vector;
[0040] The feature vector is input into a deep learning model to generate a trend distribution table of abnormal traffic.
[0041] Furthermore, the alarm strategy includes alarm instructions for abnormal traffic, which are used to receive alarm instructions and send alarm information to the user end; the flow limiting strategy includes flow limiting instructions for abnormal traffic, which are used to receive flow limiting instructions and limit the abnormal traffic; the blocking strategy includes blocking instructions for abnormal traffic, which are used to receive blocking instructions and block the abnormal traffic.
[0042] Furthermore, the method further comprises:
[0043] When the network traffic does not meet the preset matching rules, the network traffic is determined to be abnormal traffic;
[0044] Performing correlation analysis on the abnormal traffic to mine network security threat information of the abnormal traffic;
[0045] The preset matching rule is adjusted according to the association analysis result.
[0046] The embodiment of the present application also provides a dynamic virtualized network security management system based on NFV, including:
[0047] The acquisition module is used to obtain the access network traffic in real time;
[0048] A first identification module is used to build a cross-network slice mechanism, and identify the network traffic matching different network slices through the SDN controller, and the identification content includes source address, destination address, port information and protocol type;
[0049] A judgment module, used to judge whether the network traffic meets the preset matching rules according to the identification result;
[0050] A determination module, configured to determine that the network traffic is abnormal traffic when the network traffic does not conform to a preset matching rule;
[0051] An analysis module, used for analyzing the abnormal traffic to obtain pattern data and behavior data of the abnormal traffic;
[0052] A second identification module is used to input the pattern data and behavior data of the abnormal traffic into the trained model for identification to obtain an adjustment strategy;
[0053] A processing module is used to process the network traffic based on the result of the adjustment strategy.
[0054] The present application also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
[0055] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.
[0056] The NFV-based dynamic virtualized network security management method and system of the embodiment of the present application, by real-time acquisition and analysis of network traffic flow information, combines network slicing with NFV and SDN, provides more flexibility and intelligent management capabilities for network management, can implement more refined management of the network, quickly identify abnormal traffic according to the traffic information of different slices and take corresponding adjustment strategies, by setting matching rules, by judging whether the source address, destination address, port information and protocol type of the network traffic are within the allowable range of the matching rules. When it is detected that the network traffic does not meet the preset matching rules, it can be judged that the network traffic is abnormal traffic, and the abnormal traffic pattern and behavior detection may indicate that the network is under attack or abnormal situation according to the abnormal traffic. The pattern data and behavior data of the abnormal traffic are input into the trained model, and the response strategy of the pattern data and behavior data is identified by the model, and the SDN controller can automatically execute the strategy. From the above analysis, it can be seen that the embodiment of the present application acquires and analyzes network traffic in real time, and adopts different security strategies for different network slices based on different network slices, and can customize security measures according to the specific attributes of the traffic, so as to achieve more refined management of the network, thereby improving the efficiency and effect of security management. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A flowchart of a dynamic virtualized network security management method based on NFV according to an embodiment of the present application;
[0058] Figure 2 A flowchart of a dynamic virtualized network security management method based on NFV according to an embodiment of the present application;
[0059] Figure 3 This is a schematic block diagram of the structure of a dynamic virtualized network security management system based on NFV according to an embodiment of the present application;
[0060] Figure 4 A schematic block diagram of the structure of a computer device according to an embodiment of the present application.
[0061] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0063] Reference Figure 1 In an embodiment of the present application, a dynamic virtualized network security management method based on NFV is provided, the method comprising: including an SDN controller, the method comprising:
[0064] S1. Obtain access network traffic in real time;
[0065] S2. Build a cross-network slice mechanism, and identify the network traffic matching different network slices through the SDN controller, wherein the identified content includes source address, destination address, port information and protocol type;
[0066] S3. According to the identification result, determining whether the network traffic meets the preset matching rules;
[0067] S4. When the network traffic does not meet the preset matching rules, the network traffic is determined to be abnormal traffic;
[0068] S5. Analyze the abnormal traffic to obtain pattern data and behavior data of the abnormal traffic;
[0069] S6, inputting the pattern data and behavior data of the abnormal traffic into the trained model for identification, and obtaining an adjustment strategy;
[0070] S7. Process the network traffic based on the result of the adjustment strategy.
[0071] As described in the above steps S1-S2, by acquiring and analyzing the flow information of network traffic in real time, namely the source address, destination address, port information and protocol type, the abnormal traffic is quickly identified according to the flow information and the corresponding adjustment strategy is adopted. This technical solution based on NFV and SDN controller can provide a more intelligent and flexible response means for network security management. NFV (Network Function Virtualization) aims to achieve network security through servers, storage and network devices based on industry standards. SDN (Software Defined Networking) is a network architecture whose main goal is to make the network more flexible, programmable and easier to manage. The SDN architecture is mainly used to separate the network control function from traditional hardware devices and realize the decoupling between network control and data planes through software. Specifically, by analyzing the detailed information of network traffic, the network can be managed more finely. Different security policies are adopted for different network slices, and security measures can be customized according to the specific attributes of the traffic, thereby improving the efficiency and effectiveness of security management. Building a cross-network slice mechanism, different users or organizations may need different security and service levels on a shared infrastructure. The slice mechanism can help isolate traffic and ensure the data security of each tenant. In large or complex network environments, real-time monitoring and analysis of traffic patterns are essential for early detection of threats. Slicing technology can help administrators better understand network behavior and quickly identify anomalies. Although the slicing mechanism itself is not a new concept, combining it with NFV and SDN technologies can provide more flexibility and intelligent management capabilities for network management, especially in complex network environments that require high customization and dynamic management, and can implement more refined management of the network.
[0072] As described in step S3 above, by setting matching rules, it is determined whether the source address, destination address, port information and protocol type of the network traffic are within the allowed range of the matching rules. The matching rules may include the IP addresses, port ranges, protocol types, etc. that are allowed to be accessed. It is worth mentioning that new attack methods and threats may be encountered during the network security management process. In order to maintain the real-time and effectiveness of the matching rules, it is necessary to regularly update the preset matching rules in order to better deal with network security risks.
[0073] As described in the above steps S4-S5, when it is detected that the network traffic does not meet the preset matching rules, it can be determined that the network traffic is abnormal traffic. Identifying abnormal traffic patterns and behaviors based on abnormal traffic is an important task in the field of network security, which is used to detect traffic that may indicate that the network is under attack or abnormal conditions. Abnormal traffic patterns and behaviors may include DDoS attacks: large-scale data packets from different sources rush to the target server or network, causing network resources to be exhausted. Port scanning: a large number of connection attempts, trying to access multiple ports in the network, which may be a penetration test of the network or a reconnaissance behavior before an attack. Abnormal traffic rate: a sudden increase or decrease in traffic that exceeds the normal range may indicate that the network is under attack or some equipment is malfunctioning. Abnormal protocol usage: the presence of uncommon network transmission protocols or communications on abnormal ports may mean that malware or attacks are ongoing.
[0074] As described in the above steps S6-S7, the pattern data and behavior data of abnormal traffic are input into the trained model, and the response strategy of the pattern data and behavior data is identified by the model. The SDN controller can automatically execute the strategy, such as dynamically adjusting flow table items, starting specific defense mechanisms, switching traffic paths, or isolating affected network parts, etc. These automated response measures can quickly respond to security threats and minimize the delay of human intervention.
[0075] As described in the above steps, by acquiring and analyzing the flow information of network traffic in real time, combining network slicing with NFV and SDN, providing more flexibility and intelligent management capabilities for network management, and implementing more refined management of the network, quickly identifying abnormal traffic according to the flow information of different slices and taking corresponding adjustment strategies, by setting matching rules, judging whether the source address, destination address, port information and protocol type of the network traffic are within the allowable range of the matching rules. When it is detected that the network traffic does not meet the preset matching rules, it can be judged that the network traffic is abnormal traffic, and the abnormal traffic pattern and behavior detection may indicate that the network is under attack or abnormal situation according to the abnormal traffic. The pattern data and behavior data of the abnormal traffic are input into the trained model, and the response strategy of the pattern data and behavior data is identified by the model, and the SDN controller can automatically execute the strategy. From the above analysis, it can be seen that the embodiment of the present application acquires and analyzes network traffic in real time, and adopts different security strategies for different network slices based on different network slices, and can customize security measures according to the specific attributes of the traffic, so as to achieve more refined management of the network, thereby improving the efficiency and effect of security management.
[0076] In a feasible embodiment, the application scenarios of the dynamic virtualization network security management method based on NFV may include: Enterprise network security management: In an enterprise network environment, this method can monitor and analyze network traffic in real time, and identify abnormal traffic according to preset matching rules. When abnormal traffic is found, the system can automatically parse and extract feature data of the abnormal traffic, and then identify it through the trained model to obtain adjustment strategies. According to these adjustment strategies, enterprises can adjust the preset matching rules in real time to ensure the security and stability of the network. Data center network security: Data centers carry a large amount of sensitive data and key services, and have high requirements for network security. This method can be applied to data centers to monitor network traffic in real time, discover and prevent potential attacks and malicious behaviors. By continuously adjusting the preset matching rules, the network security protection capabilities of data centers are improved. Cloud computing platform security: Cloud computing platforms face diverse security challenges, including DDoS attacks, Web application attacks, etc. This method can obtain and analyze network traffic in real time, identify abnormal traffic and extract feature data. Through the trained model, the cloud computing platform can quickly obtain adjustment strategies, adjust the preset matching rules in real time, and ensure the normal operation of cloud computing services. Financial network security: The financial industry has extremely high requirements for network security. This method can be applied to financial networks to monitor network traffic in real time and detect and prevent potential attacks. By extracting the characteristic data of abnormal traffic and obtaining adjustment strategies based on the trained model, the preset matching rules can be adjusted in real time to ensure the normal development of financial business.
[0077] In one embodiment, judging whether the network traffic meets a preset matching rule according to the identification result includes:
[0078] Loading the preset matching rules, wherein the preset matching rules include the IP address, port range, and protocol type allowed to be accessed;
[0079] Determine whether the source address is within the range of IP addresses allowed to be accessed;
[0080] Determine whether the target address is within the range of IP addresses allowed to be accessed;
[0081] Determining whether the port information is within the allowed port range;
[0082] Determine whether the protocol type complies with the protocol type;
[0083] According to the result of the judgment, when all the network traffic meets the preset matching rules, the network traffic is determined to be normal traffic.
[0084] As described in the above steps, by comparing the network traffic with the preset matching rules, the extracted key information of the network traffic is compared with the preset matching rules one by one. According to the comparison results, if all the key information of the network traffic meets the preset matching rules, the network traffic is judged to be normal traffic; otherwise, it is judged to be abnormal traffic. It is judged whether the source address is within the IP address range allowed to be accessed; whether the target address is within the IP address range allowed to be accessed; whether the port information is within the allowed port range; and whether the protocol type meets the protocol type. Specifically, 1: Check whether the source address is within the IP address range allowed to be accessed: This step is mainly implemented through a network firewall or security policy. The firewall will pre-set a range of IP addresses allowed to be accessed, and only IP addresses within this range can access the internal network. For example, if the company allows employees to work from home, then the range of employees' home IP addresses can be added to the firewall so that they can access the company's internal resources normally. 2: Check whether the target address is within the IP address range allowed to be accessed: Similar to the first step, this step is also implemented through a network firewall or security policy. The difference is that this step is to check whether the target IP address of the access request is within the range allowed to be accessed. For example, the company's internal servers are only accessible to employees in a specific department. In this case, you can set the allowed IP address range in the firewall to limit access rights. 3: Check whether the port is within the allowed port range: This step is implemented through network devices and firewalls. Pre-set a port range that is allowed to be accessed, and only ports within this range are allowed to be accessed. For example, the company allows employees to use the SSH service, but only allows the default port 22. In this case, you can set the firewall to only allow access requests to port 22. 4: Check whether the protocol type meets the preset protocol type requirements: This step is implemented through network devices and firewalls. Pre-set the protocol type that is allowed to be accessed, and only protocol types that meet the requirements are allowed to be accessed. For example, the company allows employees to use the HTTP protocol to access external websites, but prohibits the use of the HTTPS protocol. In this case, you can set the firewall to only allow access requests to the HTTP protocol. By presetting the allowed IP addresses, ports, and protocol types, you can effectively prevent unauthorized devices or users from accessing the internal network and improve network security. For employees in specific departments or roles, you can set different access rights to achieve fine-grained control over internal network resources. By limiting access to specific ports, you can reduce the risk of network attacks, such as preventing SQL injection attacks, denial of service attacks, etc.; by limiting uncommon or high-risk protocol types, you can optimize network performance and reduce potential security risks.
[0085] Reference Figure 2In one embodiment, the cross-network slice mechanism is constructed, and the network traffic matching different network slices is identified by the SDN controller, and the identified content includes source address, destination address, port information and protocol type, including:
[0086] S21. Setting an attribute policy for a network slice to allocate network traffic greater than a preset traffic threshold to a first network slice;
[0087] S22. Allocate the network traffic of the preset positioning information to the second network slice according to the positioning of the network traffic;
[0088] S23. Identify the user identity of the network traffic according to the user authentication information, and allocate the network traffic within the preset user identity range to the third network slice;
[0089] S24. When the network traffic satisfies multiple conditions at the same time, the slice to which the network traffic belongs is determined according to the priority, the first network slice is the first priority, the second network slice is the second priority, and the third network slice is the third priority;
[0090] S25. Configuring the identification attribute of the SDN controller, identifying network traffic through the SDN controller, and classifying it according to traffic characteristics;
[0091] S26, setting a network generator, and setting flow parameters for the network generator;
[0092] S27, inputting the network traffic of each category into a filter, and filtering out the source address, destination address, port information and protocol type of the network traffic through the filter;
[0093] S28, determining whether the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters;
[0094] S29. If the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters, the source address, destination address, port information and protocol type are output.
[0095] As described in the above steps S21-S24, the attribute strategy of the network slice can be dynamically adjusted based on the traffic threshold. When the network traffic exceeds the preset threshold, it is automatically classified into the first network slice. During the peak traffic period, when the traffic on a certain link exceeds the set threshold, the system automatically divides this part of the traffic into a separate network slice to ensure the peak carrying capacity of the network. By identifying specific positioning information (such as MAC address, IMSI, etc.) in the traffic, the network traffic containing this specific information is allocated to the second network slice. In IoT applications, network traffic is distinguished based on the physical location information of the terminal device to ensure that specific traffic receives priority treatment or specific services. The user's authentication information, such as user name, password or digital certificate, is used to confirm the user identity of the network traffic and allocate it to the third network slice. In an enterprise network, for internal users with different permissions, network traffic is divided into management traffic and ordinary user traffic based on their identity authentication information. The flexibility of this strategy lies in that it can dynamically adjust the traffic threshold according to the real-time network status, so as to manage network resources more effectively; through accurate positioning information, more sophisticated network traffic management can be achieved, and personalized allocation of network resources can be improved; through accurate traffic feature identification, more advanced network traffic management and optimization can be achieved. For example, within the data center, different network slices can be set according to the traffic characteristics of different applications (such as real-time, latency requirements, etc.) to ensure that key applications have sufficient network resources. In smart cities, network traffic related to traffic management, monitoring, etc. can be allocated to specific network slices based on the location information of vehicles or equipment to improve response speed and efficiency; priorities are assigned to different network slices, and when network traffic meets the conditions of multiple slices, the slice to which it belongs is determined according to the priority. For example, if a network traffic meets the conditions of the first, second and third network slices at the same time, but the first network slice has the highest priority, the traffic should be allocated to the first network slice.
[0096] As described in the above steps S25-S26, a network generator can be set, and traffic parameters can be set for the network generator: this step is achieved by writing a program or using a dedicated device. The network generator is used to simulate network traffic, and different traffic parameters can be set, such as traffic size, traffic rate, traffic type, etc. In this way, the range of IP addresses, ports and protocol types allowed to be accessed can be pre-set. For example, the network generator can be set to generate a certain number of HTTP requests, and the source address, destination address, port information and protocol type of these requests are all within the allowed range.
[0097] As described in step S27, the network traffic is input into the filter, and the source address, destination address, port information and protocol type of the network traffic are filtered out by the filter: this step is implemented by writing a program or using a dedicated filtering device. The filter can extract the source address, destination address, port information and protocol type from the network traffic according to preset rules. For example, regular expressions or other filtering algorithms can be used to extract data packets that meet the preset rules from a large amount of network traffic.
[0098] As described in the above step S28, it is determined whether the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters: this step is implemented by writing a program or using a dedicated judgment device. The judger can compare the source address, destination address, port information and protocol type of the network traffic according to the preset traffic parameters. For example, a judgment function can be written to compare the extracted network traffic information with the preset traffic parameters.
[0099] As described in the above step S29, if the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters, the source address, destination address, port information and protocol type are output: this step is implemented by writing a program or using a dedicated output device. When the source address, destination address, port information and protocol type of the network traffic are consistent with the preset traffic parameters, this information is output. For example, the network traffic information that meets the preset rules can be displayed to the user in text or graphic form.
[0100] As mentioned above, by setting up network generators and filters, you can pre-set the range of IP addresses, ports, and protocol types that are allowed to be accessed, which helps ensure that network traffic meets expectations; use filters to automatically extract key information from network traffic, reduce the burden of manual analysis, and improve work efficiency; by writing programs or using special judgment equipment, you can quickly determine whether the source address, destination address, port information, and protocol type of network traffic are consistent with the preset traffic parameters; when the source address, destination address, port information, and protocol type of network traffic are consistent with the preset traffic parameters, output this information, which helps analyze and monitor network conditions and ensure network security. It helps administrators better manage and monitor network traffic, ensure network security, and improve work efficiency.
[0101] In a feasible embodiment, when identifying the source address, destination address, port information and protocol type of the first network slice, the second network slice and the third network slice, the specific uses of different network slices can be subdivided and identified. For example: the first network slice: used to process network traffic greater than a preset traffic threshold. Source address: set one or more specific source IP address ranges. Destination address: set one or more specific destination IP address ranges. Port information: set a specific port number range, for example, ports for certain common applications (such as HTTP, HTTPS, etc.). Protocol type: limit specific protocols, such as TCP and UDP. Another example: the second network slice: specializes in processing network traffic with preset location information. Source address and destination address: set a specific IP address range or MAC address according to geographic location or network path. Port information: set a specific port number range. Protocol type: limit specific protocols. Another example: the third network slice: for network traffic with a preset user identity. User authentication information: set specific identification information according to user account, device identifier, user role, etc. Source address and destination address: set one or more specific IP address ranges. Port information: set a specific port number range. Protocol type: limit specific identity protocol. From the above analysis: the identification attributes of each network slice can be adjusted according to specific needs and scenarios to achieve more refined network traffic management and control. For example, for the first network slice, a higher traffic threshold can be set to handle a large number of high-traffic requests; for the second network slice, traffic transmission can be optimized according to geographic location or network path to improve network performance; for the third network slice, network requests of specific users can be restricted or prioritized according to user identity. In this way, the needs of different network applications can be better met and the overall performance and reliability of the network can be improved.
[0102] In one embodiment, the pattern data and behavior data of the abnormal traffic are input into a trained model for identification to obtain an adjustment strategy, including:
[0103] Performing data preprocessing on the pattern data and behavior data of the abnormal traffic;
[0104] The pre-processed pattern data and behavior data are input into a trained neural network model for identification to obtain an adjustment strategy, which includes an alarm strategy, a current limiting strategy, and a blocking strategy.
[0105] As described above, the pattern data and behavior data of the abnormal traffic are preprocessed: this step is to prepare the data for input into the neural network model. Preprocessing includes operations such as cleaning, feature extraction and normalization of data. For example, the data packets of the abnormal traffic are parsed, key parameters such as source address, destination address, protocol type, traffic size, etc. are extracted, and these data are normalized so that the data have similar distribution characteristics. The preprocessed pattern data and behavior data are input into the trained neural network model for identification to obtain the adjustment strategy: this step is achieved by training the neural network model. The neural network model can identify the pattern and behavior of abnormal traffic and generate an adjustment strategy based on the identification results. For example, a deep learning framework (such as TensorFlow or PyTorch) is used to build and train a neural network model, the input is the preprocessed abnormal traffic data, and the output is the adjustment strategy (alarm strategy, current limiting strategy, blocking strategy). By preprocessing the abnormal traffic data, useful features can be extracted to make the data easier to be recognized by the neural network model. At the same time, the preprocessing process can eliminate noise and outliers in the data and improve the accuracy of the model; using the trained neural network model to identify abnormal traffic can quickly discover the patterns and behaviors of abnormal traffic. The neural network model has good generalization ability and can maintain high recognition accuracy in the face of complex network environments; through the output of the neural network model, adjustment strategies for abnormal traffic can be obtained, including alarm strategies, current limiting strategies, and blocking strategies. These strategies can help network administrators respond to abnormal situations in a timely manner and ensure the security and stable operation of the network.
[0106] In one embodiment, the method further comprises:
[0107] Collect abnormal traffic data;
[0108] Preprocessing the abnormal traffic data, wherein the preprocessing includes data cleaning, deduplication, and format conversion;
[0109] Extracting a feature set from the preprocessed abnormal traffic data, the feature set includes traffic rate, number of connections, message length, message sequence, and protocol type;
[0110] Dividing the abnormal traffic data into different time windows according to the timestamp information;
[0111] Based on each of the time windows, calculating statistical indicators of abnormal traffic, the statistical indicators including mean, standard deviation, skewness, and kurtosis;
[0112] Combining the feature set and the statistical index to obtain a feature vector;
[0113] The feature vector is input into a deep learning model to generate a trend distribution table of abnormal traffic.
[0114] As mentioned above, the step of collecting abnormal traffic data is achieved through network monitoring systems or security devices. These devices can capture traffic data in the network, including normal traffic and abnormal traffic. Collecting abnormal traffic data helps to identify and analyze abnormal situations; preprocessing is to prepare data for input into deep learning models. Data cleaning can remove invalid data and noise to ensure data accuracy. Removing duplicates can prevent the impact of duplicate data on analysis results. Format conversion is to convert data into a format suitable for deep learning model processing; feature extraction is performed on the preprocessed abnormal traffic data, including traffic rate, number of connections, message length, message sequence, and protocol type: feature extraction is to extract key features that describe abnormal traffic. These features can help deep learning models better identify and analyze abnormal situations; time window division helps to analyze the distribution law of abnormal traffic over time, so as to better understand the development trend of abnormal situations; calculate statistical indicators of abnormal traffic, including mean, standard deviation, skewness, and kurtosis: statistical indicators can help us understand the statistical characteristics of abnormal traffic and further analyze its laws; by training deep learning models, the trend distribution of abnormal traffic can be predicted, thereby achieving real-time monitoring and early warning of abnormal situations.
[0115] In one embodiment, the alarm strategy includes an alarm instruction for abnormal traffic, which is used to receive an alarm instruction and send an alarm message to the user end; the flow limiting strategy includes a flow limiting instruction for abnormal traffic, which is used to receive a flow limiting instruction to limit the abnormal traffic; the blocking strategy includes a blocking instruction for abnormal traffic, which is used to receive a blocking instruction to block the abnormal traffic.
[0116] In one embodiment, the method further comprises:
[0117] When the network traffic does not meet the preset matching rules, the network traffic is determined to be abnormal traffic;
[0118] Performing correlation analysis on the abnormal traffic to mine network security threat information of the abnormal traffic;
[0119] The preset matching rule is adjusted according to the association analysis result.
[0120] As described above, the abnormal traffic is subjected to correlation analysis to mine network security threat information of the abnormal traffic. In this step, by collecting and integrating information such as network traffic, system logs, and security events, the network security threats in the abnormal traffic are mined using correlation analysis methods (such as clustering, sequence analysis, etc.). For example, the analysis finds that the abnormal traffic on multiple servers has similar characteristics, and there may be distributed attack behaviors. According to the correlation analysis results, the preset matching rules are adjusted. In this step, the preset matching rules are dynamically adjusted according to the network security threat information mined to improve the pertinence and effectiveness of network security management. For example, for distributed attacks, the matching rules can be adjusted to strengthen the monitoring and filtering of specific ports and protocol types to prevent the attack from continuing. The network security threat information specifically includes: attack source, attack target, attack type, attack time, attack frequency, etc. By mining this information, the network security status can be understood, potential threats can be discovered, and a basis can be provided for adjusting the matching rules. According to the correlation analysis results, the matching rules are dynamically adjusted to improve the effectiveness of network security management. For example, for the discovered distributed attacks, the monitoring and filtering of specific ports and protocol types can be strengthened to prevent the attack from continuing. For example: Assume that in a certain enterprise's network, a large amount of abnormal traffic from the outside is discovered through real-time monitoring. The system correlated and analyzed these abnormal flows and found that these flows had similar characteristics, such as source address, destination address, and port. Further analysis found that these flows were concentrated in a period of time and showed explosive growth, which was suspected to be a distributed denial of service (DDoS) attack. Based on this threat information, the system adjusted the preset matching rules, strengthened the monitoring of specific ports and protocol types, and took measures to improve protection capabilities, such as setting access control and limiting abnormal traffic. Through these adjustments, enterprises can more effectively prevent potential network security threats and ensure the normal operation of the network.
[0121] The dynamic virtualized network security management method based on NFV of the present application obtains and analyzes the flow information of network traffic in real time, which are source address, destination address, port information and protocol type, and quickly identifies abnormal traffic according to the flow information and adopts corresponding adjustment strategies. By setting matching rules, it is determined whether the source address, destination address, port information and protocol type of the network traffic are within the allowable range of the matching rules. When it is detected that the network traffic does not meet the preset matching rules, it can be determined that the network traffic is abnormal traffic, and the abnormal traffic pattern and behavior detection may indicate that the network is under attack or abnormal situation according to the abnormal traffic. The pattern data and behavior data of the abnormal traffic are input into the trained model, and the response strategy of the pattern data and behavior data is identified by the model, and the SDN controller can automatically execute the strategy. From the above analysis, it can be seen that the embodiment of the present application obtains and analyzes the network traffic in real time, quickly identifies the abnormal traffic and adopts the corresponding adjustment strategy, and realizes the dynamic virtualized network security management based on NFV, which can improve the network security performance and reduce the network security risk.
[0122] Reference Figure 3 In an embodiment of the present application, a dynamic virtualized network security management system based on NFV is also provided, including:
[0123] Acquisition module 1, used to acquire access network traffic in real time;
[0124] The first identification module 2 is used to build a cross-network slice mechanism, and identify the network traffic matching different network slices through the SDN controller, and the identification content includes source address, destination address, port information and protocol type;
[0125] A judgment module 3 is used to judge whether the network traffic meets the preset matching rules according to the identification result;
[0126] A determination module 4, configured to determine that the network traffic is abnormal traffic when the network traffic does not conform to a preset matching rule;
[0127] An analysis module 5 is used to analyze the abnormal traffic and obtain pattern data and behavior data of the abnormal traffic;
[0128] A second identification module 6 is used to input the pattern data and behavior data of the abnormal traffic into the trained model for identification to obtain an adjustment strategy;
[0129] The processing module 7 is used to process the network traffic based on the result of the adjustment strategy.
[0130] As described above, it can be understood that the various components of the NFV-based dynamic virtualized network security management system proposed in this application can realize the functions of any of the NFV-based dynamic virtualized network security management methods described above, and the specific structure will not be repeated.
[0131] Reference Figure 4 In an embodiment of the present application, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as monitoring data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a dynamic virtualized network security management method based on NFV is implemented.
[0132] The processor executes the NFV-based dynamic virtualization network security management method, including: obtaining accessed network traffic in real time; identifying and matching the network traffic through the SDN controller, wherein the identified content includes source address, destination address, port information and protocol type; judging whether the network traffic meets the preset matching rules according to the result of the identification; when the network traffic does not meet the preset matching rules, judging the network traffic as abnormal traffic; parsing the abnormal traffic to obtain pattern data and behavior data of the abnormal traffic; inputting the pattern data and behavior data of the abnormal traffic into a trained model for identification to obtain an adjustment strategy; and processing the network traffic based on the result of the adjustment strategy.
[0133] The above-mentioned dynamic virtualized network security management method based on NFV obtains and analyzes the flow information of network traffic in real time, which are the source address, destination address, port information and protocol type, and quickly identifies abnormal traffic according to the flow information and adopts corresponding adjustment strategies. By setting matching rules, it is determined whether the source address, destination address, port information and protocol type of the network traffic are within the allowable range of the matching rules. When it is detected that the network traffic does not meet the preset matching rules, it can be determined that the network traffic is abnormal traffic, and the abnormal traffic pattern and behavior detection may indicate that the network is under attack or abnormal situation according to the abnormal traffic. The pattern data and behavior data of the abnormal traffic are input into the trained model, and the response strategy of the pattern data and behavior data is identified by the model, and the SDN controller can automatically execute the strategy. From the above analysis, it can be seen that the present application obtains and analyzes network traffic in real time, quickly identifies abnormal traffic and adopts corresponding adjustment strategies to realize dynamic virtualized network security management based on NFV, which can improve network security performance and reduce network security risks.
[0134] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a dynamic virtualized network security management method based on NFV is implemented, including the steps of: acquiring accessed network traffic in real time; identifying and matching the network traffic through the SDN controller, wherein the identified content includes the source address, the destination address, the port information and the protocol type; judging whether the network traffic meets the preset matching rules according to the result of the identification; judging that the network traffic is abnormal traffic when the network traffic does not meet the preset matching rules; parsing the abnormal traffic to obtain the pattern data and behavior data of the abnormal traffic; inputting the pattern data and behavior data of the abnormal traffic into a trained model for identification to obtain an adjustment strategy; and processing the network traffic based on the result of the adjustment strategy.
[0135] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0136] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.
[0137] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A dynamic virtualized network security management method based on NFV, It is characterized in that Including an SDN controller, the method includes: Get access to network traffic in real time; Construct a cross-network slice mechanism, and identify the network traffic matching different network slices through the SDN controller, wherein the identified content includes source address, destination address, port information and protocol type; According to the identification result, determining whether the network traffic meets the preset matching rules; When the network traffic does not meet the preset matching rules, the network traffic is determined to be abnormal traffic; Analyzing the abnormal traffic to obtain pattern data and behavior data of the abnormal traffic; Inputting the pattern data and behavior data of the abnormal traffic into the trained model for identification to obtain an adjustment strategy; processing the network traffic based on a result of the adjustment policy; The cross-network slicing mechanism is constructed, and the network traffic matching different network slices is identified by the SDN controller, and the identified content includes the source address, the destination address, the port information and the protocol type, including: setting the attribute policy of the network slice, and allocating the network traffic greater than the preset traffic threshold to the first network slice; according to the location of the network traffic, allocating the network traffic with the preset location information to the second network slice; identifying the user identity of the network traffic according to the user authentication information, and allocating the network traffic within the preset user identity range to the third network slice; when the network traffic meets multiple conditions at the same time, determining the slice to which the network traffic belongs according to the priority, the first network slice is the first priority, and the The second network slice is the second priority, and the third network slice is the third priority; configure the identification attribute of the SDN controller, identify the network traffic through the SDN controller, and classify it according to the traffic characteristics; set a network generator, set traffic parameters for the network generator; input the network traffic of each category into the filter, and filter out the source address, destination address, port information and protocol type of the network traffic through the filter; determine whether the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters; if the source address, destination address, port information and protocol type of the network traffic are consistent with the set traffic parameters, output the source address, destination address, port information and protocol type. The address, port information and protocol type; the attribute strategy of network slicing is dynamically adjusted based on the traffic threshold. When the network traffic exceeds the preset threshold, it is automatically classified into the first network slice. During the peak traffic period, when the traffic on a certain link exceeds the set threshold, the system automatically divides this part of the traffic into a separate network slice to ensure the peak carrying capacity of the network. By identifying the specific positioning information in the traffic, the network traffic containing this specific information is allocated to the second network slice. In the Internet of Things application, the network traffic is distinguished according to the physical location information of the terminal device to ensure that specific traffic receives priority treatment or specific services; the user's authentication information, including username, password or digital certificate, is used to confirm the network. The user identity of network traffic is identified and assigned to the third network slice. In the enterprise network, for internal users with different permissions, network traffic is divided into management traffic and ordinary user traffic based on their identity authentication information. The flexibility of this strategy lies in the ability to dynamically adjust traffic thresholds based on real-time network conditions, thereby managing network resources more effectively. With precise positioning information, more sophisticated network traffic management can be achieved, improving the personalized allocation of network resources. With precise traffic feature identification, more advanced network traffic management and optimization can be achieved. Within the data center, different network slices can be set based on the traffic characteristics of different applications and the real-time and latency requirements to ensure that key applications have sufficient network resources.In a smart city, network traffic related to traffic management, monitoring, etc. can be allocated to specific network slices based on the location information of vehicles or equipment to improve response speed and efficiency; priorities are assigned to different network slices. When network traffic meets the conditions of multiple slices, the slice to which it belongs is determined based on the priority. When a network traffic meets the conditions of the first, second and third network slices at the same time, but the first network slice has the highest priority, the traffic is allocated to the first network slice; when identifying the source address, destination address, port information and protocol type of the first, second and third network slices, the specific uses of different network slices are subdivided and identified, including: the first network slice, used to process network traffic greater than a preset traffic threshold, source address: set one or more specific source IP address ranges, destination address: set one or more specific destination IP address ranges; port information: set a specific port number range, for HTTP and HTTPS ports; protocol type: limit specific protocols, including TCP, UDP; Second network slice: used to process network traffic with preset location information; Source address and destination address: set a specific IP address range or MAC address according to geographic location or network path; Port information: set a specific port number range; Protocol type: limit a specific protocol; Third network slice: for network traffic with preset user identity; User authentication information: set specific identification information according to user account, device identifier, and user role; Source address and destination address: set one or more specific IP address ranges; Port information: set a specific port number range; Protocol type: limit a specific identity protocol; Adjust the identification attributes of each network slice according to specific needs and scenarios to achieve more refined network traffic management and control; For the first network slice, set a higher traffic threshold to handle a large number of high-traffic requests; For the second network slice, optimize traffic transmission and improve network performance according to geographic location or network path; For the third network slice, limit or prioritize network requests of specific users according to user identity. ; 2. The NFV-based dynamic virtualized network security management method according to claim 1, It is characterized in that The determining, based on the result of the identification, whether the network traffic complies with a preset matching rule includes: Loading the preset matching rules, wherein the preset matching rules include the IP address, port range, and protocol type allowed to be accessed; Determine whether the source address is within the range of IP addresses allowed to be accessed; Determine whether the target address is within the range of IP addresses allowed to be accessed; Determining whether the port information is within the allowed port range; Determine whether the protocol type complies with the protocol type; According to the result of the judgment, when all the network traffic meets the preset matching rules, the network traffic is determined to be normal traffic.
3. The NFV-based dynamic virtualized network security management method according to claim 1, It is characterized in that The step of inputting the pattern data and behavior data of the abnormal traffic into the trained model for identification to obtain an adjustment strategy includes: Performing data preprocessing on the pattern data and behavior data of the abnormal traffic; The pre-processed pattern data and behavior data are input into a trained neural network model for identification to obtain an adjustment strategy, which includes an alarm strategy, a current limiting strategy, and a blocking strategy.
4. The NFV-based dynamic virtualized network security management method according to claim 1, It is characterized in that The method further comprises: Collect abnormal traffic data; Preprocessing the abnormal traffic data, wherein the preprocessing includes data cleaning, deduplication, and format conversion; Extracting a feature set from the preprocessed abnormal traffic data, the feature set includes traffic rate, number of connections, message length, message sequence, and protocol type; Dividing the abnormal traffic data into different time windows according to the timestamp information; Based on each of the time windows, calculating statistical indicators of abnormal traffic, the statistical indicators including mean, standard deviation, skewness, and kurtosis; Combining the feature set and the statistical index to obtain a feature vector; The feature vector is input into a deep learning model to generate a trend distribution table of abnormal traffic.
5. The NFV-based dynamic virtualized network security management method according to claim 3, It is characterized in that The alarm strategy includes an alarm instruction for abnormal traffic, which is used to receive an alarm instruction and send an alarm message to the user end; the flow limiting strategy includes a flow limiting instruction for abnormal traffic, which is used to receive a flow limiting instruction to limit the abnormal traffic; the blocking strategy includes a blocking instruction for abnormal traffic, which is used to receive a blocking instruction to block the abnormal traffic.
6. The NFV-based dynamic virtualized network security management method according to any one of claims 1 to 5, It is characterized in that The method further comprises: When the network traffic does not meet the preset matching rules, the network traffic is determined to be abnormal traffic; Performing correlation analysis on the abnormal traffic to mine network security threat information of the abnormal traffic; The preset matching rule is adjusted according to the association analysis result.
7. A dynamic virtualized network security management system based on NFV, used in the method according to any one of claims 1 to 6, It is characterized in that include: The acquisition module is used to obtain the access network traffic in real time; A first identification module is used to build a cross-network slice mechanism, and identify the network traffic matching different network slices through the SDN controller, and the identification content includes source address, destination address, port information and protocol type; A judgment module, used to judge whether the network traffic meets the preset matching rules according to the identification result; A determination module, configured to determine that the network traffic is abnormal traffic when the network traffic does not conform to a preset matching rule; An analysis module, used for analyzing the abnormal traffic to obtain pattern data and behavior data of the abnormal traffic; A second identification module is used to input the pattern data and behavior data of the abnormal traffic into the trained model for identification to obtain an adjustment strategy; A processing module is used to process the network traffic based on the result of the adjustment strategy.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
