Multi-source heterogeneous database adaptation method

By acquiring, preprocessing, and adapting and converting multi-source heterogeneous data, it solves the challenges faced by enterprises in data management and integration, achieves unified storage and efficient management of data, and improves data quality and application accuracy.

CN118585571APending Publication Date: 2024-09-03山东浪潮智慧建筑科技有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410790594.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the era of big data, faced with the complexity and diversity of multi-source heterogeneous data, it is difficult for enterprises to achieve efficient, unified, and low-cost management and mining of data value. How to effectively integrate data of different formats, structures, and sources has become a challenge.

Method used

By acquiring multi-source heterogeneous data, perform unified classification and pre-processing, and use a multi-source heterogeneous data adaptation engine to adapt and transform the data to achieve data fusion, including cleaning the data into a standard format, isolating the underlying communication and data storage For transmission details, use the adapter mode for unified adaptation and conversion.

Benefits of technology

It achieves centralized storage and management of structured, semi-structured and unstructured data, improves data quality and accuracy, supports unified support for data governance and applications, has horizontal expansion capabilities, and is suitable for different data source types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585571A
    Figure CN118585571A
Patent Text Reader

Abstract

The invention discloses a multi-source heterogeneous database adaptation method which comprises the steps that various kinds of multi-source heterogeneous data are obtained, and the multi-source heterogeneous data comprise structured data, semi-structured data and non-structured data; carrying out unified classification and preprocessing on the obtained multi-source heterogeneous data; performing centralized storage on the preprocessed data according to a preset data specification; and adopting a multi-source heterogeneous data adaptation engine to carry out adaptation conversion on the stored data to realize fusion of the multi-source heterogeneous data. The multi-source heterogeneous data adaptation engine provides a flexible adapter mode, isolates communication and data transmission conversion details of different data storage bottom layers, performs unified adaptation conversion on access differences, grammar differences and operation differences among heterogeneous data, and provides unified support of a database layer for upper-layer data governance and data application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of database technology, and in particular to a multi-source heterogeneous database adaptation method. Background Art

[0002] With the rapid development of information technology represented by big data, the digital transformation of thousands of industries has deepened, and data has ushered in a huge explosion. Data of various formats and structures, and data sources have become more diverse, including different systems, platforms, devices or applications, such as on-cloud and off-cloud, software and hardware devices / platforms, etc., which has led to completely different data storage modes, logical structures, language semantics, etc., which has also created the so-called multi-source heterogeneity.

[0003] As the new "fuel" for enterprises to deepen digitalization and build future core competitiveness, reading, using and mining data value have become one of the areas that every enterprise pays close attention to and focuses on. However, faced with such massive, complex and chaotic data, how to manage and mine data value efficiently, uniformly and at low cost has become a headache for enterprises. In this context, the integration of multi-source heterogeneous data is an inevitable trend.

[0004] Therefore, how to achieve the effectiveness of the fusion of multi-source heterogeneous data is a technical problem that needs to be solved urgently in this field. Summary of the invention

[0005] In order to solve the above technical problems, this application proposes the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a multi-source heterogeneous database adaptation method, comprising:

[0007] Acquire various types of multi-source heterogeneous data, including structured data, semi-structured data, and unstructured data;

[0008] Classify and preprocess the acquired multi-source heterogeneous data in a unified manner;

[0009] Centrally store all types of pre-processed data according to preset data specifications;

[0010] A multi-source heterogeneous data adaptation engine is used to adapt and convert the stored data to achieve the fusion of multi-source heterogeneous data.

[0011] In a possible implementation, the semi-structured data includes XML and JSON; the unstructured data includes office documents, texts, pictures, HTML, various reports, images, and audio and video information in all formats.

[0012] In a possible implementation, the obtained multi-source heterogeneous data is uniformly classified and preprocessed, including:

[0013] Set the acquired multi-source heterogeneous data into a preset standard format according to usage requirements;

[0014] Clean the acquired multi-source heterogeneous data according to the preset standard format, and clean the data with diverse structures and complex contents into data in a standard format;

[0015] Redundant information is filtered out during the cleaning process.

[0016] In a possible implementation, the obtained multi-source heterogeneous data is cleaned according to a preset standard format, including: missing value cleaning, format content cleaning, and logical error cleaning.

[0017] In a possible implementation, the missing value cleaning includes:

