A data standardization cleaning method and device under multi-source data access

Through the K-means algorithm and Jaccard similarity calculation, clustering processing and cleaning of multi-source data are performed, which solves the multi-source data processing problems in the existing technology and improves the accuracy of data cleaning and system performance.

CN112783883BActive Publication Date: 2024-09-06GUANGDONG POWER GRID CO LTD DONGGUAN POWER SUPPLY BUREAU
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202110094083.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-22
Publication Date
2024-09-06
Estimated Expiration
2041-01-22

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively solve data quality problems when processing multi-source data, leading to decision-making errors and impact on system performance, especially when the amount of data increases.

Method used

The K-means algorithm is used for preliminary data clustering processing, and the Jaccard similarity calculation formula is used to control the calculation accuracy of the clustering core distance to ensure the feasibility of data clustering. The clustered data is used as the source of cleaning data, using Existing data cleaning tools perform multi-source data cleaning.

Benefits of technology

It improves the accuracy and precision of data cleaning, reduces decision-making risks, and enhances the system's processing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112783883B
    Figure CN112783883B
Patent Text Reader

Abstract

The present invention relates to a method for standardizing and cleaning electric power data under multi-source data access, including: S10, preliminary data clustering processing, using K-means algorithm to read the collected data, and classifying the collected data according to the attribute value characteristics of the data, S20, multi-source data cleaning uses the data after clustering processing as the data source for data cleaning, sets the processed data in the form of a database, and uses existing data cleaning tools to complete the multi-source data cleaning work. The beneficial effects of the present invention are: classifying the collected data according to the attribute value characteristics of the data, using the data after clustering processing as the data source for data cleaning, setting the processed data in the form of a database, using existing data cleaning tools to complete the multi-source data cleaning work, improving the accuracy of the database data processing results, and thus improving the accuracy of the cleaned data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data standardization and cleaning method and device under multi-source data access. Background Art

[0002] People can use more and more data resources, but massive data does not necessarily have real value. The value of data comes from its quality, and the quality of data mining directly affects the quality of decision-making. However, it is very difficult to manually process these huge and messy data, and data quality issues have become one of the bottlenecks restricting data application and processing. Correcting quality problems in data, avoiding decision-making errors, and reducing decision-making risks are important links in data processing. In previous studies, data standardization cleaning systems were used to complete data cleaning. However, due to the increase in data volume, the emergence of multi-source data has affected the performance of the system. Summary of the invention

[0003] The purpose of the present invention is to overcome the above problems existing in the prior art and to provide a data standardization cleaning method and device under multi-source data access.

[0004] In order to achieve the above technical objectives and the above technical effects, the present invention is implemented through the following technical solutions:

[0005] A data standardization and cleaning method for multi-source data access, comprising:

[0006] S10, preliminary clustering processing of power data, the power data includes annual, monthly and daily power production data and power consumption data, the K-means algorithm is used to read the collected data, and the collected data is classified according to the attribute value characteristics of the data. The complexity of this work processing can be expressed as A(n), the collected data is expressed in the form of a string, and the data clustering calculation complexity can be expressed as A(m·I), where m represents the number of data with different attributes, and I represents the number of data with the same attribute. In order to ensure the feasibility of data clustering, the constraints in the preliminary clustering processing are set as follows:

[0007]

[0008] In the formula, Represents the cluster core distance. By transforming this formula, we can obtain the constraints applicable to multi-source data clustering:

[0009]

[0010] The Jaccard similarity calculation formula is used to control the calculation accuracy of the cluster core distance and control the error value of the calculation result within 0.5% to ensure the effectiveness of subsequent calculations.

[0011] Let G represent the number of occurrences of a data type, and H represent the weight of the occurrence of this data type. Then the frequency R of occurrence of this type of data in the calculation can be expressed as:

[0012]

[0013] Integrate the above formula into the data clustering module to complete the data clustering process;

[0014] S20, power multi-source data cleaning, using clustered data as the data source for data cleaning, setting the processed data in database form, setting two groups of data in database Y, one of which is a data set that does not need to be cleaned, and the other is a data set that needs to be cleaned. The data that does not need to be cleaned is set as C, and the data contained in C is all composed of elements in database Y, f C (a) represents the number of times C appears in the database, Q C (a) is the similarity between the data to be cleaned and the data that does not need to be cleaned in the database, then:

