Multi-source heterogeneous data integration method, device, equipment and storage medium
Through the matching and fusion of pre-processing and pre-training models, combined with the improved GAE network structure, the problem of interconnection and semantic structure analysis of multi-source heterogeneous data is solved, intelligent processing of data integration and multi-scenario applicability are realized, breaking the data Isolated islands improve data processing efficiency and accuracy.
Patent Information
- Application Number
- CN202111274821.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-10-29
AI Technical Summary
Existing technology is difficult to realize the interconnection of multi-source heterogeneous data and cannot effectively solve the problem of data islands. Moreover, deep learning models have shortcomings in multi-scenario general capabilities and data semantic structure analysis, especially in industrial manufacturing and small, medium and micro enterprises. Suitable data integration solutions.
By preprocessing multi-source heterogeneous data, using pre-trained matching models and linear programming algorithms for data matching and fusion, combined with the improved GAE network structure to train matching and fusion models, intelligent correlation and fusion of data are achieved, and statistical analysis and Pivot data to generate analytical reports.
It realizes intelligent processing of multi-source heterogeneous data and semantic structure analysis of system databases, breaks data silos, supports multiple application scenarios, lowers the technical threshold of data integration, improves data processing efficiency and accuracy, and reduces the cost of manpower and energy. Invest.
Smart Images

