Archival data processing method, device, equipment and storage medium

Through parallel data preprocessing and feature extraction technology, combined with SPARSS and Sentence-BERT models, we build and optimize the knowledge graph, solve the efficiency and value mining problems of archival data management and utilization, and achieve efficient archival data processing and intelligent management. .

CN117909556BActive Publication Date: 2024-10-22深圳兴科华创信息技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410198838.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-22
Publication Date
2024-10-22
Estimated Expiration
2044-02-22

AI Technical Summary

Technical Problem

Existing technologies are difficult to efficiently manage and utilize huge archival data, especially when the data volume is large, heterogeneous and complex. Traditional methods are time-consuming and labor-intensive and difficult to fully explore the value of the data. They lack effective data feature extraction and Analysis mechanism.

Method used

Parallel data preprocessing and metadata classification are used, combined with the SPARSS algorithm and Sentence-BERT model for sequence pattern mining and feature extraction, a knowledge graph is constructed and optimized, and the target archive data feature matrix is ​​generated through relationship node extraction and cluster analysis, and the input Multi-task optimization model performs data classification and index optimization.

Benefits of technology

It improves the efficiency and accuracy of archival data processing, realizes the depth and breadth extraction of data features, improves the analysis capabilities of knowledge graphs, and realizes intelligent processing and efficient management of archival data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117909556B_ABST
    Figure CN117909556B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of data processing, and discloses a method, device, equipment and storage medium for processing archival data. The method comprises: obtaining initial archival data sets of multiple target data sources and creating initial archival data classification results and initial archival data index information; generating a first archival data feature set and a second archival data feature set; constructing an archival data feature knowledge graph; performing relationship node extraction, obtaining multiple graph relationship nodes and performing node clustering analysis to obtain target clustering results; performing cross-correlation analysis, obtaining cross-correlation analysis results and performing matrix conversion to generate a target archival data feature matrix; inputting the target archival data feature matrix into a multi-task optimization model for data classification optimization and index information optimization, and outputting target archival data classification results and target archival data index information. The present application realizes the intelligentization of archival data processing and improves the efficiency of archival data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment and storage medium for processing archive data. Background Art

[0002] In today's information age, the management and utilization of archival data has become an important challenge facing organizations and individuals. With the rapid increase in the amount of data, traditional archival data processing methods have been unable to meet the needs of fast and efficient data processing. These traditional methods often rely on manual operations, which are not only time-consuming and labor-intensive, but also prone to errors, affecting the accuracy and availability of data. Therefore, how to efficiently manage and utilize these huge data resources and improve the processing efficiency and quality of archival data has become an urgent problem that needs to be solved.

[0003] In addition, with the development of artificial intelligence and big data technology, how to mine valuable information from massive archival data has become an important research direction in the field of archival data processing. Existing data processing methods often lack effective data feature extraction and analysis mechanisms, making it difficult to fully explore the knowledge contained in archival data, limiting the in-depth utilization and value mining of archival data. More importantly, the heterogeneity and complexity of archival data have brought huge challenges to data integration, analysis and application. Archival data usually comes from different data sources and has different formats and structures, which makes data integration and unified processing extremely difficult. How to effectively integrate and preprocess these heterogeneous data and how to build a unified knowledge representation framework are of great significance to improving the efficiency and quality of archival data processing. Therefore, researching and developing new archival data processing methods to meet the needs of big data has become an important task facing the field of archival data processing. Summary of the invention

[0004] The present application provides a method, device, equipment and storage medium for processing archival data, which are used to realize intelligent archival data processing and improve the efficiency of archival data processing.

[0005] In a first aspect, the present application provides a method for processing archive data, the method for processing archive data comprising:

[0006] Acquire initial archive data sets of multiple target data sources, and perform parallel data preprocessing, metadata classification, and index creation on the initial archive data sets to obtain initial archive data classification results and initial archive data index information;

[0007] Using the SPARSS algorithm to perform sequence pattern mining on the initial archival data set to obtain multiple sequence patterns, and generating a first archival data feature set according to the multiple sequence patterns, and performing archival data feature extraction on the initial archival data set through the Sentence-BERT model to generate a second archival data feature set;

[0008] Constructing a knowledge graph for the initial archival data set according to the first archival data feature set and the second archival data feature set to obtain an initial data feature knowledge graph, and optimizing the initial data feature knowledge graph by a multivariate adaptive regression spline algorithm to obtain an archival data feature knowledge graph;

[0009] Extracting relationship nodes from the archival data feature knowledge graph to obtain a plurality of graph relationship nodes, and performing node clustering analysis on the plurality of graph relationship nodes to obtain a target clustering result for each graph relationship node;

[0010] Performing a correlation analysis on the multiple graph relationship nodes and the multiple target data sources to obtain a correlation analysis result, and performing a matrix conversion on the target clustering result of each graph relationship node according to the correlation analysis result to generate a target archive data feature matrix;

[0011] The target archive data feature matrix is ​​input into a preset multi-task optimization model for data classification optimization and index information optimization, and the target archive data classification result and target archive data index information are output.

[0012] In a second aspect, the present application provides a device for processing archive data, the device for processing archive data comprising:

[0013] An acquisition module is used to acquire initial archive data sets of multiple target data sources, and perform parallel data preprocessing, metadata classification and index creation on the initial archive data sets to obtain initial archive data classification results and initial archive data index information;

[0014] A processing module, configured to perform sequence pattern mining on the initial archival data set using a SPARSS algorithm to obtain a plurality of sequence patterns, generate a first archival data feature set according to the plurality of sequence patterns, and perform archival data feature extraction on the initial archival data set using a Sentence-BERT model to generate a second archival data feature set;

[0015] A construction module, configured to construct a knowledge graph for the initial archival data set according to the first archival data feature set and the second archival data feature set to obtain an initial data feature knowledge graph, and to optimize the initial data feature knowledge graph through a multivariate adaptive regression spline algorithm to obtain an archival data feature knowledge graph;

