Network security monitoring method and system based on computing power, and electronic equipment
Through dynamic allocation of computing power resources and multi-task parallel processing, combined with deep learning and rules engine correlation analysis algorithms, the shortcomings of the existing technology in computing power scheduling, data processing and threat identification in network security monitoring are solved, and efficient and accurate network security monitoring and automated response are achieved.
Patent Information
- Application Number
- CN202510576197.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-06-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing network security monitoring solutions are difficult to cope with the demands of sudden growth in network traffic and the synchronous processing of multi-dimensional security data in high-performance computing environments, and traditional methods have shortcomings in the real-time, accuracy and scalability of computing power scheduling, data processing and threat identification.
The network security monitoring method based on computing power is adopted to collect security-related data in the network, dynamically allocate CPU and GPU computing resources, perform data preprocessing and multi-task parallel processing, combine deep learning and the correlation analysis algorithm of the rule engine to identify complex attack patterns, and generate security early warning information based on preset security rules.
It significantly improves the efficiency and accuracy of network security monitoring, reduces the false alarm rate, improves the threat response speed, improves the accuracy of correlation analysis, and supports automated response, suitable for high dynamic scenarios such as cloud environments and the Internet of Things.
Smart Images

Figure CN120165979A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security monitoring scheme design based on computing power, and particularly relates to a network security monitoring method, system and electronic device based on computing power. Background Art
[0002] With the rapid development of information technology, network security threats have become increasingly complex, and traditional network security monitoring schemes face many challenges in high-performance computing environments. Existing methods usually rely on static computing power allocation and are difficult to meet the needs of sudden growth in network traffic and synchronous processing of multi-dimensional security data. In the case of limited computing power resources, if the resource allocation cannot be dynamically adjusted according to task priorities, it may lead to processing delays for critical tasks (including intrusion detection in the preferred embodiments of the present invention), while low-priority tasks (including log analysis in the preferred embodiments of the present invention) occupy too many resources. In addition, the sources of security data are diverse (including traffic data, system logs, and user behavior data in the preferred embodiments of the present invention), and their formats and characteristics vary significantly. Traditional preprocessing methods are difficult to efficiently clean and uniformly format, affecting the accuracy of subsequent analysis. In terms of correlation analysis, most systems only use single-rule matching or shallow machine learning models and cannot effectively identify complex multi-stage attack patterns. At the same time, the update of security rules usually relies on manual configuration and is difficult to adapt to the dynamic evolution of new threats. In summary, the existing technology has deficiencies in the real-time performance, accuracy, and scalability of computing power scheduling, data processing, and threat identification, and there is an urgent need for a network security monitoring scheme that combines intelligent computing power allocation and optimization analysis algorithms to improve the overall protection efficiency.
[0003] Therefore, the existing technology still needs to be further developed. Summary of the Invention
[0004] The purpose of the present invention is to overcome the above technical deficiencies and provide a network security monitoring method, system and electronic device based on computing power to solve the problems existing in the prior art.
[0005] To achieve the above technical objectives, according to the first aspect of the present invention, a network security monitoring method based on computing power is provided, including:
[0006] Step A: Collect various types of security-related data in the network, where the security-related data includes network traffic data, system log data, and user behavior data;
[0007] Step B: Dynamically allocate computing power resources according to the current network conditions and security requirements, where the computing power resources include CPU computing power and GPU computing power;
[0008] Step C: Use the allocated computing power to preprocess the collected security-related data, where the preprocessing includes data cleaning and data format conversion;
[0009] Step D: using a multi-task parallel processing method to perform different types of analysis on the pre-processed data, the different types of analysis including intrusion detection analysis, vulnerability scanning analysis, and traffic anomaly analysis;
[0010] Step E: Use the optimized correlation analysis algorithm to perform correlation analysis on different analysis results to explore potential connections between data and identify complex attack patterns;
[0011] Step F: Determine whether there is a security threat based on the correlation analysis results and the preset security rules;
[0012] Step G: If it is determined that there is a security threat, generate corresponding security warning information and process it; if there is no security threat, continue monitoring.
[0013] Specifically, in step B, the distribution ratio of computing power among intrusion detection analysis tasks, vulnerability scanning analysis tasks, and traffic anomaly analysis tasks is dynamically adjusted according to changes in network traffic size, attack frequency, and data volume.
[0014] Specifically, in step B, the method includes:
[0015] Based on the NetFlow / sFlow protocol, the network device traffic is sampled and the sampling rate is dynamically adjusted to:
[0016]
[0017] Where R is the sampling rate, B current The current network bandwidth is used to balance data integrity and processing performance.
[0018] Specifically, in step C, data cleaning includes removing noise data and duplicate data, and data format conversion refers to converting data from different sources into a unified standard format.
[0019] Specifically, the task scheduling algorithm used in step D schedules multiple tasks according to the priority, computing power requirements and estimated execution time of the tasks.
[0020] Specifically, the association analysis algorithm optimized in step E is combined with deep learning and a rule engine, where deep learning is used to mine hidden patterns in data and the rule engine performs matching judgments based on preset security rules.
[0021] Specifically, in step F, the preset security rules are formulated based on historical security data and expert experience, and are updated regularly.
[0022] Specifically, in step G, processing the security warning information includes issuing an alarm, blocking abnormal connections, and isolating infected devices.
[0023] According to a second aspect of the present invention, there is provided a network security monitoring system based on computing power, comprising:
[0024] An acquisition module is used to collect various security-related data in the network, including network traffic data, system log data, and user behavior data;
[0025] The control module is used to dynamically allocate computing resources according to the current network status and security requirements, and the computing resources include CPU computing power and GPU computing power; to use the allocated computing power to preprocess the collected security-related data, and the preprocessing includes data cleaning and data format conversion; to use multi-task parallel processing to perform different types of analysis on the preprocessed data, and the different types of analysis include intrusion detection analysis, vulnerability scanning analysis, and traffic anomaly analysis; to use an optimized correlation analysis algorithm to perform correlation analysis on different analysis results to explore potential connections between data and identify complex attack patterns; to determine whether there is a security threat based on the correlation analysis results and preset security rules; if it is determined that there is a security threat, generate and process corresponding security warning information, and if there is no security threat, continue to monitor.
[0026] According to a third aspect of the present invention, there is provided an electronic device, comprising: a memory; and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the above-mentioned computing power-based network security monitoring method is implemented.
[0027] Beneficial effects:
[0028] The present invention significantly improves the efficiency and accuracy of network security monitoring through a dynamic computing power allocation and multi-task parallel processing mechanism. Specifically: First, the CPU / GPU resource allocation ratio is adjusted in real time according to network traffic, attack frequency, and data volume. A feedback mechanism based on traffic sampling is adopted to balance data integrity and processing performance, which can effectively reduce the false alarm rate and improve the threat response speed. Second, through multi-level cleaning and standardization conversion, noise and redundant data (including invalid packets and duplicate logs in the preferred embodiment of the present invention) are eliminated, unified into the JSON format, and hash values (including SHA-256 in the preferred embodiment of the present invention) are calculated to ensure cross-source data consistency and lay a high-quality foundation for subsequent analysis. Third, by combining task priority scheduling with the linkage of deep learning and rule engines, both known threats (rule engines) can be quickly identified and unknown attack patterns (LSTM+Attention models) can be mined. Through actual measurement, the DDoS detection delay can be reduced by 40%, and the accuracy of correlation analysis can be increased to 98.7%. In addition, by combining the CVE database with expert experience, automated response is supported (including blocking malicious IPs and isolating devices in the preferred embodiment of the present invention, step G), reducing manual intervention. The overall solution is significantly superior to traditional methods in terms of computing power utilization, threat recognition real-time performance, and system scalability, and is applicable to high-dynamic scenarios such as cloud environments and the Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 is a schematic flowchart of a computing power-based network security monitoring method provided in a specific embodiment of the present invention;
[0030] Figure 2 is a schematic diagram of the system composition of a computing power-based network security monitoring system provided in a specific embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0031] In order to enable those skilled in the art to better understand the technical solution of the present invention, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Based on the embodiments in this application, other similar embodiments obtained by those of ordinary skill in the art without creative efforts shall all fall within the scope of protection of this application. In addition, the directional terms mentioned in the following embodiments, such as "up", "down", "left", "right", etc. in the preferred embodiment of the present invention are only references to the directions of the drawings. Therefore, the directional terms used are for illustration rather than to limit the present invention.
[0032] The present invention will be further described below in conjunction with the drawings and preferred embodiments.
[0033] Please refer to Figure 1 , the present invention provides a computing power-based network security monitoring method, including:
[0034] Step A: Collect various types of security-related data in the network. The security-related data includes network traffic data, system log data, and user behavior data.
[0035] Specifically, Step A includes:
[0036] Network traffic data: Captured through a mirror port or traffic probe, in PCAP format, with a sampling frequency of 1000 packets / s.
[0037] System logs: Collect Windows Event Log (Event IDs 4624 / 4625 indicate login events), Linux Syslog (auth.log).
[0038] User behavior data: Obtain file access records from the terminal audit system and filter sensitive operations (including modifying configuration files in the preferred embodiment of the present invention).
[0039] Noise filtering rules:
[0040] Discard rules:
[0041] In the TCP protocol, packets with Window Size = 0 and Flags = sYN (suspected SYN Flood attack).
[0042] Packets smaller than 64 bytes (the minimum size of a normal packet is 64 bytes, including the header).
[0043] Retention rules:
[0044] HTTP / HTTPS traffic is grouped by source IP + destination IP + port, and the first 100 records in each group are retained (for noise reduction).
[0045] Step B: Dynamically allocate computing power resources according to the current network conditions and security requirements. The computing power resources include CPU computing power and GPU computing power.
[0046] Specifically, in Step B, dynamically adjust the allocation ratio of computing power among intrusion detection analysis tasks, vulnerability scanning analysis tasks, and traffic anomaly analysis tasks according to the network traffic volume, attack frequency, and data volume changes.
[0047] Specifically, in Step B, the method includes:
[0048] Perform traffic sampling on network devices based on the NetFlow / sFlow protocol, and the sampling rate is dynamically adjusted to:
[0049]
[0050] where R is the sampling rate, B currentis the current network bandwidth, which is used to balance data integrity and processing performance.
[0051] In a preferred embodiment of the present invention, a computing power allocation model is designed. The structure of the computing power allocation model includes:
[0052] Input:
[0053] B current : Current bandwidth (Mbps);
[0054] U CPU : CPU utilization rate (%);
[0055] Q task : Lengths of each task queue (intrusion detection / vulnerability scanning / traffic analysis).
[0056] Output: Computing power weight allocation W ID W VS W FA .
[0057] Algorithm formula
[0058]
[0059] (Similarly calculate W VS W FA , and α + β + γ = 1)
[0060] Preferred parameter values
[0061] α = 0.5 (intrusion detection is set to high priority, corresponding security threat is severe).
[0062] β = 0.3 (vulnerability scanning weight is set to medium, corresponding security threat is high risk).
[0063] γ = 0.2 (traffic analysis is set to low weight, corresponding security threat is low risk).
[0064] Reason: Through simulation tests, this parameter combination reduces the DDoS attack detection delay by 25%.
[0065] In a preferred embodiment of the present invention, a task scheduling strategy is designed. The task scheduling strategy includes:
[0066] Multi-queue parallel processing
[0067] Use the Fork / Join framework (Java) or Ray (Python) to implement task sharding.
[0068] GPU acceleration: The traffic analysis task is allocated to NVIDIA100 (40GB video memory) through CUDA, and 150,000 packets are processed per second.
[0069] Step C: Preprocess the collected security-related data using the allocated computing power, where the preprocessing includes data cleaning and data format conversion.
[0070] Specifically, in Step C, data cleaning includes removing noise data and duplicate data, and data format conversion refers to converting data from different sources into a unified standard format.
[0071] It should be further noted that Step C also includes:
[0072] Classify and count the protocol types in the network traffic data, and identify abnormal protocol combinations, specifically including:
[0073] Statistical proportion P of TCP / UDP / ICMP protocols TCP 、P UDP 、P ICMP :
[0074] If P ICMP > 30% and P TCP < 50%, mark it as a potential Ping Flood attack;
[0075] If P UDP > 60% and there is an abnormal DNS response packet size (> 512 bytes), mark it as a DNS amplification attack.
[0076] Furthermore, Step C includes:
[0077] Data cleaning:
[0078] Network traffic cleaning:
[0079] Noise filtering: Discard data packets with a packet length < 64 bytes, abnormal TCP (SYN and window = 0), or abnormal IP checksum; filter oversized ICMP Ping packets (> 500 bytes).
[0080] Anomaly detection: Based on the traffic rate (PPS) and the protocol distribution baseline, identify DDoS attacks or protocol abuse (in the preferred embodiment of the present invention, including an ICMP proportion > 30%); mark the login traffic in high-risk areas during non-working hours as suspicious.
[0081] System log cleaning:
[0082] Parsing standardization: Unify the timestamp to the UTCISO8601 format, parse the IP address into a CIDR block and mark the geographical location.
[0083] Format conversion: Map the event ID to the CVE / CWE number (in the preferred embodiment of the present invention, including converting "404" to CWE-404); identify user behavior (login, file access).
[0084] Redundancy processing: Exact duplicate removal based on hash values, and fuzzy clustering of similar logs to eliminate redundancy.
[0085] Data format conversion:
[0086] Unified structure:
[0087] Traffic record: Including time, IP port, protocol, payload hash, flag bits (including SYN / ACK in the preferred embodiment of the present invention), traffic type (normal / malicious).
[0088] Log record: Including event level, severity, source / destination IP, affected components and handling measures.
[0089] User behavior: Including user ID, device fingerprint, operation content, geographical location and device fingerprint.
[0090] Field enhancement:
[0091] Dynamically calculated fields (including payload hash and protocol number conversion in the preferred embodiment of the present invention), geographical information enhancement (IP conversion to country / city).
[0092] Standardized output: Forcing JSON format, defining required fields and naming specifications (including src_ip instead of source IP in the preferred embodiment of the present invention).
[0093] Key parameters: Hash algorithm SHA-256, time window 10 seconds, protocol list supporting more than 100 types.
[0094] This solution ensures data purity, consistency and structurization, provides reliable input for subsequent analysis, and meets the requirements of real-time monitoring.
[0095] Step D: Adopt a multi-task parallel processing method to perform different types of analysis on the preprocessed data, and the different types of analysis include intrusion detection analysis, vulnerability scanning analysis, and traffic anomaly analysis.
[0096] Specifically, the task scheduling algorithm adopted in step D schedules multi-tasks according to the priority, computing power requirements and estimated execution time of the tasks.
[0097] It should be further noted that regarding multi-task parallel processing, the design solution of the present invention includes the following in the preferred embodiment of the present invention;
[0098] Intrusion detection (ID):
[0099] Model: XG Boost classifier (binary classification: normal / attack).
[0100] Features: Packet header fields + traffic statistics features (number of packets per second, byte rate).
[0101] Hyperparameters: max_depth=6, n_estimators=150 (determined by grid search).
[0102] Vulnerability Scanning (VS):
[0103] Tool chain: Clang Static Analyzer + NVD CVE database matching.
[0104] Rule: Detect unupdated components (in the preferred embodiment of the present invention, this includes Apache < 2.4.51 which has CVE-2021-41773).
[0105] Traffic Anomaly Detection (FA):
[0106] Algorithm: LSTM time series prediction model:
[0107] Input: Traffic sequence of the past 30 seconds (window size T=30).
[0108] Output: MSE (mean square error) of predicted and actual traffic, with the threshold set to σ=3.θ (3σ principle).
[0109] It should be further explained that the method further comprises:
[0110] Assign a priority weight W to each task priority :
[0111] W priority =α·U threat +β·Q length +γ·T deadline
[0112] Among them, U threat Rate the threat level (0-10), Q length is the task queue length,
[0113] T deadline is the task deadline, and the weight coefficients are α=0.5, β=0.3, and γ=0.2.
[0114] Priority Scheduling W priority The highest task to computing resources.
[0115] Step E: Use the optimized correlation analysis algorithm to perform correlation analysis on different analysis results to explore potential connections between data and identify complex attack patterns.
[0116] Specifically, the optimized association analysis algorithm in step E combines deep learning and a rule engine. Deep learning is used to mine hidden patterns in data, and the rule engine makes matching judgments based on preset security rules.
[0117] It should be further noted that regarding association analysis, the design solution of the present invention includes the following in the preferred embodiment of the present invention:
[0118] Apriori association rule mining:
[0119] Input: Historical attack event library (100,000 records).
[0120] Parameters: Minimum support sup_min = 0.05, minimum confidence conf_min = 0.8.
[0121] Example rule: {"SQL injection"} is converted to {"data leakage"} [support = 0.06, confidence = 0.92]
[0122] Dynamic risk assessment:
[0123]
[0124] w i : Rule weight (normalized by expert scoring to [0, 1]), threshold: RiskScore ≥ 0.8 triggers an alarm.
[0125] Step F: According to the association analysis result and the preset security rules, determine whether there is a security threat.
[0126] Specifically, in step F, the preset security rules are formulated based on historical security data and expert experience and are updated regularly.
[0127] It should be further noted that regarding security threat determination, the design solution of the present invention includes the following in the preferred embodiment of the present invention:
[0128] Rule engine, as shown in Table 1:
[0129] Table 1 Rule engine
[0130] Rule ID Condition Action R001 Login failure 5 times per second Lock the account R002 10 SYN packets per second Limit the speed
[0131] Machine learning enhancement:
[0132] Offline training: Random forest classifier (100 trees), features include login IP, time, and device fingerprint.
[0133] Online prediction: When the threshold p = 0.7, it is determined as abnormal (AUC = 0.91).
[0134] Step G: If a security threat is detected, generate corresponding security warning information and handle it. If no security threat is detected, continue monitoring.
[0135] Specifically, in Step G, handling security warning information includes issuing an alarm, blocking abnormal connections, and isolating infected devices.
[0136] It should be further noted that regarding security warnings, the design solution of the present invention includes the following in the preferred embodiment of the present invention:
[0137] Response grading:
[0138] Low risk: Email notification (sent via SMTP protocol).
[0139] High risk: Invoke the firewall API (iptables / Windows Firewall) to block the IP.
[0140] Severe: Automatically switch to the backup link (BGP route switching, latency < 1 second).
[0141] It should be further noted that the security threat determination uses a hierarchical rule engine, specifically including:
[0142] Define a three-level rule library:
[0143] Level 1 rule (high risk): In the preferred embodiment of the present invention, it includes 5 consecutive SSH login failures, immediately triggering a block;
[0144] Level 2 rule (medium risk): In the preferred embodiment of the present invention, it includes abnormal port scanning, generating a warning and notifying the administrator;
[0145] Level 3 rule (low risk): In the preferred embodiment of the present invention, it includes logging non-working hours logins;
[0146] When matching rules, check high-level rules first to reduce false alarms.
[0147] Furthermore, the security warning handling includes:
[0148] Execute automated response to high-risk threats:
[0149] Dynamically add blocking rules by invoking the firewall API, and at the same time send an alarm message to the Security Operations Center (SOC), including threat level, attack type, and list of affected assets;
[0150] Generate a work order for medium and low-risk threats and assign it to the manual review queue.
[0151] Specifically, the method further includes:
[0152] Pre-load the following security knowledge base during system initialization:
[0153] Attack feature library: includes CVE vulnerability features (including CVE-2021-44228 in the preferred embodiment of the present invention), malicious IP blacklist (updated in real time);
[0154] Normal behavior baseline library: a statistical model trained based on historical data (including user login time distribution, traffic baseline in the preferred embodiment of the present invention);
[0155] Rule update mechanism: synchronize the latest threat intelligence weekly by subscribing to the security vendor API (including AlienVault OTX in the preferred embodiment of the present invention).
[0156] It can be understood that the present invention significantly improves the efficiency and accuracy of network security monitoring through a dynamic computing power allocation and multi-task parallel processing mechanism. Specifically: First, the CPU / GPU resource allocation ratio is adjusted in real time according to network traffic, attack frequency, and data volume, and a feedback mechanism based on traffic sampling is adopted to balance data integrity and processing performance, which can effectively reduce the false alarm rate and improve the threat response speed. Second, through multi-level cleaning and standardized conversion, noise and redundant data (including invalid packets, duplicate logs in the preferred embodiment of the present invention) are eliminated, unified into the JSON format and the hash value is calculated (including SHA-256 in the preferred embodiment of the present invention) to ensure cross-source data consistency and lay a high-quality foundation for subsequent analysis. Third, by combining task priority scheduling with the linkage of deep learning - rule engine, both known threats (rule engine) can be quickly identified and unknown attack patterns (LSTM + Attention model) can be mined. After actual measurement, the DDoS detection delay can be reduced by 40%, and the accuracy of correlation analysis can be increased to 98.7%. In addition, by combining the CVE database with expert experience, automated response (including blocking malicious IPs, isolating devices, step G in the preferred embodiment of the present invention) is supported to reduce manual intervention. The overall solution is significantly superior to traditional methods in terms of computing power utilization, threat identification real-time performance, and system scalability, and is applicable to high-dynamic scenarios such as cloud environments and the Internet of Things.
[0157] Please refer to Figure 2 , the present invention provides another embodiment. This embodiment provides a computing power-based network security monitoring system, and the computing power-based network security monitoring system includes:
[0158] An acquisition module 100, configured to collect various security-related data in the network, and the security-related data includes network traffic data, system log data, and user behavior data;
[0159] A control module 200, configured to dynamically allocate computing power resources according to the current network condition and security requirements, where the computing power resources include CPU computing power and GPU computing power; configured to preprocess the collected security-related data by using the allocated computing power, and the preprocessing includes data cleaning and data format conversion; configured to perform different types of analysis on the preprocessed data in a multi-task parallel processing manner, and the different types of analysis include intrusion detection analysis, vulnerability scanning analysis, and traffic anomaly analysis; configured to use an optimized association analysis algorithm to perform association analysis on different analysis results to discover potential connections between data and identify complex attack patterns; configured to determine whether there is a security threat according to the association analysis result and a preset security rule; if it is determined that there is a security threat, generate a corresponding security warning message and perform processing, and if there is no security threat, continue to monitor.
[0160] It should be noted here that the present invention significantly improves the efficiency and accuracy of network security monitoring through a dynamic computing power allocation and multi-task parallel processing mechanism. Specifically: First, the CPU / GPU resource allocation ratio is adjusted in real time according to network traffic, attack frequency, and data volume, and a feedback mechanism based on traffic sampling is adopted to balance data integrity and processing performance, which can effectively reduce the false alarm rate and improve the threat response speed. Second, through multi-level cleaning and standardization conversion, noise and redundant data (including invalid packets and duplicate logs in the preferred embodiment of the present invention) are eliminated, unified into the JSON format and the hash value is calculated (including SHA-256 in the preferred embodiment of the present invention) to ensure cross-source data consistency and lay a high-quality foundation for subsequent analysis. Third, by combining task priority scheduling and the linkage between deep learning and the rule engine, both known threats (rule engine) can be quickly identified and unknown attack patterns (LSTM+Attention model) can be discovered. Through actual measurement, the DDoS detection delay can be reduced by 40%, and the association analysis accuracy rate can be increased to 98.7%. In addition, by combining the CVE database and expert experience, automated response is supported (including blocking malicious IPs and isolating devices in the preferred embodiment of the present invention, step G), reducing manual intervention. The overall solution is significantly superior to traditional methods in terms of computing power utilization, threat identification real-time performance, and system scalability, and is applicable to high-dynamic scenarios such as cloud environments and the Internet of Things.
[0161] In a preferred embodiment, the present application further provides an electronic device, and the electronic device includes:
[0162] A memory; and a processor, wherein computer-readable instructions are stored on the memory, and when the computer-readable instructions are executed by the processor, the network security monitoring method based on computing power is implemented. The computer device can be broadly a server, a terminal, or any other electronic device with necessary computing and / or processing capabilities. In one embodiment, the computer device may include a processor, a memory, a network interface, a communication interface, etc. connected through a system bus. The processor of the computer device can be used to provide necessary computing, processing, and / or control capabilities. The memory of the computer device may include a non-volatile storage medium and an internal memory. An operating system, a computer program, etc. may be stored in or on the non-volatile storage medium. The internal memory can provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the computer device can be used to connect and communicate with external devices through a network. When the computer program is executed by the processor, the steps of the method of the present invention are executed.
[0163] The present invention can be implemented as a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method of the embodiments of the present invention are caused to be executed. In one embodiment, the computer program is distributed on a plurality of network-coupled computer devices or processors, so that the computer program is stored, accessed, and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, can be executed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations can be executed by one or more computer devices or processors, and one or more other method steps / operations can be executed by one or more other computer devices or processors. One or more computer devices or processors can execute a single method step / operation, or execute two or more method steps / operations.
[0164] Those of ordinary skill in the art can understand that the method steps of the present invention can be completed by causing relevant hardware, which includes a computer device or a processor in the preferred embodiment of the present invention, through a computer program. The computer program can be stored in a non-transitory computer-readable storage medium, and when the computer program is executed, the steps of the present invention are caused to be executed. Depending on the situation, any reference to a memory, storage, database, or other medium herein may include non-volatile and / or volatile memories. Examples of non-volatile memories include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, etc. Examples of volatile memories include random access memory (RAM), external cache memory, etc.
[0165] It is understandable that through the dynamic computing power allocation and multi-task parallel processing mechanism, the present invention significantly improves the efficiency and accuracy of network security monitoring. Specifically: First, the CPU / GPU resource allocation ratio is adjusted in real time according to network traffic, attack frequency and data volume, and a feedback mechanism based on traffic sampling is adopted to balance data integrity and processing performance, which can effectively reduce the false alarm rate and improve the threat response speed. Second, through multi-level cleaning and standardization conversion, noise and redundant data (including invalid packets and duplicate logs in the preferred embodiment of the present invention) are eliminated, unified into the JSON format and the hash value is calculated (including SHA-256 in the preferred embodiment of the present invention) to ensure cross-source data consistency and lay a high-quality foundation for subsequent analysis. Third, by combining task priority scheduling with the linkage of deep learning and rule engine, both known threats (rule engine) can be quickly identified and unknown attack patterns (LSTM+Attention model) can be mined. After actual measurement, the DDoS detection delay can be reduced by 40%, and the accuracy of correlation analysis can be increased to 98.7%. In addition, by combining the CVE database with expert experience, automated response is supported (including blocking malicious IPs and isolating devices in the preferred embodiment of the present invention, step G), reducing manual intervention. The overall solution is significantly superior to traditional methods in terms of computing power utilization, threat identification real-time performance and system scalability, and is applicable to high-dynamic scenarios such as cloud environment and Internet of Things.
[0166] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification as long as such combination does not exist in contradiction.
[0167] The specific implementation manners of the present invention described above do not constitute a limitation on the protection scope of the present invention. Any other corresponding changes and deformations made according to the technical concept of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A network security monitoring method based on computing power, characterized in that: The following steps are involved: Step A: Collect various security-related data in the network, including network traffic data, system log data, and user behavior data; Step B: Dynamically allocate computing resources according to current network conditions and security requirements, where the computing resources include CPU computing power and GPU computing power; Step C: preprocessing the collected security-related data using the allocated computing power, wherein the preprocessing includes data cleaning and data format conversion; Step D: using a multi-task parallel processing method to perform different types of analysis on the pre-processed data, the different types of analysis including intrusion detection analysis, vulnerability scanning analysis, and traffic anomaly analysis; Step E: Use the optimized correlation analysis algorithm to perform correlation analysis on different analysis results to explore potential connections between data and identify complex attack patterns; Step F: Determine whether there is a security threat based on the correlation analysis results and the preset security rules; Step G: If it is determined that there is a security threat, generate corresponding security warning information and process it; if there is no security threat, continue monitoring.
2. The network security monitoring method based on computing power according to claim 1 is characterized in that: In step B, the distribution ratio of computing power among intrusion detection analysis tasks, vulnerability scanning analysis tasks, and traffic anomaly analysis tasks is dynamically adjusted according to changes in network traffic size, attack frequency, and data volume.
3. The network security monitoring method based on computing power according to claim 2 is characterized in that: In step B, the method comprises: Based on the NetFlow / sFlow protocol, the network device traffic is sampled and the sampling rate is dynamically adjusted to: Where R is the sampling rate, B current The current network bandwidth is used to balance data integrity and processing performance.
4. The network security monitoring method based on computing power according to claim 1 is characterized in that: In step C, data cleaning includes removing noise data and duplicate data, and data format conversion refers to converting data from different sources into a unified standard format.
5. The network security monitoring method based on computing power according to claim 1 is characterized in that: The task scheduling algorithm used in step D schedules multiple tasks according to the priority, computing power requirements and estimated execution time of the tasks.
6. The network security monitoring method based on computing power according to claim 1 is characterized in that: The association analysis algorithm optimized in step E combines deep learning and a rule engine. Deep learning is used to mine hidden patterns in data, and the rule engine performs matching judgments based on preset security rules.
7. The network security monitoring method based on computing power according to claim 1 is characterized in that: In step F, the preset safety rules are formulated based on historical safety data and expert experience, and are updated regularly.
8. The network security monitoring method based on computing power according to claim 1 is characterized in that: In step G, processing the security warning information includes issuing an alarm, blocking abnormal connections, and isolating infected devices.
9. A network security monitoring system based on computing power, characterized in that: include: An acquisition module is used to collect various security-related data in the network, including network traffic data, system log data, and user behavior data; A control module is used to dynamically allocate computing resources according to the current network status and security requirements, and the computing resources include CPU computing power and GPU computing power; to use the allocated computing power to pre-process the collected security-related data, and the pre-processing includes data cleaning and data format conversion; and to use multi-task parallel processing to perform different types of analysis on the pre-processed data, and the different types of analysis include intrusion detection analysis, vulnerability scanning analysis, and traffic anomaly analysis; Used to use optimized correlation analysis algorithms to perform correlation analysis on different analysis results, so as to explore potential connections between data and identify complex attack patterns; Used to determine whether there is a security threat based on the correlation analysis results and preset security rules; If it is determined that there is a security threat, the corresponding security warning information will be generated and processed. If there is no security threat, monitoring will continue.
10. An electronic device, characterized in that: include: Memory; and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the computing power-based network security monitoring method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Industrial network threat state monitoring method and system
CN120474848A
Controllable full-stack security detection method and device, electronic equipment and storage medium
CN121056251A
Controllable full-stack security detection method and device, electronic equipment and storage medium
CN121056251B
Network anomaly sensing detection method and system based on big data
CN121077817A
Big data-based network anomaly perception detection method and system
CN121077817B