Figure CN114153839B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment and storage medium for integrating multi-source heterogeneous data. Background Art
[0002] In recent decades, with the rapid development of science and technology and the continuous advancement of informatization, the amount of data in many fields such as government, enterprises, and medical care has exploded exponentially. By mining and analyzing massive data, a large amount of valuable information can be obtained, so as to better empower business applications and support the development of various applications. However, whether it is the data of the internal information system of the unit, the data shared between units, or the public data obtained on the Internet, they all show fragmented characteristics such as fragmentation, heterogeneity, and low quality. Within the unit, due to organizational structure problems, the information data of different departments are divided and stored, and the information presentation forms are diverse due to the uneven informatization level of each unit. However, these data are independent and closed, and cannot be effectively interconnected, resulting in serious information islands. Between enterprises, due to differences in the physical storage and processing technology of source data, shared data becomes more uncertain due to changes in certain applications or changes in physical storage. Therefore, data integration is very demanding before deeply mining the value of data.
[0003] At present, most of the research on data integration is based on specific scenarios. It is necessary to train the corresponding deep learning model specifically for the specific scenario, and a large amount of annotation is required. It is impossible to solve the multi-scenario general ability of the deep learning model under the condition of a small amount of data annotation. It is impossible to interconnect scattered files, folders and databases. Only structured data can be input, and it is impossible to take into account the input of multi-source data.
[0004] In summary, in industry units that lack technical talents and application tools, such as industrial manufacturing enterprises and small and medium-sized enterprises, there is an urgent need to solve the following problems: 1. How to break the data silos and realize the interconnection of heterogeneous data sources, including but not limited to scattered files, folders, databases, etc.; 2. How to parse the data semantic structure: including database dictionaries, data dictionaries, manual data, etc.; 3. How to generate easy-to-operate data integration models: including those that can be applied to multiple application scenarios and have low technical barriers to use. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device and storage medium for integrating multi-source heterogeneous data. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for integrating multi-source heterogeneous data, including:
[0007] Preprocessing the acquired data table to obtain a preprocessed data table;
[0008] Match the preprocessed data table according to the pre-trained matching model and the linear programming algorithm to obtain the matching relationship of the data table;
[0009] Data fusion is performed based on the matching relationship of the data table and the pre-trained fusion model to obtain fused data.
[0010] In an optional embodiment, the preprocessed data table is matched according to the pretrained matching model and the linear programming algorithm to obtain the matching relationship of the data table, including:
[0011] Inputting the preprocessed data table into a pretrained first matching model for pattern matching to obtain a first similarity matrix;
[0012] According to the first similarity matrix and the linear programming algorithm, a matching relationship of the data table is obtained.
[0013] In an optional embodiment, the preprocessed data table is matched according to the pretrained matching model and the linear programming algorithm to obtain the matching relationship of the data table, including:
[0014] Inputting the preprocessed data table into a pre-trained second matching model for pattern matching to obtain a second similarity matrix;
[0015] According to the second similarity matrix and the linear programming algorithm, a matching relationship and a matching score of the data table are obtained;
[0016] Sort the data from high to low according to the matching scores to obtain the matching relationship of the sorted data table.
[0017] In an optional embodiment, data fusion is performed according to the matching relationship of the data table and the pre-trained fusion model to obtain fused data, including:
[0018] Perform queue association based on the matching relationship of the data table to obtain the associated data queue;
[0019] The associated data queue is input into the pre-trained fusion model to obtain the fused data.
[0020] In an optional embodiment, after obtaining the preprocessed data table, the method further includes:
[0021] Training a first matching model, a second matching model, and a fusion model;
[0022] Among them, the neural network structure of the first matching model, the second matching model and the fusion model is an improved GAE network structure, and the improved GAE network structure includes a coding layer and a decoding layer. The coding layer includes a GNN network and a FC network connected in sequence, and the decoding layer includes a FC network.
[0023] In an optional embodiment, after obtaining the fused data, the method further includes:
[0024] Perform statistical analysis on the fused data to obtain data type information, missing value information, memory size information, minimum value information, maximum value information, median information, standard deviation information, coefficient of variation information, histogram information, and correlation color scale diagram information;
[0025] Automatically generate data analysis reports based on the analysis results.
[0026] In an optional embodiment, preprocessing the acquired data table to obtain the preprocessed data table includes:
[0027] Get data tables of multi-source heterogeneous data;
[0028] The acquired data table is filled with data, outlier processing is performed, and format conversion is performed to obtain a preprocessed data table.
[0029] In a second aspect, an embodiment of the present disclosure provides an integration device for multi-source heterogeneous data, including:
[0030] A data preprocessing module is used to preprocess the acquired data table to obtain a preprocessed data table;
[0031] An intelligent data association module is used to match the preprocessed data table according to the pre-trained matching model and the linear programming algorithm to obtain the matching relationship of the data table;
[0032] The intelligent data fusion module is used to perform data fusion according to the matching relationship of the data table and the pre-trained fusion model to obtain the fused data.
[0033] In a third aspect, an embodiment of the present disclosure provides an integration device for multi-source heterogeneous data, including a processor and a memory storing program instructions, wherein the processor is configured to execute the multi-source heterogeneous data integration method provided in the above embodiment when executing the program instructions.
[0034] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions are executed by a processor to implement a method for integrating multi-source heterogeneous data provided in the above embodiment.
[0035] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0036] According to the multi-source heterogeneous data integration method provided in the embodiment of the present application, data silos can be broken, intelligent processing of multi-source heterogeneous data can be realized, and access to unusual heterogeneous data sources, including scattered files, shared folders, etc., can be supported, and input data consistency issues, including data format, data anomalies, data filling, etc., can be solved; system database semantic structure analysis can be realized, and database dictionary, data dictionary, and manual data correction can be quickly assisted in reconstruction. Moreover, the model is applicable to a variety of application scenarios, and it efficiently assists manual data screening, making large-scale data table search and incomplete data table fusion possible.
[0037] Furthermore, for the newly integrated data, the system uses the smart perspective function to intelligently perform correlation analysis on the data, identify related data and abnormal data, and automatically construct analysis charts to display the results, greatly reducing the manpower and energy required for data decision-making.
[0038] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0040] Figure 1 is a flowchart of a method for integrating multi-source heterogeneous data according to an exemplary embodiment;
[0041] Figure 2 is another flowchart of a method for integrating multi-source heterogeneous data according to an exemplary embodiment;
[0042] Figure 3 is a flowchart of a model training method according to an exemplary embodiment;
[0043] Figure 4is a schematic diagram of a GAE network structure according to an exemplary embodiment;
[0044] Figure 5 is a schematic structural diagram of a device for integrating multi-source heterogeneous data according to an exemplary embodiment;
[0045] Figure 6 is another structural schematic diagram of a device for integrating multi-source heterogeneous data according to an exemplary embodiment;
[0046] Figure 7 is a schematic structural diagram of a device for integrating multi-source heterogeneous data according to an exemplary embodiment;
[0047] Figure 8 It is a schematic diagram of a computer storage medium according to an exemplary embodiment. DETAILED DESCRIPTION
[0048] The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
[0049] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are only examples of systems and methods consistent with some aspects of the present invention as detailed in the attached claims.
[0051] The embodiment of the present application provides an intelligent data integration method, which specifically includes five parts: 1. Input of multi-source heterogeneous data; 2. Intelligent data preprocessing; 3. Intelligent data association; 4. Intelligent data fusion; 5. Intelligent data perspective. According to the data integration method of the embodiment of the present application, multi-source heterogeneous data can be intelligently processed, support the access of uncommon heterogeneous data sources, including scattered files, shared folders, etc., and solve the consistency problems of input data, including data format, data anomalies, data filling, etc.; can perform information system database semantic structure analysis, quickly assist in the reconstruction of database dictionaries, data dictionaries, and manual data correction; and provide a set of adaptable industry-level pre-trained models with good generalization performance, applicable to multiple industry scenarios, and can quickly calculate input data and feedback results in a timely manner, supporting agile application development.
[0052] The following will describe in detail the method for integrating multi-source heterogeneous data provided by the embodiment of the present application in conjunction with the accompanying drawings. Figure 1 , the method specifically includes the following steps.
[0053] S101 preprocesses the acquired data table to obtain a preprocessed data table.
[0054] Specifically, firstly, the accessed data table is obtained. The data integration method in the embodiment of the present application supports the access of multi-source heterogeneous data tables, and can access data in various forms such as scattered files, shared folders, and databases.
[0055] Furthermore, the acquired data table is preprocessed.
[0056] First, the data is filled in intelligently. In a possible implementation, the neighboring algorithm (KNN, k-NearestNeighbor) is used for data filling. The core idea of the KNN algorithm is that if most of the k nearest neighboring samples of a sample in the feature space belong to a certain category, then the sample also belongs to this category and has the characteristics of the samples in this category. This method only determines the category of the sample to be classified based on the category of one or several nearest samples in determining the classification decision. The KNN method is only related to a very small number of adjacent samples when making category decisions. Since the KNN method mainly relies on the limited number of neighboring samples around it, rather than the method of distinguishing the class domain to determine the category, the KNN method is more suitable than other methods for the sample set to be classified with more cross- or overlapped class domains. Therefore, the KNN algorithm can use the correlation of data in various dimensions to fill and correct missing values or abnormal values in the data, and realize data intelligent filling.
[0057] In a possible implementation, other methods of filling missing values may be used, for example, a parametric statistical method may be used to fill missing values using statistical data.
[0058] Furthermore, outlier detection can be performed on the preprocessed data, for example, a Bayesian regularization method can be used to detect outliers, and a mean method can be used to detect and correct outliers.
[0059] Furthermore, the preprocessed data may be formatted, for example, by removing leading and trailing spaces, converting upper and lower case characters, converting time formats, etc.
[0060] According to this step, the received multi-source heterogeneous data can be preprocessed to obtain relatively neat data with uniform format, which is convenient for subsequent processing.
[0061] S102 matches the preprocessed data table according to the pre-trained matching model and the linear programming algorithm to obtain a matching relationship of the data table.
[0062] In one possible implementation, the preprocessed data table is matched to obtain a matching relationship of the data table, including: inputting the preprocessed data table into a pre-trained first matching model for pattern matching, the first matching model matches the target data table with other data tables one by one, and outputting a first similarity matrix, wherein the first similarity matrix refers to a similarity matrix between columns in the table.
[0063] Furthermore, the first similarity matrix is input into a linear programming algorithm, such as the Hungarian algorithm, to obtain a matching relationship between columns in the data table, wherein the matching relationship between columns refers to the relationship between the column fields in the data table to be matched and the column fields in the matched data table, and the relationship can be expressed by a score. According to the matching relationship output by the linear programming algorithm, it can be known which columns of data table A and data table B match.
[0064] Optionally, the preprocessed data table can also be input into a pre-trained second matching model for pattern matching, and the second matching model matches the data table and outputs a second similarity matrix, wherein the second similarity matrix refers to a similarity matrix between tables.
[0065] Furthermore, the second similarity matrix is input into a linear programming algorithm, such as a Hungarian algorithm, to obtain the matching relationship and matching score of the data tables. According to the matching relationship of the data tables, it can be known which data table matches the data table A. According to the similarity, the matching score of the data table A and other tables can be known.
[0066] The matching scores are sorted from high to low to obtain the matching relationship of the sorted data tables. In an exemplary scenario, the table name, matching score and corresponding ranking in the database matching table A are output, and the data tables matching table A are sorted from high to low according to the matching scores.
[0067] Usually, before matching the data table, training of a first matching model or a second matching model is also included.
[0068] Specifically, obtain industry public data sets, for example, obtain CNKI industry knowledge service platform data, open source data platform data, etc.
[0069] Then extract the text semantic features of the data. For example, extract the data rule features by building an industry rule algorithm. Extract the data string, text statistics and other features by building a machine learning model. Extract the text semantic features by building a Bert semantic model.
[0070] Further, feature reorganization, recoding and standard vectorization are performed according to the extracted features. A training set and a test set of the first matching model or the second matching model are constructed according to the processed data.
[0071] Furthermore, a network structure of the first matching model or the second matching model is constructed, and the first matching model or the second matching model is trained according to the training set and the test set corresponding to the model to achieve the preset evaluation index, thereby obtaining the trained first matching model or the second matching model.
[0072] Among them, the first matching model matches the columns in the data table, and the second matching model matches the entire data table. Optionally, the second matching model can also match the columns in the data table. When training the second matching model, the training data set can be changed to train the second matching model as the matching relationship of the columns in the data table, and the output similarity matrix is the similarity of the columns.
[0073] In an optional embodiment, the columns in the data table are matched using a first matching model.
[0074] In a possible implementation, a network structure such as a deep learning model GNN, a machine learning model IOU_match, a rule model IOU_schema, etc. can be used for training. This disclosure embodiment does not make specific limitations and can be selected according to actual conditions.
[0075] The embodiment of the present application provides an improved graph neural network structure GAE, Figure 4 is a schematic diagram of the improved GAE network structure provided in the embodiment of the present application, such as Figure 4 As shown, the improved GAE network structure includes a coding layer and a de-coding layer, wherein the coding layer includes a GNN network and a FC network connected in sequence, and the de-coding layer only includes a FC network.
[0076] In an optional implementation, model training is performed according to the improved neural network structure GAE. Specifically, the data rule features are encoded using pattern coding technology to generate an initial feature vector X1; the machine learning statistical features are encoded using pattern coding technology to generate an initial feature vector X2; the data semantic features are encoded using pattern coding technology to generate an initial feature vector X3; the X1, X2, and X3 vectors are re-encoded and standard vectorized to obtain a standard vector X. Random 28-point test set and training set.
[0077] Furthermore, a model evaluation index is constructed, the constructed graph autoencoder neural network GAE is obtained, and the default initial parameters are set. The training set is input into the constructed graph autoencoder neural network model GAE, the parameters are updated, and the model is input with the test set. If the evaluation index is not met, return and adjust the parameters according to the manual. If the evaluation index is met, the pre-training model is built. The improved GAE network in this application can shorten the model training time, and at the same time has the advantages of better generalization performance, higher robustness, and faster reasoning speed.
[0078] According to the matching model provided in the embodiment of the present application, data tables can be associated and matched, and matching relationships between data tables can be mined. Moreover, the model can be applicable to different application scenarios in the same industry. When the application scenario is changed, it is only necessary to input data from different scenarios, extract the features of the re-input data, and input the feature vector of the new data into the model. There is no need to retrain the model. This is an adaptable industry-level general pre-trained model.
[0079] S103 performs data fusion according to the matching relationship of the data table and the pre-trained fusion model to obtain fused data.
[0080] Specifically, queue association is performed according to the matching relationship of the data tables to obtain an associated data queue. For example, according to the matching of the first row of table A with the second row of table B, the first row of table A can be associated with the second row of table B.
[0081] The associated data queue is input into the pre-trained fusion model to obtain fused data. In a possible implementation, the associated data queue and the sample table can be input into the fusion model, and a new wide table can be synthesized according to the sample table. Alternatively, the associated data queue can be input into the pre-trained fusion model, and the fusion model outputs the fused data table.
[0082] In a possible implementation, before fusing the data, it also includes training the fusion model, wherein the network structure of the fusion model adopts an improved GAE network structure, and its training method is the same as the training method of the first matching model and the second matching model, which will not be described in detail here. By using the improved GAE network structure, the model training time can be shortened, and at the same time, it has the advantages of better generalization performance, higher robustness, and faster reasoning speed.
[0083] According to the data integration method of the present application, incomplete data tables, for example, data tables in which key columns are missing or key columns have serious missing values due to some reasons, can be merged.
[0084] In an optional embodiment, after the fused data is obtained, data analysis can be automatically performed and a data analysis report can be generated.
[0085] Specifically, statistical analysis is performed on the fused data to obtain summary information of the data: for example, data type, unique values, missing values, memory size, etc. Statistical information of the data is obtained, such as minimum value, maximum value, median, etc. Descriptive information of the data is obtained, such as standard deviation, coefficient of variation, skewness coefficient, etc. Graphic information such as histogram and bar chart of the data is obtained. Correlation analysis and visualization of the data are performed to highlight strongly correlated variables, such as Spearman and Pearson matrix correlation color scale diagrams, etc.
[0086] According to this step, correlation analysis is performed on the data to find out the related data and abnormal data, and an analysis chart is automatically constructed to display the results, greatly reducing the manpower and energy required for data decision-making.
[0087] In order to facilitate understanding of the multi-source heterogeneous data integration method provided in the embodiment of the present application, the following is a Figure 2 For explanation. Figure 2 As shown, the method includes the following steps.
[0088] Obtain enterprise data and fine-tune the pre-trained model according to the enterprise's application scenarios. There is no need to change the model, just adjust the feature vector of the input data to obtain the pattern matching model and the fusion model. Then obtain the data table, including obtaining the database or data file with complete meaning, the database or data file to be analyzed, obtaining data report samples, the database or several data tables to be extracted, or several data files.
[0089] The acquired data table is pattern matched according to the pre-trained pattern matching model to obtain the matching relationship. The candidate data tables are fused according to the matching relationship and the fusion model to obtain the fused data table. The fused data table is automatically analyzed and counted to obtain a data perspective view.
[0090] Figure 3 This is a schematic diagram of the model training method, such as Figure 3 As shown, specifically, obtain public data of a certain industry, build a rule algorithm, extract data features, build a machine learning model, extract data strings, text statistics and other features, build a Bert semantic model, and extract the semantic features of the text.
[0091] Furthermore, feature reorganization, recoding and standard vectorization are performed based on the extracted features, and training data for the pattern matching model and the fusion model are constructed respectively.
[0092] Based on the constructed training data and the improved graph neural network GAE, model training is performed to obtain the trained matching model and fusion model.
[0093] According to the data integration method provided in the embodiment of the present application, each of the four functional modules can run independently. Each functional module has efficient data processing capabilities, greatly reducing manual participation and improving labor efficiency. The intelligent data association function and the intelligent data fusion function can quickly and accurately find the intrinsic relationship of the data, efficiently assist in manual data screening, and make large-scale data table search and incomplete data table fusion possible. For the newly fused data, the method uses the intelligent perspective function to perform correlation analysis on the data, find out the associated data and abnormal data, and automatically build an analysis chart to display the results, which greatly reduces the manpower and energy required for data decision-making.
[0094] The present application also provides a device for integrating multi-source heterogeneous data. The device is used to perform the method for integrating multi-source heterogeneous data in the above embodiment. Figure 5 As shown, the device comprises:
[0095] The data preprocessing module 501 is used to preprocess the acquired data table to obtain a preprocessed data table;
[0096] Intelligent data association module 502, used to match the preprocessed data table according to the pre-trained matching model and linear programming algorithm to obtain the matching relationship of the data table;
[0097] The intelligent data fusion module 503 is used to perform data fusion according to the matching relationship of the data table and the pre-trained fusion model to obtain fused data.
[0098] Figure 6 is another structural schematic diagram of a device for integrating multi-source heterogeneous data according to an exemplary embodiment; Figure 6 As shown, the data integration device in the embodiment of the present application may also include a data acquisition module for acquiring multi-source heterogeneous data. An intelligent data processing module is included for preprocessing data. An intelligent data association module is included for matching data. An intelligent data fusion module is included for fusing matched data. An intelligent data perspective module is included for performing statistical analysis on the fused data and automatically generating an analysis report.
[0099] It should be noted that the device for integrating multi-source heterogeneous data provided in the above embodiment only uses the division of the above functional modules as an example when executing the method for integrating multi-source heterogeneous data. In actual applications, the above functional distribution can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for integrating multi-source heterogeneous data provided in the above embodiment and the method for integrating multi-source heterogeneous data belong to the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0100] The embodiment of the present application also provides an electronic device corresponding to the multi-source heterogeneous data integration method provided in the above embodiment, so as to execute the above multi-source heterogeneous data integration method.
[0101] Please refer to Figure 7 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 7 As shown, the electronic device includes: a processor 700, a memory 701, a bus 702 and a communication interface 703, and the processor 700, the communication interface 703 and the memory 701 are connected via the bus 702; the memory 701 stores a computer program that can be run on the processor 700, and when the processor 700 runs the computer program, it executes the multi-source heterogeneous data integration method provided in any of the aforementioned embodiments of the present application.
[0102] The memory 701 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 703 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0103] The bus 702 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 701 is used to store programs, and the processor 700 executes the program after receiving the execution instruction. The multi-source heterogeneous data integration method disclosed in any implementation of the embodiment of the present application may be applied to the processor 700, or implemented by the processor 700.
[0104] The processor 700 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 700. The above processor 700 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701, and the processor 700 reads the information in the memory 701 and completes the steps of the above method in combination with its hardware.
[0105] The electronic device provided in the embodiment of the present application and the method for integrating multi-source heterogeneous data provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented therein.
[0106] The present application also provides a computer-readable storage medium corresponding to the multi-source heterogeneous data integration method provided in the above embodiment. Figure 8 The computer-readable storage medium shown is a CD 800 on which a computer program (ie, a program product) is stored. When the computer program is executed by a processor, the multi-source heterogeneous data integration method provided in any of the aforementioned embodiments will be executed.
[0107] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0108] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method for integrating multi-source heterogeneous data provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0109] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0110] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.
Claims
1. A method for integrating multi-source heterogeneous data, characterized in that: include: Preprocessing the acquired data table to obtain a preprocessed data table; Training a first matching model, a second matching model, and a fusion model; wherein the neural network structures of the first matching model, the second matching model, and the fusion model are improved GAE network structures, the improved GAE network structure includes a coding layer and an inverse coding layer, the coding layer includes a GNN network and an FC network connected in sequence, and the inverse coding layer includes an FC network; According to the pre-trained matching model and the linear programming algorithm, the pre-processed data table is matched to obtain the matching relationship of the data table; including: inputting the pre-processed data table into the pre-trained first matching model for pattern matching to obtain a first similarity matrix; according to the first similarity matrix and the linear programming algorithm, the matching relationship of the data table is obtained; wherein the first similarity matrix refers to the similarity matrix between columns in the table, and the matching relationship between columns in the data table is obtained, wherein the matching relationship between columns refers to the relationship between the column field in the data table to be matched and the column field in the matched data table; The method further includes inputting the preprocessed data table into a pretrained second matching model for pattern matching to obtain a second similarity matrix; obtaining a matching relationship and a matching score of the data table according to the second similarity matrix and a linear programming algorithm; knowing which data table matches data table A according to the matching relationship of the data table; and sorting the data table from high to low according to the matching scores to obtain a matching relationship of the sorted data table; wherein the second similarity matrix refers to a similarity matrix between tables; Data fusion is performed according to the matching relationship of the data table and the pre-trained fusion model to obtain fused data.
2. The method according to claim 1, characterized in that Data fusion is performed according to the matching relationship of the data table and the pre-trained fusion model to obtain fused data, including: Perform queue association according to the matching relationship of the data table to obtain an associated data queue; The associated data queue is input into a pre-trained fusion model to obtain fused data.
3. The method according to claim 1, characterized in that After obtaining the fused data, it also includes: Performing statistical analysis on the fused data to obtain data type information, missing value information, memory size information, minimum value information, maximum value information, median information, standard deviation information, coefficient of variation information, histogram information, and correlation color scale diagram information; Automatically generate data analysis reports based on the analysis results.
4. The method according to claim 1, characterized in that: The obtained data table is preprocessed, and the preprocessed data table includes: Get data tables of multi-source heterogeneous data; The acquired data table is filled with data, outlier processing is performed, and format conversion is performed to obtain a preprocessed data table.
5. A device for integrating multi-source heterogeneous data, characterized in that: include: A data preprocessing module is used to preprocess the acquired data table to obtain a preprocessed data table; A training module, used for training a first matching model, a second matching model and a fusion model; wherein the neural network structures of the first matching model, the second matching model and the fusion model are improved GAE network structures, the improved GAE network structure comprises a coding layer and an inverse coding layer, the coding layer comprises a GNN network and an FC network connected in sequence, and the inverse coding layer comprises an FC network; The intelligent data association module is used to match the preprocessed data table according to the pretrained matching model and the linear programming algorithm to obtain the matching relationship of the data table; including: inputting the preprocessed data table into the pretrained first matching model for pattern matching to obtain a first similarity matrix; according to the first similarity matrix and the linear programming algorithm, obtaining the matching relationship of the data table; wherein the first similarity matrix refers to the similarity matrix between columns in the table, and the matching relationship between columns in the data table is obtained, wherein the matching relationship between columns refers to the relationship between the column field in the data table to be matched and the column field in the matched data table; The method further includes inputting the preprocessed data table into a pretrained second matching model for pattern matching to obtain a second similarity matrix; obtaining a matching relationship and a matching score of the data table according to the second similarity matrix and a linear programming algorithm; knowing which data table matches data table A according to the matching relationship of the data table; and sorting the data table from high to low according to the matching scores to obtain a matching relationship of the sorted data table; wherein the second similarity matrix refers to a similarity matrix between tables; The intelligent data fusion module is used to perform data fusion according to the matching relationship of the data table and the pre-trained fusion model to obtain fused data.
6. An integration device for multi-source heterogeneous data, characterized in that: The invention comprises a processor and a memory storing program instructions, wherein the processor is configured to execute the multi-source heterogeneous data integration method according to any one of claims 1 to 4 when executing the program instructions.
7. A computer-readable medium, characterized in that Computer-readable instructions are stored thereon, and the computer-readable instructions are executed by a processor to implement a multi-source heterogeneous data integration method as described in any one of claims 1 to 4.