[0016] An analysis module is used to extract relationship nodes from the archive data feature knowledge graph to obtain multiple graph relationship nodes, and perform node clustering analysis on the multiple graph relationship nodes to obtain a target clustering result for each graph relationship node;

[0017] A conversion module, used to perform a correlation analysis on the multiple graph relationship nodes and the multiple target data sources to obtain a correlation analysis result, and perform a matrix conversion on the target clustering result of each graph relationship node according to the correlation analysis result to generate a target archive data feature matrix;

[0018] The optimization module is used to input the target archive data feature matrix into a preset multi-task optimization model to perform data classification optimization and index information optimization, and output the target archive data classification result and target archive data index information.

[0019] The third aspect of the present application provides an archival data processing device, comprising: 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 archival data processing device executes the above-mentioned archival data processing method.

[0020] 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 archival data processing method.

[0021] In the technical solution provided by the present application, the efficiency of data processing is greatly improved by parallelizing data preprocessing, metadata classification and index creation. The Apache Spark distributed computing framework is used to parallelize the initial archival data set, which not only accelerates the data processing speed, but also ensures the efficiency and scalability of the processing process. This technical feature enables the archival data management system to cope with the challenges of large data volume and high processing requirements in the big data era, and improves the real-time and accuracy of data processing. Through the combined use of the SPARSS algorithm and the Sentence-BERT model, efficient and accurate archival data feature extraction is achieved. The SPARSS algorithm can effectively mine sequence patterns in archival data, while the Sentence-BERT model focuses on semantic information recognition and feature extraction of archival data. The combination of this algorithm and model not only broadens the extraction scope of archival data features, but also improves the depth and accuracy of feature extraction, thereby providing a richer and more accurate data feature set for subsequent data analysis and knowledge graph construction. The knowledge graph is optimized by the multivariate adaptive regression spline algorithm, which can effectively improve the accuracy and availability of the knowledge graph, making the knowledge structure contained in the archival data clearer and the relationship definition more accurate. In addition, through relationship node extraction and node clustering analysis, the analytical capability of the knowledge graph is further enhanced, thereby realizing the intelligent processing of archival data and improving the efficiency of archival data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] 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.

[0023] Figure 1 A schematic diagram of an embodiment of a method for processing archive data in an embodiment of the present application;

[0024] Figure 2 Schematic diagram of an embodiment of a device for processing archive data in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The embodiments of the present application provide a method, device, equipment and storage medium for processing archival data. 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 here can be implemented in an order other than that illustrated or described here. 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.

[0026] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the method for processing archive data in the embodiment of the present application includes:

[0027] Step S101, obtaining initial archive data sets of multiple target data sources, and performing parallel data preprocessing, metadata classification and index creation on the initial archive data sets to obtain initial archive data classification results and initial archive data index information;

[0028] It is understandable that the execution subject of the present application may be a device for processing archive data, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.

[0029] Specifically, multiple target data sources are determined, which may include different types of archives, electronic document storage systems or other data collections. By acquiring archival data from multiple target data sources, the original archival data of each data source is collected. The original archival data of each target data source is integrated to obtain the initial archival data set of multiple target data sources, and the data from different sources are unified in format and merged into a whole. In order to effectively process this large-scale initial archival data set and improve the speed and efficiency of data processing, the Apache Spark distributed computing framework is used for parallel processing. Apache Spark can process large data sets in a distributed manner. Through its memory computing capability, it can quickly complete the parallel processing of the initial archival data set to obtain the processed archival data set. The metadata information of the processed initial archival data set is obtained and the features are parsed. Metadata is data about data, which provides additional descriptive information for archival data, such as creation date, author, data type, etc. The structure and content of the archival data are understood by parsing the features of the metadata information. The metadata features are used to classify the data, and the archival data is classified and stored according to its attributes to improve the retrieval efficiency. Based on the classification results of the initial archive data, data index information is created through the obtained metadata features to obtain the initial archive data index information. The index information is established to optimize the data retrieval process.

[0030] Step S102, using the SPARSS algorithm to perform sequence pattern mining on the initial archival data set to obtain multiple sequence patterns, and generating a first archival data feature set based on the multiple sequence patterns, and performing archival data feature extraction on the initial archival data set through the Sentence-BERT model to generate a second archival data feature set;

[0031] Specifically, the SPARSS algorithm is used to sort the initial archival data set, and an ordered archival data sequence is created by logically sorting the archival data. A data coding table is constructed for the ordered archival data sequence, and each data item is assigned a unique code, thereby generating multiple data coding tables. These data coding tables simplify the data representation, making the analysis of the archival data sequence more efficient. The data coding sequence corresponding to each data coding table is generated by extracting specific coding rules. After obtaining the data coding sequence, the initial archival data set is subjected to sequence pattern mining through the coding sequence. Sequence pattern mining is a technology for finding recurring patterns or features in data. Sequence pattern mining implemented by the SPARSS algorithm can identify key sequence patterns in archival data. These patterns constitute the first archival data feature set, which reflects the structure and content characteristics of the archival data. The initial archival data set is subjected to semantic information recognition through the Sentence-BERT model. The Sentence-BERT model is a deep learning model based on BERT, which is specially used for processing natural language text and can capture subtle semantic information in archival data. The archival data is processed by this model, and the obtained archival data semantic information set contains rich semantic features. The feature frequency of the archival data semantic information set is calculated, and feature screening is performed based on the feature frequency. The most representative and important semantic features are identified by analyzing the frequency of occurrence of semantic information features. These screened features constitute the second archival data feature set.

[0032] Step S103, constructing a knowledge graph for the initial archival data set according to the first archival data feature set and the second archival data feature set to obtain an initial data feature knowledge graph, and optimizing the initial data feature knowledge graph by a multivariate adaptive regression spline algorithm to obtain an archival data feature knowledge graph;