[0018] Determine the range of missing values, calculate the proportion of missing values ​​for each field in the data, and formulate strategies based on the missing proportion and the importance of the field;

[0019] Delete unnecessary fields in the data and fill in the missing content based on business knowledge;

[0020] When the amount of missing data is too large and the error rate is too high, reacquire the data.

[0021] In a possible implementation, the multi-source heterogeneous data adaptation engine is used to adapt and convert the stored data to achieve fusion of multi-source heterogeneous data, including:

[0022] Through the adapter pattern, different data communication and data transmission conversion details of storage are isolated;

[0023] The access differences, syntax differences and operation differences between heterogeneous data are uniformly adapted and converted.

[0024] In a second aspect, an embodiment of the present application provides a multi-source heterogeneous database adaptation system, including:

[0025] An acquisition module is used to acquire various types of multi-source heterogeneous data, wherein the multi-source heterogeneous data includes structured data, semi-structured data and unstructured data;

[0026] A preprocessing module, used for uniformly classifying and preprocessing the acquired multi-source heterogeneous data;

[0027] The storage module is used to centrally store various types of pre-processed data according to preset data specifications;

[0028] The fusion module is used to adapt and transform the stored data through a multi-source heterogeneous data adaptation engine to achieve fusion of multi-source heterogeneous data.

[0029] Compared with the prior art, the beneficial effects of this application are:

[0030] This application supports centralized storage access to multiple types of structured, semi-structured and unstructured data, and centrally manages data from different sources and in different formats. A flexible adapter mode is provided through a multi-source heterogeneous data adaptation engine, which isolates the underlying communication and data transmission conversion details of different data storage, and uniformly adapts and converts the access differences, syntax differences, and operation differences between heterogeneous data, providing unified support for the database layer for upper-level data governance and data applications. The adapter also has the ability to expand horizontally, and can be flexibly expanded according to the type of data source. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A flowchart of a multi-source heterogeneous database adaptation method provided in an embodiment of the present application;

[0032] Figure 2 A schematic diagram of the structure of a multi-source heterogeneous database adaptation system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The present solution is described below in conjunction with the accompanying drawings and specific implementation methods.

[0034] Figure 1 A flowchart of a multi-source heterogeneous database adaptation method provided in an embodiment of the present application is shown in FIG. Figure 1 In this embodiment, a multi-source heterogeneous database adaptation method includes:

[0035] S101, acquiring various types of multi-source heterogeneous data, where the multi-source heterogeneous data includes structured data, semi-structured data, and unstructured data.

[0036] In this embodiment, structured data mainly comes from various information business systems or relational business databases, and data collection is performed using full-database full-volume extraction, timestamp-based incremental extraction mode, and trigger-based incremental extraction mode. Semi-structured data mainly comes from configuration files and log files of various information systems and IoT devices, and is stored in XML, JSON, and custom text file formats, using the Flume architecture for data collection. Unstructured data includes office documents, texts, pictures, HTML, various reports, images, and audio and video information in all formats. Data collection is achieved through third-party API interfaces or transmission protocols, and key feature information is converted into structured data for storage through neural network algorithms.

[0037] S102, uniformly classifying and preprocessing the acquired multi-source heterogeneous data.

[0038] In order to improve the quality of data, in this embodiment, the obtained multi-source heterogeneous data is set to a preset standard format according to the use requirements, and the obtained multi-source heterogeneous data is cleaned according to the preset standard format, and the data with diverse structures and complex contents are cleaned into data in a standard format, and redundant information is filtered during the cleaning process. Among them, the obtained multi-source heterogeneous data is cleaned according to the preset standard format, including: missing value cleaning, format content cleaning and logical error cleaning.

[0039] For missing value cleaning, this embodiment adopts the following steps to achieve:

[0040] First, determine the scope of missing values, calculate the missing value ratio of each field in the data, and formulate strategies based on the missing ratio and the importance of the field. Secondly, delete unnecessary fields in the data and fill in the missing content based on business knowledge. When the amount of missing data is too large and the error rate is too high, re-acquire the data.

[0041] Logical error cleaning includes: removing duplicate parts in data information, and correcting contradictory content after removing unreasonable values.

[0042] S103, centrally storing various types of pre-processed data according to preset data specifications.

[0043] In this embodiment, data storage can select a corresponding data storage method according to the selected data adapter to build a relational database, a graph database, and NOSQL.