[0015]

[0016] Set Q C (v) represents the similarity of subset V in the database, then:

[0017]

[0018] Assuming V1∈C, V2∈C, the relationship between data V2 and V1 is expressed as:

[0019]

[0020] The above formula can be used to process the data that needs to be split in the database, and existing data cleaning tools can be used to complete multi-source data cleaning work.

[0021] The data cleaning tool is at least one of IDCENTRIC, PUREINTEGRATE, TRILLIUM, DATACLEANSESER, and MATCHIT.

[0022] A data standardization cleaning device under multi-source data access is used to run the above-mentioned data standardization cleaning method under multi-source data access, including a development board, a DC power supply, a voltage stabilizing circuit, and a communication interface. The DC power supply supplies power to the development board through the voltage stabilizing circuit, and the DC power supply directly supplies power to the communication interface. The USB interface and network port of the development board are connected to the communication interface. An ARM chip, a clock circuit, a reset circuit, a communication module, and a timer are installed on the development board. The ARM chip is respectively connected to the clock circuit, the reset circuit, the communication module, and the timer.

[0023] The model of the ARM chip is S3C2440.

[0024] The beneficial effects of the present invention are: classifying the collected data according to the attribute value characteristics of the data, using the data after clustering processing as the data source for data cleaning, setting the processed data in the form of a database, using existing data cleaning tools to complete multi-source data cleaning work, improving the accuracy of database data processing results, and thus improving the accuracy of cleaned data. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0026] Figure 1 is a structural schematic diagram of a flow chart of a cleaning method in an embodiment of the present invention;

[0027] Figure 2 1 is a framework diagram of a cleaning device in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0029] In the description of the present invention, it should be understood that the terms "opening", "upper", "lower", "thickness", "top", "middle", "length", "inside", "all around" and the like indicating orientation or positional relationship are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the components or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0030] like Figure 1 As shown, a data standardization and cleaning method under multi-source data access includes:

[0031] S10, preliminary data clustering processing, using the K-means algorithm to read the collected data, and classify the collected data according to the attribute value characteristics of the data. The complexity of this work processing can be expressed as A(n). The collected data is expressed in the form of a string, and its data clustering calculation complexity can be expressed as A(m·I), where m represents the number of data with different attributes, and I represents the number of data with the same attribute. In order to ensure the feasibility of data clustering, the constraints in the preliminary clustering processing are set as follows:

[0032]

[0033] In the formula, S represents the cluster core distance. By transforming this formula, we can obtain the constraints applicable to multi-source data clustering:

[0034]

[0035]

[0036] The calculation accuracy of cluster core distance is controlled by calculating similarity, which is expressed by the formula:

[0037]

[0038] In the formula, J represents the similarity of the calculated core distance, and B is the calculation result. This formula is used to control the error value of the calculation result within 0.5%, thereby ensuring the effectiveness of subsequent calculations.

[0039] Let G represent the number of occurrences of a data type, and H represent the weight of the occurrence of this data type. Then the frequency R of occurrence of this type of data in the calculation can be expressed as:

[0040]

[0041] Integrate the above formula into the data clustering module to complete the data clustering process;

[0042] S20, multi-source data cleaning, using the data after clustering processing as the data source for data cleaning, setting the processed data in the form of a database, setting the database Y to have two groups of data, one of which is a data set that does not need to be cleaned, and the other is a data set that needs to be cleaned. The data that does not need to be cleaned is set as C, and the data contained in C is all composed of elements in the database Y. C (a) represents the number of times C appears in the database, Q C (a) is the similarity between the data to be cleaned and the data that does not need to be cleaned in the database, then:

[0043]

[0044] Set Q C (v) represents the similarity of subset V in the database, then:

[0045]

[0046] Assuming V1∈C, V2∈C, the relationship between data V2 and V1 is expressed as:

[0047]