[0033] Specifically, the first archival data feature set and the second archival data feature set are feature fused, and a more comprehensive and in-depth fused archival data feature set is formed by comprehensively considering the structural features obtained by sequential pattern mining and the semantic information features extracted by the Sentence-BERT model. A knowledge graph structure is created based on the fused archival data feature set, including generating entity recognition, attribute extraction, and relationship definition. In this process, each archival data item is regarded as an entity, and the attributes of the entity and the relationship between the entities are defined according to the information in the fused feature set. The preliminary knowledge graph structure represents the internal connection and logical structure of the archival data in the form of a graph. In order to achieve effective management and query of the fused archival data feature set, the knowledge graph is constructed according to the knowledge graph structure, entity recognition, attribute extraction, and relationship definition through the Neo4j graph database. As a high-performance graph database, Neo4j can efficiently store and query complex relationship networks, improving the operational efficiency and flexibility of the knowledge graph. The initial data feature knowledge graph constructed by Neo4j not only has rich data features and structural information, but also can perform efficient data retrieval and analysis through the powerful functions of the database. The entity relationship and attribute analysis of the initial data feature knowledge graph is performed through the multivariate adaptive regression spline algorithm. Through multidimensional analysis of the entity relationships and attributes in the knowledge graph, key data features and potential information patterns are identified. Based on multidimensional analysis indicators, the knowledge graph is further optimized. The optimization process includes the adjustment of the knowledge graph structure and the refinement of entity attributes and relationship definitions. The final archive data feature knowledge graph is more accurate and efficient on the original basis.

[0034] Step S104: extracting relationship nodes from the archive data feature knowledge graph to obtain a plurality of graph relationship nodes, and performing node clustering analysis on the plurality of graph relationship nodes to obtain a target clustering result for each graph relationship node;

[0035] Specifically, the relationship nodes are extracted from the archival data feature knowledge graph, and nodes with specific attributes and relationships are identified. These nodes represent the key entities in the archival data and their connections with each other, thereby obtaining multiple graph relationship nodes. The node attributes and relationships of the graph relationship nodes are identified, including the entity characteristics represented by the nodes and the interactions and connections between these entities. The attribute and relationship information of each graph relationship node are converted into vectors. By quantifying the attribute and relationship information of the node into vector form, computer algorithms can be used for efficient processing. The node feature vector of each graph relationship node is a comprehensive mathematical representation of the node, which contains all the key information of the node, so that the nodes can be compared and analyzed. Through the preset graph clustering analysis model, node clustering analysis is performed on multiple graph relationship nodes according to the node feature vectors. The model uses the information in the node feature vectors to cluster them into different groups or categories according to the similarity between the nodes, thereby obtaining the target clustering result of each graph relationship node.

[0036] Step S105, performing a correlation analysis on multiple graph relationship nodes and multiple target data sources to obtain a correlation analysis result, and performing a matrix conversion on the target clustering result of each graph relationship node according to the correlation analysis result to generate a target archive data feature matrix;

[0037] Specifically, a correlation analysis is performed between multiple graph relationship nodes and multiple target data sources, and the first correlation index between each graph relationship node and each target data source is evaluated, and the second correlation index between each target data source and all graph relationship nodes is evaluated. Bidirectional correlation analysis understands the relationship between data from two different perspectives, namely, from the graph relationship node to the target data source, and from the target data source back to the graph relationship node. Based on the first correlation index and the second correlation index, a correlation analysis result is comprehensively generated, which reflects the complex mutual dependence and influence between the graph relationship node and the target data source. Through comprehensive analysis, the relationship between data is captured more accurately. The target clustering result of each graph relationship node is numerically mapped, and the clustering result is converted into a quantifiable value, so as to obtain the initial clustering result mapping value of each graph relationship node. According to the correlation analysis result, the initial clustering result mapping value of each graph relationship node is numerically weighted, and the mapping value of the clustering result is adjusted by considering the correlation between the graph relationship node and the target data source to reflect the influence of the correlation. Finally, the target clustering result mapping value of each graph relationship node is matrix-converted to generate the target archive data feature matrix. Through matrix transformation, various mathematical and statistical analysis methods can be applied more conveniently in the subsequent process to further explore and utilize the deep information in the archival data.

[0038] Step S106: input the target archive data feature matrix into a preset multi-task optimization model to perform data classification optimization and index information optimization, and output the target archive data classification result and target archive data index information.

[0039] Specifically, the target archival data feature matrix is ​​input into a preset multi-task optimization model, which integrates an attention mechanism layer, a support vector machine (SVM) network, and a random forest network. The target archival data feature matrix is ​​weighted analyzed through the attention mechanism layer. Based on the principle of the attention mechanism, the most informative part of the feature matrix is ​​automatically identified and emphasized, thereby generating two different weighted feature matrices: a first archival data feature matrix and a second archival data feature matrix. The first archival data feature matrix is ​​input into the support vector machine network for archival data classification strategy analysis. With its powerful classification ability and efficient processing speed, the SVM network can generate accurate archival data classification strategies based on the data features in the feature matrix. At the same time, the second archival data feature matrix is ​​input into the random forest network for archival data indexing strategy analysis. As an integrated learning method, random forest can effectively generate archival data indexing strategies by constructing multiple decision trees for data analysis. According to the archival data classification strategy, the initial archival data classification results are classified and optimized, and the final target archival data classification results are output; at the same time, the archival data indexing strategy is used to index the initial archival data index information, and finally the target archival data index information is output.