[0044] S104, using a multi-source heterogeneous data adaptation engine to perform adaptation conversion on the stored data to achieve fusion of multi-source heterogeneous data.

[0045] In order to improve the accuracy of data fusion, this embodiment uses the adapter mode to isolate the different data communications and data transmission conversion details of the storage, and uniformly adapt and convert the access differences, syntax differences and operation differences between heterogeneous data, so as to provide unified support for the database layer for upper-level data governance and data applications. In addition, the data adaptation engine includes the property graph model PGM, the resource description framework RDF, and the extended markup language XML. The adapter also has the ability to expand horizontally and can be flexibly expanded according to the type of data source. The above method can greatly improve the quality of data, make the data more accurate and complete, and help improve the accuracy and reliability of subsequent analysis and decision-making.

[0046] Corresponding to the multi-source heterogeneous database adaptation method provided in the above embodiment, the present application also provides an embodiment of a multi-source heterogeneous database adaptation system.

[0047] See also Figure 2In an embodiment of the present application, a multi-source heterogeneous database adaptation system 20 includes:

[0048] The acquisition module 201 is used to acquire various types of multi-source heterogeneous data, wherein the multi-source heterogeneous data includes structured data, semi-structured data and unstructured data;

[0049] A preprocessing module 202, used for uniformly classifying and preprocessing the acquired multi-source heterogeneous data;

[0050] The storage module 203 is used to centrally store various types of pre-processed data according to preset data specifications;

[0051] The fusion module 204 is used to perform adaptation conversion on the stored data through a multi-source heterogeneous data adaptation engine to achieve fusion of multi-source heterogeneous data.

[0052] In the embodiments of the present application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can mean that A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0053] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0054] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A multi-source heterogeneous database adaptation method, It is characterized in that include: Acquire various types of multi-source heterogeneous data, including structured data, semi-structured data, and unstructured data; Classify and preprocess the acquired multi-source heterogeneous data in a unified manner; Centrally store all types of pre-processed data according to preset data specifications; A multi-source heterogeneous data adaptation engine is used to adapt and convert the stored data to achieve the fusion of multi-source heterogeneous data.

2. According to the multi-source heterogeneous database adaptation method of claim 1, It is characterized in that The semi-structured data includes XML and JSON; The unstructured data includes office documents of all formats, texts, pictures, HTML, various reports, images, and audio and video information.

3. A multi-source heterogeneous data adaptation method according to claim 1, It is characterized in that The obtained multi-source heterogeneous data are uniformly classified and preprocessed, including: Set the acquired multi-source heterogeneous data into a preset standard format according to usage requirements; Clean the acquired multi-source heterogeneous data according to the preset standard format, and clean the data with diverse structures and complex contents into data in a standard format; Redundant information is filtered out during the cleaning process.

4. A multi-source heterogeneous data adaptation method according to claim 3, It is characterized in that The obtained multi-source heterogeneous data is cleaned according to a preset standard format, including: missing value cleaning, format content cleaning and logical error cleaning.

5. A multi-source heterogeneous data adaptation method according to claim 4, It is characterized in that The missing value cleaning includes: Determine the range of missing values, calculate the proportion of missing values ​​for each field in the data, and formulate strategies based on the missing proportion and the importance of the field; Delete unnecessary fields in the data and fill in the missing content based on business knowledge; When the amount of missing data is too large and the error rate is too high, reacquire the data.

6. A multi-source heterogeneous data adaptation method according to claim 1, It is characterized in that The multi-source heterogeneous data adaptation engine is used to adapt and convert the stored data to achieve the fusion of multi-source heterogeneous data, including: Through the adapter pattern, different data communication and data transmission conversion details of storage are isolated; The access differences, syntax differences and operation differences between heterogeneous data are uniformly adapted and converted.

7. A multi-source heterogeneous database adaptation system, It is characterized in that include: An acquisition module is used to acquire various types of multi-source heterogeneous data, wherein the multi-source heterogeneous data includes structured data, semi-structured data and unstructured data; A preprocessing module, used for uniformly classifying and preprocessing the acquired multi-source heterogeneous data; The storage module is used to centrally store various types of pre-processed data according to preset data specifications; The fusion module is used to adapt and transform the stored data through a multi-source heterogeneous data adaptation engine to achieve fusion of multi-source heterogeneous data.

Citation Information

Cited By

  • Multi-source heterogeneous data acquisition and storage method and system, terminal and medium

    CN120832094A