A real-time analysis and monitoring method for network security information data
By constructing behavioral baselines and deep learning models for smart home terminal devices, and analyzing and dynamically comparing deviations in real time, combined with a rule knowledge base for anomaly identification and tiered response, the problems of false alarms and cross-device collaborative attacks in smart home network security monitoring are solved, thereby improving security and user experience.
Patent Information
- Application Number
- CN202511297832.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-11
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2045-09-11
AI Technical Summary
Existing methods for monitoring and analyzing network security information data in smart homes suffer from high false alarm rates, difficulty in identifying cross-device collaborative attacks, and a lack of dynamic adjustment in response strategies, which negatively impact user experience and device availability.
By collecting real-time network information of smart home terminal devices, constructing behavioral baselines based on historical data and dynamically comparing deviations, and combining rule knowledge bases and deep learning models for anomaly identification and handling, multi-dimensional danger identification and graded response are achieved.
It reduces the false alarm rate of security analysis and monitoring, improves the detection accuracy of known attacks, comprehensively covers collaborative attacks and single-point intrusion scenarios of smart home terminal devices, and ensures the security of network information and data.
Smart Images

Figure CN120856458B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of network information data security analysis technology, and relates to a method for real-time analysis and monitoring of network security information data. Background Technology
[0002] With the rapid proliferation of smart home devices, cybersecurity threats are growing exponentially, and traditional passive defense models can no longer meet the demands for real-time response. Given the unique characteristics of smart home scenarios, the evolution of real-time analysis and monitoring technologies needs to integrate technologies such as the Internet of Things (IoT), edge computing, and artificial intelligence to form a low-latency, highly compatible, and robust defense system.
[0003] Existing methods for monitoring and analyzing network security information data based on smart homes can basically meet the needs of use, but they still have some shortcomings: On the one hand, existing methods for monitoring and analyzing network security information data based on smart homes lack the ability to obtain the normal range of operating parameters, network traffic and user operations of smart home terminal devices in the current state by analyzing historical network information. This may result in false alarms caused by the fact that the danger alarm threshold of network information data does not match its normal range.
[0004] On the other hand, existing monitoring and analysis methods for network security information data based on smart homes mostly adopt single time series analysis or spatial correlation detection, which makes it difficult to identify cross-device collaborative attacks. Furthermore, their corresponding strategies often adopt a "one-size-fits-all" approach, lacking dynamic adjustment of the intensity of response based on the level of danger, which affects user experience and device availability. Summary of the Invention
[0005] In view of this, in order to solve the problems mentioned in the background technology, a real-time analysis and monitoring method for network security information data is proposed.
[0006] The objective of this invention can be achieved through the following technical solution: This invention provides a real-time analysis and monitoring method for network security information data, including: Step 1, real-time collection of current network information of various smart home terminal devices belonging to several users, including device operation data, network communication data and user operation data.
[0007] Step 2: Based on historical network information, construct the behavioral baseline of each smart home terminal device using the weighted average method and automatically iterate and update it. Calculate the deviation between the current network information and its corresponding behavioral baseline by dynamic comparison. When the deviation exceeds a preset threshold, generate an anomaly flag.
[0008] Step 3: The anomaly identifier is matched against the anomaly type according to the rule knowledge base. If the match is successful, the corresponding handling strategy is triggered. If the match fails, step 4 is executed.
[0009] Step 4: The cloud security center obtains the horizontal spatial correlation analysis results and the vertical temporal prediction results through a trained deep learning model based on the current network information. These results are then coupled to calculate the final comprehensive risk score, and the danger level is determined according to the risk interval division rules.
[0010] Step 5: Trigger the graded response mechanism according to the stated danger level. Compared with the prior art, the beneficial effects of the present invention are as follows: 1. The present invention analyzes the behavioral baseline of each smart home terminal device based on historical network information, and dynamically compares and calculates the deviation between the current network information and its corresponding behavioral baseline, thereby updating the operating parameters, network traffic, and normal range of user operations of the smart home terminal devices in real time, which helps to reduce the false alarm rate of its security analysis and monitoring.
[0011] 2. This invention matches anomaly types according to a preset rule knowledge base, and triggers corresponding handling strategies upon successful matching, thereby ensuring rapid handling of known attacks and improving the accuracy of known attack detection.
[0012] 3. This invention identifies risks through multiple dimensions such as horizontal spatial correlation and vertical temporal prediction, comprehensively covering collaborative attacks and single-point intrusion scenarios of smart home terminal devices. Furthermore, through the cascading mechanism of rule knowledge base and deep learning model, it not only ensures the rapid handling of known attacks but also identifies unknown risks, thereby improving the security of network information data of smart home terminal devices. Attached Figure Description
[0013] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a schematic diagram illustrating the implementation steps of the method of the present invention. Detailed Implementation
[0015] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0016] Please see Figure 1As shown, the present invention provides a real-time analysis and monitoring method for network security information data. The specific steps are as follows: Step 1: Collect the current network information of each smart home terminal device belonging to several users in real time, including device operation data, network communication data and user operation data.
[0017] It should be noted that the integrated system monitoring sensors, hardware status sensors, network interface controllers, intrusion detection sensors, input interaction sensors, and behavior analysis engines within the user's home are used to collect current network information of various smart home terminal devices belonging to several users. The existing technology is relatively mature and will not be elaborated here.
[0018] In one specific example, the device operating data includes, but is not limited to, device CPU utilization, memory usage, memory consumption ratio, and firmware version hash value.
[0019] The network communication data includes, but is not limited to, traffic rate, number of IP fragmentation reassembly anomalies, and DNS query domain name blacklist hit rate.
[0020] The user operation data includes, but is not limited to, user login timestamp sequences, multi-factor authentication trigger records, number of biometric verification failures, device function call frequencies such as the number of times the camera is turned on, and permission change records such as the addition of administrator accounts.
[0021] Step 2: Based on historical network information, construct the behavioral baseline of each smart home terminal device using the weighted average method and automatically iterate and update it. Calculate the deviation between the current network information and its corresponding behavioral baseline by dynamic comparison. When the deviation exceeds a preset threshold, generate an anomaly flag.
[0022] As a preferred feasible embodiment, the specific analysis process of the behavioral baseline of each smart home terminal device includes: extracting the historical daily operation monitoring data of each smart home terminal device belonging to several users from the historical device operation data, and obtaining the average value of the historical daily operation monitoring data of each smart home terminal device belonging to several users by weighting and averaging. Similarly, the average value of the historical daily network communication monitoring data of each smart home terminal device belonging to several users and the average value of the user operation monitoring data can be obtained.
[0023] As a feasible embodiment of the above, each historical day can be the historical days of nearly 90 days of each device belonging to several users, with the current time as the boundary.
[0024] The specific calculation process of the historical daily operation monitoring data average includes the following: dividing several users into scenario sub-databases according to user type, and using a weighted average method to calculate the baseline for the historical data in each scenario sub-database to avoid the single average being disturbed by short-term abnormal data.
[0025] For example, the user type may be an office worker, a senior citizen, a freelancer, etc.
[0026] The weighted average method can assign a weight of 0.6 to the data of the past 30 days, a weight of 0.3 to the data of 31-60 days, and a weight of 0.1 to the data of 61-90 days.
[0027] The average historical daily operation monitoring data of each smart home terminal device belonging to several users, the average historical daily network communication monitoring data, and the average user operation monitoring data are collectively referred to as the behavioral baseline of each smart home terminal device.
[0028] As a preferred feasible embodiment, the specific calculation process of the deviation between the current network information and its corresponding behavioral baseline includes: extracting the current operation monitoring data of each smart home terminal device belonging to several users from the current device operation data, and calculating the deviation between the current operation monitoring data of each smart home terminal device belonging to several users and its corresponding behavioral baseline according to the deviation standard formula.
[0029] It should be further explained that the specific process for calculating the deviation of the current operational monitoring data of each smart home terminal device belonging to the aforementioned users from their corresponding behavioral baseline using the deviation standard formula is as follows: ,in Each of the several users belongs to the first The current number of smart home terminal devices Individual operational monitoring data, historical days Average value of each operational monitoring data point, historical days The average value of the first operational monitoring data and the first The deviation of each operational monitoring data point from its corresponding behavioral baseline. , This refers to the serial number of each smart home terminal device. The number of smart home terminal devices, , Assign a number to each operational monitoring data point. The amount of monitoring data.
[0030] If the deviation of a certain operational monitoring data from its corresponding behavioral baseline exceeds a preset threshold, an anomaly flag is generated for that operational monitoring data.
[0031] It should be further explained that the anomaly identifier is a technical identifier that identifies specific operational characteristics that deviate significantly from the normal behavior baseline and have potential security threats through pattern analysis of user operation behavior. In essence, it uses algorithms to extract behavioral fingerprints with attack characteristics from massive logs to trigger security alerts.
[0032] Similarly, it can generate anomaly flags for the current operation monitoring data, current network communication monitoring data, and current user operation monitoring data of each smart home terminal device belonging to several users.
[0033] A specific example is (1) Operation monitoring data anomaly marker: For the operation status data of smart home terminal devices, such as device CPU utilization, memory utilization, firmware version anomaly, etc., when the deviation of the current data from the historical behavior baseline exceeds a preset threshold.
[0034] (2) Network communication monitoring data anomaly marker: generated when the communication mode deviates from the normal baseline, targeting the network communication behavior of the device, such as abnormal traffic rate, high-risk port access, cross-business group data transmission, etc.
[0035] (3) User operation monitoring data anomaly marker: generated when the operation mode is inconsistent with the historical baseline, based on the user's operation behavior on the device, such as abnormal login frequency, permission abuse, sensitive command call, etc.
[0036] This invention analyzes the behavioral baseline of each smart home terminal device based on historical network information, and dynamically compares and calculates the deviation between the current network information and its corresponding behavioral baseline. It updates the operating parameters, network traffic, and normal range of user operations of the smart home terminal devices in real time, which helps to reduce the false alarm rate of its security analysis and monitoring.
[0037] Step 3: The anomaly identifier is matched against the anomaly type according to the rule knowledge base. If the match is successful, the corresponding handling strategy is triggered. If the match fails, step 4 is executed.
[0038] It should be noted that the rule knowledge base is used to store all the abnormal tags and their abnormal types of the operation monitoring data, abnormal network communication monitoring data, and abnormal user operation monitoring data of various smart home terminal devices belonging to several users.
[0039] As a preferred feasible embodiment, the specific process of matching the anomaly type according to the rule knowledge base includes: if the anomaly identifier of a certain current operation monitoring data of a certain smart home terminal device belonging to a certain user is consistent with a certain anomaly tag of the corresponding operation monitoring data stored in the rule knowledge base, then the current operation monitoring data of the smart home terminal device belonging to the user is recorded as the abnormal operation monitoring data of the smart home terminal device belonging to the user, and the anomaly type of the corresponding operation monitoring data stored in the rule knowledge base is taken as the anomaly type of the abnormal operation monitoring data of the smart home terminal device belonging to the user, and at the same time, the match is marked as successful.
[0040] Similarly, we can obtain the abnormal operation monitoring data, abnormal network communication monitoring data, and abnormal user operation monitoring data of each smart home terminal device belonging to several users.
[0041] As a preferred feasible embodiment, the anomaly type specifically includes brute-force attacks, denial-of-service attacks, malware infections, data theft, and vulnerability exploitation attacks.
[0042] The specific countermeasures for brute-force attacks are to block the attack source and strengthen the authentication mechanism.
[0043] Specifically, the blocking of the attack source is as follows: (1) At the network layer, add firewall rules to the home gateway to block the attack source IP address for 24 hours. (2) At the device layer, temporarily disable the external access ports of the device, such as turning off the remote login function of the smart lock.
[0044] The enhanced authentication mechanism specifically includes: (1) enforcing multi-factor authentication, such as confirming login via mobile APP verification code; (2) temporarily increasing password complexity requirements, such as password length ≥ 12 characters, including uppercase and lowercase letters and symbols.
[0045] The specific strategies for handling denial-of-service attacks include traffic scrubbing and rate limiting, and device protection.
[0046] Specifically, the traffic scrubbing and rate limiting are as follows: (1) Enable traffic shaping on the edge gateway to limit the rate of suspected attack traffic to 1Mbps. (2) Use tools such as Cloudflare Magic Transit to scrub abnormal traffic.
[0047] The device protection specifically includes: (1) closing unnecessary service ports, such as disabling the external HTTP management interface of the smart camera; and (2) enabling the device's built-in anti-flooding mechanism, such as limiting the maximum number of requests per second to 50.
[0048] The specific strategies for handling malware infections include isolating infected devices, removing malicious programs, and performing a full network scan and repair.
[0049] Specifically, isolating infected devices involves: (1) removing the infected device from the home network, such as removing its MAC address from the Wi-Fi blacklist; and (2) disabling the device's network communication function, such as cutting off the Wi-Fi connection of a smart bulb.
[0050] The removal of malicious programs specifically involves: (1) forcibly restoring factory settings to clear all user data and suspicious processes; and (2) reflashing the official firmware in safe mode, such as using the OTA repair tool provided by the manufacturer.
[0051] The full network scan and repair specifically includes: (1) initiating a whole-house device health check to scan whether other devices have been affected. (2) updating the antivirus signature database of all devices, such as the ClamAV database.
[0052] The specific countermeasures for data theft are to block data transmission and encrypt sensitive data.
[0053] Specifically, blocking data transmission involves: (1) intercepting traffic destined for malicious domains / IPs at the gateway layer, such as blocking DNS resolution for malicious.com; and (2) disabling the device's data upload function, such as disabling cloud synchronization for smart refrigerators.
[0054] The encrypted sensitive data specifically includes: (1) forcibly enabling transmission encryption (e.g., upgrading HTTP to HTTPS, enabling TLS for MQTT). (2) triggering remote erasure of leaked data, such as clearing the camera SD card via MDM commands.
[0055] The specific strategies for handling exploit attacks are emergency vulnerability patching and privilege embargo minimization.
[0056] Specifically, the emergency vulnerability remediation includes: (1) automatically triggering device firmware updates, prioritizing the remediation of known CVE vulnerabilities, such as CVE-2021-44228. (2) temporarily disabling vulnerability-related functions, such as turning off the camera's ONVIF protocol.
[0057] The aforementioned permission minimization specifically includes: (1) downgrading device permissions, such as changing the admin account on a smart router to a regular user account. (2) deleting high-risk services, such as uninstalling unused Telnet services.
[0058] This invention matches anomaly types according to a preset rule knowledge base, and triggers corresponding handling strategies upon successful matching, thereby ensuring rapid handling of known attacks and improving the accuracy of known attack detection.
[0059] Step 4: The cloud security center obtains the horizontal spatial correlation analysis results and the vertical temporal prediction results through a trained deep learning model based on the current network information. These results are then coupled to calculate the final comprehensive risk score, and the danger level is determined according to the risk interval division rules.
[0060] As a preferred feasible embodiment, the specific process of obtaining the horizontal spatial correlation analysis results includes: the trained deep learning model records the normal connection relationships, communication ports, business group divisions, etc. between devices based on the entity relationship diagram of smart home terminal devices of users stored in the database, i.e., the device network topology. It identifies device nodes that deviate from the normal community structure, such as isolated devices suddenly connecting to unfamiliar IPs, detects abnormal edges of each device, such as high-risk port access, sensitive data transmission across business groups, and identifies various hidden attack chains, such as connections through multi-level jump servers. The GNN can identify these through path analysis and record them as the horizontal spatial correlation analysis results of several users.
[0061] It should be further explained that the deep learning model can be a graph neural network (GNN), which identifies normal patterns and abnormal features through labeled historical data.
[0062] Specifically, the trained deep learning model analyzes the device connection relationships in the current network information in real time, compares them with the trained "normal community structure", identifies abnormal nodes, that is, discovers devices that deviate from the normal connection mode, such as a smart socket suddenly connecting to an external server; detects abnormal edges, that is, identifies abnormal communication links between devices, such as a smart TV sending a large amount of data to an unknown IP, which may be data theft; and identifies hidden attack chains, that is, through path analysis, such as the graph traversal capability of GNN, discovers multi-level jump attacks, such as the "camera → router → cloud" jump attack path.
[0063] As a preferred feasible embodiment, the specific process of obtaining the longitudinal time series prediction result includes: aggregating the current network information according to time windows such as 5 minutes / 1 hour to generate time series feature data corresponding to the current network information of the user's smart home terminal device, and performing preprocessing such as processing missing values and normalizing data.
[0064] It should be further noted that the time-series features include, but are not limited to, single entity features and group features.
[0065] In a specific example, the single entity characteristics include, but are not limited to, device traffic rate, login frequency, request success rate, etc.; the group characteristics include, but are not limited to, overall bandwidth usage of the business group, abnormality rate of similar devices, etc.
[0066] Input the current network information corresponding to the time series feature data into the trained deep learning model, and output the network information of each smart home terminal device of several users corresponding to the predicted values and confidence intervals for future time periods. Record these as the longitudinal time series prediction results for several users.
[0067] It should be further explained that the deep learning model can adopt a time series prediction model such as LSTM to learn the time series patterns in historical data, such as the diurnal periodicity of device traffic and user operation habits. LSTM fits normal time series patterns through historical data to generate predicted values and confidence intervals.
[0068] As a preferred feasible embodiment, the specific process of calculating the final comprehensive risk score through coupling and determining the hazard level according to the risk interval division rule includes: comparing the horizontal spatial correlation analysis results of several users with the horizontal correlation-risk score mapping table stored in the database to obtain the horizontal spatial correlation risk scores of several users.
[0069] As a specific example, the horizontal association-risk score mapping is represented as shown in Table 1 below.
[0070] Table 1. Examples of Horizontal Linkage-Risk Score Mapping
[0071] Horizontal spatial correlation analysis results Example of a specific scenario description Risk score (0-100) Equipment nodes that deviate from the normal community structure If a smart plug that has been offline for more than 60 days suddenly connects to an unfamiliar IP address (i.e., not a home network segment), it may be a sign of a sudden connection to an unfamiliar IP address. 30 points Equipment nodes that deviate from the normal community structure Unregistered devices, such as unfamiliar tablets, can connect to home Wi-Fi using weak passwords and attempt to access the smart home management backend. 45 points Detect abnormal access to high-risk ports on various devices. If a smart light bulb frequently accesses SSH ports, such as port 22, even when only requiring lighting functionality, it may have been infected with a remote control program. 50 points Detecting abnormal edges on various devices - Sensitive data transmission across service groups The smart refrigerator in the kitchen transmits sensitive information such as user payment vouchers and biometric data to the smart TV in the living room. 70 points Detecting anomalies in various devices - cross-service group communication Security cameras sent configuration modification commands to the network router without authorization. 60 points Identifying Covert Attack Chains - Multi-Level Jump Server Connections GNN path analysis revealed the path as follows: Smart camera → Overseas intermediate server → User cloud data storage center 85 points Identifying Covert Attack Chains - Cross-Protocol Attack Paths If a smart lock's Bluetooth protocol is hijacked, it can forward a sequence of unlocking commands to a hacker's server via a relay device such as Wi-Fi. 90 points
[0072] It should be noted that if the duration of abnormal behavior exceeds the threshold, such as a covert attack chain lasting more than 30 minutes, 5 points will be added for every additional 10 minutes, up to a maximum of 100 points.
[0073] If multiple anomaly types occur concurrently, such as "device node anomaly + covert attack chain", the total score will be calculated as 80% of the sum of the scores for each scenario to avoid inflated scores, with a maximum of 100 points.
[0074] If core devices such as smart locks and routers are involved, the score will automatically increase by 20%. For example, if a smart lock is involved in a cross-protocol attack, the score will increase from 90 to 100, with a maximum of 100.
[0075] Based on the longitudinal time series prediction results of several users, the anomaly category of their current network information in the future time period is determined, and it is compared with the longitudinal time series anomaly-risk score mapping table stored in the database to obtain the longitudinal time series prediction risk score of several users.
[0076] As a specific example, the longitudinal time-series anomaly-risk score mapping is represented as shown in Table 2 below.
[0077] Table 2. Examples of Longitudinal Temporal Anomalies-Risk Score Mapping
[0078] Anomaly Category Example of a specific scenario description Risk score (0-100) Concurrency exceptions If five smart devices on the same home network, such as cameras, speakers, and door locks, experience a sudden surge in network traffic exceeding 300% of the baseline, it may be a precursor to a large-scale DDoS attack. 70 points Concurrency exceptions Multiple similar devices, such as all smart light bulbs, simultaneously triggering abnormal login alerts may indicate that attackers are attempting to compromise weak passwords in bulk. 65 points Sequence exception A smart camera first showed a port scan log (anomaly 1), then the smart door lock attempted a brute-force attack (anomaly 2), and finally the cloud server detected data being sent out (anomaly 3), which matches the attack chain sequence (scanning → intrusion → theft). 90 points Sequence exception The smart router first exhibited abnormal configuration changes (Anomaly 1), 10 minutes later the smart TV transmitted a video stream to an unknown IP address (Anomaly 2), and 2 hours later a user account was logged in from a different location (Anomaly 3), forming an attack chain of "device control → data theft → account theft". 95 points
[0079] It should be noted that if the number of concurrent anomalies involves ≥10 devices, the score will increase by 10%, such as from 70 points to 77 points, with a maximum of 100 points.
[0080] If the interval between each stage in the sequence is ≤1 hour, the score will increase by 15%, such as from 90 points to 100 points. Due to the tight attack rhythm and short defense window, the maximum score will not exceed 100 points.
[0081] If an abnormal sequence leads to the leakage of sensitive data, such as the transmission of user biometric data, the score will be directly marked as 100 points.
[0082] The horizontal spatial correlation risk score and the vertical time series prediction risk score of several users are summed according to the preset corresponding weights to obtain the final comprehensive risk score of several users. The final comprehensive risk score is then compared with the range of each hazard level stored in the database to determine the hazard level of several users.
[0083] A specific example is that (1) the horizontal priority mode, i.e., the horizontal spatial correlation risk score and the vertical time series prediction risk score are assigned corresponding weights of 0.6 and 0.4 respectively according to the preset weights. (2) the vertical priority mode, i.e., the horizontal spatial correlation risk score and the vertical time series prediction risk score are assigned corresponding weights of 0.4 and 0.6 respectively according to the preset weights.
[0084] It should be noted that the horizontal spatial correlation risk score and the vertical time series prediction risk score mentioned above can be dynamically and finely configured based on multi-dimensional scenario elements such as network environment characteristics, equipment asset value, and attack threat type, according to the preset corresponding weights.
[0085] For example, when the lateral analysis identifies a core device attack chain, the lateral weight is 0.7 and the vertical weight is 0.3; when the vertical analysis predicts concurrent anomalies within 1 hour, the vertical weight is 0.7 and the lateral weight is 0.3.
[0086] As a preferred feasible embodiment, the exception categories include concurrent exceptions and sequential exceptions.
[0087] The specific process for determining the anomaly category of the current network information of the future time period for the aforementioned users includes: if the monitoring data in the current network information of a smart home terminal device belonging to a user exceeds the corresponding prediction value allowable range in the future time period, then the smart home terminal device belonging to that user is determined to be a time-series anomaly.
[0088] If multiple smart home terminal devices of a user simultaneously exhibit timing anomalies, it may indicate a large-scale attack. Therefore, the anomaly category of the current network information of that user in a future time period is recorded as a concurrent anomaly.
[0089] If multiple smart home terminal devices of a user exhibit timing anomalies in a specific order, such as first scanning ports, then brute-forcing them, and finally sending data out, which conforms to the attack kill chain sequence, then the anomaly category of the user's current network information in the future time period will be recorded as a sequence anomaly.
[0090] Step 5: Trigger the graded response mechanism according to the stated hazard level. As a preferred feasible embodiment, the hazard level is specifically categorized as high-risk, medium-risk, and low-risk.
[0091] In a specific example, the high-risk category corresponds to a final comprehensive risk score range of [80, 100] points, the medium-risk category corresponds to a final comprehensive risk score range of [60, 79) points, and the low-risk category corresponds to a final comprehensive risk score range of [0, 60) points.
[0092] For example, suppose a user's horizontal spatial correlation risk score is 85 points. If a hidden attack chain is detected (see the mapping table above), and the vertical time series prediction risk score is 90 points, if the sequence is abnormal and the attack chain is complete, then the final comprehensive risk score = 85 × 0.6 + 90 × 0.40 = 51 + 36 = 87 points → high risk level.
[0093] For example, suppose a user's horizontal spatial correlation risk score is 70 points, such as sensitive transmission across business groups, and the vertical time-series prediction risk score is 95 points, such as concurrency anomalies + large-scale traffic attacks. Therefore, the final comprehensive risk score = 70 × 0.40 + 95 × 0.60 = 28 + 57 = 85 points → high risk level (≥ 80 points).
[0094] The specific contents of the graded response mechanism are as follows: (1) If it is high risk, the automatic isolation, firmware forced rollback, user emergency notification and evidence collection operations will be carried out immediately.
[0095] Specifically, the automated isolation involves: triggering IPS rules to disconnect the device from the network via the 802.1X port; and updating the home gateway ACL rules to block all incoming and outgoing traffic from the device.
[0096] The forced firmware rollback specifically involves: calling the OTA interface to roll back to the latest trusted version, i.e., verifying the signature and then executing; clearing suspicious configurations in persistent storage, such as deleting malicious tasks in / etc / crontab.
[0097] The user emergency notifications specifically include: full-screen pop-ups in the app, SMS messages, and telephone voice notifications, such as those containing the attack type, affected devices, and suggested actions; providing buttons such as "Isolate Device Now" and "Start Evidence Collection" for users to quickly confirm and execute.
[0098] The initiation of forensics specifically involves: automatically saving the original attack traffic data packets, such as those in PCAP format, to a secure storage area; and generating an attack chain report, such as an ATT&CK mapping, for subsequent analysis.
[0099] (2) If it is medium risk, immediately implement traffic restriction, permission downgrade, user prompts, log recording and dynamic monitoring.
[0100] Specifically, the traffic restrictions include: limiting the speed of abnormal devices, such as limiting the downlink bandwidth to 1Mbps to prevent large amounts of data from being transmitted outwards; and disabling unnecessary protocols, such as turning off the UPnP service to restrict P2P communication.
[0101] The permission downgrade specifically includes: temporarily revoking sensitive permissions of the device, such as disabling the remote unlocking function of the smart door lock; and forcibly enabling multi-factor authentication to verify subsequent operations.
[0102] The user prompts and log recordings are specifically as follows: APP notifications: push risk summaries, such as "Abnormal traffic detected from the camera, speed has been limited"; record details of abnormal events, such as time, protocol, and data volume.
[0103] The dynamic monitoring specifically refers to: increasing the monitoring frequency of the device, such as adjusting it from 5 minutes / time to 1 minute / time; if the anomaly continues to escalate, automatically upgrading it to a high-risk response.
[0104] (3) If it is low risk, immediately perform log recording, user reminder and dynamic baseline adjustment.
[0105] Specifically, the log recording includes: storing abnormal events to the ELK log system and marking them as [LOW_RISK]; and recording device fingerprints, such as MAC addresses and firmware hash values.
[0106] The user reminders specifically include: the app pushing security suggestions, such as "The camera firmware version is too low, it is recommended to update"; and providing a one-click repair entry, such as automatically downloading and verifying the firmware signature.
[0107] The dynamic baseline adjustment specifically means that if the user confirms a false alarm, the system automatically relaxes the threshold for the same type of behavior of the device (±10%).
[0108] This invention identifies risks through multiple dimensions, including horizontal spatial correlation and vertical temporal prediction, comprehensively covering collaborative attacks and single-point intrusion scenarios of smart home terminal devices. Furthermore, through the cascading mechanism of rule knowledge base and deep learning model, it not only ensures the rapid handling of known attacks but also identifies unknown risks, thereby improving the security of network information data of smart home terminal devices.
[0109] The above content is merely an example and illustration of the concept of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, and all such modifications and additions should fall within the protection scope of the present invention.
Claims
1. A method for real-time analysis and monitoring of network security information data, characterized in that: include: Step 1: Collect real-time network information of various smart home terminal devices belonging to several users, including device operation data, network communication data, and user operation data; Step 2: Based on historical network information, construct the behavioral baseline of each smart home terminal device using the weighted average method and update it automatically. Calculate the deviation between the current network information and its corresponding behavioral baseline by dynamic comparison. When the deviation exceeds a preset threshold, generate an anomaly flag. Step 3: The anomaly identifier is matched with the anomaly type according to the rule knowledge base. If the match is successful, the corresponding handling strategy is triggered. If the match fails, step 4 is executed. Step 4: The cloud security center obtains the horizontal spatial correlation analysis results and the vertical temporal prediction results through a trained deep learning model based on the current network information. These results are then coupled to calculate the final comprehensive risk score, and the danger level is determined according to the risk interval division rules. The specific process for obtaining the results of the lateral spatial correlation analysis includes: The trained deep learning model identifies each device node that deviates from the normal community structure, detects abnormal edges of each device, and identifies each hidden attack chain based on the entity relationship graph of smart home terminal devices of users stored in the database, and records them as the results of horizontal spatial association analysis of several users; The specific process for obtaining the longitudinal time series prediction results includes: The current network information is aggregated by time window to generate time-series feature data corresponding to the current network information of the user's smart home terminal devices, and then preprocessed. Input the current network information corresponding to the time series feature data into the trained deep learning model, and output the network information of each smart home terminal device of several users corresponding to the future time period prediction value and confidence interval, which are recorded as the longitudinal time series prediction result of several users. Step 5: Trigger the graded response mechanism according to the stated hazard level.
2. The real-time analysis and monitoring method for network security information data according to claim 1, characterized in that: The specific analysis process of the behavioral baseline of each smart home terminal device includes: Extract the historical daily operation monitoring data of each smart home terminal device belonging to several users from the historical device operation data, and obtain the average value of the historical daily operation monitoring data of each smart home terminal device belonging to several users by weighting and averaging. Similarly, the average value of the historical daily network communication monitoring data of each smart home terminal device belonging to several users and the average value of the operation monitoring data of each user can be obtained. The average historical daily operation monitoring data of each smart home terminal device belonging to several users, the average historical daily network communication monitoring data, and the average user operation monitoring data are collectively referred to as the behavioral baseline of each smart home terminal device.
3. The real-time analysis and monitoring method for network security information data according to claim 1, characterized in that: The specific calculation process for the deviation between the current network information and its corresponding behavioral baseline includes: Extract the current operation monitoring data of each smart home terminal device belonging to several users from the current device operation data, and calculate the deviation of the current operation monitoring data of each smart home terminal device belonging to several users from their corresponding behavioral baseline according to the deviation standard formula. If the deviation of a certain operational monitoring data from its corresponding behavioral baseline exceeds a preset threshold, an anomaly flag for that operational monitoring data will be generated. Similarly, it can generate anomaly flags for the current operation monitoring data, current network communication monitoring data, and current user operation monitoring data of each smart home terminal device belonging to several users.
4. The real-time analysis and monitoring method for network security information data according to claim 1, characterized in that: The specific process of matching anomaly types based on the rule knowledge base includes: If the anomaly identifier of a certain operation monitoring data of a certain smart home terminal device belonging to a certain user matches the anomaly tag of the corresponding operation monitoring data stored in the rule knowledge base, then the current operation monitoring data of the smart home terminal device belonging to the user is recorded as the abnormal operation monitoring data of the smart home terminal device belonging to the user, and the anomaly type of the corresponding operation monitoring data stored in the rule knowledge base is used as the anomaly type of the abnormal operation monitoring data of the smart home terminal device belonging to the user, and a successful match is marked. Similarly, we can obtain the abnormal operation monitoring data, abnormal network communication monitoring data, and abnormal user operation monitoring data of each smart home terminal device belonging to several users.
5. The real-time analysis and monitoring method for network security information data according to claim 1, characterized in that: The specific types of anomalies are brute-force attacks, denial-of-service attacks, malware infections, data theft, and vulnerability exploitation attacks. The specific countermeasures for brute-force attacks are to block the attack source and strengthen the authentication mechanism; the specific countermeasures for denial-of-service attacks are to perform traffic scrubbing and rate limiting and device protection; the specific countermeasures for malware infection are to isolate infected devices, remove malicious programs, and perform full network scanning and repair; the specific countermeasures for data theft are to block data transmission and encrypt sensitive data; and the specific countermeasures for vulnerability exploitation attacks are to perform emergency vulnerability patching and privilege emulation.
6. The real-time analysis and monitoring method for network security information data according to claim 1, characterized in that: The specific process of calculating the final comprehensive risk score through coupling and determining the hazard level according to the risk interval division rules includes: The results of horizontal spatial correlation analysis of several users are compared with the horizontal correlation-risk score mapping table stored in the database to obtain the horizontal spatial correlation risk score of several users. Based on the longitudinal time series prediction results of several users, the anomaly category of their current network information in the future time period is determined, and it is compared with the longitudinal time series anomaly-risk score mapping table stored in the database to obtain the longitudinal time series prediction risk score of several users. The horizontal spatial correlation risk score and the vertical time series prediction risk score of several users are summed according to the preset corresponding weights to obtain the final comprehensive risk score of several users. The final comprehensive risk score is then compared with the range of each hazard level stored in the database to determine the hazard level of several users.
7. A real-time analysis and monitoring method for network security information data according to claim 6, characterized in that: The exception categories include concurrent exceptions and sequential exceptions; The specific process for determining the anomaly category of the current network information of the future time period for the aforementioned users includes: if the monitoring data in the current network information of a smart home terminal device belonging to a user exceeds the corresponding prediction value allowable range in the future time period, then the smart home terminal device belonging to that user is determined to be a time-series anomaly. If multiple smart home terminal devices of a user experience timing anomalies simultaneously, the anomaly category of the user's current network information in the future time period will be recorded as a concurrent anomaly. If multiple smart home terminal devices of a user exhibit timing anomalies in a specific order, then the anomaly category of the user's current network information in a future time period will be recorded as a sequence anomaly.
8. The method for real-time analysis and monitoring of network security information data according to claim 1, characterized in that: The specific risk levels are high risk, medium risk, and low risk; The specific contents of the graded response mechanism are as follows: (1) If it is high risk, the automatic isolation, firmware forced rollback, user emergency notification and evidence collection operations will be performed immediately; (2) If it is a medium-risk situation, immediately implement traffic restrictions, permission downgrades, user prompts, log recording, and dynamic monitoring. (3) If it is low risk, immediately perform log recording, user reminder and dynamic baseline adjustment.
Citation Information
Patent Citations
Network security monitoring system based on big data analysis
CN119728279A
Network security big data state evaluation method based on pattern recognition
CN120301637A