[0040] In the embodiment of the present application, the efficiency of data processing is greatly improved by parallelizing data preprocessing, metadata classification and index creation. The Apache Spark distributed computing framework is used to parallelize the initial archive data set, which not only accelerates the data processing speed, but also ensures the efficiency and scalability of the processing process. This technical feature enables the archive data management system to cope with the challenges of large data volume and high processing requirements in the big data era, and improves the real-time and accuracy of data processing. Through the combined use of the SPARSS algorithm and the Sentence-BERT model, efficient and accurate archival data feature extraction is achieved. The SPARSS algorithm can effectively mine sequence patterns in archival data, while the Sentence-BERT model focuses on semantic information recognition and feature extraction of archival data. The combination of this algorithm and model not only broadens the extraction scope of archival data features, but also improves the depth and accuracy of feature extraction, thereby providing a richer and more accurate data feature set for subsequent data analysis and knowledge map construction. The knowledge map is optimized by the multivariate adaptive regression spline algorithm, which can effectively improve the accuracy and availability of the knowledge map, making the knowledge structure contained in the archival data clearer and the relationship definition more accurate. In addition, through relationship node extraction and node clustering analysis, the analytical capability of the knowledge graph is further enhanced, thereby realizing the intelligent processing of archival data and improving the efficiency of archival data processing.

[0041] In a specific embodiment, the process of executing step S101 may specifically include the following steps:

[0042] (1) Determine multiple target data sources, and obtain archival data from the multiple target data sources to obtain the original archival data of each target data source;

[0043] (2) Perform data integration on the original archival data of each target data source to obtain the initial archival data sets of multiple target data sources;

[0044] (3) Use the Apache Spark distributed computing framework to parallel process the initial archival data set to obtain the processed initial archival data set;

[0045] (4) Obtaining metadata information corresponding to the processed initial archive data set, and performing feature analysis on the metadata information to obtain metadata features;

[0046] (5) Classifying the processed initial archival data set according to the metadata features to obtain the initial archival data classification results, and creating data index information corresponding to the processed initial archival data set according to the initial archival data classification results through the metadata features to obtain the initial archival data index information.

[0047] Specifically, multiple target data sources are identified and archival data is collected from them to obtain the original archival data of each target data source. Then, data integration is performed on the original archival data of each target data source to synthesize the scattered data into a unified initial archival data set. In this process, data integration tools and technologies are used to solve problems such as inconsistent data formats, duplicate records, and missing data to ensure that the integrated data set has high quality and consistency. The ApacheSpark distributed computing framework is used to parallel process the integrated initial archival data set to improve the efficiency and speed of data processing. Apache Spark takes advantage of memory computing to quickly process large-scale data sets and perform complex data transformation and analysis operations. In this stage, the original archival data is cleaned, transformed, and standardized to meet subsequent analysis needs. Metadata information is obtained and parsed for the processed initial archival data set. Metadata, or data about data, describes the basic information and characteristics of archival data, such as creation time, author, data type, etc. By parsing metadata information, an understanding of the structure and content of the archival data set is obtained, which helps with subsequent data classification and index creation. For example, when processing archival data of a batch of historical documents, metadata parsing can reveal which documents are written by specific authors, which documents belong to the same period, and which documents are about specific topics. Based on the metadata features, the processed archival data set is classified and the corresponding data index information is created to obtain the initial archival data index information. Data classification and indexing are to improve data retrieval efficiency and management convenience. According to the metadata features, data classification may be based on the creation time, location, subject or author of the document. At the same time, the created data index information allows for quick access and retrieval of the classified archival data.

[0048] In a specific embodiment, the process of executing step S102 may specifically include the following steps:

[0049] (1) Use the SPARSS algorithm to sort the initial archival data set to obtain the archival data sequence;

[0050] (2) Constructing a coding table for the archive data sequence to generate multiple data coding tables, and extracting coding sequences from the multiple data coding tables to generate data coding sequences corresponding to each data coding table;

[0051] (3) performing sequence pattern mining on the initial archive data set through the data coding sequence corresponding to each data coding table to obtain multiple sequence patterns, and generating a first archive data feature set based on the multiple sequence patterns;

[0052] (4) Using the Sentence-BERT model, the initial archival data set is used to identify the archival data semantic information and obtain the archival data semantic information set;

[0053] (5) Calculating the feature frequency of the semantic information set of the archival data to obtain the feature frequency of the semantic information, and performing feature screening on the semantic information set of the archival data according to the feature frequency of the semantic information to generate a second feature set of the archival data.

[0054] Specifically, the SPARSS algorithm is used to sort the initial archival data set. The SPARSS algorithm is designed to process large-scale data sets. By accurately sorting archival data, the accuracy and efficiency of subsequent processing are ensured. Each archival data is sorted according to certain rules to form an ordered archival data sequence. This sorting is not only based on the attributes of the data itself, such as date, order of occurrence of events or other relevant standards, but also takes into account the internal connection between the data. A coding table is constructed for the ordered archival data sequence to convert complex archival data into an easy-to-process numerical representation. Each unique data item is assigned a unique code to form multiple data coding tables. By extracting the coding sequence from the data coding table, each data coding table generates a corresponding data coding sequence to ensure that each component of the data can be accurately identified and processed in subsequent analysis. Sequence pattern mining is performed based on the data coding sequence to discover hidden patterns and relationships in the data. Sequence pattern mining identifies recurring patterns or sequences in the data by analyzing the data coding sequence. These patterns reflect the internal structure and laws of the archival data, and obtain multiple sequence patterns. These patterns constitute the first archival data feature set. Afterwards, the initial archival data set was used to identify the archival data semantic information through the Sentence-BERT model. The Sentence-BERT model is an efficient natural language processing tool that can understand and process complex semantic information in archival data. Through this model, a rich semantic information set is extracted from the archival data, which contains the deep meaning and connection of the data. The feature frequency of the extracted archival data semantic information set is calculated, and the frequency of occurrence of semantic features in the data set is analyzed to determine which features are the most representative and important. According to the frequency of semantic information features, the archival data semantic information set is further feature screened to select the features that best represent the semantics of the data set, forming the second archival data feature set.

