Data attack processing method and system applied to smart cloud
By extracting and merging knowledge from the historical attack data of the smart cloud, generating a historical knowledge graph, and using real-time attack events to update the graph, the problem of low accuracy of data attack processing in the smart cloud is solved, and accurate response to data attacks is achieved. Real-time protection.
Patent Information
- Application Number
- CN202310703547.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-06-14
AI Technical Summary
The smart cloud's data attack processing accuracy is low, making it difficult to effectively prevent data leakage and tampering.
By obtaining historical attack data for knowledge extraction and data fusion, a historical knowledge graph is generated, and real-time attack events are used to update the graph and generate intrusion attack sequences for data attack processing.
It improves the accuracy and real-time nature of data attack processing, ensures effective protection of the smart cloud, and can accurately respond to attacks.
Smart Images

Figure CN116796310B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a data attack processing method and system applied to smart cloud. Background Art
[0002] With the continuous advancement of digital technology, global digital development has entered an accelerated stage. Driven by the general support of national strategies and the active digital transformation of enterprises, more and more enterprises are migrating their businesses to the cloud. Smart clouds are convenient, cost-effective and flexible enough, but once a smart cloud leaks user data privacy, or a large amount of data is lost due to equipment failure during cloud storage, or the data is arbitrarily tampered with by other users during transmission, the adverse effects of such consequences are difficult to estimate. How to effectively implement data attack protection is the current focus of smart cloud security.
[0003] Nowadays, the security protection of smart cloud has certain limitations, and the accuracy of its attack processing is difficult to guarantee, which can easily lead to erroneous data attack processing. Therefore, how to improve the accuracy of data attack processing applied to smart cloud has become an urgent problem to be solved. Summary of the invention
[0004] The present invention provides a data attack processing method and system applied to smart cloud, the main purpose of which is to solve the problem of low accuracy in data attack processing applied to smart cloud.
[0005] To achieve the above-mentioned purpose, the present invention provides a data attack processing method applied to a smart cloud, comprising:
[0006] Acquire historical attack data of the smart cloud, and extract knowledge from the historical attack data according to the data type of the historical attack data to obtain knowledge data of the historical attack data;
[0007] Performing data fusion on the knowledge data to obtain fused data of the knowledge data, and generating a historical knowledge graph of the historical attack data according to the fused data;
[0008] The real-time attack events of the smart cloud are obtained, and the event attack number of the real-time attack events is generated according to a preset attack number algorithm, wherein the preset attack number algorithm is:
[0009]
[0010] Where J(U,V) is the sum of squares of the distances from the event features of the real-time attack events in each category to the cluster center, min(*) is the minimum function, n is the total number of event features of the real-time attack events, c is the number of specified categories of the event features, u ik The matrix element m in the i-th row and k-th column of the fuzzy classification matrix generated by the time feature is the degree coefficient, x k is the kth event feature, v i is the i-th cluster center, i is the feature identifier of the event feature, k is the category identifier of the cluster center, U is the fuzzy classification matrix generated by the time feature, and V is the set of cluster centers;
[0011] Generate an attack path of the real-time attack event, and update the historical knowledge graph according to the attack path and the number of event attacks to obtain an updated knowledge graph of the historical knowledge graph;
[0012] An intrusion attack sequence of the smart cloud is generated according to the updated knowledge graph, and the intrusion attack sequence is used to perform data attack processing on the smart cloud.
[0013] Optionally, extracting knowledge from the historical attack data according to the data type of the historical attack data to obtain knowledge data of the historical attack data includes:
[0014] Determining a data format of the historical attack data according to a data source of the historical attack data, and determining a data type of the historical attack data according to the data format, wherein the data type is structured data and unstructured data;
[0015] Performing triple conversion on the structured data to obtain triple data of the structured data;
[0016] Information extraction is performed on the unstructured data to obtain information data of the unstructured data, and the triple data and the information data are collected as knowledge data of the historical attack data.
[0017] Optionally, the performing triple conversion on the structured data to obtain triple data of the structured data includes:
[0018] Performing data mapping on the structured data to obtain mapping data of the structured data;
[0019] Selecting the mapping data according to a preset ternary tag to obtain target data of the mapping data;
[0020] The corresponding relationship of the target data is determined, and triple data of the structured data is generated according to the corresponding relationship and the target data.
[0021] Optionally, extracting information from the unstructured data to obtain information data of the unstructured data includes:
[0022] Performing word segmentation processing on the unstructured data to obtain data word segmentation of the unstructured data;
[0023] Performing ontology extraction on the unstructured data according to the data segmentation to obtain ontology data of the unstructured data;
[0024] Performing entity extraction on the unstructured data according to the data segmentation to obtain entity data of the unstructured data;
[0025] The information data of the unstructured data is generated according to the ontology data and the entity data.
[0026] Optionally, the performing data fusion on the knowledge data to obtain fused data of the knowledge data includes:
[0027] Performing semantic extraction on the knowledge data to obtain knowledge semantics of the knowledge data;
[0028] Performing entity association on the entity data of the knowledge data according to the knowledge semantics to obtain associated data of the entity data;
[0029] The knowledge data is fused according to the associated data to obtain fused data of the knowledge data.
[0030] Optionally, generating a historical knowledge graph of the historical attack data according to the fused data includes:
[0031] Generate an initial node of the historical attack data according to the ontology data in the fused data;
[0032] Determine a node label of the initial node, and perform branch configuration on the initial node according to the node label and the fusion data to obtain child nodes of the initial node;
[0033] A historical knowledge graph of the historical attack data is generated according to the initial node and the child nodes.
[0034] Optionally, generating the event attack number of the real-time attack event according to a preset attack number algorithm includes:
[0035] Extracting features of the real-time attack event to obtain event features of the real-time attack event;
[0036] Performing feature clustering on the event features using a preset attack number algorithm to obtain cluster features of the event features;
[0037] The event attack number of the attack event is generated according to the clustering feature.
[0038] Optionally, generating the attack path of the real-time attack event includes:
[0039] Performing path extraction on the real-time attack event to obtain an event path of the real-time attack event;
[0040] The event path is effectively identified to obtain the attack path of the event path.
[0041] Optionally, updating the historical knowledge graph according to the attack path and the event attack number to obtain an updated knowledge graph of the historical knowledge graph includes:
[0042] The path weight of the attack path is obtained, and a real-time attack weight of the real-time attack event is generated using a preset attack weighting algorithm, the path weight and the event attack number, wherein the preset attack weighting algorithm is:
[0043]
[0044] Where P is the real-time attack weight of the real-time attack event, w j is the jth path weight, δ j is the event attack number corresponding to the j-th path weight, j is the identifier of the event attack number, and T is the total number of event attacks;
[0045] The historical knowledge graph is updated by using the real-time attack weight to obtain an updated knowledge graph of the historical knowledge graph.
[0046] In order to solve the above problems, the present invention also provides a data attack processing system applied to a smart cloud, the system comprising:
[0047] A knowledge extraction module is used to obtain historical attack data of the smart cloud, and to extract knowledge from the historical attack data according to the data type of the historical attack data to obtain knowledge data of the historical attack data;
[0048] A data fusion module, used for performing data fusion on the knowledge data to obtain fused data of the knowledge data, and generating a historical knowledge graph of the historical attack data according to the fused data;
[0049] The attack number generation module is used to obtain the real-time attack events of the smart cloud and generate the event attack number of the real-time attack events according to a preset attack number algorithm, wherein the preset attack number algorithm is:
[0050]
[0051] Where J(U,V) is the sum of squares of the distances from the event features of the real-time attack events in each category to the cluster center, min(*) is the minimum function, n is the total number of event features of the real-time attack events, c is the number of specified categories of the event features, u ik The matrix element m in the i-th row and k-th column of the fuzzy classification matrix generated by the time feature is the degree coefficient, x k is the kth event feature, v i is the i-th cluster center, i is the feature identifier of the event feature, k is the category identifier of the cluster center, U is the fuzzy classification matrix generated by the time feature, and V is the set of cluster centers;
[0052] A graph updating module, used for generating an attack path of the real-time attack event, updating the historical knowledge graph according to the attack path and the number of event attacks, and obtaining an updated knowledge graph of the historical knowledge graph;
[0053] An attack processing module is used to generate an intrusion attack sequence of the smart cloud according to the updated knowledge graph, and use the intrusion attack sequence to perform data attack processing on the smart cloud.
[0054] The embodiment of the present invention obtains the knowledge data of the historical attack data by performing knowledge extraction on the historical attack data of the smart cloud. The knowledge extraction is for generating data features of the historical attack data. The data fusion is performed on the knowledge data for generating a historical knowledge graph of the historical attack data of the smart cloud based on the fused data generated by the data fusion. The historical knowledge graph simply and clearly displays the attributes and attribute values of the historical attack data. The historical knowledge graph is updated by using real-time attack events to ensure that the knowledge graph of the smart cloud is real-time. The updated knowledge graph can describe the smart cloud more accurately through data feedback. Data attack processing is performed on the smart cloud based on the updated knowledge graph because the updated knowledge graph displays the attack degree and attack path so as to accurately respond to the attack. Therefore, the present invention proposes a data attack processing method and system applied to the smart cloud, which can solve the problem of low accuracy of data attack processing applied to the smart cloud. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1A flowchart of a data attack processing method applied to a smart cloud provided by an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of a process for generating knowledge data of historical attack data provided by an embodiment of the present invention;
[0057] Figure 3 A schematic diagram of a process for generating information data of unstructured data provided by an embodiment of the present invention;
[0058] Figure 4 A functional module diagram of a data attack processing system applied to a smart cloud provided by one embodiment of the present invention;
[0059] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0060] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0061] The embodiment of the present application provides a data attack processing method applied to a smart cloud. The execution body of the data attack processing method applied to a smart cloud includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided in the embodiment of the present application. In other words, the data attack processing method applied to a smart cloud can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0062] Reference Figure 1 FIG. 1 is a flow chart of a data attack processing method applied to a smart cloud provided by an embodiment of the present invention. In this embodiment, the data attack processing method applied to a smart cloud includes:
[0063] S1. Acquire historical attack data of the smart cloud, extract knowledge from the historical attack data according to the data type of the historical attack data, and obtain knowledge data of the historical attack data.
[0064] In an embodiment of the present invention, the smart cloud can effectively manage the information of the enterprise, and many businesses of the enterprise can be managed using the smart cloud, such as: office business, sales business, procurement business, inventory business, customer management, project management, personnel management, training management, cost management, key performance indicators, etc.
[0065] In detail, the historical attack data of the smart cloud can be obtained by a message collection tool known in the art (for example, it can be a Flume, Kafka and other tools). The Flume and Kafka tools are merely illustrative examples to illustrate the feasibility of the solution, and it is not limited to the use of the Flume and Kafka tools in this solution.
[0066] In detail, Kafka is an open source stream processing platform developed by the Apache Software Foundation. It is a high-throughput distributed publish-subscribe messaging system that can handle all action stream data of consumers on the website.
[0067] In detail, the data types are divided into structured data and unstructured data, and the unstructured data is divided into semi-structured data and plain text data. Among them, the structured data generally refers to data that can be represented and stored using a relational database and can be logically expressed using a two-dimensional table. The unstructured data can come from research reports, academic journals, and public blogs, etc.; the structured data comes from major databases.
[0068] In the embodiment of the present invention, Figure 2 As shown, the knowledge extraction of the historical attack data according to the data type of the historical attack data to obtain the knowledge data of the historical attack data includes:
[0069] S21, determining a data format of the historical attack data according to a data source of the historical attack data, and determining a data type of the historical attack data according to the data format, wherein the data type is structured data and unstructured data;
[0070] S22, performing triple conversion on the structured data to obtain triple data of the structured data;
[0071] S23: extract information from the unstructured data to obtain information data of the unstructured data, and aggregate the triple data and the information data into knowledge data of the historical attack data.
[0072] In detail, the data sources of the historical attack data include the database, research reports, academic journals and public blogs, etc.; the data formats include: tables, image files, pure files, binary files, audio formats and video formats, etc.
[0073] In detail, the unstructured data refers to data with irregular or incomplete data structure, no predefined data model, and data that is not convenient to be represented by a two-dimensional logical table of a database, including office documents of all formats, text, pictures, HTML, various reports, images, and audio / video information, etc.
[0074] In detail, the triple conversion of the structured data to obtain triple data of the structured data includes:
[0075] Performing data mapping on the structured data to obtain mapping data of the structured data;
[0076] Selecting the mapping data according to a preset ternary tag to obtain target data of the mapping data;
[0077] The corresponding relationship of the target data is determined, and triple data of the structured data is generated according to the corresponding relationship and the target data.
[0078] In detail, the preset ternary tags refer to the attributes of the mapping data, the attribute values of the mapping data and the resources of the mapping data, wherein the triple data can be represented by a table, for example: the columns of the table are the attributes of the mapping data, the rows of the table are the resources of the mapping data, and the cell values of the table are the literals of the mapping data. The table can be used as a class in the ontology in the structured data, and the resources are also called entities in the mapping data.
[0079] Furthermore, the triple data can be represented by nodes and edges, wherein the nodes represent entities and attributes in the mapping data, and the edges represent the relationships between entities and the correspondence between entities and attributes, wherein the correspondence of the target data refers to the relationships between entities and the relationships between entities and the relationships between entities and attributes.
[0080] In detail, the triple data is used to represent the relationship between entities, or the attribute value of an attribute of an entity. From the content point of view, the structure of the triple is "resource-attribute-attribute value". The entity is represented by a uniform resource identifier, and the attribute value can be the uniform resource identifier of another entity or the value of a certain data type, also called a literal.
[0081] In detail, see Figure 3 As shown, the extracting information from the unstructured data to obtain information data of the unstructured data includes:
[0082] S31, performing word segmentation processing on the unstructured data to obtain data word segmentation of the unstructured data;
[0083] S32, extracting the ontology of the unstructured data according to the data segmentation to obtain the ontology data of the unstructured data;
[0084] S33, extracting entities from the unstructured data according to the data segmentation to obtain entity data of the unstructured data;
[0085] S34. Generate information data of the unstructured data according to the ontology data and the entity data.
[0086] In detail, the word segmentation processing of the unstructured data can be a word segmentation tool known in the art (for example, it can be jieba, SnowNLP, PkuSeg, THULAC, HanLP and other tools). The jieba, SnowNLP, PkuSeg, THULAC, HanLP tools are merely illustrative examples to illustrate the feasibility of the scheme, and it is not limited to the scheme that must adopt the jieba, SnowNLP, PkuSeg, THULAC, HanLP tools.
[0087] In detail, the ontology extraction of the unstructured data according to the data segmentation refers to determining the ontology data in the unstructured data, wherein the ontology is a collection of concepts and a recognized conceptual framework, generally referring to concepts that will not change, such as "people", "things", "objects", "places", and "organizations". In object-oriented programming, the ontology can be called a class, and in data management, the ontology can be called metadata.
[0088] In detail, the entity extraction of the unstructured data according to the data segmentation refers to determining the entity data in the unstructured data, wherein the entity is the integration of ontology, instance and relationship. For example, "person" is a concept in the ontology frame, and the concept also specifies relevant attributes such as "gender". Xiao Ming is a specific person, called an instance, so Xiao Ming also has gender. Xiao Ming and the ontology concept "person" that embodies Xiao Ming and related attributes are called an entity.
[0089] S2. Perform data fusion on the knowledge data to obtain fused data of the knowledge data, and generate a historical knowledge graph of the historical attack data according to the fused data.
[0090] In an embodiment of the present invention, the historical knowledge graph is a representation of the association relationship and data weight of the historical attack data, wherein the knowledge graph is a form of graph organization, which associates various entities through semantic associations. The knowledge graph extracts and integrates structured and unstructured data, which is conducive to the utilization and migration of large-scale data.
[0091] In detail, the historical knowledge graph of the historical attack data is based on extracting information such as entities, attributes and relationships of the historical attack data, and then undergoing a knowledge fusion step to obtain high-quality data with clearer relationships and no ambiguity.
[0092] In the embodiment of the present invention, the step of fusing the knowledge data to obtain fused data of the knowledge data includes:
[0093] Performing semantic extraction on the knowledge data to obtain knowledge semantics of the knowledge data;
[0094] Performing entity association on the entity data of the knowledge data according to the knowledge semantics to obtain associated data of the entity data;
[0095] The knowledge data is fused according to the associated data to obtain fused data of the knowledge data.
[0096] In detail, the semantic extraction of the knowledge data may utilize the BERT model.
[0097] In detail, the entity association of the entity data of the knowledge data according to the knowledge semantics refers to determining the relationship between the entity and the ontology, and the relationship between the entities according to the knowledge semantics.
[0098] In detail, the data fusion of the knowledge data according to the associated data can utilize the Bayesian estimation method. The Bayesian estimation method provides a method for calculating the posterior probability based on the prior knowledge of the observation space to realize the identification of the target in the observation space. The Bayesian estimation method is easy to understand and has a small amount of calculation. The data fusion of the knowledge data according to the associated data can also utilize the maximum likelihood estimation algorithm, wherein the fused data is taken as the estimated value that makes the likelihood function reach the extreme value. The maximum likelihood estimation algorithm has less information loss and is suitable for fusing the knowledge data.
[0099] In the embodiment of the present invention, generating the historical knowledge graph of the historical attack data according to the fusion data includes:
[0100] Generate an initial node of the historical attack data according to the ontology data in the fused data;
[0101] Determine a node label of the initial node, and perform branch configuration on the initial node according to the node label and the fusion data to obtain child nodes of the initial node;
[0102] A historical knowledge graph of the historical attack data is generated according to the initial node and the child nodes.
[0103] In detail, generating the initial node of the historical attack data according to the ontology data in the fused data refers to determining the classification category of the historical attack data according to the ontology data, and the ontology represented by the ontology data is the classification category of the historical attack data; the classification category represents the ontology of the historical knowledge graph, and determining the node label of the initial node refers to assigning an identifying label to the initial node, and the node label is used to distinguish different initial nodes and to distinguish different ontologies.
[0104] In detail, the ontology is a formal expression of a set of concepts and their relationships in a specific field. The ontology of the historical knowledge graph can be understood as the data model of the knowledge graph, and can also be generally described as a semantic network, which describes what types of entities are in the historical knowledge graph, what types of attributes each type of entity has, and what types of relationships there are between different types of entities.
[0105] In detail, the branch configuration of the initial node according to the node label and the fused data refers to determining the attributes of the entity associated with the ontology according to the fused data, wherein the entity refers to a certain thing that is distinguishable and exists independently, is the most basic element of the historical knowledge graph, and is represented as a vertex in the semantic network in the historical knowledge graph; the attribute refers to information that describes the properties of the thing itself or the properties of the connection between things, and is represented as key-value pair data of the entity in the historical knowledge graph, and the key-value pair is composed of an attribute name and an attribute value.
[0106] In detail, generating the historical knowledge graph of the historical attack data according to the initial node and the child nodes refers to determining the entities, attributes, relationships and other elements of the historical attack data according to the initial node and the child nodes, and generating the historical knowledge graph of the historical attack data using entities, attributes, relationships and other elements, wherein the relationship refers to the ubiquitous connection between things, which in the historical knowledge graph is the semantic edge that describes the connection between entities.
[0107] S3. Acquire the real-time attack events of the smart cloud, and generate the event attack number of the real-time attack events according to a preset attack number algorithm.
[0108] In the embodiment of the present invention, generating the event attack number of the real-time attack event according to a preset attack number algorithm includes:
[0109] Extracting features of the real-time attack event to obtain event features of the real-time attack event;
[0110] Performing feature clustering on the event features using a preset attack number algorithm to obtain cluster features of the event features;
[0111] The event attack number of the attack event is generated according to the clustering feature.
[0112] In detail, the feature extraction of the real-time attack event can first convert the format of the real-time attack event, then perform data segmentation on the data after format conversion, and perform data selection on the segmented data to obtain the event feature of the real-time attack event.
[0113] In detail, the preset attack number algorithm is:
[0114]
[0115] Where J(U,V) is the sum of squares of the distances from the event features of the real-time attack events in each category to the cluster center, min(*) is the minimum function, n is the total number of event features of the real-time attack events, c is the number of specified categories of the event features, u ik The matrix element m in the i-th row and k-th column of the fuzzy classification matrix generated by the time feature is the degree coefficient, x k is the kth event feature, v i is the ith cluster center, i is the feature identifier of the event feature, k is the category identifier of the cluster center, U is the fuzzy classification matrix generated by the time feature, and V is the set of cluster centers.
[0116] In detail, the minimum value of the sum of squares of distances from the event features of the real-time attack events to the cluster centers under constraints is determined according to the preset attack number algorithm, and feature clustering of the event features is performed according to the minimum value, because the minimum value represents the similarity between the event features and the cluster centers.
[0117] In detail, the event attack number of the attack event generated according to the clustering feature refers to determining the number of event features under a certain cluster center according to the clustering feature, and determining the number of event features under a certain cluster center as the event attack number of one type of attack generated by the attack event.
[0118] S4. Generate an attack path of the real-time attack event, and update the historical knowledge graph according to the attack path and the number of event attacks to obtain an updated knowledge graph of the historical knowledge graph.
[0119] In the embodiment of the present invention, the generating of the attack path of the real-time attack event includes:
[0120] Performing path extraction on the real-time attack event to obtain an event path of the real-time attack event;
[0121] The event path is effectively identified to obtain the attack path of the event path.
[0122] In detail, the path extraction of the real-time attack event can determine the event log of the attack event according to the page plug-in, perform word segmentation processing on the event log to obtain the log word segmentation of the event log, perform word segmentation selection on the log word segmentation, and obtain the event path of the real-time attack event.
[0123] In detail, the effective identification of the event path means that for the same event, if the event path of the event is different, the security of the event is different. For example, when the login event is sent from a common address, it can be preliminarily determined that the login event is normal. When the login occurs in a different location, it is necessary to further determine whether the login event is normal. In other words, the effective identification is an abnormality judgment.
[0124] In the embodiment of the present invention, the updating of the historical knowledge graph according to the attack path and the event attack number to obtain an updated knowledge graph of the historical knowledge graph includes:
[0125] The path weight of the attack path is obtained, and a real-time attack weight of the real-time attack event is generated using a preset attack weighting algorithm, the path weight and the event attack number, wherein the preset attack weighting algorithm is:
[0126]
[0127] Where P is the real-time attack weight of the real-time attack event, w j is the jth path weight, δ j is the event attack number corresponding to the j-th path weight, j is the identifier of the event attack number, and T is the total number of event attacks;
[0128] The historical knowledge graph is updated by using the real-time attack weight to obtain an updated knowledge graph of the historical knowledge graph.
[0129] In detail, the path weight of the attack path refers to the path weight determined according to the path risk degree of the attack path; the use of the real-time attack weight to update the historical knowledge graph refers to updating the attributes of the entities in the historical knowledge graph, the attribute values of the entities, and the connection relationships of the attributes according to the real-time attack weight.
[0130] S5. Generate an intrusion attack sequence for the smart cloud according to the updated knowledge graph, and use the intrusion attack sequence to perform data attack processing on the smart cloud.
[0131] In an embodiment of the present invention, the intrusion attack sequence of the smart cloud is generated according to the updated knowledge graph because the intrusion attack attributes of the smart cloud and the attribute values of the intrusion attack attributes are displayed on the updated knowledge graph, and the intrusion attack sequence is arranged according to the size of the intrusion attack attributes and the attribute values of the intrusion attack attributes.
[0132] In an embodiment of the present invention, performing data attack processing on the smart cloud using the intrusion attack sequence refers to determining the attack that needs to be processed based on the attribute value of the intrusion attack attribute in the intrusion attack sequence and a preset attack threshold, that is, when the attribute value is greater than the preset attack threshold, the corresponding intrusion attack attribute is determined based on the attribute value, and corresponding data attack processing is performed on the smart cloud based on the intrusion attack attribute.
[0133] The embodiment of the present invention obtains the knowledge data of the historical attack data by performing knowledge extraction on the historical attack data of the smart cloud. The knowledge extraction is for generating data features of the historical attack data. The data fusion is performed on the knowledge data for generating a historical knowledge graph of the historical attack data of the smart cloud based on the fused data generated by the data fusion. The historical knowledge graph simply and clearly displays the attributes and attribute values of the historical attack data. The historical knowledge graph is updated by using real-time attack events to ensure that the knowledge graph of the smart cloud is real-time. The updated knowledge graph can describe the smart cloud more accurately through data feedback. Data attack processing is performed on the smart cloud based on the updated knowledge graph because the updated knowledge graph displays the attack degree and attack path so as to accurately respond to the attack. Therefore, the present invention proposes a data attack processing method applied to the smart cloud, which can solve the problem of low accuracy of data attack processing applied to the smart cloud.
[0134] like Figure 4 , which is a functional module diagram of a data attack processing system applied to a smart cloud provided by one embodiment of the present invention.
[0135] The data attack processing system 100 applied to the smart cloud of the present invention can be installed in an electronic device. According to the functions implemented, the data attack processing system 100 applied to the smart cloud may include a knowledge extraction module 101, a data fusion module 102, an attack number generation module 103, a graph update module 104 and an attack processing module 105. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0136] In this embodiment, the functions of each module / unit are as follows:
[0137] The knowledge extraction module 101 is used to obtain historical attack data of the smart cloud, and extract knowledge from the historical attack data according to the data type of the historical attack data to obtain knowledge data of the historical attack data;
[0138] The data fusion module 102 is used to perform data fusion on the knowledge data to obtain fused data of the knowledge data, and generate a historical knowledge graph of the historical attack data according to the fused data;
[0139] The attack number generating module 103 is used to obtain the real-time attack events of the smart cloud, and generate the event attack number of the real-time attack events according to a preset attack number algorithm, wherein the preset attack number algorithm is:
[0140]
[0141] Where J(U,V) is the sum of squares of the distances from the event features of the real-time attack events in each category to the cluster center, min(*) is the minimum function, n is the total number of event features of the real-time attack events, c is the number of specified categories of the event features, u ik The matrix element m in the i-th row and k-th column of the fuzzy classification matrix generated by the time feature is the degree coefficient, x k is the kth event feature, v i is the i-th cluster center, i is the feature identifier of the event feature, k is the category identifier of the cluster center, U is the fuzzy classification matrix generated by the time feature, and V is the set of cluster centers;
[0142] The graph updating module 104 is used to generate an attack path of the real-time attack event, and update the historical knowledge graph according to the attack path and the number of event attacks to obtain an updated knowledge graph of the historical knowledge graph;
[0143] The attack processing module 105 is used to generate an intrusion attack sequence of the smart cloud according to the updated knowledge graph, and use the intrusion attack sequence to perform data attack processing on the smart cloud.
[0144] In the several embodiments provided by the present invention, it should be understood that the disclosed methods and systems can be implemented in other ways. For example, the system embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0145] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0147] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0148] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0149] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0150] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0151] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems stated in a system claim can also be implemented by one unit or system through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A data attack processing method applied to smart cloud, characterized in that: The method comprises: Acquire historical attack data of the smart cloud, and extract knowledge from the historical attack data according to the data type of the historical attack data to obtain knowledge data of the historical attack data; Performing data fusion on the knowledge data to obtain fused data of the knowledge data, and generating a historical knowledge graph of the historical attack data according to the fused data; The real-time attack events of the smart cloud are obtained, and the event attack number of the real-time attack events is generated according to a preset attack number algorithm, wherein the preset attack number algorithm is: Where J(U,V) is the sum of squares of the distances from the event features of the real-time attack events in each category to the cluster center, min(*) is the minimum function, n is the total number of event features of the real-time attack events, c is the number of specified categories of the event features, u ik is the matrix element of the i-th row and k-th column in the fuzzy classification matrix generated by the time feature, m is the degree coefficient, x k is the kth event feature, v i is the i-th cluster center, i is the feature identifier of the event feature, k is the category identifier of the cluster center, U is the fuzzy classification matrix generated by the time feature, and V is the set of cluster centers; Generate an attack path of the real-time attack event, and update the historical knowledge graph according to the attack path and the number of event attacks to obtain an updated knowledge graph of the historical knowledge graph; An intrusion attack sequence of the smart cloud is generated according to the updated knowledge graph, and data attack processing is performed on the smart cloud using the intrusion attack sequence, wherein the intrusion attack sequence of the smart cloud is generated according to the updated knowledge graph because the updated knowledge graph includes intrusion attack attributes of the smart cloud and attribute values of the intrusion attack attributes, and the intrusion attack sequence is arranged according to the size of the intrusion attack attributes and the attribute values of the intrusion attack attributes; wherein data attack processing on the smart cloud using the intrusion attack sequence includes: determining the attack to be processed according to the attribute value of the intrusion attack attribute in the intrusion attack sequence and a preset attack threshold, that is, when the attribute value is greater than the preset attack threshold, determining the corresponding intrusion attack attribute according to the attribute value, so as to accurately respond to data attacks.
2. The data attack processing method applied to the smart cloud according to claim 1, characterized in that: The extracting knowledge from the historical attack data according to the data type of the historical attack data to obtain the knowledge data of the historical attack data includes: Determining a data format of the historical attack data according to a data source of the historical attack data, and determining a data type of the historical attack data according to the data format, wherein the data type is structured data and unstructured data; Performing triple conversion on the structured data to obtain triple data of the structured data; Information extraction is performed on the unstructured data to obtain information data of the unstructured data, and the triple data and the information data are collected as knowledge data of the historical attack data.
3. The data attack processing method applied to the smart cloud according to claim 2, characterized in that: The performing triple conversion on the structured data to obtain triple data of the structured data includes: Performing data mapping on the structured data to obtain mapping data of the structured data; Selecting the mapping data according to a preset ternary tag to obtain target data of the mapping data; The corresponding relationship of the target data is determined, and triple data of the structured data is generated according to the corresponding relationship and the target data.
4. The data attack processing method applied to the smart cloud according to claim 2, characterized in that: The extracting information from the unstructured data to obtain information data of the unstructured data includes: Performing word segmentation processing on the unstructured data to obtain data word segmentation of the unstructured data; Performing ontology extraction on the unstructured data according to the data segmentation to obtain ontology data of the unstructured data; Performing entity extraction on the unstructured data according to the data segmentation to obtain entity data of the unstructured data; The information data of the unstructured data is generated according to the ontology data and the entity data.
5. The data attack processing method applied to the smart cloud according to claim 1, characterized in that: The step of fusing the knowledge data to obtain fused data of the knowledge data includes: Performing semantic extraction on the knowledge data to obtain knowledge semantics of the knowledge data; Performing entity association on the entity data of the knowledge data according to the knowledge semantics to obtain associated data of the entity data; The knowledge data is fused according to the associated data to obtain fused data of the knowledge data.
6. The data attack processing method applied to the smart cloud according to claim 1, characterized in that: The generating the historical knowledge graph of the historical attack data according to the fusion data includes: Generate an initial node of the historical attack data according to the ontology data in the fused data; Determine a node label of the initial node, and perform branch configuration on the initial node according to the node label and the fusion data to obtain child nodes of the initial node; A historical knowledge graph of the historical attack data is generated according to the initial node and the child nodes.
7. The data attack processing method applied to the smart cloud according to claim 1, characterized in that: The generating the event attack number of the real-time attack event according to a preset attack number algorithm includes: Extracting features of the real-time attack event to obtain event features of the real-time attack event; Performing feature clustering on the event features using a preset attack number algorithm to obtain cluster features of the event features; The event attack number of the attack event is generated according to the clustering feature.
8. The data attack processing method applied to the smart cloud according to claim 1, characterized in that: The generating of the attack path of the real-time attack event includes: Performing path extraction on the real-time attack event to obtain an event path of the real-time attack event; The event path is effectively identified to obtain the attack path of the event path.
9. The data attack processing method applied to smart cloud according to any one of claims 1 to 8, characterized in that: The updating of the historical knowledge graph according to the attack path and the event attack number to obtain an updated knowledge graph of the historical knowledge graph includes: The path weight of the attack path is obtained, and a real-time attack weight of the real-time attack event is generated using a preset attack weighting algorithm, the path weight and the event attack number, wherein the preset attack weighting algorithm is: Where P is the real-time attack weight of the real-time attack event, w j is the jth path weight, δ j is the event attack number corresponding to the j-th path weight, j is the identifier of the event attack number, and T is the total number of event attacks; The historical knowledge graph is updated by using the real-time attack weight to obtain an updated knowledge graph of the historical knowledge graph.
10. A data attack processing system applied to smart cloud, characterized in that: The system is used to execute the data attack processing method applied to the smart cloud according to any one of claims 1 to 9, and comprises: A knowledge extraction module is used to obtain historical attack data of the smart cloud, and to extract knowledge from the historical attack data according to the data type of the historical attack data to obtain knowledge data of the historical attack data; A data fusion module, used for performing data fusion on the knowledge data to obtain fused data of the knowledge data, and generating a historical knowledge graph of the historical attack data according to the fused data; The attack number generation module is used to obtain the real-time attack events of the smart cloud and generate the event attack number of the real-time attack events according to a preset attack number algorithm, wherein the preset attack number algorithm is: Where J(U,V) is the sum of squares of the distances from the event features of the real-time attack events in each category to the cluster center, min(*) is the minimum function, n is the total number of event features of the real-time attack events, c is the number of specified categories of the event features, u ik is the matrix element of the i-th row and k-th column in the fuzzy classification matrix generated by the time feature, m is the degree coefficient, x k is the kth event feature, v i is the i-th cluster center, i is the feature identifier of the event feature, k is the category identifier of the cluster center, U is the fuzzy classification matrix generated by the time feature, and V is the set of cluster centers; A graph updating module, used for generating an attack path of the real-time attack event, updating the historical knowledge graph according to the attack path and the number of event attacks, and obtaining an updated knowledge graph of the historical knowledge graph; An attack processing module is used to generate an intrusion attack sequence of the smart cloud according to the updated knowledge graph, and use the intrusion attack sequence to perform data attack processing on the smart cloud, wherein the intrusion attack sequence of the smart cloud is generated according to the updated knowledge graph because the updated knowledge graph includes the intrusion attack attributes of the smart cloud and the attribute values of the intrusion attack attributes, wherein the intrusion attack sequence is arranged according to the size of the intrusion attack attributes and the attribute values of the intrusion attack attributes; wherein using the intrusion attack sequence to perform data attack processing on the smart cloud includes: determining the attack that needs to be processed according to the attribute value of the intrusion attack attribute in the intrusion attack sequence and a preset attack threshold, that is, when the attribute value is greater than the preset attack threshold, determining the corresponding intrusion attack attribute according to the attribute value, so as to accurately respond to data attacks.
Citation Information
Patent Citations
Network attack path discovery, extraction and association method based on DIKW model
CN111988339A
Big data attack processing method and system applied to cloud service
CN114218568A
Network attack prediction method and device based on knowledge graph
CN115296924A
Method and device for outputting attack event knowledge graph
CN115955355A
Leveraging attack graphs of agile security platform
US20200177615A1
