A phased data lifecycle security assessment method and system
Through the phased data life cycle security assessment method, we build a data security genetic map and situation map, combined with multi-dimensional analysis and causality analysis, to solve the problem of traditional assessment methods being difficult to track changes in data security status, and achieve efficient and accurate data security. Assessment and management.
Patent Information
- Application Number
- CN202411053647.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Traditional data security assessment methods are difficult to fully grasp the security status changes of data throughout the life cycle. They lack the ability to dynamically track data flow and security status evolution, and cannot accurately assess the particularities of different life cycle stages.
Adopt a staged data life cycle security assessment method, build a data security gene map through security feature coding and correlation analysis, combine data dynamic labeling and flow tracking, extract contextual information, conduct multi-dimensional security control requirements analysis and causality analysis, and realize the assessment results dynamic integration.
It improves the timeliness and accuracy of assessment, realizes personalized assessment for different life cycle stages, deeply explores the root causes and propagation paths of security risks, improves the interpretability and adaptive capabilities of assessment results, and supports the entire data life cycle. Systematic safety management.
Smart Images

Figure CN118569655B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data security technology, and in particular to a phased data lifecycle security assessment method and system. Background Art
[0002] With the deepening of digital transformation, data has become the core asset of enterprises and organizations, and its lifecycle security management has become an increasingly critical issue. Traditional data security assessment methods are often limited to a single stage or static analysis, making it difficult to fully grasp the changes in the security status of data throughout its lifecycle. At the same time, the increasing complexity and dynamism of data security threats have challenged the effectiveness of traditional assessment methods.
[0003] Existing assessment methods usually lack the ability to dynamically track the evolution of data flow and security status, making it difficult to detect potential security risks in a timely manner. In addition, the security requirements and characteristics of different life cycle stages are different, but existing methods often use a unified assessment standard and cannot accurately assess the particularities of each stage. Summary of the invention
[0004] The present application provides a phased data lifecycle security assessment method and system, which can not only accurately assess the specific security requirements of each stage, but also optimize the data security management strategy from the perspective of the entire life cycle, achieving the unity of local refinement and global coordination.
[0005] In a first aspect, the present application provides a phased data lifecycle security assessment method, the phased data lifecycle security assessment method comprising:
[0006] Perform security feature coding and association analysis on multiple stages of the data life cycle to obtain a data security gene map;
[0007] Based on the data security gene map, data dynamic marking and data flow tracking analysis are performed to obtain a data security situation map;
[0008] Based on the data security situation map, context information features are extracted for the multiple stages to obtain a stage-specific context space, and a stage evaluation engine is constructed;
[0009] Perform multi-dimensional analysis of security control requirements and multi-agent collaborative optimization on the multiple stages to obtain a data security control hypergraph;
[0010] Based on the data security control hypergraph, a security incident causal relationship analysis is performed on the multiple stages to obtain a security causal network of multiple stages;
[0011] Based on the multiple stage safety causal networks and the stage assessment engine, the assessment results of the multiple stages are dynamically integrated to obtain a comprehensive result of the life cycle safety assessment.
[0012] In a second aspect, the present application provides a phased data lifecycle security assessment system, the phased data lifecycle security assessment system comprising:
[0013] The encoding module is used to encode security features and conduct association analysis at multiple stages in the data life cycle to obtain a data security gene map;
[0014] A tracking module, used to perform data dynamic tagging and data flow tracking analysis based on the data security gene map to obtain a data security situation map;
[0015] A construction module is used to extract context information features of the multiple stages based on the data security situation map, obtain a stage-specific context space, and construct a stage evaluation engine;
[0016] An optimization module, used to perform multi-dimensional analysis of security control requirements and multi-agent collaborative optimization on the multiple stages to obtain a data security control hypergraph;
[0017] An analysis module, configured to perform a security incident causal relationship analysis on the multiple stages based on the data security control hypergraph to obtain a security causal network of multiple stages;
[0018] A fusion module is used to dynamically fuse the evaluation results of the multiple stages based on the multiple stage security causal networks and the stage evaluation engine to obtain a comprehensive result of the lifecycle security evaluation. The third aspect of the present application provides a staged data lifecycle security evaluation device, including: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the staged data lifecycle security evaluation device executes the above-mentioned staged data lifecycle security evaluation method.
[0019] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned phased data lifecycle security assessment method.
[0020] In the technical solution provided by this application, by constructing a data security gene map, a comprehensive coding and correlation analysis of security features at each stage of the data life cycle is realized. By using data dynamic tagging and flow tracking technology, real-time monitoring and dynamic evaluation of data security status are realized, and the timeliness and accuracy of the evaluation are improved. By extracting stage-specific context information and building an evaluation engine, personalized evaluation for different life cycle stages is realized, and the accuracy of the evaluation is improved. By adopting multi-dimensional analysis and multi-agent collaborative optimization methods, comprehensive consideration and optimization of security control requirements are realized. Through the analysis of the causal relationship of security events, the root causes and propagation paths of security risks are deeply excavated. By using dynamic fusion technology, the intelligent integration of multi-stage evaluation results is realized, and a comprehensive evaluation result that fully reflects the security status of the data life cycle is obtained. By constructing visualization models such as security gene maps and security situation maps, the interpretability and comprehensibility of the evaluation results are improved. By using machine learning and intelligent optimization technologies, the evaluation method has adaptive capabilities and can continuously optimize the evaluation strategy as the data environment changes. Through time series analysis and trend prediction, the prediction of future security risks is realized, and the evaluation of each stage of the data life cycle is organically combined to form a complete evaluation system, which helps to achieve systematic security management of the entire life cycle of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0022] Figure 1 This is a schematic diagram of an embodiment of the phased data lifecycle security assessment method in the embodiment of the present application;
[0023] Figure 2 This is a schematic diagram of an embodiment of a phased data lifecycle security assessment system in an embodiment of the present application. DETAILED DESCRIPTION
[0024] Embodiments of the present application provide a phased data lifecycle security assessment method and system. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the phased data lifecycle security assessment method in the embodiment of the present application includes:
[0026] Step S101, performing security feature coding and association analysis on multiple stages in the data life cycle to obtain a data security gene map;
[0027] It is understandable that the execution subject of the present application may be a phased data lifecycle security assessment system, or a terminal or a server, which is not specifically limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0028] Specifically, security features are extracted from multiple stages in the data life cycle to obtain the original security feature set of each stage, which includes the specific security attributes and information of each stage. The original security feature set is discretized to convert continuous security features into discrete feature values to obtain a discretized feature vector. The discretized feature vector is subjected to dimensionality reduction processing to reduce the number of features and obtain a feature matrix after dimensionality reduction. The dimensionality reduction processing can use principal component analysis or other appropriate dimensionality reduction algorithms to simplify the data structure while retaining the main information. Binary encoding of features is performed according to the feature matrix after dimensionality reduction, and the eigenvalues after dimensionality reduction are converted into binary encoding form to obtain a security gene sequence. Cluster analysis is performed on the security gene sequence to obtain a gene group, which helps to find stages or data sets with similar security features, and similarity calculation is performed on the security genes of different stages to obtain a gene similarity matrix. The gene similarity matrix is a matrix that represents the similarity between different security gene sequences and is used to construct a data security gene map. The gene similarity matrix is converted into a graph structure to generate an initial security gene map. In the initial security gene map, nodes represent different security gene sequences, and edges represent similarity relationships between these gene sequences. According to the initial safety gene graph, the relationships between nodes are weighted to generate a weighted safety gene graph. Community detection is performed on the weighted safety gene graph to identify the community structure. Community detection is an important step in graph theory, which is used to find highly connected subgraphs (i.e. communities) in the graph to obtain the safety gene community structure. According to the safety gene community structure, the relationships between communities are hierarchically clustered, and highly similar communities are further aggregated to obtain the data safety gene map.
[0029] Step S102: Perform data dynamic tagging and data flow tracking analysis based on the data security gene map to obtain a data security situation map;
[0030] Specifically, the data security gene map is topologically analyzed to identify a set of key nodes with significant influence in the data security gene map. Based on the set of key nodes, the data in the data life cycle is feature extracted to generate a data feature vector. The data feature vector contains the specific security attributes and information of each data point at different stages of the life cycle. The data feature vector is hash-encoded to generate a unique data identifier. The unique data identifier is a unique label for each data point, which can ensure accurate tracking throughout the life cycle. According to the data identifier and the data security gene map, the data is dynamically labeled to obtain labeled data with security attributes. The labeled data is analyzed for flow timing at different stages to generate a data flow sequence. The data flow sequence describes the flow trajectory and timing relationship between data points at various stages of the life cycle. According to the data flow sequence, the data flow path is modeled by graph structure to obtain an initial data flow graph. In the initial data flow graph, nodes represent the various stages of the data life cycle, and edges represent the flow relationship between the data in these stages. The initial data flow graph is weighted to reflect the frequency and importance of data flow between different stages to obtain a weighted data flow graph. According to the weighted data flow graph, cluster analysis is performed on data flow hot spots to identify the main clustering areas of data flow and obtain the data flow thermal distribution. The data flow thermal distribution diagram shows the hot spots where data mainly flows and stays during the life cycle, providing an intuitive representation of data flow. The data flow thermal distribution and data security gene map are fused to generate a multi-layer data security situation map. Spatiotemporal prediction analysis is performed based on the multi-layer data security situation map to obtain a data security situation map. Through spatiotemporal prediction analysis, the security situation change trend of data in the future life cycle can be foreseen, providing early warning and decision support for data security management.
[0031] Step S103: Based on the data security situation map, context information features are extracted for multiple stages to obtain stage-specific context space, and a stage evaluation engine is constructed;
[0032] Specifically, the data security situation graph is segmented to generate multiple first-stage subgraphs. Each first-stage subgraph corresponds to a specific stage in the data life cycle. Based on the multiple first-stage subgraphs, the node attributes of each stage are clustered and analyzed to extract the stage feature vector. The stage feature vector is semantically embedded to generate a context semantic vector. The semantic embedding process converts the stage feature vector into a high-dimensional vector representation with semantic meaning, so that it can better capture the context information of the data. The context semantic vector is subjected to context space manifold learning to obtain a stage-specific context space. Context space manifold learning is a nonlinear dimensionality reduction technology that can map a high-dimensional semantic vector to a low-dimensional manifold space, thereby more clearly showing the intrinsic structure and contextual relationship of the data. The stage-specific context space is subjected to boundary detection to determine the context decision boundary of each stage. The context decision boundary is used to distinguish the data features under different context environments, thereby providing a clear judgment standard for the security assessment of each stage. According to the context decision boundary, the evaluation rules of each stage are fuzzy inferenced to generate a stage evaluation knowledge base. Fuzzy reasoning can handle uncertainty and fuzzy information, and provide more flexible and intelligent decision support for security assessment. The stage evaluation strategy network is created based on the stage evaluation knowledge base. The stage evaluation strategy network is a decision support system built on the knowledge base, which can dynamically adjust the evaluation strategy according to the context information of different stages. According to the stage evaluation strategy network and the stage-specific context space, the evaluation process is searched and optimized to generate a stage evaluation engine. The search optimization process aims to find the best evaluation path and strategy through intelligent algorithms to improve the accuracy and efficiency of the evaluation.
[0033] Step S104: Perform multi-dimensional analysis of security control requirements and multi-agent collaborative optimization on multiple stages to obtain a data security control hypergraph;
[0034] Specifically, the safety control requirements of multiple stages are analyzed hierarchically to construct a demand hierarchy. The demand hierarchy is a method for grading and classifying different safety control requirements. Through hierarchical analysis, the mutual relationship and priority between various requirements are displayed. According to the demand hierarchy, fuzzy comprehensive evaluation is performed to obtain the demand weight vector. Fuzzy comprehensive evaluation is an evaluation method that can handle fuzzy and uncertain information. By comprehensively evaluating the weights of various requirements, the importance of different requirements can be quantified. The demand weight vector is mined for association rules of safety control measures to generate a control measure association network. Association rule mining is a data mining technology that extracts useful patterns from a large amount of data. By mining the association relationship of safety control measures, the intrinsic connection between control measures is discovered. According to the control measure association network, control measure function clusters are generated. These function clusters are a collection of control measures with similar functions and attributes, which facilitates subsequent management and optimization. According to the control measure function clusters, an intelligent agent is assigned to each cluster to obtain an initial multi-agent system. An intelligent agent is an individual or program with autonomous decision-making ability. By assigning intelligent agents to control measure function clusters, independent management and collaborative optimization of each control measure can be achieved. Game theory modeling is performed on the initial multi-agent system to generate a set of agent game strategies. Game theory modeling is a mathematical method for analyzing and solving decision-making problems. By modeling the game strategies between agents, the interactions and competitive relationships between agents are simulated. According to the set of agent game strategies, reinforcement learning training is performed on the interactions between agents to obtain an optimized multi-agent collaboration model. Reinforcement learning is a machine learning method that gradually optimizes the decision-making strategies of agents by rewarding and punishing their behaviors in the environment. The optimized multi-agent collaboration model can achieve efficient collaboration between agents, thereby improving the overall effect of security control measures. Simulation experiments are performed on the optimized multi-agent collaboration model to verify its effectiveness and reliability. Simulation experiments can simulate various situations in the actual environment. By testing and verifying the model, a set of collaborative optimization results is obtained. According to the set of collaborative optimization results, hypergraph modeling and edge weight calculation are performed on the control measures to generate a data security control hypergraph. A hypergraph is a graph structure that can represent complex relationships. By performing hypergraph modeling on the control measures, the associations and interactions between the various control measures are fully displayed. Edge weight calculation is to quantify the edges in the hypergraph and reflect the degree of mutual influence between control measures.
[0035] Step S105: Based on the data security control hypergraph, a security incident causal relationship analysis is performed on multiple stages to obtain a security causal network of multiple stages;
[0036] Specifically, the data security control hypergraph is decomposed by hyperedges to obtain multiple second-stage subgraphs, each of which represents a specific stage in the data life cycle. Based on the multiple second-stage subgraphs, the security events in each stage are analyzed for temporal association to generate an event temporal sequence. The event temporal sequence records the occurrence order and time relationship of security events in each stage. The event temporal sequence is calculated by conditional mutual information to obtain a causal strength matrix between event pairs. Conditional mutual information calculation is a statistical method that quantifies the causal strength between event pairs by calculating the mutual information between two events under given conditions. Based on the causal strength matrix, the causal direction of the event pairs is determined to obtain a directed causal relationship set. The directed causal relationship set clarifies the causal direction between the event pairs and reveals the causal chain of the event occurrence. The directed causal relationship set is subjected to graph structure learning to generate an initial causal graph model. Graph structure learning is a machine learning method that constructs a graph structure reflecting the causal relationship of events by modeling the directed causal relationship set. Based on the initial causal graph model, potential latent variables are inferred to obtain a complete causal graph. Hidden variable inference is to identify and estimate potential factors that are not directly observed but affect causal relationships. The complete causal graph contains explicit and implicit causal relationships. The complete causal graph is tested to verify its accuracy and reliability, and a causal backbone network is obtained. The causal backbone network is the main causal path extracted from the complete causal graph, showing the key causal relationships. Based on the causal backbone network, the nonlinear relationship between nodes is fitted to generate a quantitative causal function. The quantitative causal function can describe the specific causal effects and mechanisms between events. A sensitivity analysis is performed on the quantitative causal function to identify and determine the key causal path. Sensitivity analysis is a method to evaluate the sensitivity of model output to input changes, and the causal path with the greatest impact on security management is found through analysis. According to the key causal path, the causal networks of multiple stages are temporally correlated and integrated to generate a multi-stage safety causal network. The multi-stage safety causal network comprehensively displays the causal relationship of security events at each stage in the data life cycle.
[0037] Step S106: Based on the multi-stage safety causal network and the stage assessment engine, the assessment results of multiple stages are dynamically integrated to obtain a comprehensive result of the life cycle safety assessment.
[0038] Specifically, a topological sorting is performed on the safety causal network of multiple stages to generate a sequence of inter-stage dependency relationships. The topological sorting determines the order of the stages by analyzing the dependency relationships between the stages. According to the sequence of inter-stage dependency relationships, the output of the stage evaluation engine is time-aligned to obtain an aligned evaluation result set. The aligned evaluation result set is subjected to multi-scale wavelet decomposition to extract evaluation features in different frequency domains. Wavelet decomposition is a signal processing technology that can decompose the evaluation result set into multiple frequency components and reveal its changing laws at different time scales. According to the evaluation features of different frequency domains, the evaluation results are subjected to nonlinear analysis to capture the complex relationships and patterns in the evaluation results and obtain the target evaluation feature matrix. Cluster analysis is performed on the target evaluation feature matrix to generate a membership matrix of the evaluation results. The membership matrix represents the probability that each evaluation result belongs to a different cluster. According to the membership matrix, the evaluation results are fused to obtain a preliminary fusion result. Dynamic Bayesian network modeling is performed on the preliminary fusion result to generate a time-varying probability distribution of the evaluation results. Dynamic Bayesian network is a probabilistic graphical model that can represent the state of the system at different time points and its changing laws. By performing dynamic Bayesian network modeling on the assessment results, the time-varying probability distribution of the assessment results throughout the life cycle is obtained. Based on the time-varying probability distribution of the assessment results, the assessment results are optimized to obtain the target fusion results. The optimization process aims to improve the quality of the overall assessment by maximizing the accuracy and reliability of the assessment results. Time series analysis and trend prediction are performed on the target fusion results to generate a dynamic evolution model of the assessment results. Time series analysis can reveal the trends and patterns of assessment results over time, and trend prediction can foresee future changes in security status. Based on the dynamic evolution model and the sequence of dependencies between stages, a comprehensive assessment and risk prediction of the security status of the entire data life cycle is performed to obtain a comprehensive result of the lifecycle security assessment.
[0039] In the embodiment of the present application, by constructing a data security gene map, a comprehensive coding and correlation analysis of security features at each stage of the data life cycle is realized, and by using data dynamic tagging and flow tracking technology, real-time monitoring and dynamic evaluation of data security status are realized, which improves the timeliness and accuracy of the evaluation. By extracting stage-specific context information and building an evaluation engine, personalized evaluation for different life cycle stages is realized, and the accuracy of the evaluation is improved. By adopting multi-dimensional analysis and multi-agent collaborative optimization methods, comprehensive consideration and optimization of security control requirements are realized, and the root causes and propagation paths of security risks are deeply excavated through security event causal relationship analysis. By using dynamic fusion technology, intelligent integration of multi-stage evaluation results is realized, and comprehensive evaluation results that fully reflect the security status of the data life cycle are obtained. By constructing visualization models such as security gene maps and security situation maps, the interpretability and comprehensibility of the evaluation results are improved, and machine learning and intelligent optimization technologies are used to make the evaluation method adaptive and able to continuously optimize the evaluation strategy as the data environment changes. Through time series analysis and trend prediction, the prediction of future security risks is realized, and the evaluation of each stage of the data life cycle is organically combined to form a complete evaluation system, which helps to achieve systematic security management of the entire life cycle of data.
[0040] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0041] (1) Extract security features at multiple stages in the data life cycle to obtain the original security feature set of each stage, and discretize the original security feature set to obtain a discretized feature vector;
[0042] (2) Perform dimensionality reduction processing on the discretized feature vector to obtain a feature matrix after dimensionality reduction, and perform feature binary encoding processing based on the feature matrix after dimensionality reduction to obtain a safe gene sequence;
[0043] (3) Cluster analysis is performed on the safe gene sequences to obtain gene groups. Based on the gene groups, similarity calculations are performed on the safe genes at different stages to obtain a gene similarity matrix.
[0044] (4) Performing graph structure conversion on the gene similarity matrix to obtain an initial safe gene graph, and assigning weights to the relationships between nodes based on the initial safe gene graph to obtain a weighted safe gene graph;
[0045] (5) Perform community detection on the weighted safety gene graph to obtain the safety gene community structure, and based on the safety gene community structure, perform hierarchical clustering on the relationship between communities to obtain the data safety gene map.
[0046] Specifically, security-related data is collected in each stage, including access control logs, data flow records, system configuration files, vulnerability reports, etc., which together constitute the original security feature set. Through feature extraction, the original data is converted into feature values that can represent the security status of each stage. For example, for access control logs, feature values such as the number of accesses, the number of failed login attempts, and the number of successful logins are extracted; for vulnerability reports, feature values such as the number of vulnerabilities and the severity of vulnerabilities are extracted. The original features are discretized to convert continuous feature values into discrete feature values, thereby reducing the complexity of the data. Common discretization methods include equal-frequency discretization, equal-width discretization, and clustering-based discretization. For example, for the number of accesses in a certain stage, the equal-frequency discretization method is used to divide the number of accesses into several intervals, each of which contains the same number of data points. Through discretization, the original continuous feature set is converted into a discrete feature vector, which is convenient for subsequent dimensionality reduction and encoding processing. The discretized feature vector is subjected to dimensionality reduction processing to obtain a feature matrix after dimensionality reduction. The purpose of dimensionality reduction is to reduce the dimension of features, thereby reducing the complexity and redundancy of data. Commonly used dimensionality reduction methods include principal component analysis and linear discriminant analysis. Assume that the discretized feature vector is , whose dimensions are ,in represents the number of samples, Represents the number of features. Through principal component analysis, Convert to the feature matrix after dimension reduction , whose dimensions are ,in ,and ,in is a reduced dimension matrix. The feature binary encoding is performed according to the reduced dimension feature matrix to obtain a safe gene sequence. Assume that the reduced dimension feature matrix One of the eigenvalues is , it can be converted into binary code by setting the threshold ,For example:
[0047] ;
[0048] in, The threshold is set to convert the reduced feature matrix into a safe gene sequence matrix by encoding. . Perform cluster analysis on the safe gene sequences and group the gene sequences with similar safety characteristics together to form gene groups. Common clustering methods include K-means clustering, hierarchical clustering, and density clustering. Assume that the safe gene sequence matrix Each row in represents a gene sequence. Through the K-means clustering method, these gene sequences are divided into clusters, each cluster represents a gene group. Based on the gene groups, similarity calculations are performed on the safe genes at different stages to obtain a gene similarity matrix. The purpose of similarity calculation is to measure the similarity between different gene sequences. Commonly used similarity measurement methods include Euclidean distance, cosine similarity, and Jaccard similarity. Assume that the gene sequence The two lines in and , their similarity is obtained by calculating the cosine similarity:
[0049] ;
[0050] in," " represents the vector dot product," " represents the modulus of the vector. By calculating the similarity between all gene sequences, the gene similarity matrix is obtained. The gene similarity matrix is converted into a graph structure to generate an initial safe gene graph. The nodes in the initial safe gene graph represent gene sequences, and the weights of the edges represent the similarities between gene sequences. , construct an undirected graph , where each node Corresponding to a gene sequence, each edge The weight is the similarity sim According to the initial safe gene graph, the relationships between nodes are weighted to generate a weighted safe gene graph. The purpose of weight allocation is to quantify the strength of the relationship between different nodes, so as to more accurately reflect the similarity between gene sequences. By weighting the edges of the initial safe gene graph, a weighted safe gene graph is obtained. , where the weight of each edge is Represents the similarity strength between gene sequences. Perform community detection on the weighted safe gene graph to obtain the safe gene community structure. The purpose of community detection is to identify highly connected subgraphs (i.e., communities) in the graph, which represent sets of gene sequences with high similarity. Commonly used community detection methods include the Girvan-Newman algorithm, the Louvain algorithm, and the Infomap algorithm. Through community detection, the weighted safe gene graph is divided into several communities, each of which represents a safe gene community structure. According to the safe gene community structure, hierarchical clustering is performed on the relationships between communities to generate a data safe gene map. The purpose of hierarchical clustering is to further aggregate communities with similarities, thereby constructing a higher-level clustering structure. Through hierarchical clustering, the communities in the safe gene community structure are merged to generate a high-level map containing all safe gene relationships.
[0051] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0052] (1) Perform topological structure analysis on the data security gene map to obtain a set of key nodes. Based on the set of key nodes, perform feature extraction on the data in the data life cycle to obtain a data feature vector.
[0053] (2) Perform hash coding on the data feature vector to obtain a unique data identifier, and dynamically mark the data based on the data identifier and the data security gene map to obtain marked data with security attributes;
[0054] (3) Perform flow timing analysis on the labeled data at different stages to obtain the data flow sequence, and then perform graph structure modeling on the data flow path based on the data flow sequence to obtain the initial data flow graph;
[0055] (4) Calculate the edge weights of the initial data flow graph to obtain a weighted data flow graph, and perform cluster analysis on the data flow hotspots based on the weighted data flow graph to obtain the data flow thermal distribution;
[0056] (5) The data flow thermal distribution and the data security gene map are fused to obtain a multi-layer data security situation map, and spatiotemporal prediction analysis is performed based on the multi-layer data security situation map to obtain a data security situation map.
[0057] Specifically, the data security gene map is topologically analyzed to identify and extract key node sets. Key nodes play an important role in the map, and their connectivity and influence directly affect the security status of the data. Topological structure analysis usually uses indicators such as degree centrality, betweenness centrality, and eigenvector centrality to identify key nodes. For example, degree centrality measures the number of connections for each node, and the formula is:
[0058] ;
[0059] in, Representation Node The degree centrality of Representation and Node The set of adjacent nodes, For Node and nodes The connection relationship between them. According to the results of topological structure analysis, the key node set is extracted, and for these key nodes, the data in the data life cycle is feature extracted to obtain the data feature vector. The data feature vector contains the security features of the key nodes in different time periods, such as access frequency, data transmission volume, anomaly detection records, etc. The data feature vector is hashed to generate a unique data identifier, and the high-dimensional data feature vector is mapped into a fixed-length binary string for easy labeling and retrieval. According to the generated data identifier and data security gene map, the data is dynamically labeled to obtain labeled data with security attributes. Among them, security attributes refer to features and tags related to data security. Security attributes include: data sensitivity, access control level, encryption status, data integrity tag, data source and flow path information, and association information with relevant nodes in the data security gene map. The purpose of security attributes is to add security-related tags to data so as to track and manage the security status of data at different stages of the data life cycle. These dynamically labeled security attributes can monitor the security status of data in real time and maintain the continuity of security control during the data flow. Dynamic labeling processing aims to track the security status of data at different life cycle stages in real time and attach corresponding security tags at each stage. The flow records of marked data at different stages can form a data flow time series, which records the transmission path and timestamp of data at each stage. The flow time series analysis of marked data is performed to obtain the data flow sequence. The data flow sequence describes the transmission trajectory and time relationship of data in the life cycle, and the law and pattern of data flow are revealed through time series analysis. According to the data flow sequence, the data flow path is modeled by graph structure to generate the initial data flow graph. The nodes in the initial data flow graph represent the various stages in the data life cycle, and the edges represent the transmission paths of data between these stages. The edge weight calculation is performed on the initial data flow graph to quantify the importance of the data flow path. The purpose of edge weight calculation is to reflect the transmission frequency and flow of data on different paths. Common methods include counting the number of transmissions and cumulative flow of edges. Through weight calculation, a weighted data flow graph is obtained. Based on the weighted data flow graph, cluster analysis is performed on the data flow hotspots to identify the main clustering areas of data transmission. The purpose of cluster analysis is to find hot spots of data flow, which are usually places with frequent data transmission and high risks. Through density clustering or K-means clustering method, the nodes in the data flow graph are divided into several clusters, each cluster represents a data flow hotspot. The data flow thermal distribution and the data security gene map are fused to generate a multi-layer data security situation map. The multi-layer data security situation map combines the data security gene map and the data flow thermal distribution, which can fully reflect the security status and transmission risks of data at different stages. According to the multi-layer data security situation map, spatiotemporal prediction analysis is performed to obtain the data security situation map.Spatiotemporal prediction analysis aims to predict the security situation change trend of data in the future life cycle, and to foresee potential security risks and abnormal situations by analyzing the spatiotemporal patterns in the current security situation map. Common methods for spatiotemporal prediction include time series analysis, ARIMA model and LSTM neural network. Through these methods, a dynamic evolution model of data security situation is established to provide early warning and decision support for security management.
[0060] In a specific embodiment, the process of executing step S103 may specifically include the following steps:
[0061] (1) Perform graph segmentation processing on the data security situation graph to obtain multiple first-stage subgraphs, and perform cluster analysis on the node attributes of each stage based on the multiple first-stage subgraphs to obtain the stage feature vector;
[0062] (2) Perform semantic embedding processing on the stage feature vector to obtain a contextual semantic vector, and perform context space manifold learning on the contextual semantic vector to obtain a stage-specific context space;
[0063] (3) Perform boundary detection on the stage-specific context space to obtain the context decision boundary. Based on the context decision boundary, perform fuzzy reasoning on the evaluation rules of each stage to obtain the stage evaluation knowledge base.
[0064] (4) A stage evaluation strategy network is created based on the stage evaluation knowledge base. Based on the stage evaluation strategy network and the stage-specific context space, the evaluation process is searched and optimized to obtain a stage evaluation engine.
[0065] Specifically, the data security situation graph is segmented to divide the complex situation graph into several smaller subgraphs, each of which corresponds to a specific stage. The graph segmentation process can use a graph partitioning algorithm, such as a graph cutting method or a partitioning method based on community detection. Through graph segmentation, multiple first-stage subgraphs are obtained, each of which contains nodes and edges of a specific stage, representing the data security situation of that stage. Next, based on multiple first-stage subgraphs, cluster analysis is performed on the node attributes of each stage to extract stage feature vectors. Cluster analysis aims to cluster nodes with similar attributes together to form feature vectors that can represent the main security features of each stage. Assume that the node attribute matrix is , whose dimensions are ,in Indicates the number of nodes, Represents the number of features. The node attributes are clustered using the K means clustering method to obtain the stage feature vector , whose dimensions are ,in Represents the number of clusters. The formula for K-means clustering is as follows:
[0066] ;
[0067] in, is the objective function, For the The cluster nodes, For the The center of each cluster. Perform semantic embedding on the stage feature vector to generate a contextual semantic vector. The stage feature vector is converted into a vector representation in a high-dimensional semantic space to capture its contextual information. Common semantic embedding methods include Word2Vec, GloVe, and BERT. Mapped into the semantic vector E, the formula is as follows:
[0068] ;
[0069] in, is the context semantic vector, is a semantic embedding function. For example, Word2Vec trains embedding by minimizing the following objective function:
[0070] ;
[0071] in, is the number of training samples, is the context window size, and The context space manifold learning is performed on the context semantic vector to obtain the stage-specific context space. Context space manifold learning is a nonlinear dimensionality reduction technology that can map high-dimensional semantic vectors to low-dimensional manifold space, thereby better revealing the intrinsic structure of the data. Manifold learning methods include ISOMAP, LLE, and t-SNE. Through manifold learning, the context semantic vector E is mapped to a low-dimensional manifold space. , the formula is as follows:
[0072] ;
[0073] in, is the stage-specific context space, is a manifold learning function. Taking t-SNE as an example, it performs dimensionality reduction by minimizing the following KL divergence:
[0074] ;
[0075] in, and Represent the midpoints of high-dimensional space and low-dimensional space respectively With point The similarity between them is calculated. The boundary detection is performed on the stage-specific context space to determine the context decision boundary of each stage. The context decision boundary is used to distinguish the data features under different context environments, thereby providing a clear judgment standard for the security assessment of each stage. Boundary detection methods include support vector machines (SVM) and decision trees, etc., through which the decision boundaries in the context space are identified. The objective function of SVM is as follows:
[0076] ;
[0077] subject to ;
[0078] in, and are model parameters, is the slack variable, is the regularization parameter, is the category label, is the feature mapping function, W is the weight vector of the SVM model, representing the normal vector of the decision hyperplane, W T is the transpose of the weight vector W, which is used to calculate the inner product of the weight vector W and the input vector. According to the context decision boundary, fuzzy reasoning is performed on the evaluation rules of each stage to generate a stage evaluation knowledge base. Fuzzy reasoning can handle uncertainty and fuzziness information, and infer the input data through fuzzy logic to generate evaluation rules that reflect the safety status of each stage and store them in the stage evaluation knowledge base. A stage evaluation policy network is created based on the stage evaluation knowledge base. The stage evaluation policy network is a decision support system built on the knowledge base, which can dynamically adjust the evaluation strategy according to the context information of different stages. The policy network can be constructed using methods such as neural networks or Bayesian networks. By learning the stage-specific context space and evaluation rules, a stage evaluation policy network is generated. According to the stage evaluation policy network and the stage-specific context space, the evaluation process is searched and optimized to obtain a stage evaluation engine. The search optimization process aims to find the best evaluation path and strategy through intelligent algorithms to improve the accuracy and efficiency of the evaluation. Common optimization algorithms include genetic algorithms, particle swarm optimization, and reinforcement learning. Through these methods, the decision process of the evaluation engine is optimized.
[0079] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0080] (1) Perform hierarchical analysis on the security control requirements of multiple stages to obtain the requirement hierarchy structure, and perform fuzzy comprehensive evaluation based on the requirement hierarchy structure to obtain the requirement weight vector;
[0081] (2) Mining the association rules of safety control measures for the demand weight vector to obtain the control measure association network, and generating control measure function clusters based on the control measure association network;
[0082] (3) According to the functional clusters of control measures, agents are assigned to each cluster to obtain the initial multi-agent system, and game theory modeling is performed on the initial multi-agent system to obtain the agent game strategy set;
[0083] (4) Based on the agent game strategy set, reinforcement learning training is performed on the interaction between agents to obtain an optimized multi-agent collaboration model;
[0084] (5) Conduct simulation experiments on the optimized multi-agent collaboration model to obtain a collaborative optimization result set. Based on the collaborative optimization result set, perform hypergraph modeling and edge weight calculation on the control measures to obtain a data security control hypergraph.
[0085] Specifically, a hierarchical analysis is performed on the security control requirements of multiple stages to construct a requirement hierarchy. The analytic hierarchy process is a commonly used decision analysis method. It decomposes complex decision problems into multiple levels to systematically analyze and compare the relative importance of each requirement. In the analytic hierarchy process, a hierarchical structure diagram is constructed, which includes a target layer, a criterion layer, and a solution layer. Each layer represents a different decision factor, and the relative weight of each factor is obtained by pairwise comparison. A fuzzy comprehensive evaluation is performed according to the requirement hierarchy to obtain a requirement weight vector. The fuzzy comprehensive evaluation method is a decision-making method based on fuzzy mathematics. It processes uncertainty and fuzzy information through fuzzy comprehensive evaluation of each requirement to obtain more reasonable requirement weights. Suppose the evaluation matrix of each requirement is , the weight vector is , then the formula of fuzzy comprehensive evaluation is as follows:
[0086] ;
[0087] Among them, S is the comprehensive evaluation result, is the evaluation matrix, is the weight vector. By performing fuzzy comprehensive evaluation on each requirement, the relative weight of each requirement is obtained to form a requirement weight vector. The association rules of security control measures are mined on the requirement weight vector to generate a control measure association network. Association rule mining is a data mining technology that aims to extract useful patterns and relationships from large amounts of data. By mining the association rules of security control measures, the intrinsic connections between the various control measures are discovered. Assume that the control measure set is ,The goal of association rule mining is to find association rules that meet certain support and confidence. The formula is as follows:
[0088] ;
[0089] ;
[0090] in, Representation Rules The support of Representation Rules The confidence level, Indicates that it also contains and The number of records, is the total number of records. Through association rule mining, a control measure association network is generated, in which nodes represent control measures and edges represent the association relationship between control measures. Based on the control measure association network, control measure function clusters are generated. These function clusters represent a set of control measures with similar functions and mutual associations. According to the control measure function clusters, an agent is assigned to each cluster to obtain an initial multi-agent system. An agent is an individual or program with autonomous decision-making capabilities. By assigning agents to control measure function clusters, independent management and collaborative optimization of each control measure can be achieved. Game theory modeling is performed on the initial multi-agent system to generate a set of agent game strategies. Game theory modeling is a mathematical method for analyzing and solving decision-making problems. By modeling the game strategies between agents, the interaction and competitive relationship between agents are simulated. Assume that the agent set is , the policy set is , then the payoff function of the agent game is , the formula is as follows:
[0091] ;
[0092] in, For intelligent agents The profit function, is a set of intelligent entities, is the strategy set, For intelligent agents With Agent In Strategy and The benefits under the condition of . According to the set of agent game strategies, the interaction between agents is reinforced by learning training to obtain the optimized multi-agent collaboration model. Reinforcement learning is a machine learning method that gradually optimizes the decision-making strategy of agents by rewarding and punishing their behaviors in the environment. Through reinforcement learning training, agents can continuously improve their strategies in the collaboration process, thereby optimizing the overall system. Simulation experiments are carried out on the optimized multi-agent collaboration model to verify its effectiveness and reliability. Simulation experiments can simulate various situations in the actual environment. By testing and verifying the model, a collaborative optimization result set is obtained. According to the collaborative optimization result set, hypergraph modeling and edge weight calculation are performed on the control measures to generate a data security control hypergraph. Hypergraph is a graph structure that can represent complex relationships. By hypergraph modeling of control measures, the associations and interactions between various control measures are fully displayed. Edge weight calculation is to quantify the edges in the hypergraph to reflect the degree of mutual influence between control measures.
[0093] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0094] (1) Perform hyperedge decomposition on the data security control hypergraph to obtain multiple second-stage subgraphs. Based on the multiple second-stage subgraphs, perform temporal correlation analysis on security events in each stage to obtain the event temporal sequence.
[0095] (2) Calculate the conditional mutual information of the event time series to obtain the causal strength matrix between event pairs, and determine the causal direction of the event pairs based on the causal strength matrix to obtain a directed causal relationship set;
[0096] (3) Perform graph structure learning on the directed causal relationship set to obtain an initial causal graph model, and infer potential hidden variables based on the initial causal graph model to obtain a complete causal graph;
[0097] (4) Test the complete causal graph to obtain the causal backbone network, and fit the nonlinear relationship between nodes based on the causal backbone network to obtain the quantitative causal function;
[0098] (5) Conduct sensitivity analysis on the quantitative causal relationship function to obtain the key causal path. Based on the key causal path, perform temporal correlation and integration on the causal networks of multiple stages to obtain a multi-stage safety causal network.
[0099] Specifically, the data security control hypergraph is decomposed by hyperedges to generate multiple second-stage subgraphs. The complex hypergraph is decomposed into several smaller subgraphs, each of which contains specific nodes and edges, representing a stage of the data life cycle. Through hyperedge decomposition, the graph structure is simplified to facilitate subsequent timing correlation analysis. Based on multiple second-stage subgraphs, a timing correlation analysis is performed on the security events in each stage to extract the event timing sequence. The event timing sequence records the occurrence order and time relationship of security events in each stage, and reveals the correlation and causal relationship between events through timing analysis. For example, assuming that security events A, B, and C occur in a stage, the event timing sequence can be expressed as , indicating that event A causes event B, and event B causes event C. The conditional mutual information is calculated for the event time series to obtain the causal strength matrix between event pairs. Conditional mutual information calculation is a statistic used to measure the mutual dependence between two random variables. By calculating the conditional mutual information between event pairs, their causal strength is quantified. The formula for conditional mutual information is as follows:
[0100] ;
[0101] in, is the conditional mutual information of variables X and Y under condition Z, is the joint probability distribution of X, Y and Z, is the joint probability distribution of X and Y under condition Z, and are the marginal probability distributions of X and Y under condition Z, respectively. Based on the causal strength matrix calculated by conditional mutual information, the causal direction of the event pairs is determined to obtain a directed causal relationship set. The purpose of causal direction determination is to determine the causal direction between event pairs, that is, which event is the cause and which event is the effect. By comparing the causal strength between event pairs, their causal direction is determined. For example, if the causal strength between event A and event B is , we can determine that event A is the cause and event B is the effect, forming a directed causal relationship set . Graph structure learning is performed on the directed causal relationship set to generate an initial causal graph model. Graph structure learning is a machine learning method that constructs a graph structure that reflects the causal relationship of events by modeling the directed causal relationship set. On the basis of the initial causal graph model, potential latent variables are inferred to obtain a complete causal graph. Latent variable inference is to identify and estimate potential factors that are not directly observed but affect causal relationships. By analyzing the initial causal graph model, these latent variables are inferred and incorporated into the causal graph. The complete causal graph is tested to verify its accuracy and reliability to obtain a causal backbone network. The causal backbone network is the main causal path extracted from the complete causal graph, showing the key causal relationships. On the basis of the causal backbone network, the nonlinear relationships between nodes are fitted to generate quantitative causal relationship functions. Quantitative causal relationship functions can describe the specific causal effects and mechanisms of action between events, providing a quantitative tool for causal analysis. The formula for nonlinear fitting is as follows:
[0102] ;
[0103] in, is the dependent variable, is the independent variable, is a nonlinear function used to describe the influence of independent variables on dependent variables. Furthermore, a sensitivity analysis is performed on the quantitative causal function to identify and determine the key causal path. Sensitivity analysis is a method to evaluate the sensitivity of model output to input changes. Through this analysis, the causal path with the greatest impact on security management can be found. According to the key causal path, the causal networks of multiple stages are temporally correlated and integrated to generate a multi-stage security causal network. The multi-stage security causal network comprehensively displays the causal relationship of security incidents at various stages in the data life cycle, providing an important basis for comprehensive security assessment and management. For example, suppose that in a data security management project, the data security control hypergraph is hyper-edge decomposed to generate multiple second-stage subgraphs. A temporal correlation analysis is performed on the security events in each subgraph to extract the event temporal sequence. For example, in one stage, the temporal correlation of security events A, B, and C is Through conditional mutual information calculation, the causal strength between event pairs is quantified to generate a causal strength matrix. According to the causal strength matrix, the causal direction of event pairs is determined to obtain a directed causal relationship set . Perform graph structure learning on the directed causal relationship set and build an initial causal graph model. Based on the initial causal graph model, infer potential hidden variables to obtain a complete causal graph. By testing the complete causal graph, extract the causal backbone network and identify the key causal paths. Based on the causal backbone network, fit the nonlinear relationship between nodes to generate a quantitative causal relationship function. For example, assuming that the causal relationship between node A and node B is a nonlinear relationship, its quantitative causal relationship function can be expressed as Through sensitivity analysis, the key causal paths with the greatest impact on safety management are identified, and based on these paths, the causal networks of multiple stages are temporally correlated and integrated to generate a multi-stage safety causal network.
[0104] In a specific embodiment, the process of executing step S106 may specifically include the following steps:
[0105] (1) Topologically sort the multiple-stage safety causal networks to obtain the inter-stage dependency sequence, and then align the outputs of the stage evaluation engine in time based on the inter-stage dependency sequence to obtain the aligned evaluation result set;
[0106] (2) Perform multi-scale wavelet decomposition on the aligned evaluation result set to obtain evaluation features in different frequency domains. Based on the evaluation features in different frequency domains, perform nonlinear analysis on the evaluation results to obtain the target evaluation feature matrix.
[0107] (3) Cluster the target evaluation feature matrix to obtain the membership matrix of the evaluation results, and fuse the evaluation results according to the membership matrix to obtain a preliminary fusion result;
[0108] (4) Perform dynamic Bayesian network modeling on the preliminary fusion results to obtain the time-varying probability distribution of the evaluation results, and optimize according to the time-varying probability distribution of the evaluation results to obtain the target fusion results;
[0109] (5) Perform time series analysis and trend prediction on the target fusion results to obtain a dynamic evolution model of the evaluation results. Based on the dynamic evolution model and the sequence of dependencies between stages, conduct a comprehensive evaluation and risk prediction of the security status of the entire data life cycle to obtain a comprehensive result of the life cycle security assessment.
[0110] Specifically, the safety causal network of multiple stages is topologically sorted to determine the sequence of dependencies between stages. Topological sorting is a graph algorithm used to sort the nodes of a directed acyclic graph (DAG) so that for each directed edge (u, v), node u is before node v. For example, assuming that there are dependencies A→B and B→C in the safety causal network, the dependency sequence A, B, C is obtained through topological sorting. According to the dependency sequence between stages, the output of the stage evaluation engine is time-series aligned to obtain an aligned evaluation result set to ensure that the evaluation results of each stage are arranged in chronological order. Assuming that the output of the stage evaluation engine is multiple time series data, an aligned evaluation result matrix can be generated through time series alignment, in which each row represents a stage and each column represents a time point. Multi-scale wavelet decomposition is performed on the aligned evaluation result set to extract evaluation features in different frequency domains. Wavelet decomposition is a signal processing technology that decomposes a time series into different frequency components to reveal its changing laws at different time scales. Let the aligned evaluation result set be , through wavelet decomposition, the high-frequency components can be obtained and low frequency components The formula for wavelet decomposition is as follows:
[0111] ;
[0112] in, represents the evaluation result set after alignment, and Represent high-frequency and low-frequency components respectively. By performing nonlinear analysis on the evaluation features in different frequency domains, the target evaluation feature matrix is obtained. Nonlinear analysis aims to capture the complex relationships and patterns in the evaluation results to generate a more comprehensive feature representation. Cluster analysis is performed on the target evaluation feature matrix to generate a membership matrix of the evaluation results. Evaluation results with similar features are clustered together to form category labels. Assume that the target evaluation feature matrix is , it can be divided into k categories through K-means clustering, and the membership degree of each category is expressed as The formula for cluster analysis is as follows:
[0113] ;
[0114] in, is the objective function, is the jth evaluation result belonging to the i-th cluster, is the center of the ith cluster. According to the membership matrix, the evaluation results are fused to obtain the preliminary fusion result. Dynamic Bayesian network modeling is performed on the preliminary fusion result to generate the time-varying probability distribution of the evaluation result. Dynamic Bayesian network is a temporal probability model that can represent the state of the system at different time points and its changing rules. Assume that the preliminary fusion result is , through dynamic Bayesian network modeling, generate the time-varying probability distribution of evaluation results The formula of the dynamic Bayesian network is as follows:
[0115] ;
[0116] in, represents the probability distribution of the evaluation results at time point t, Represents the hidden variable at a given time point t-1 The probability distribution of the evaluation results is optimized according to the time-varying probability distribution to obtain the target fusion result. The optimization process aims to maximize the accuracy and reliability of the evaluation results, and find the optimal evaluation result representation through the optimization algorithm. Time series analysis and trend prediction are performed on the target fusion results to generate a dynamic evolution model of the evaluation results. Time series analysis can reveal the trends and patterns of evaluation results over time, and trend prediction can foresee future changes in security status. Common time series analysis methods include ARIMA model and LSTM neural network. Based on the dynamic evolution model and the sequence of dependencies between stages, the security status of the entire data life cycle is comprehensively evaluated and risk predicted to generate a comprehensive result of life cycle security assessment. The purpose of comprehensive evaluation and risk prediction is to identify potential security risks and provide corresponding decision support, thereby improving the overall level of data security management.
[0117] The above describes the phased data lifecycle security assessment method in the embodiment of the present application. The following describes the phased data lifecycle security assessment system in the embodiment of the present application. Figure 2 In the embodiment of the present application, an embodiment of the phased data lifecycle security assessment system includes:
[0118] The encoding module 201 is used to perform security feature encoding and association analysis on multiple stages in the data life cycle to obtain a data security gene map;
[0119] Tracking module 202, used to perform data dynamic tagging and data flow tracking analysis based on the data security gene map to obtain a data security situation map;
[0120] A construction module 203 is used to extract context information features for multiple stages based on the data security situation map, obtain a stage-specific context space, and construct a stage evaluation engine;
[0121] The optimization module 204 is used to perform multi-dimensional analysis of security control requirements and multi-agent collaborative optimization on multiple stages to obtain a data security control hypergraph;
[0122] An analysis module 205 is used to perform causal relationship analysis of security events in multiple stages based on a data security control hypergraph to obtain security causal networks in multiple stages;
[0123] The fusion module 206 is used to dynamically fuse the evaluation results of multiple stages based on the multiple stage safety causal networks and the stage evaluation engine to obtain the comprehensive results of the life cycle safety evaluation.
[0124] Through the collaboration of the above components and the construction of a data security gene map, the comprehensive coding and correlation analysis of security features at each stage of the data life cycle are realized. The real-time monitoring and dynamic evaluation of data security status are realized by using data dynamic tagging and flow tracking technology, which improves the timeliness and accuracy of the evaluation. By extracting stage-specific context information and building an evaluation engine, personalized evaluation for different life cycle stages is realized, which improves the accuracy of the evaluation. The multi-dimensional analysis and multi-agent collaborative optimization methods are adopted to achieve comprehensive consideration and optimization of security control requirements. Through the causal relationship analysis of security events, the root causes and propagation paths of security risks are deeply explored. The dynamic fusion technology is used to achieve intelligent integration of multi-stage evaluation results, and a comprehensive evaluation result that fully reflects the security status of the data life cycle is obtained. By constructing visualization models such as security gene maps and security situation maps, the interpretability and comprehensibility of the evaluation results are improved. By using machine learning and intelligent optimization technologies, the evaluation method has adaptive capabilities and can continuously optimize the evaluation strategy as the data environment changes. Through time series analysis and trend prediction, we can predict future security risks, organically combine the assessments of each stage of the data life cycle, and form a complete assessment system, which will help to achieve systematic security management of the entire data life cycle.
[0125] The present application also provides a phased data lifecycle security assessment device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the phased data lifecycle security assessment method in the above-mentioned embodiments.
[0126] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the phased data lifecycle security assessment method.
[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0128] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0129] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A phased data lifecycle security assessment method, It is characterized in that The method comprises: Perform security feature coding and association analysis on multiple stages of the data life cycle to obtain a data security gene map; Based on the data security gene map, data dynamic marking and data flow tracking analysis are performed to obtain a data security situation map; Based on the data security situation map, context information features are extracted for the multiple stages to obtain a stage-specific context space, and a stage evaluation engine is constructed; Perform multi-dimensional analysis of security control requirements and multi-agent collaborative optimization on the multiple stages to obtain a data security control hypergraph; Based on the data security control hypergraph, a security incident causal relationship analysis is performed on the multiple stages to obtain a security causal network of multiple stages; Based on the multiple stage safety causal networks and the stage assessment engine, the assessment results of the multiple stages are dynamically integrated to obtain a comprehensive result of the life cycle safety assessment.
2. According to the phased data life cycle security assessment method of claim 1, It is characterized in that The security feature coding and association analysis of multiple stages in the data life cycle are performed to obtain a data security gene map, including: Extract security features at multiple stages in the data life cycle to obtain an original security feature set for each stage, and discretize the original security feature set to obtain a discretized feature vector; Performing dimensionality reduction processing on the discretized feature vector to obtain a feature matrix after dimensionality reduction, and performing feature binary coding processing according to the feature matrix after dimensionality reduction to obtain a safe gene sequence; Performing cluster analysis on the safety gene sequences to obtain gene groups, and performing similarity calculation on the safety genes at different stages based on the gene groups to obtain a gene similarity matrix; Performing graph structure conversion on the gene similarity matrix to obtain an initial safe gene graph, and assigning weights to relationships between nodes based on the initial safe gene graph to obtain a weighted safe gene graph; The weighted safety gene graph is subjected to community detection to obtain a safety gene community structure, and based on the safety gene community structure, the relationships between communities are subjected to hierarchical clustering to obtain a data safety gene map.
3. According to the phased data life cycle security assessment method of claim 1, It is characterized in that The data security situation map is obtained by performing data dynamic marking and data flow tracking analysis based on the data security gene map, including: Performing a topological structure analysis on the data security gene map to obtain a key node set, and performing feature extraction on the data in the data life cycle based on the key node set to obtain a data feature vector; Performing hash coding processing on the data feature vector to obtain a unique data identifier, and performing data dynamic marking processing based on the data identifier and the data security gene map to obtain marked data with security attributes; Performing flow timing analysis on the marked data at different stages to obtain a data flow sequence, and performing graph structure modeling on the data flow path according to the data flow sequence to obtain an initial data flow graph; Calculating edge weights on the initial data flow graph to obtain a weighted data flow graph, and performing cluster analysis on data flow hot spots based on the weighted data flow graph to obtain a data flow thermal distribution; The data flow thermal distribution and the data security gene map are subjected to graph fusion processing to obtain a multi-layer data security situation map, and spatiotemporal prediction analysis is performed based on the multi-layer data security situation map to obtain a data security situation map.
4. According to claim 1, the phased data life cycle security assessment method, It is characterized in that Based on the data security situation map, context information features are extracted for the multiple stages to obtain a stage-specific context space, and a stage evaluation engine is constructed, including: Performing graph segmentation processing on the data security situation graph to obtain a plurality of first-stage subgraphs, and performing cluster analysis on node attributes of each stage based on the plurality of first-stage subgraphs to obtain a stage feature vector; Performing semantic embedding processing on the stage feature vector to obtain a context semantic vector, and performing context space manifold learning on the context semantic vector to obtain a stage-specific context space; Perform boundary detection on the stage-specific context space to obtain a context decision boundary, and perform fuzzy reasoning on the evaluation rules of each stage based on the context decision boundary to obtain a stage evaluation knowledge base; A stage evaluation strategy network is created according to the stage evaluation knowledge base, and the evaluation process is search optimized according to the stage evaluation strategy network and the stage specific context space to obtain a stage evaluation engine.
5. According to claim 1, the phased data life cycle security assessment method, It is characterized in that The multi-dimensional analysis of security control requirements and multi-agent collaborative optimization of the multiple stages are performed to obtain a data security control hypergraph, including: Performing hierarchical analysis on the security control requirements of the multiple stages to obtain a requirement hierarchy structure, and performing fuzzy comprehensive evaluation based on the requirement hierarchy structure to obtain a requirement weight vector; Mining association rules of safety control measures on the demand weight vector to obtain a control measure association network, and generating a control measure function cluster according to the control measure association network; According to the control measure function cluster, an agent is assigned to each cluster to obtain an initial multi-agent system, and game theory modeling is performed on the initial multi-agent system to obtain an agent game strategy set; According to the agent game strategy set, reinforcement learning training is performed on the interaction between agents to obtain an optimized multi-agent collaboration model; A simulation experiment is carried out on the optimized multi-agent collaboration model to obtain a collaborative optimization result set, and based on the collaborative optimization result set, hypergraph modeling and edge weight calculation are carried out on the control measures to obtain a data security control hypergraph.
6. The phased data lifecycle security assessment method according to claim 1, It is characterized in that Based on the data security control hypergraph, the security incident causal relationship analysis is performed on the multiple stages to obtain multiple stage security causal networks, including: Performing hyperedge decomposition on the data security control hypergraph to obtain a plurality of second-stage subgraphs, and performing time series correlation analysis on security events in each stage according to the plurality of second-stage subgraphs to obtain an event time series sequence; Calculating conditional mutual information on the event time series to obtain a causal strength matrix between event pairs, and determining causal directions of the event pairs based on the causal strength matrix to obtain a directed causal relationship set; Performing graph structure learning on the directed causal relationship set to obtain an initial causal graph model, and inferring potential latent variables based on the initial causal graph model to obtain a complete causal graph; Testing the complete causal graph to obtain a causal backbone network, and fitting the nonlinear relationship between nodes based on the causal backbone network to obtain a quantitative causal function; A sensitivity analysis is performed on the quantitative causal relationship function to obtain a key causal path, and based on the key causal path, causal networks of multiple stages are temporally correlated and integrated to obtain a multi-stage safety causal network.
7. The phased data lifecycle security assessment method according to claim 1, It is characterized in that Based on the multiple stage safety causal networks and the stage assessment engine, the assessment results of the multiple stages are dynamically integrated to obtain a comprehensive result of the life cycle safety assessment, including: Topologically sorting the multiple stage safety causal networks to obtain a sequence of inter-stage dependency relationships, and performing time alignment on the outputs of the stage evaluation engines according to the inter-stage dependency relationships to obtain an aligned evaluation result set; Performing multi-scale wavelet decomposition on the aligned evaluation result set to obtain evaluation features in different frequency domains, and performing nonlinear analysis on the evaluation results according to the evaluation features in different frequency domains to obtain a target evaluation feature matrix; Clustering the target evaluation feature matrix to obtain a membership matrix of the evaluation results, and fusing the evaluation results according to the membership matrix to obtain a preliminary fusion result; Performing dynamic Bayesian network modeling on the preliminary fusion result to obtain a time-varying probability distribution of the evaluation result, and optimizing according to the time-varying probability distribution of the evaluation result to obtain a target fusion result; A time series analysis and trend prediction are performed on the target fusion results to obtain a dynamic evolution model of the evaluation results, and based on the dynamic evolution model and the inter-stage dependency sequence, a comprehensive evaluation and risk prediction of the security status of the entire data life cycle is performed to obtain a comprehensive result of the lifecycle security assessment.
8. A phased data lifecycle security assessment system, It is characterized in that The system for performing the phased data lifecycle security assessment method according to any one of claims 1 to 7 comprises: The encoding module is used to encode security features and conduct association analysis at multiple stages in the data life cycle to obtain a data security gene map; A tracking module, used to perform data dynamic tagging and data flow tracking analysis based on the data security gene map to obtain a data security situation map; A construction module is used to extract context information features of the multiple stages based on the data security situation map, obtain a stage-specific context space, and construct a stage evaluation engine; An optimization module, used to perform multi-dimensional analysis of security control requirements and multi-agent collaborative optimization on the multiple stages to obtain a data security control hypergraph; An analysis module, configured to perform a security incident causal relationship analysis on the multiple stages based on the data security control hypergraph to obtain a security causal network of multiple stages; A fusion module is used to dynamically fuse the evaluation results of the multiple stages based on the multiple stage safety causal networks and the stage evaluation engine to obtain a comprehensive result of the life cycle safety evaluation.
9. A phased data life cycle security assessment device, It is characterized in that The phased data lifecycle security assessment device comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instruction in the memory to enable the phased data lifecycle security assessment device to execute the phased data lifecycle security assessment method according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, It is characterized in that When the instructions are executed by the processor, the phased data lifecycle security assessment method according to any one of claims 1 to 7 is implemented.