[0055] In a specific embodiment, the process of executing step S103 may specifically include the following steps:

[0056] (1) Fusing the first archival data feature set and the second archival data feature set to obtain a fused archival data feature set;

[0057] (2) Create a knowledge graph structure that integrates the feature set of archival data and generates entity recognition, attribute extraction, and relationship definition;

[0058] (3) Through the Neo4j graph database, the knowledge graph of the fused archive data feature set is constructed according to the knowledge graph structure, entity recognition, attribute extraction and relationship definition to obtain the initial data feature knowledge graph;

[0059] (4) Analyze the entity relationships and attributes of the initial data feature knowledge graph using the multivariate adaptive regression spline algorithm to obtain multidimensional analysis indicators;

[0060] (5) Based on the multidimensional analysis indicators, the initial data feature knowledge graph is optimized to obtain the archive data feature knowledge graph.

[0061] Specifically, the first archival data feature set and the second archival data feature set are feature fused. The two feature sets represent the structured pattern and deep semantic information of archival data, respectively, and they reveal different aspects of the data. The purpose of feature fusion is to integrate these complementary information to generate a fused archival data feature set that more comprehensively reflects the characteristics of archival data. A knowledge graph structure is created based on the fused archival data feature set, and entity recognition, attribute extraction and relationship definition are performed. Data features are converted into entities, attributes and relationships in the knowledge graph. Entity recognition involves identifying units with independent meanings from data, such as people, places or events; attribute extraction is to determine the characteristics and attributes of these entities; and relationship definition involves identifying various connections between entities. Through the above steps, the inherent structure and semantic relationship of the data are made explicit, forming a knowledge graph structure that reflects the complex relationship of archival data. Through the Neo4j graph database, the knowledge graph of the fused archival data feature set is constructed according to the knowledge graph structure, entity recognition, attribute extraction and relationship definition. Neo4j provides graph data management and query capabilities, so that the constructed knowledge graph can not only effectively store a large amount of entity and relationship information, but also support complex graph query and analysis operations. For example, through Neo4j, we can query the events that a person participated in at a specific time and place, or analyze the causal relationship between different events. The initial data feature knowledge graph is analyzed for entity relationships and attributes through the multivariate adaptive regression spline algorithm. The algorithm builds a nonlinear model that adapts to the characteristics of the data to conduct an in-depth analysis of the entity attributes and relationships in the knowledge graph, thereby obtaining analysis indicators that describe the multidimensional characteristics of the data. According to the multidimensional analysis indicators, the initial data feature knowledge graph is optimized to generate the final archival data feature knowledge graph. This optimization process involves adjusting and reconstructing the entity attributes and relationships in the knowledge graph to more accurately reflect the true situation and internal connections of the archival data.

[0062] In a specific embodiment, the process of executing step S104 may specifically include the following steps:

[0063] (1) Extract relationship nodes from the archival data feature knowledge graph to obtain multiple graph relationship nodes;

[0064] (2) Identify the node attributes and relationships of multiple graph relationship nodes to obtain the attribute and relationship information of each graph relationship node;

[0065] (3) Perform vector conversion on the attributes and relationship information of each graph relationship node to obtain the node feature vector of each graph relationship node;

[0066] (4) Using the preset graph clustering analysis model, node clustering analysis is performed on multiple graph relationship nodes according to the node feature vectors to obtain the target clustering result for each graph relationship node.

[0067] Specifically, the relationship nodes are extracted from the knowledge graph of archival data features, and nodes with significant characteristics and important significance are identified from the knowledge graph of archival data features. These nodes usually represent key entities in the archival data, such as people, organizations, events, etc. Through node extraction, the focus of subsequent analysis is ensured to be on the most representative and information-valuable part of the knowledge graph. For example, when studying the knowledge graph of historical events, key relationship nodes may include important historical figures, event locations, or events themselves with turning point significance. The node attributes and relationship identification of the graph relationship nodes are performed to further explore the detailed information of each node and the connection between nodes. The characteristics of each node are analyzed to identify the attributes of the node (such as date, location, participating characters, etc.) and the relationship between the nodes (such as cause and effect, contemporaneity, opposition, etc.). Through identification, the detailed information of each relationship node is clearly marked and recorded, providing semantic information for subsequent node analysis and knowledge graph application. For example, when analyzing the knowledge graph of a historical event, the time and place of the event, as well as the cause and effect relationship between the events can be clearly pointed out. The attribute and relationship information of each graph relationship node are converted into vectors, and the semantic information is quantified into a form that can be processed by the machine learning model. The attribute and relationship information of each node is converted into a node feature vector. In this process, different attributes and relationships are encoded as elements in the vector. The dimension and element value of the vector reflect the characteristics of the node and the relationship between nodes. For example, a node about an important historical figure may have a feature vector that includes the encoding of key events, periods, and places related to the figure, as well as the strength of the relationship with other figures or events. Finally, a node clustering analysis is performed on multiple graph relationship nodes based on the node feature vectors through a preset graph clustering analysis model. Graph clustering analysis models, such as clustering models based on graph convolutional networks (GCNs), can identify groups of nodes with similar attributes and relationships, thereby dividing the nodes in the knowledge graph into different categories or clusters. For example, in the knowledge graph of historical events, clustering analysis can identify a series of interrelated events that may together constitute a key part of a historical stage or trend.

[0068] In a specific embodiment, the process of executing step S105 may specifically include the following steps:

[0069] (1) performing a cross-correlation analysis on multiple graph relationship nodes and multiple target data sources to obtain a first cross-correlation index between each graph relationship node and the multiple target data sources and a second cross-correlation index between each target data source and the multiple graph relationship nodes;

