Abnormal data identification method and device, equipment, medium and product
By identifying the target network data of network nodes, using multiple target recognition models and hash calculations to identify and confirm abnormal traffic data, it solves the problem of low reputation value models in the existing technology affecting the identification accuracy, and improves the accuracy of abnormal data identification. accuracy.
Patent Information
- Application Number
- CN202411006357.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-01
AI Technical Summary
When existing technology identifies abnormal data in network traffic data, target recognition models with low reputation values have little impact, leading to misjudgment problems in the recognition process and affecting accuracy.
By obtaining the target network data of network nodes, multiple target recognition models are determined, abnormal data is identified based on the recognition results and model status, and the degree of abnormality is determined through hash calculation and average calculation to avoid misjudgment.
It improves the accuracy of abnormal data identification, reduces the misjudgment rate, and ensures the reliability of the identification process.
Smart Images

Figure CN118740500A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of communications, and in particular, to an abnormal data identification method, device, equipment, medium and product. Background Art
[0002] In the application scenario of network security, network nodes establish network communication by transmitting network traffic data. However, due to the problem of network nodes being attacked by malicious attacks, the network traffic data transmitted by the attacked network nodes has abnormal behavior, which affects the network security of the network nodes.
[0003] In the related technology, by adding a credibility value to each target recognition model, abnormal traffic data in network traffic data is mainly identified based on the target recognition model with a high credibility value, resulting in other target recognition models with low credibility values having little influence in the recognition process, which is prone to misjudgment of abnormal traffic data, thereby affecting the accuracy of the recognition process. Summary of the invention
[0004] In view of the above problems, the present disclosure is proposed. The present disclosure provides an abnormal data identification method, device, equipment, medium and product.
[0005] According to one aspect of the present disclosure, a method for identifying abnormal data is provided, comprising:
[0006] Acquire target network data of a network node; wherein the network node is a device for storing network flow data, and the target network data is network flow data suspected of having anomalies in the network flow data;
[0007] Determining a plurality of target recognition models that match the target network data;
[0008] Performing identification processing on the target network data through each target identification model to obtain an identification result;
[0009] In a case where it is determined based on the identification result that abnormal network traffic data exists in the target network data, the abnormal traffic data in the target network data is identified.
[0010] In addition, the determining of multiple target recognition models matching the target network data according to one aspect of the present disclosure further includes:
[0011] Determine a first model quantity of candidate recognition models in an idle state based on the running state of each candidate recognition model;
[0012] When it is determined that the number of the first models meets a preset condition, a target recognition model matching the target network data is determined based on the candidate recognition models in the idle state.
[0013] In addition, according to one aspect of the present disclosure, when it is determined that the number of the first models meets a preset condition, determining a target recognition model matching the target network data based on the candidate recognition model in the idle state further includes:
[0014] Performing hash calculation on the target network data to obtain a hash value;
[0015] The target recognition model is determined from the candidate recognition models in the idle state according to the hash value, the processing time and the first number of models; wherein the processing time is the time for performing hash calculation on the target network data.
[0016] In addition, according to one aspect of the present disclosure, in the case where it is determined based on the identification result that there is abnormal network traffic data in the target network data, identifying the abnormal traffic data in the target network data further includes:
[0017] Calculate the average value of the recognition result according to the recognition result of each target recognition model and the number of second models; wherein the number of second models is used to indicate the number of models in the target recognition model used to recognize the abnormal traffic data;
[0018] Determining the abnormality degree of the target network data based on the average value;
[0019] Abnormal traffic data in the target network data is identified based on the abnormality level.
[0020] In addition, the method of acquiring target network data of a network node according to one aspect of the present disclosure further includes:
[0021] Obtaining network traffic data of the network node;
[0022] Generate an abnormal behavior log according to the flow information of the network flow data; wherein the abnormal behavior log is used to indicate the abnormal behavior information of the network flow data;
[0023] The abnormal behavior log is standardized to obtain the target network data.
[0024] In addition, according to one aspect of the present disclosure, it also includes:
[0025] Performing identity authentication on each of the network nodes to obtain a verification result;
[0026] In the case where it is determined based on the verification result that the identity authentication of the network node is passed, an identity certificate is issued to the network node, and the step of acquiring network traffic data of the network node is performed.
[0027] In addition, according to one aspect of the present disclosure, after identifying abnormal traffic data in the target network data, the method further includes:
[0028] Acquire security traffic data in the target network data;
[0029] The model parameters of the target recognition model are updated according to the safety traffic data to obtain an updated target recognition model.
[0030] In addition, according to one aspect of the present disclosure, it also includes:
[0031] Performing source tracing processing on the abnormal traffic data to obtain a source tracing result;
[0032] When it is determined based on the tracing result that the abnormal traffic data has not been tampered with, the network node to which the abnormal traffic data belongs is intercepted.
[0033] In addition, according to one aspect of the present disclosure, the abnormal traffic data is traced to obtain a traceability result, including:
[0034] Determine a first network address of a network node to which the abnormal traffic data belongs;
[0035] Acquire a second network address of a network node to which the abnormal traffic data belongs in a local database of each target recognition model;
[0036] When the first network address and the second network address are consistent, the tracing result is determined according to the first network address.
[0037] According to another aspect of the present disclosure, there is provided an abnormal data identification device, comprising:
[0038] An acquisition unit, configured to acquire target network data of a network node; wherein the network node is a device for storing network flow data, and the target network data is network flow data suspected of having anomalies in the network flow data;
[0039] A model determination unit, used to determine a plurality of target recognition models that match the target network data;
[0040] A processing unit, used to perform identification processing on the target network data through each target identification model to obtain an identification result;
[0041] The abnormality identification unit is used to identify the abnormal traffic data in the target network data when it is determined based on the identification result that there is abnormal network traffic data in the target network data.
[0042] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps in the above-mentioned abnormal data identification method are performed.
[0043] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned abnormal data identification method are executed.
[0044] According to another aspect of the present disclosure, a computer program product is provided. The computer program product is stored in a storage medium and is executed by at least one processor to implement the steps in the above abnormal data identification method.
[0045] As will be described in detail below, according to the abnormal data identification method, device, equipment, medium and product of the embodiments of the present disclosure, the target network data is identified and processed through each target recognition model to obtain an identification result; wherein the target network data is network traffic data suspected of having abnormalities in the network traffic data of the network node; and by identifying the abnormal traffic data in the target network data through the recognition result, the abnormal traffic data is identified according to the recognition result of each target recognition model, thereby avoiding the problem of misjudgment of abnormal traffic data and improving the accuracy of the recognition process.
[0046] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0048] Figure 1 is a flowchart illustrating an application of an abnormal data identification method according to an embodiment of the present disclosure.
[0049] Figure 2It is a flowchart that further illustrates the network node identity authentication in the abnormal data identification method of the embodiment of the present disclosure.
[0050] Figure 3 It is a flowchart that further illustrates the abnormal traffic data tracing method in the abnormal data identification method of the embodiment of the present disclosure.
[0051] Figure 4 is a schematic diagram illustrating an abnormal data identification system to which the abnormal data identification method according to an embodiment of the present disclosure is applied.
[0052] Figure 5 is a block diagram illustrating an abnormal data identification apparatus according to an embodiment of the present disclosure.
[0053] Figure 6 is a hardware block diagram illustrating an electronic device according to an embodiment of the present disclosure.
[0054] Figure 7 is a schematic diagram illustrating a computer program product according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present disclosure more obvious, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0056] To facilitate understanding of this embodiment, a method x disclosed in an embodiment of the present disclosure is first introduced in detail. The execution subject of the abnormal data identification method provided in the embodiment of the present disclosure is generally an electronic device with certain computing capabilities, and the electronic device includes, for example, a terminal device or a server or other processing device. In some possible implementations, the abnormal data identification method can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0057] See also Figure 1 FIG. 1 is a flowchart of an abnormal data identification method provided by an embodiment of the present disclosure, wherein the method includes steps S101 to S104, wherein:
[0058] Step S101: Acquire target network data of a network node; wherein the network node is a device for storing network flow data, and the target network data is network flow data suspected of having anomalies in the network flow data.
[0059] Here, a network node refers to a network device that has the function of sending or receiving network traffic data. A network node includes a physical device or a virtual device. When a network node performs communication activities (for example, web browsing), the network node will generate network traffic data for the communication activities.
[0060] In addition, when a network node communicates data with another network node (eg, transmits network data), network traffic data is also generated.
[0061] In the application scenario of network security, the physical device of the network node can be a server, router, switch, terminal device or firewall; the virtual device can be a virtual server or a software-defined network device, which is not required by this application.
[0062] In an embodiment of the present application, the abnormal data identification system monitors the network traffic data of the network node through a security monitoring device, and determines the network traffic data suspected of being abnormal after monitoring as the target network data.
[0063] Step S102: Determine a plurality of target recognition models that match the target network data.
[0064] Here, the target recognition model is a candidate recognition model in an idle state, which is mainly used to recognize the target network data, identify the abnormal network traffic data in the target network data and the network address of the network node to which the abnormal network traffic data belongs.
[0065] In an embodiment of the present application, after acquiring the target network data, the abnormal data identification system uploads the target network data to the information chain, and retrieves the operating status of each candidate identification model on the information chain, and determines the target identification model that matches the target network data based on the candidate identification model in the idle state and the target network data.
[0066] Step S103: performing recognition processing on the target network data through each of the target recognition models to obtain a recognition result.
[0067] Here, the identification result is used to indicate whether there is an abnormal problem in the target network data.
[0068] In an embodiment of the present application, the target network data is input into a plurality of target recognition models that match the target network data, and each target recognition model performs recognition processing on the target network data to obtain a recognition result of the target network data.
[0069] Step S104: in the case where it is determined based on the identification result that abnormal network traffic data exists in the target network data, the abnormal traffic data in the target network data is identified.
[0070] In an embodiment of the present application, after obtaining the recognition result of the target network data, the target recognition model identifies the abnormal traffic data in the target network data when determining that there is abnormal network traffic data in the target network data based on the recognition result.
[0071] In the above implementation, each target recognition model is used to identify the target network data to obtain a recognition result, and the abnormal traffic data in the target network data is identified through the recognition result. The abnormal traffic data is identified according to the recognition result of each target recognition model, thereby avoiding the problem of misjudgment of abnormal traffic data and improving the accuracy of the recognition process.
[0072] In an optional implementation, the above step of determining a plurality of target recognition models matching the target network data specifically includes the following steps:
[0073] Determine a first model quantity of candidate recognition models in an idle state based on the running state of each candidate recognition model;
[0074] When it is determined that the number of the first models meets a preset condition, a target recognition model matching the target network data is determined based on the candidate recognition models in the idle state.
[0075] Here, the preset condition is used to indicate whether the first model quantity is less than the preset model threshold. When the first model quantity is greater than or equal to the preset model threshold, the first model quantity meets the preset condition; when the first model quantity is less than the preset model threshold, the first model quantity does not meet the preset condition.
[0076] For example, if the preset model threshold is 3, when the first model quantity is greater than or equal to 3, the first model quantity satisfies the preset condition.
[0077] In an embodiment of the present application, the abnormal data identification system checks the operating status (for example, training status or idle status) of each candidate recognition model, and determines the first model number of the candidate recognition models in the idle state. When the first model number does not meet the preset conditions (that is, the first model number is less than the preset model threshold), the abnormal data identification system enters a waiting state to make the first model number meet the preset conditions (that is, the first model number is greater than or equal to the preset model threshold). When the first model number meets the preset conditions, the target recognition model that matches the target network data is determined based on the candidate recognition model in the idle state.
[0078] In addition, after determining that the number of first models meets the preset conditions, the target network data of the network node can be packaged to obtain a target network data packet. The abnormal data identification system determines the target identification model that matches the target network data based on the target network data packet.
[0079] In an optional implementation, the above step, when determining that the number of the first models meets a preset condition, determines a target recognition model that matches the target network data based on the candidate recognition model in the idle state, specifically comprising the following steps:
[0080] Performing hash calculation on the target network data to obtain a hash value;
[0081] The target recognition model is determined from the candidate recognition models in the idle state according to the hash value, the processing time and the first number of models; wherein the processing time is the time for performing hash calculation on the target network data.
[0082] Here, the target recognition model can be determined by the following formula:
[0083] Random{time,H(data),court(free-peer)...}={peer a,c,f}, where Random is a random function, time is the processing time, H(data) is the hash value, court(free-peer) is the first model quantity, {peera,c,f} is the model point of the target recognition model, and each model point corresponds to a target recognition model.
[0084] For example, {peer a} corresponds to target recognition model A.
[0085] In an embodiment of the present application, the abnormal data identification system first performs a hash calculation on the target network data to obtain a hash value of the target network data, and then determines a model point of a target identification model that matches the target network data based on the hash value, processing time, and the first model quantity, and determines the target identification model from among the candidate identification models in an idle state based on the model point.
[0086] In addition, the processing time may also be the packaging time of packaging the target network data into the target network data packet.
[0087] In an optional implementation, the above step, when determining that there is abnormal network traffic data in the target network data based on the identification result, identifies the abnormal traffic data in the target network data, specifically includes the following steps:
[0088] Calculate the average value of the recognition result according to the recognition result of each target recognition model and the number of second models; wherein the number of second models is used to indicate the number of models in the target recognition model used to recognize the abnormal traffic data;
[0089] Determining the abnormality degree of the target network data based on the average value;
[0090] Abnormal traffic data in the target network data is identified based on the abnormality level.
[0091] Here, the abnormality degree of the target network data can be calculated by the following formula:
[0092] Wherein, Pi is the recognition result of the i-th target recognition model, N is the number of second models, B is the abnormality degree of the target network data, and [] is the rounding function, that is, when the average value is greater than or equal to 0.5, the average value is 1; when the average value is less than 0.5, the average value is 0.
[0093] For example, if the abnormality degree of the target network data is 1, the target network data is abnormal traffic data; if the abnormality degree of the target network data is 0, the target network data is safe traffic data.
[0094] In an embodiment of the present application, the target network data is input into each target recognition model through a smart contract, and each target recognition model outputs the recognition result of the target network data. The abnormal data recognition system sums each recognition result and determines the quotient of the summed result and the second model quantity as the average value of the recognition result. The average value is rounded to obtain the abnormality degree of the target network data, and the abnormal traffic data in the target network data is identified according to the abnormality degree.
[0095] In an optional implementation, the above step of acquiring the target network data of the network node specifically includes the following steps:
[0096] Obtaining network traffic data of the network node;
[0097] Generate an abnormal behavior log according to the flow information of the network flow data; wherein the abnormal behavior log is used to indicate the abnormal behavior information of the network flow data;
[0098] The abnormal behavior log is standardized to obtain the target network data.
[0099] In an embodiment of the present application, the abnormal data identification system inputs the network traffic data of the network node into the security monitoring device, the security monitoring device monitors the traffic information of the network traffic data, generates an abnormal behavior log based on the network traffic data suspected of being abnormal after monitoring, standardizes the abnormal behavior log through the data converter, obtains the target network data, and uploads the target network data to the information chain.
[0100] In addition, the network traffic data can be sorted according to the reception time of each network traffic data received by the security monitoring device. When the reception time is the same, the network traffic data can be sorted according to the transmission time of the network node to which the network traffic data belongs.
[0101] Here, the sorting method of the network traffic data is different according to the different participation relationships of the participants in the abnormal data identification system. For example, if the participants are in the same organization, the network traffic data can be sorted through the open source stream processing platform Kafka (Apache Kafka) or Practical Byzantine Fault Tolerance PBFT (Practical Byzantine Fault Tolerance).
[0102] See also Figure 2 FIG. 1 is a flowchart of a network node identity authentication provided by an embodiment of the present disclosure, comprising the following steps:
[0103] Step S201: Authentication is performed on each of the network nodes to obtain a verification result;
[0104] Step S202: when it is determined based on the verification result that the identity authentication of the network node is passed, an identity certificate is issued to the network node, and a step of acquiring network traffic data of the network node is performed.
[0105] Here, the verification result is used to indicate whether each network node is a safe or trusted node.
[0106] In an embodiment of the present application, the abnormal data identification system performs identity authentication (for example, a network verification code) on each network node to obtain a verification result. When it is determined that the identity authentication of the network node is passed based on the verification result, an identity certificate is issued to the network node through the certificate center, and the network traffic data of the network node is obtained.
[0107] In addition, the identities of all participants in the abnormal data identification system (for example, security monitoring equipment or target recognition models) can be authenticated, and identity certificates can be issued to participants who have passed the identity authentication through the certificate center to verify the security of each participant.
[0108] In an optional implementation, after identifying abnormal traffic data in the target network data, the above steps specifically include the following steps:
[0109] Acquire security traffic data in the target network data;
[0110] The model parameters of the target recognition model are updated according to the safety traffic data to obtain an updated target recognition model.
[0111] In an embodiment of the present application, after identifying abnormal traffic data in the target network data, the abnormal traffic data is blocked by a security protection device, and the security traffic data in the target network data is stored in a local database of the target recognition model. The target recognition model reads the security traffic data in the local database, and updates the model parameters of the target recognition model according to the security traffic data to obtain an updated target recognition model.
[0112] In the above implementation, by updating the target recognition model according to the safety traffic data, the target recognition model can be updated and iterated according to the safety traffic data, thereby improving the accuracy of the target recognition model in identifying abnormal traffic data.
[0113] See also Figure 3 FIG. 1 is a flowchart of tracing abnormal traffic data provided by an embodiment of the present disclosure, including the following steps:
[0114] Step S301: tracing the abnormal traffic data to obtain a tracing result;
[0115] Step S302: When it is determined based on the tracing result that the abnormal traffic data has not been tampered with, the network node to which the abnormal traffic data belongs is intercepted.
[0116] Here, the tracing result is used to indicate whether the abnormal traffic data has been tampered with. The tracing result of the abnormal traffic data can be judged based on the network address of the network node to which the abnormal traffic data belongs, the abnormal time of the abnormal traffic data, and the abnormal behavior generated by the abnormal traffic data.
[0117] In an embodiment of the present application, the abnormal data identification system performs traceability processing on the abnormal traffic data, and determines whether the abnormal traffic data has been tampered with based on the tracing results obtained from the tracing processing. If it is determined based on the tracing results that the abnormal traffic data has not been tampered with, the network node to which the abnormal traffic data belongs is intercepted to prevent the network node from further transmitting the abnormal traffic data.
[0118] In addition, when it is determined based on the tracing results that the abnormal traffic data has been tampered with, the abnormal traffic data can be monitored for a long time through security monitoring equipment, and the security policy of the abnormal data identification system can be updated according to the monitoring results to prevent the abnormal traffic data from being tampered with in the future, thereby improving the accuracy of identifying the network nodes to which the abnormal traffic data belongs.
[0119] In an optional implementation, the above steps perform source tracing on the abnormal traffic data to obtain a source tracing result, which specifically includes the following steps:
[0120] Determine a first network address of a network node to which the abnormal traffic data belongs;
[0121] Acquire a second network address of a network node to which the abnormal traffic data belongs in a local database of each target recognition model;
[0122] When the first network address and the second network address are consistent, the tracing result is determined according to the first network address.
[0123] Here, the tracing result of the abnormal traffic data is determined according to the first network address and the second network address.
[0124] For example, when the first network address and the second network address are consistent, the tracing result of the abnormal traffic data is determined according to the first network address (i.e., the tracing is successful), and based on the tracing result, it is determined that the abnormal traffic data has not been tampered with; when the first network address and the second network address are inconsistent, the abnormal traffic data is determined to be a tracing result of tracing failure, and based on the tracing result of the tracing failure, it is determined that the abnormal traffic data has been tampered with.
[0125] In an embodiment of the present application, the abnormal data identification system first determines the first network address of the network node to which the abnormal traffic data belongs, then calls the local database of each target identification model through a smart contract, and retrieves the second network address of the network node to which the abnormal traffic data belongs in the local database. Finally, when the first network address and the second network address are consistent, the tracing result of the abnormal traffic data is determined according to the first network address (i.e., tracing is successful).
[0126] In the above implementation, cross-organizational attack behavior tracing is achieved by obtaining the second network address of the network node to which the abnormal traffic data belongs in the local database of each target identification model, that is, the same attack behavior is traced through the local database of each target identification model, and the accuracy and authenticity of the abnormal traffic data tracing process are ensured by determining whether the first network address and the second network address are consistent.
[0127] Reference Figure 4As shown, it is a schematic diagram of the abnormal data identification system mentioned in this application, which includes security monitoring equipment, security protection equipment, a data converter, a local database (i.e., an underlying knowledge base), a smart contract, a target recognition model (target recognition model A, target recognition model B, target recognition model C), an information chain, a certificate center, and a safe house.
[0128] Security monitoring equipment (for example, Intrusion Detection System IDS (Intrusion Detection System), network security situation awareness) is used to monitor and analyze the network security of network nodes. The network traffic data of network nodes is monitored, and the network traffic data suspected of being abnormal after monitoring is fed back to the information chain. Monitoring can be carried out by mirroring traffic. After mirroring the network traffic data, the security monitoring device will perform a preliminary analysis of the network traffic data. When the network traffic data is identified as safe traffic data, the network traffic data will not be processed; when the network traffic data is identified as abnormal traffic data, the security monitoring device generates an abnormal behavior log based on the abnormal traffic data, and uploads the abnormal behavior log to the information chain. The security monitoring device is also used to package and store the abnormal behavior log in the log repository according to a preset period.
[0129] Security protection devices (e.g., firewalls, intrusion prevention systems IPS (Intrusion Prevention System)) are used to block abnormal traffic data, and also to block the first network address of the network node to which the abnormal traffic data issued by the information chain belongs. The security protection device is connected in series in the network, and when it receives the first network address issued by the information chain, it automatically configures the first network address into the blacklist, and generates a security log of the security protection device according to the blacklist according to a preset period, and finally packages the security log and stores it in the log repository.
[0130] The data converter is used to perform standardized analysis on the input and output data of safety monitoring equipment and safety protection equipment, so as to achieve unified processing of abnormal traffic data and facilitate the identification and processing of abnormal traffic data by the target recognition model.
[0131] The local database is used to collect statistics on safe traffic data and abnormal traffic data, which is convenient for the target recognition model to optimize the model. The local database includes two import methods: one is to import known abnormal traffic data and form the training data of the target recognition model based on the abnormal traffic data; the other is to import known safe traffic data or non-abnormal traffic data in the target network data after the target recognition model identifies the abnormal traffic data in the target network data, so as to update the model parameters of the target recognition model.
[0132] The target recognition model is used to identify the target network data, identify the abnormal traffic data in the target network data and the network address of the network node to which the abnormal traffic data belongs, and store the above data and network address in the local database. The target recognition model receives the target network data from the information chain, first recognizes and processes the target network data through the large model technology, and then uploads the recognition results to the information chain. After obtaining the recognition results of each target recognition model, the abnormality degree of the target network data is determined according to the recognition results of each target recognition model, and finally the abnormality degree is sent to the security protection device.
[0133] The information chain is used to establish connections between the participants (for example, data converters, security protection equipment, target recognition models, local databases, safe houses, and certificate centers) to ensure data intercommunication between the participants, and select public chains, alliance chains, and private chains according to the participation relationships of the participants. The information chain connects the various participants, and through the consensus between the target recognition models, it realizes the identification and processing of the target network data according to each target recognition model, and in the process of tracing the abnormal traffic data, the network address of the network node to which the abnormal traffic data belongs in the local database of each target recognition model is retrieved through the smart contract, and the tracing result of the abnormal traffic data is determined based on the network address.
[0134] The certificate center is used to issue, cancel, and manage the identity certificates of network nodes (or participants). The network node (or each participant) is authenticated first, and if the identity authentication is passed, the certificate center issues an identity certificate to the network node (or each participant). In the process of tracing the abnormal traffic data, the network node to which the abnormal traffic data belongs can be located through the identity certificate.
[0135] The safe house is used to back up the network traffic data of network nodes. The safe house is divided into an on-chain data management module and an off-chain data management module. The safe house mainly includes a state database, a history database, an account database, and a hash table. The state database is used to indicate the data state of the network traffic data, the history database is used to indicate the data content of the network traffic data, the account database is used to indicate the data transmission record of the network traffic data, and the hash table is used to indicate the hash value of the network traffic data.
[0136] The on-chain data management module includes a data storage contract and a data reconstruction contract. The data storage contract is used to manage the distribution of the backed-up network traffic data after it is uploaded to the chain and to generate the corresponding data reconstruction body. The data reconstruction contract is used to read the data reconstruction body of the data storage contract and the hash table of the network traffic data, and parse the signature policy of the data storage contract based on the data reconstruction body and the hash table. It is also used to initiate a business request to pull the data subvolume.
[0137] The off-chain data management module is mainly composed of a data volume compression module, which is used to compress the original network traffic data into several data sub-volumes. It can also generate a distribution strategy for network traffic data based on the storage status of the private storage space of each network server and the distribution algorithm formulated for specific scenarios, and distribute network traffic data to each participant based on the distribution strategy.
[0138] The abnormal data identification system also includes a log repository for recording abnormal behavior logs of security monitoring equipment, security logs of security protection equipment, and log information of other participants, so as to facilitate the subsequent tracing of abnormal traffic data. The log repository stores log information through indexed data tables, and each participant stores log information in its own log repository.
[0139] The present application also mentions a consensus algorithm, which includes two parts: one part is to sort the network traffic data. For example, the network traffic data can be sorted according to the reception time of each network traffic data received by the security monitoring device. When the reception time is the same, the network traffic data is sorted according to the transmission time of the network node to which the network traffic data belongs; the other part is to reach a consensus on the recognition results of each target recognition model, that is, to determine the abnormality degree of the target network data according to the recognition results of each target recognition model, and to identify abnormal traffic data in the target network data based on the abnormality degree.
[0140] It can be seen from the above description that the technical solution disclosed in the present invention has the following advantages:
[0141] (1) Data storage locations are scattered:
[0142] This application uses volume storage technology based on the blockchain of smart contracts, which can greatly reduce the concentration of data storage locations while ensuring data availability, and has a backup mechanism to effectively prevent data from being attacked.
[0143] (2) Using blockchain to link the entire abnormal data identification system:
[0144] This application uses a consensus algorithm to enable security monitoring equipment to discover network traffic data (i.e., target network data) that is suspected of being abnormal in the network traffic data, and implements a target recognition model to identify the abnormal traffic data in the target network data. Finally, the abnormal traffic data is processed through security protection equipment, thereby realizing the entire abnormal data recognition system.
[0145] (3) Effectively reduce false alarms:
[0146] This application uses the risk detection capability of the security monitoring equipment itself to conduct a preliminary screening of the network traffic data, and then uses the target recognition model to review the network traffic data. The target recognition model can be optimized and updated, thereby reducing the false alarm of abnormal traffic data in the network traffic data and ensuring the accuracy of the security protection equipment in blocking abnormal traffic data.
[0147] (4) Tracing the source of abnormal traffic data:
[0148] This application verifies the abnormal traffic data by calling the local database of other target recognition models through smart contracts, and determines the tracing results of the abnormal traffic data based on the verified results, thereby improving the authenticity and accuracy of the tracing results.
[0149] (5) The consensus algorithm has been optimized:
[0150] The consensus algorithm used in this application effectively avoids the problem of target recognition models being unable to reach consensus due to busy or disconnected target recognition models, thereby improving the overall consensus efficiency of the target recognition model. Secondly, the reputation value of the target recognition model is cancelled, which satisfies the consensus characteristics between target recognition models and avoids the problem of misjudging abnormal traffic data due to the reputation value of some target recognition models being too high or too low.
[0151] Based on the same inventive concept, an abnormal data identification device corresponding to the abnormal data identification method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned abnormal data identification method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0152] Reference Figure 5 FIG. 1 is a schematic diagram of an abnormal data identification device provided by an embodiment of the present disclosure, wherein the device comprises: an acquisition unit 50, a model determination unit 51, a processing unit 52, and an abnormality identification unit 53; wherein:
[0153] An acquisition unit, configured to acquire target network data of a network node; wherein the network node is a device for storing network flow data, and the target network data is network flow data suspected of having anomalies in the network flow data;
[0154] A model determination unit, used to determine a plurality of target recognition models that match the target network data;
[0155] A processing unit, used to perform identification processing on the target network data through each target identification model to obtain an identification result;
[0156] The abnormality identification unit is used to identify the abnormal traffic data in the target network data when it is determined based on the identification result that there is abnormal network traffic data in the target network data.
[0157] In a possible implementation manner, the device is also used for:
[0158] Determine a first model quantity of candidate recognition models in an idle state based on the running state of each candidate recognition model;
[0159] When it is determined that the number of the first models meets a preset condition, a target recognition model matching the target network data is determined based on the candidate recognition models in the idle state.
[0160] In a possible implementation manner, the device is also used for:
[0161] Performing hash calculation on the target network data to obtain a hash value;
[0162] The target recognition model is determined from the candidate recognition models in the idle state according to the hash value, the processing time and the first number of models; wherein the processing time is the time for performing hash calculation on the target network data.
[0163] In a possible implementation manner, the device is also used for:
[0164] Calculate the average value of the recognition result according to the recognition result of each target recognition model and the number of second models; wherein the number of second models is used to indicate the number of models in the target recognition model used to recognize the abnormal traffic data;
[0165] Determining the abnormality degree of the target network data based on the average value;
[0166] Abnormal traffic data in the target network data is identified based on the abnormality level.
[0167] In a possible implementation manner, the device is also used for:
[0168] Obtaining network traffic data of the network node;
[0169] Generate an abnormal behavior log according to the flow information of the network flow data; wherein the abnormal behavior log is used to indicate the abnormal behavior information of the network flow data;
[0170] The abnormal behavior log is standardized to obtain the target network data.
[0171] In a possible implementation manner, the device is also used for:
[0172] Performing identity authentication on each of the network nodes to obtain a verification result;
[0173] In the case where it is determined based on the verification result that the identity authentication of the network node is passed, an identity certificate is issued to the network node, and the step of acquiring network traffic data of the network node is performed.
[0174] In a possible implementation manner, the device is also used for:
[0175] Acquire security traffic data in the target network data;
[0176] The model parameters of the target recognition model are updated according to the safety traffic data to obtain an updated target recognition model.
[0177] In a possible implementation manner, the device is also used for:
[0178] Performing source tracing processing on the abnormal traffic data to obtain a source tracing result;
[0179] When it is determined based on the tracing result that the abnormal traffic data has not been tampered with, the network node to which the abnormal traffic data belongs is intercepted.
[0180] In a possible implementation manner, the device is also used for:
[0181] Determine a first network address of a network node to which the abnormal traffic data belongs;
[0182] Acquire a second network address of a network node to which the abnormal traffic data belongs in a local database of each target recognition model;
[0183] When the first network address and the second network address are consistent, the tracing result is determined according to the first network address.
[0184] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0185] Corresponds to Figure 1 The abnormal data identification method in the present disclosure embodiment also provides an electronic device 60, such as Figure 6 FIG. 1 is a schematic diagram of the structure of an electronic device 60 provided in an embodiment of the present disclosure, including:
[0186] Processor 61, memory 62, and bus 63; memory 62 is used to store execution instructions, including internal memory 621 and external memory 622; memory 621 here is also called internal memory, which is used to temporarily store operation data in processor 61 and data exchanged with external memory 622 such as hard disk. Processor 61 exchanges data with external memory 622 through memory 621. When the electronic device 60 is running, the processor 61 communicates with the memory 62 through bus 63, so that the processor 61 executes the following instructions:
[0187] Acquire target network data of a network node; wherein the network node is a device for storing network flow data, and the target network data is network flow data suspected of having anomalies in the network flow data;
[0188] Determining a plurality of target recognition models that match the target network data;
[0189] Performing identification processing on the target network data through each target identification model to obtain an identification result;
[0190] In a case where it is determined based on the identification result that abnormal network traffic data exists in the target network data, the abnormal traffic data in the target network data is identified.
[0191] The present disclosure also provides 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 abnormal data identification method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0192] The present disclosure also provides a computer program product 70, such as Figure 7 As shown, it is a schematic diagram of the structure of a computer program product 70 provided in an embodiment of the present disclosure. The computer program product 70 carries a computer program 71. The program included in the computer program 71 can be used to execute the steps of the abnormal data identification method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0193] In the above, the abnormal data identification method, device, equipment, medium and product according to the embodiments of the present disclosure are described with reference to the accompanying drawings. First, the target network data of the network node is obtained; wherein the target network data is the network traffic data suspected to be abnormal in the network traffic data of the network node; then, multiple target recognition models matching the target network data are determined; and the target network data is recognized and processed by each target recognition model to obtain a recognition result; finally, in the case where it is determined based on the recognition result that there is abnormal network traffic data in the target network data, the abnormal traffic data in the target network data is identified, and the abnormal traffic data is identified according to the recognition result of each target recognition model, thereby avoiding the problem of misjudging the abnormal traffic data and improving the accuracy of the recognition process.
[0194] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limiting. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0195] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0196] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0197] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0198] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0199] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0200] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A method for identifying abnormal data, characterized in that: include: Acquire target network data of a network node; wherein the network node is a device for storing network flow data, and the target network data is network flow data suspected of having anomalies in the network flow data; Determining a plurality of target recognition models that match the target network data; Performing identification processing on the target network data through each target identification model to obtain an identification result; In a case where it is determined based on the identification result that abnormal network traffic data exists in the target network data, the abnormal traffic data in the target network data is identified.
2. The method according to claim 1, characterized in that The determining of a plurality of target recognition models matching the target network data comprises: Determine a first model quantity of candidate recognition models in an idle state based on the running state of each candidate recognition model; When it is determined that the number of the first models meets a preset condition, a target recognition model matching the target network data is determined based on the candidate recognition models in the idle state.
3. The method according to claim 2, characterized in that The step of determining, when it is determined that the number of the first models meets a preset condition, a target recognition model matching the target network data based on the candidate recognition models in the idle state comprises: Performing hash calculation on the target network data to obtain a hash value; The target recognition model is determined from the candidate recognition models in the idle state according to the hash value, the processing time and the first number of models; wherein the processing time is the time for performing hash calculation on the target network data.
4. The method according to claim 1, characterized in that: In the case where it is determined based on the identification result that abnormal network traffic data exists in the target network data, identifying the abnormal traffic data in the target network data includes: Calculate the average value of the recognition result according to the recognition result of each target recognition model and the number of second models; wherein the number of second models is used to indicate the number of models used to recognize the abnormal traffic data in the target recognition model; Determining the abnormality degree of the target network data based on the average value; Abnormal traffic data in the target network data is identified based on the abnormality level.
5. The method according to claim 1, characterized in that The obtaining of target network data of the network node comprises: Obtaining network traffic data of the network node; Generate an abnormal behavior log according to the flow information of the network flow data; wherein the abnormal behavior log is used to indicate the abnormal behavior information of the network flow data; The abnormal behavior log is standardized to obtain the target network data.
6. The method according to claim 5, characterized in that The method further comprises: Performing identity authentication on each of the network nodes to obtain a verification result; In the case where it is determined based on the verification result that the identity authentication of the network node is passed, an identity certificate is issued to the network node, and the step of acquiring network traffic data of the network node is performed.
7. The method according to claim 1, characterized in that After identifying abnormal traffic data in the target network data, the method includes: Acquire security traffic data in the target network data; The model parameters of the target recognition model are updated according to the safety traffic data to obtain an updated target recognition model.
8. The method according to claim 1 or 7, characterized in that: The method further comprises: Performing source tracing processing on the abnormal traffic data to obtain a source tracing result; When it is determined based on the tracing result that the abnormal traffic data has not been tampered with, the network node to which the abnormal traffic data belongs is intercepted.
9. The method according to claim 8, characterized in that The tracing process of the abnormal traffic data to obtain the tracing result includes: Determine a first network address of a network node to which the abnormal traffic data belongs; Acquire a second network address of a network node to which the abnormal traffic data belongs in a local database of each target recognition model; When the first network address and the second network address are consistent, the tracing result is determined according to the first network address.
10. An abnormal data identification device, characterized in that: include: An acquisition unit, configured to acquire target network data of a network node; wherein the network node is a device for storing network flow data, and the target network data is network flow data suspected of having anomalies in the network flow data; A model determination unit, used to determine a plurality of target recognition models that match the target network data; A processing unit, used to perform identification processing on the target network data through each target identification model to obtain an identification result; The abnormality identification unit is used to identify the abnormal traffic data in the target network data when it is determined based on the identification result that there is abnormal network traffic data in the target network data.
11. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the abnormal data identification method as described in any one of claims 1 to 9 are performed.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the abnormal data identification method according to any one of claims 1 to 9 are executed.
13. A computer program product, characterized in that The computer program product is stored in a storage medium, and the program product is executed by at least one processor to implement the abnormal data identification method according to any one of claims 1 to 9.