[0048] The above formula can be used to process the data that needs to be split in the database, and existing data cleaning tools can be used to complete multi-source data cleaning work.

[0049] The data cleaning tool is at least one of IDCENTRIC, PUREINTEGRATE, TRILLIUM, DATACLEANSESER, and MATCHIT.

[0050] like Figure 2 As shown, a data standardization and cleaning device under multi-source data access is used to run the above-mentioned data standardization and cleaning method under multi-source data access, including a development board, a DC power supply, a voltage stabilizing circuit, and a communication interface. The DC power supply supplies power to the development board through the voltage stabilizing circuit, and the DC power supply directly supplies power to the communication interface. The USB interface and the network port of the development board are connected to the communication interface. An ARM chip, a clock circuit, a reset circuit, a communication module, and a timer are installed on the development board. The ARM chip is respectively connected to the clock circuit, the reset circuit, the communication module, and the timer.

[0051] The model of the ARM chip is S3C2440.

[0052] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0053] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.

Claims

1. A data standardization and cleaning method for multi-source data access, characterized in that: include: S10, preliminary clustering processing of power data, the power data includes annual, monthly and daily power production data and power consumption data, the K-means algorithm is used to read the collected data, the collected data is classified according to the attribute value characteristics of the data, and the data clustering processing is completed. The processing complexity of the data classification is expressed as A(n), the collected data is expressed in the form of a string, and the data clustering calculation complexity is expressed as A(m·I), where m represents the number of data with different attributes, and I represents the number of data with the same attribute. In order to ensure the feasibility of data clustering, the constraints in the preliminary clustering processing are set as follows: ; In the formula, S represents the cluster core distance. By transforming this formula, we can obtain the constraints applicable to multi-source data clustering: ; The Jaccard similarity calculation formula is used to control the calculation accuracy of the cluster core distance and control the error value of the calculation result within 0.5% to ensure the effectiveness of subsequent calculations. Let G represent the number of times a data type appears, and H represent the weight of the occurrence of this data type. Then the frequency R of this type of data in the calculation is expressed as: ; Integrate the above formula into the data clustering module to complete the data clustering process; S20, power multi-source data cleaning, using clustered data as the data source for data cleaning, setting the processed data in database form, setting two groups of data in database Y, one of which is a data set that does not need to be cleaned, and the other is a data set that needs to be cleaned. The data that does not need to be cleaned is set as C, and the data contained in C is all composed of elements in database Y, f C (a) represents the number of times C appears in the database, Q C (a) is the similarity between the data to be cleaned and the data that does not need to be cleaned in the database, then: ; Set Q C (v) represents the similarity of subset V in the database, then: ; Assuming V1∈C, V2∈C, the relationship between data V2 and V1 is expressed as: ; The above formula can be used to process the data that needs to be split in the database, and existing data cleaning tools can be used to complete multi-source data cleaning work.

2. The method for data standardization and cleaning under multi-source data access according to claim 1, characterized in that: The data cleaning tool is at least one of IDCENTRIC, PUREINTEGRATE, TRILLIUM, DATACLEANSESER, and MATCHIT.

3. A data standardization and cleaning device under multi-source data access, used to run the data standardization and cleaning method under multi-source data access according to claim 1 or 2, characterized in that: The invention comprises a development board, a DC power supply, a voltage stabilizing circuit and a communication interface. The DC power supply supplies power to the development board through the voltage stabilizing circuit, and the DC power supply directly supplies power to the communication interface. The USB interface and the network port of the development board are connected with the communication interface. An ARM chip, a clock circuit, a reset circuit, a communication module and a timer are installed on the development board. The ARM chip is respectively connected with the clock circuit, the reset circuit, the communication module and the timer.

4. The data standardization and cleaning device under multi-source data access according to claim 3 is characterized in that: The model of the ARM chip is S3C2440.

Citation Information

Patent Citations

  • User preference based data cleaning method

    CN101706791A

  • Method for determining optimum cluster number

    CN103714154A

  • Data cleaning system and method for aiming at big data

    CN104317801A

  • Electromagnetic environment measurement data cleaning method

    CN106021452A

  • Cleaning method, device and system used for power sensing data

    CN107679089A