[0070] (2) generating a correlation analysis result between a plurality of graph relationship nodes and a plurality of target data sources according to the first correlation index and the second correlation index;

[0071] (3) Perform numerical mapping on the target clustering result of each graph relationship node to obtain the initial clustering result mapping value of each graph relationship node;

[0072] (4) According to the results of the cross-correlation analysis, the initial clustering result mapping value of each graph relationship node is numerically weighted to obtain the target clustering result mapping value of each graph relationship node;

[0073] (5) Perform matrix transformation on the target clustering result mapping values ​​of each graph relationship node to generate the target archive data feature matrix.

[0074] Specifically, a correlation analysis is performed on multiple graph relationship nodes and multiple target data sources to reveal the interaction and influence between each graph relationship node and the target data source, and a first correlation index and a second correlation index are obtained. The first correlation index reflects the influence and connection between each graph relationship node and multiple target data sources, while the second correlation index reveals how each target data source affects and interacts with multiple graph relationship nodes. Bidirectional correlation analysis understands the relationship between data from a more comprehensive perspective, thereby more accurately grasping the inherent structure and dynamic changes of the data. By combining these two indicators, the correlation analysis results between multiple graph relationship nodes and multiple target data sources are generated. The correlation analysis results are applied to optimize the clustering results of the graph relationship nodes. The target clustering results of each graph relationship node are numerically mapped, and the clustering results are converted into numerical values ​​that can be mathematically operated. The mapped values ​​are numerically weighted according to the correlation analysis results to further refine the clustering results to ensure that the clustering reflects the results adjusted according to the actual influence and correlation between the graph relationship nodes and the data sources. The target clustering results of each graph relationship node are mapped numerically for matrix conversion to generate the target archive data feature matrix.

[0075] In a specific embodiment, the process of executing step S106 may specifically include the following steps:

[0076] (1) Input the target archive data feature matrix into a preset multi-task optimization model, which includes an attention mechanism layer, a support vector machine network, and a random forest network;

[0077] (2) Performing an attention mechanism weighted analysis on the target archival data feature matrix through the attention mechanism layer to generate a first archival data feature matrix and a second archival data feature matrix;

[0078] (3) Inputting the first archival data feature matrix into the support vector machine network to perform archival data classification strategy analysis to obtain the archival data classification strategy, and inputting the second archival data feature matrix into the random forest network to perform archival data indexing strategy analysis to obtain the archival data indexing strategy;

[0079] (4) The initial archival data classification results are optimized through the archival data classification strategy, and the target archival data classification results are output. The initial archival data index information is optimized through the archival data indexing strategy, and the target archival data index information is output.

[0080] Specifically, the target archival data feature matrix is ​​input into a preset multi-task optimization model, which includes an attention mechanism layer, a support vector machine network, and a random forest network. The target archival data feature matrix is ​​analyzed through the attention mechanism layer. The attention mechanism can automatically identify and emphasize important information, and highlight the most critical information by giving different weights to different parts of the data. The attention mechanism layer evaluates the importance of each feature in the feature matrix, and generates two weighted feature matrices based on this: a first archival data feature matrix and a second archival data feature matrix. The two feature matrices capture different aspects of the archival data, respectively. The first archival data feature matrix is ​​input into the support vector machine network. The support vector machine network is a classification algorithm that classifies data by constructing one or more hyperplanes. In this link, the SVM network analyzes the classification strategy of the archival data based on the information in the first archival data feature matrix, so as to determine how to most effectively divide the data into different categories or groups. This process not only relies on the intrinsic characteristics of the data, but also considers the complex relationships between the data to ensure that the classification results are both accurate and meaningful. At the same time, the second archival data feature matrix is ​​input into the random forest network. Random forest is an ensemble learning method that improves the overall prediction accuracy by building multiple decision trees and combining their prediction results. During the analysis of the archival data indexing strategy, the random forest network evaluated the information in the second archival data feature matrix to determine the most effective data indexing method. This method can help quickly locate and retrieve archival data, improve data accessibility and utilization. Through the archival data classification strategy, the model optimizes the initial archival data classification results and generates accurate target archival data classification results. This step ensures the accuracy and effectiveness of data classification, making the organization and management of data more reasonable and efficient. At the same time, the archival data indexing strategy is used to optimize the initial archival data index information, thereby outputting refined target archival data index information.

[0081] The above describes the method for processing archive data in the embodiment of the present application. The following describes the apparatus for processing archive data in the embodiment of the present application. Figure 2In one embodiment of the present application, an apparatus for processing archive data includes:

[0082] The acquisition module 201 is used to acquire the initial archive data sets of multiple target data sources, and perform parallel data preprocessing, metadata classification and index creation on the initial archive data sets to obtain the initial archive data classification results and initial archive data index information;

[0083] Processing module 202, for performing sequence pattern mining on the initial archival data set using the SPARSS algorithm to obtain multiple sequence patterns, generating a first archival data feature set based on the multiple sequence patterns, and performing archival data feature extraction on the initial archival data set using the Sentence-BERT model to generate a second archival data feature set;

[0084] A construction module 203 is used to construct a knowledge graph for the initial archival data set according to the first archival data feature set and the second archival data feature set to obtain an initial data feature knowledge graph, and to optimize the initial data feature knowledge graph through a multivariate adaptive regression spline algorithm to obtain an archival data feature knowledge graph;

[0085] The analysis module 204 is used to extract the relationship nodes from the archive data feature knowledge graph to obtain a plurality of graph relationship nodes, and to perform node clustering analysis on the plurality of graph relationship nodes to obtain a target clustering result for each graph relationship node;

[0086] The conversion module 205 is used to perform a correlation analysis on multiple graph relationship nodes and multiple target data sources to obtain a correlation analysis result, and perform a matrix conversion on the target clustering result of each graph relationship node according to the correlation analysis result to generate a target archive data feature matrix;

[0087] The optimization module 206 is used to input the target archive data feature matrix into a preset multi-task optimization model to perform data classification optimization and index information optimization, and output the target archive data classification result and the target archive data index information.

[0088] Through the collaboration of the above components, the efficiency of data processing is greatly improved through parallel data preprocessing, metadata classification and index creation. The Apache Spark distributed computing framework is used to parallelize the initial archival data set, which not only accelerates the data processing speed, but also ensures the efficiency and scalability of the processing process. This technical feature enables the archival data management system to cope with the challenges of large data volume and high processing requirements in the big data era, and improves the real-time and accuracy of data processing. Through the combination of SPARSS algorithm and Sentence-BERT model, efficient and accurate archival data feature extraction is achieved. SPARSS algorithm can effectively mine sequence patterns in archival data, while Sentence-BERT model focuses on semantic information recognition and feature extraction of archival data. This combination of algorithm and model not only broadens the extraction scope of archival data features, but also improves the depth and accuracy of feature extraction, thereby providing a richer and more accurate data feature set for subsequent data analysis and knowledge graph construction. The knowledge graph is optimized by multivariate adaptive regression spline algorithm, which can effectively improve the accuracy and availability of the knowledge graph, making the knowledge structure contained in the archival data clearer and the relationship definition more accurate. In addition, through relationship node extraction and node clustering analysis, the analytical capability of the knowledge graph is further enhanced, thereby realizing the intelligent processing of archival data and improving the efficiency of archival data processing.

[0089] The present application also provides an archival data processing 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 archival data processing method in the above-mentioned embodiments.

[0090] 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 method for processing archival data.

[0091] 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.

[0092] 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.

[0093] 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 method for processing archival data, characterized in that: The method for processing the archive data comprises: Acquire initial archive data sets of multiple target data sources, and perform parallel data preprocessing, metadata classification, and index creation on the initial archive data sets to obtain initial archive data classification results and initial archive data index information; The SPARSS algorithm is used to mine the sequence pattern of the initial archival data set to obtain multiple sequence patterns, and a first archival data feature set is generated according to the multiple sequence patterns, and archival data features are extracted from the initial archival data set through the Sentence-BERT model to generate a second archival data feature set; specifically, the method comprises: using the SPARSS algorithm to sort the archival data of the initial archival data set to obtain an archival data sequence; the SPARSS algorithm can effectively mine the sequence pattern in the archival data, and ensure the accuracy and efficiency of subsequent processing by accurately sorting the archival data. Each archival data is sorted according to the preset rules to form an ordered archival data sequence. This sorting is not only based on the attributes of the data itself, including the date and the order of occurrence of events, but also takes into account The internal connection between the data; constructing a coding table for the archival data sequence to generate multiple data coding tables, and extracting coding sequences from the multiple data coding tables to generate a data coding sequence corresponding to each data coding table; performing sequence pattern mining on the initial archival data set through the data coding sequence corresponding to each data coding table to obtain multiple sequence patterns, and generating a first archival data feature set based on the multiple sequence patterns; performing archival data semantic information recognition on the initial archival data set through the Sentence-BERT model to obtain an archival data semantic information set; performing feature frequency calculation on the archival data semantic information set to obtain a semantic information feature frequency, and performing feature screening on the archival data semantic information set based on the semantic information feature frequency to generate a second archival data feature set; Constructing a knowledge graph for the initial archival data set according to the first archival data feature set and the second archival data feature set to obtain an initial data feature knowledge graph, and optimizing the initial data feature knowledge graph by a multivariate adaptive regression spline algorithm to obtain an archival data feature knowledge graph; Extracting relationship nodes from the archival data feature knowledge graph to obtain a plurality of graph relationship nodes, and performing node clustering analysis on the plurality of graph relationship nodes to obtain a target clustering result for each graph relationship node; Performing a correlation analysis on the multiple graph relationship nodes and the multiple target data sources to obtain a correlation analysis result, and performing a matrix conversion on the target clustering result of each graph relationship node according to the correlation analysis result to generate a target archive data feature matrix; The target archive data feature matrix is ​​input into a preset multi-task optimization model for data classification optimization and index information optimization, and the target archive data classification result and target archive data index information are output.

2. The method for processing archival data according to claim 1, characterized in that: The method of obtaining initial archive data sets of multiple target data sources, performing parallel data preprocessing, metadata classification, and index creation on the initial archive data sets to obtain initial archive data classification results and initial archive data index information includes: Determine multiple target data sources, and obtain archival data from the multiple target data sources to obtain original archival data of each target data source; Performing data integration on the original archive data of each target data source to obtain initial archive data sets of the multiple target data sources; Using the Apache Spark distributed computing framework to parallel process the initial archive data set to obtain a processed initial archive data set; Obtaining metadata information corresponding to the processed initial archive data set, and performing feature analysis on the metadata information to obtain metadata features; The processed initial archive data set is data classified according to the metadata features to obtain an initial archive data classification result, and data index information corresponding to the processed initial archive data set is created according to the initial archive data classification result through the metadata features to obtain initial archive data index information.

3. The method for processing archival data according to claim 1, characterized in that: The step of constructing a knowledge graph for the initial archival data set according to the first archival data feature set and the second archival data feature set to obtain an initial data feature knowledge graph, and optimizing the initial data feature knowledge graph by a multivariate adaptive regression spline algorithm to obtain an archival data feature knowledge graph includes: Performing feature fusion on the first archival data feature set and the second archival data feature set to obtain a fused archival data feature set; Creating a knowledge graph structure of the fused archive data feature set, and generating entity recognition, attribute extraction, and relationship definition; Through the Neo4j graph database, a knowledge graph is constructed for the fused archive data feature set according to the knowledge graph structure, the entity recognition, the attribute extraction and the relationship definition to obtain an initial data feature knowledge graph; Performing entity relationship and attribute analysis on the initial data feature knowledge graph by using a multivariate adaptive regression spline algorithm to obtain multidimensional analysis indicators; According to the multidimensional analysis indicators, the initial data feature knowledge graph is optimized to obtain the archive data feature knowledge graph.

4. The method for processing archival data according to claim 3, characterized in that: The extracting of relationship nodes from the archive data feature knowledge graph to obtain a plurality of graph relationship nodes, and performing node clustering analysis on the plurality of graph relationship nodes to obtain a target clustering result for each graph relationship node includes: Extracting relationship nodes from the archive data feature knowledge graph to obtain multiple graph relationship nodes; Performing node attribute and relationship identification on the multiple graph relationship nodes to obtain attribute and relationship information of each graph relationship node; Perform vector conversion on the attributes and relationship information of each graph relationship node to obtain the node feature vector of each graph relationship node; A node clustering analysis is performed on the multiple graph relationship nodes according to the node feature vectors through a preset graph clustering analysis model to obtain a target clustering result for each graph relationship node.

5. The method for processing archival data according to claim 1, characterized in that: The method of performing a correlation analysis on the multiple graph relationship nodes and the multiple target data sources to obtain a correlation analysis result, and performing a matrix conversion on the target clustering result of each graph relationship node according to the correlation analysis result to generate a target archive data feature matrix includes: Performing a cross-correlation analysis on the multiple graph relationship nodes and the multiple target data sources to obtain a first cross-correlation index between each graph relationship node and the multiple target data sources and a second cross-correlation index between each target data source and the multiple graph relationship nodes; Generate a correlation analysis result between the plurality of graph relationship nodes and the plurality of target data sources according to the first correlation index and the second correlation index; Perform numerical mapping on the target clustering result of each graph relationship node to obtain the initial clustering result mapping value of each graph relationship node; According to the mutual correlation analysis result, the initial clustering result mapping value of each graph relationship node is numerically weighted to obtain the target clustering result mapping value of each graph relationship node; The target clustering result mapping values ​​of each graph relationship node are transformed into a matrix to generate a target archive data feature matrix.

6. The method for processing archival data according to claim 1, characterized in that: The step of inputting the target archive data feature matrix into a preset multi-task optimization model to perform data classification optimization and index information optimization, and outputting target archive data classification results and target archive data index information, includes: Inputting the target archive data feature matrix into a preset multi-task optimization model, wherein the multi-task optimization model includes an attention mechanism layer, a support vector machine network, and a random forest network; Performing attention mechanism weighted analysis on the target archival data feature matrix through the attention mechanism layer to generate a first archival data feature matrix and a second archival data feature matrix; Input the first archival data feature matrix into the support vector machine network to perform archival data classification strategy analysis to obtain an archival data classification strategy, and input the second archival data feature matrix into the random forest network to perform archival data indexing strategy analysis to obtain an archival data indexing strategy; The initial archival data classification result is classified and optimized by the archival data classification strategy, and the target archival data classification result is output; and the initial archival data index information is indexed and optimized by the archival data index strategy, and the target archival data index information is output.

7. A device for processing archive data, characterized in that: The archival data processing device comprises: An acquisition module is used to acquire initial archive data sets of multiple target data sources, and perform parallel data preprocessing, metadata classification and index creation on the initial archive data sets to obtain initial archive data classification results and initial archive data index information; The processing module is used to use the SPARSS algorithm to perform sequence pattern mining on the initial archival data set to obtain multiple sequence patterns, and generate a first archival data feature set according to the multiple sequence patterns, and extract archival data features from the initial archival data set through the Sentence-BERT model to generate a second archival data feature set; specifically comprising: using the SPARSS algorithm to sort the archival data of the initial archival data set to obtain an archival data sequence; the SPARSS algorithm can effectively mine the sequence patterns in the archival data, and ensure the accuracy and efficiency of subsequent processing by accurately sorting the archival data. Each archival data is sorted according to preset rules to form an ordered archival data sequence. This sorting is not only based on the attributes of the data itself, including the date and the order of occurrence of events. , and also consider the internal connection between the data; construct a coding table for the archival data sequence to generate multiple data coding tables, and extract coding sequences from the multiple data coding tables to generate a data coding sequence corresponding to each data coding table; perform sequence pattern mining on the initial archival data set through the data coding sequence corresponding to each data coding table to obtain multiple sequence patterns, and generate a first archival data feature set based on the multiple sequence patterns; perform archival data semantic information recognition on the initial archival data set through the Sentence-BERT model to obtain an archival data semantic information set; perform feature frequency calculation on the archival data semantic information set to obtain a semantic information feature frequency, and perform feature screening on the archival data semantic information set based on the semantic information feature frequency to generate a second archival data feature set; A construction module, configured to construct a knowledge graph for the initial archival data set according to the first archival data feature set and the second archival data feature set to obtain an initial data feature knowledge graph, and to optimize the initial data feature knowledge graph through a multivariate adaptive regression spline algorithm to obtain an archival data feature knowledge graph; An analysis module is used to extract relationship nodes from the archive data feature knowledge graph to obtain multiple graph relationship nodes, and perform node clustering analysis on the multiple graph relationship nodes to obtain a target clustering result for each graph relationship node; A conversion module, used to perform a correlation analysis on the multiple graph relationship nodes and the multiple target data sources to obtain a correlation analysis result, and perform a matrix conversion on the target clustering result of each graph relationship node according to the correlation analysis result to generate a target archive data feature matrix; The optimization module is used to input the target archive data feature matrix into a preset multi-task optimization model to perform data classification optimization and index information optimization, and output the target archive data classification result and target archive data index information.

8. A device for processing archival data, characterized in that: The archival data processing device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the archival data processing device to execute the archival data processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by a processor, the archival data processing method according to any one of claims 1 to 6 is implemented.