Data quality risk assessment method, system, equipment and medium

The graph convolution network and attention mechanism are combined with preset scoring rules and long short-term memory network for data quality assessment, which solves the problem of inefficiency of traditional methods, realizes real-time assessment and early warning of data quality in smart parks, and improves data quality. and reliability.

CN118735367AInactive Publication Date: 2024-10-01GLORYVIEW TECH INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411231619.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional data quality management methods in smart campuses rely on manual inspection, are inefficient, highly subjective, cannot respond to data changes in real time, lack intelligent analysis, and are difficult to identify complex data quality issues.

Method used

It uses graph convolution network and attention mechanism combined with preset scoring rules to conduct data quality assessment, and uses long short-term memory network to conduct quality assessment in future time periods to provide real-time data quality risk warning.

Benefits of technology

It achieves accurate, real-time assessment and early warning of data quality in smart parks, improves data quality and reliability, and assists park management decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735367A_ABST
    Figure CN118735367A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of artificial intelligence and data governance, and discloses a data quality risk assessment method, system and device and a medium, comprising: preprocessing to-be-assessed data of a target smart park, and combining a preset scoring rule through a graph convolutional network and an attention mechanism to obtain a risk assessment result; obtaining a quality score of the preprocessed to-be-evaluated data and a real-time data quality risk; and according to the quality score of the preprocessed to-be-assessed data, through a long-short-term memory network, obtaining the quality score of the preprocessed to-be-assessed data in a preset future time period and a future data quality risk for data quality risk early warning of the target smart park. According to the invention, accurate quality score and quality risk assessment can be carried out on the preprocessed to-be-assessed data in real time, and when the quality risk of the to-be-assessed data is a high risk, an alarm can be given, so that the execution of risk response measures is facilitated, the efficient control of the data quality risk of the target smart park is realized, and the quality and reliability of the data are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence and data governance technology, and in particular to a data quality risk assessment method, system, device and medium. Background Art

[0002] With the advent of the big data era, data has become an important asset for enterprise and organizational management. Especially in the management of smart parks, the quality and reliability of data are even more important. Smart parks rely on a large number of sensors, smart devices and information systems to monitor, manage and optimize park resources. Data plays a core role in this process, supporting various aspects of the park's facility management, environmental control, security monitoring and service optimization.

[0003] However, current data quality management methods still face many challenges in smart parks. Traditional data quality management methods usually rely on manual inspection and experience judgment, which is not enough in the big data environment of smart parks. Due to the huge amount of data involved in smart parks, data quality management methods that rely on manual review are not only cumbersome and inefficient, but also difficult to respond quickly to data changes and problems. Furthermore, manual inspections usually rely on personal experience and judgment, and different personnel may have different understandings of data quality issues, resulting in inconsistent and unstable data quality management. In addition, the lag of traditional methods may cause data problems to be discovered late, affecting the operational decisions of the park. Moreover, traditional data quality management methods are often unable to perform intelligent data analysis and early warning, and it is difficult to identify complex data quality issues, such as abnormal patterns and trend changes in data, which limits the foresight and prevention of potential problems.

[0004] Therefore, there is an urgent need for a data quality risk assessment method to conduct real-time and accurate data quality risk assessment and early warning for smart parks. Summary of the invention

[0005] The present invention provides a data quality risk assessment method, system, device and medium to solve the defects of traditional data quality management methods that rely on manual inspection and experience judgment, such as low efficiency, strong subjectivity, insufficient real-time performance and lack of intelligent analysis.

[0006] The present invention provides a data quality risk assessment method, comprising: Obtain the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; Preprocessing the data to be evaluated of the target smart park to obtain preprocessed data to be evaluated; According to the preprocessed data to be evaluated, the quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained through the graph convolutional network and attention mechanism combined with the preset scoring rules; According to the quality score of the preprocessed data to be evaluated, the quality score of the preprocessed data to be evaluated in the preset future time period and the future data quality risk are obtained through the long short-term memory network, which is used for data quality risk warning of the target smart park.

[0007] According to a data quality risk assessment method provided by the present invention, heterogeneous data includes any one of the following or any combination thereof: equipment data, personnel data, environmental data, safety data, energy consumption data, and IT system data; historical data includes any one of the following or any combination thereof: energy consumption record data, equipment operation record data, safety event record data, environmental monitoring record data, and personnel activity record data; cross-border data includes any one of the following or any combination thereof: traffic data, commercial data, public service data, and policy and regulatory data; third-party data includes any one of the following or any combination thereof: market data, public data, social media data, and economic data.

[0008] According to a data quality risk assessment method provided by the present invention, the preprocessing of the data to be assessed of the target smart park to obtain the preprocessed data to be assessed includes: Perform data cleaning on the data to be evaluated of the target smart park to obtain the cleaned data to be evaluated; The data to be evaluated after data cleaning is optimized to obtain the preprocessed data to be evaluated.

[0009] According to a data quality risk assessment method provided by the present invention, the data to be assessed of the target smart park is cleansed to obtain the cleaned data to be assessed, including: According to the data to be evaluated of the target smart park, statistics are obtained on the number of non-repeated values ​​in the fields of the data to be evaluated, the number of all values, the frequency and proportion of value occurrence, the number and proportion of empty values, the number and proportion of Nulls, the maximum and minimum values ​​of values, the number of data patterns of values, the frequency and proportion of data patterns of values, the standard deviation when the value is a numeric type, the percentile analysis when the value is a numeric type, and the summed average when the value is a numeric type. Data cleaning is then performed using preset cleaning rules to obtain the cleaned data to be evaluated.

[0010] According to a data quality risk assessment method provided by the present invention, the data to be assessed after data cleaning is optimized to obtain pre-processed data to be assessed, including: Performing data stratification on the data to be evaluated after data cleaning to obtain the data to be evaluated after data stratification; Using the layered scanning detection method to detect abnormal data on the data to be evaluated after data stratification, the abnormal data in the data to be evaluated is obtained; The preset data processing mechanism is used to process abnormal data in the data to be evaluated to obtain preprocessed data to be evaluated.

[0011] According to a data quality risk assessment method provided by the present invention, the preset scoring rules include any one of the following or any combination thereof: attribute business rules, entity business rules, and enterprise-specific business rules, wherein the data evaluation indicators of the attribute business rules include: first consistency, first accuracy, and completeness; the data evaluation indicators of the entity business rules include: uniqueness, relevance, and validity; the data evaluation indicators of the enterprise-specific business rules include: second consistency, second accuracy, and reliability; and each rule in the preset scoring rules is preset with a rule weight, and the data evaluation indicators of each rule in the preset scoring rules are preset with an indicator weight.

[0012] According to a data quality risk assessment method provided by the present invention, the expression of the preset scoring rule is: , In the expression of the preset scoring rule, Indicates The quality score of the preprocessed data to be evaluated, , , Respectively represent the rule weights of attribute business rules, entity business rules, and enterprise-specific business rules, , , Respectively represent The scores of the pre-processed data to be evaluated under the data evaluation indicators of the attribute business rules, namely, first consistency, first accuracy, and completeness. , , Respectively represent The scores of the pre-processed data to be evaluated based on the uniqueness, relevance, and effectiveness of the data evaluation indicators of the entity business rules. , , Respectively represent The scores of the pre-processed data to be evaluated under the data evaluation indicators of the enterprise-specific business rules, namely, consistency, accuracy, and reliability. , , Respectively represent the data evaluation index weight of each rule in the preset scoring rules, Respectively represent The original score of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules.

[0013] According to a data quality risk assessment method provided by the present invention, a graph convolutional network includes multiple nodes, which are used to respectively evaluate the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules. The quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained by using the graph convolutional network and the attention mechanism in combination with the preset scoring rules according to the preprocessed data to be evaluated, including: According to the preprocessed data to be evaluated, combined with the preset scoring rules, through multiple nodes of the graph convolutional network, the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules are obtained, wherein the indicator weight of the data evaluation indicator of each rule in the preset scoring rules is the weight of each node in the multiple nodes of the graph convolutional network; According to the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules, the quality score of the preprocessed data to be evaluated is obtained by using the attention mechanism; The quality score of the preprocessed data to be evaluated is compared with the first preset risk threshold to obtain the risk attribute of the real-time data quality risk of the preprocessed data to be evaluated, wherein the risk attribute includes high risk and low risk.

[0014] According to a data quality risk assessment method provided by the present invention, the quality score of the preprocessed data to be assessed and the future data quality risk of the preprocessed data to be assessed in a preset future time period are obtained through a long short-term memory network according to the quality score of the preprocessed data to be assessed, which is used for data quality risk warning of a target smart park, including: Obtain the quality score of the preprocessed data to be evaluated in a preset historical time period, and obtain the quality score of the preprocessed data to be evaluated in a preset future time period through the long short-term memory network; The quality score of the preprocessed data to be evaluated in the preset future time period is compared with the second preset risk threshold to obtain the risk attribute of the future data quality risk of the preprocessed data to be evaluated in the preset future time period.

[0015] The present invention also provides a data quality risk assessment system, comprising: A data acquisition module is used to: acquire the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; The preprocessing module is used to: preprocess the data to be evaluated of the target smart park to obtain the preprocessed data to be evaluated; The scoring module is used to obtain the quality score and real-time data quality risk of the preprocessed data to be evaluated through the graph convolutional network and attention mechanism combined with preset scoring rules according to the preprocessed data to be evaluated; The early warning module is used to: obtain the quality score of the preprocessed data to be evaluated in a preset future time period and the future data quality risk through the long short-term memory network according to the quality score of the preprocessed data to be evaluated, which is used for data quality risk early warning of the target smart park.

[0016] The present invention also provides an electronic device, comprising a processor and a memory storing a computer program, wherein the processor implements any of the above-mentioned data quality risk assessment methods when executing the computer program.

[0017] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements any of the above-mentioned data quality risk assessment methods.

[0018] The present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute any of the data quality risk assessment methods described above.

[0019] The present invention provides a data quality risk assessment method, system, device and medium, which use a graph convolutional network and an attention mechanism, combined with standardized preset scoring rules, to accurately evaluate the quality score and quality risk of the pre-processed data to be evaluated in real time, and then use a long short-term memory network to evaluate the quality score and quality risk of the pre-processed data to be evaluated in a preset future time period. When the quality risk of the data to be evaluated is high, an alarm can be issued to facilitate the implementation of risk response measures, thereby achieving efficient control of data quality risks in the target smart park, effectively improving the quality and reliability of the data, and facilitating the management of the target smart park. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 This is one of the flow charts of a data quality risk assessment method provided by the present invention.

[0022] Figure 2The second flowchart of a data quality risk assessment method provided by the present invention.

[0023] Figure 3 An example diagram showing a data quality scoring KPI with preset scoring rules.

[0024] Figure 4 A structural schematic diagram of a data quality risk assessment system provided by the present invention.

[0025] Figure 5 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments, and they should not be understood as limitations on the present invention. 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. In the description of the present invention, it should be understood that the terms used are only for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0027] Combine the following Figure 1-Figure 5 The data quality risk assessment method, system, device and medium provided by the present invention are described. It should be noted that the execution subject of the data quality risk assessment method provided by the present invention can be any network side device / terminal side device that meets the technical requirements, such as a data quality risk assessment device.

[0028] Figure 1-Figure 2 Schematic diagram of the data quality risk assessment method provided by the present invention. Figure 1 , a data quality risk assessment method provided by the present invention may include: Step S110: Obtain the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following items or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data.

[0029] In this embodiment, heterogeneous data includes: equipment data, personnel data, environmental data, security data, energy consumption data, and IT system data; historical data includes: energy consumption record data, equipment operation record data, security incident record data, environmental monitoring record data, and personnel activity record data; cross-border data includes: traffic data, commercial data, public service data, and policy and regulatory data; third-party data includes: market data, public data, social media data, and economic data.

[0030] Step S120: pre-process the data to be evaluated of the target smart park to obtain pre-processed data to be evaluated.

[0031] In this embodiment, preprocessing includes data cleaning and data optimization. Among them, step S120 can obtain the number of non-repeated values ​​in the field of the data to be evaluated, the number of all values, the frequency and proportion of value occurrence, the number and proportion of empty values, the number and proportion of Null, the maximum and minimum values ​​of the value, the number of data patterns of the value, the frequency and proportion of the data pattern of the value, the standard deviation when the value is a numeric type, the percentile analysis when the value is a numeric type, and the summed average when the value is a numeric type (statistics can be implemented by existing C language functions), and use preset cleaning rules (for example, according to the statistically obtained data, delete, fill, correct, isolate, etc., the data to be evaluated) to perform data cleaning to obtain the cleaned data to be evaluated. Furthermore, step S120 can also perform data stratification on the data to be evaluated after data cleaning (for example, the original layer, the cleaning layer, the summary layer, etc. can be obtained according to the data hierarchy, and the data of each layer has its specific purpose and processing rules), and then use the layered scanning detection method to detect abnormal data on the data to be evaluated after data stratification. For example, statistical methods (such as Z-score, IQR) can be applied to identify data points that deviate from the normal distribution, or machine learning techniques (such as clustering, anomaly detection models) can be used to identify abnormal data, and then the abnormal data in the data to be evaluated is processed using a preset data processing mechanism to obtain the pre-processed data to be evaluated, wherein the preset data processing mechanism includes metadata management, data quality rules, and automated scripts. Metadata management is to maintain a metadata warehouse, record detailed information of each table and field, including data types, constraints, indexes, etc., and then use metadata to assist in quickly locating and processing problems. Data quality rules are to define data quality rules, such as uniqueness, integrity, validity, etc., and then automatically check whether the data complies with these rules. Automated scripts are to write scripts to automatically perform data cleaning tasks, such as filling missing values, correcting format errors, etc.

[0032] Step S130: According to the preprocessed data to be evaluated, the quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained through the graph convolutional network and the attention mechanism in combination with the preset scoring rules.

[0033] Understanding data includes understanding its business information and design information. There are many dimensions to consider. This link is very important but often overlooked. Usually, companies need to analyze data in combination with business rules. If they have a very complete data quality indicator system and evaluation system, it will help to obtain a very clear 360-degree data portrait, which is crucial to understanding data.

[0034] Therefore, this embodiment implements data quality scoring by combining preset scoring rules of multiple business rules. The preset scoring rules include: attribute business rules (ABR), entity business rules (EBR), and enterprise-specific business rules (SBR). Among them, the data evaluation indicators of attribute business rules include: first consistency, first accuracy, and completeness; the data evaluation indicators of entity business rules include: uniqueness, relevance, and validity; the data evaluation indicators of enterprise-specific business rules include: second consistency, second accuracy, and first reliability, and each rule in the preset scoring rules is preset with a rule weight.

[0035] In attribute business rules, first consistency means: checking whether there are repeated values ​​in the data, for example, whether the same customer's name has multiple different spellings in the database; first accuracy means: verifying whether the data is authentic and reliable, for example, whether the age is reasonable and the gender is correct; completeness means: checking whether the data lacks necessary information, for example, whether the contact information is complete. In entity business rules, relevance means: checking whether there is a correlation between data, for example, whether the age and gender match; validity means: verifying the validity of the data, for example, whether the contact information can contact the customer; uniqueness means: checking whether the data is easy to understand and use, for example, whether the name is standardized. In enterprise-specific business rules, second consistency means: checking whether the data meets the enterprise's special requirements, for example, whether the customer number is continuous; second accuracy means: verifying whether the data meets the enterprise's accuracy requirements, for example, whether the age is accurate to the year; first reliability means: checking whether the data is stable, for example, whether the contact information changes frequently; timeliness means: evaluating the timeliness of the data, for example, the time of the last update. And so on.

[0036] For each data evaluation indicator of each business rule, the original score is given according to the evaluation result, and then multiplied by the corresponding indicator weight to obtain the score of the data evaluation indicator. Then, the scores of each data evaluation indicator of a business rule are summed up, that is, ( Represents the raw score of a business rule. Indicates The indicator weight of each data evaluation indicator, Indicates that the data to be evaluated is The raw scores of the data evaluation indicators, Represents the number of data evaluation indicators for this business rule, where: and is the normalized index, which ranges from [0, 1]), to obtain the score of the business rule, and then multiply the score of the business rule by the rule weight, and then sum all the business rules to obtain the quality score of the data to be evaluated. For example, if a data evaluation indicator is fully met, the score is full; if it is partially met, the corresponding score is given according to the degree of satisfaction; if it is not met, it will be zero.

[0037] Thus, the expression of the preset scoring rule is: , In the expression of the preset scoring rule, Indicates The quality score of the preprocessed data to be evaluated, , , Respectively represent the rule weights of attribute business rules, entity business rules, and enterprise-specific business rules, , , Respectively represent The scores of the pre-processed data to be evaluated under the data evaluation indicators of the attribute business rules, namely, first consistency, first accuracy, and completeness. , , Respectively represent The scores of the pre-processed data to be evaluated based on the uniqueness, relevance, and effectiveness of the data evaluation indicators of the entity business rules. , , Respectively represent The scores of the pre-processed data to be evaluated under the data evaluation indicators of the second consistency, second accuracy, and first reliability of the enterprise-specific business rules are , , Respectively represent the data evaluation index weight of each rule in the preset scoring rules, Respectively represent The original score of each data evaluation indicator of each rule in the preset scoring rules for each preprocessed data to be evaluated. Rule weights and indicator weights can be set according to actual needs. For example, business experts can be invited to score the importance of each data evaluation indicator in each business rule, and then the scores can be converted into indicator weights. The rule weights can be calculated by the weighted average method of the indicator weights, as shown below: , , , where n, m, and l represent the number of data evaluation indicators in “ABR”, “EBR”, and “SBR”, respectively; , , They represent the indicator weights of the i-th, j-th, and l-th data evaluation indicators in the attribute business rules (ABR), entity business rules (EBR), and enterprise-specific business rules (SBR), respectively.

[0038] In addition, the preset scoring rules may also include other business rules, and the data evaluation indicators of other business rules may include second reliability and timeliness. Figure 3 At this time, the expression of the preset scoring rule can be: , Similarly, in the formula, Indicates the rule weights of other business rules, and Indicates The scores of the pre-processed data to be evaluated under the data evaluation indicators of other business rules, reliability and timeliness, and Indicates the indicator weight of the second reliability and timeliness of the data evaluation indicators of other business rules, and Indicates The original score of the preprocessed data to be evaluated under the data evaluation indicators of other business rules, namely reliability and timeliness.

[0039] In this embodiment, the graph convolution network includes multiple nodes, and the edges connect nodes with similar properties to represent the dependency relationship between them. The multiple nodes are used to respectively evaluate the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules, that is, the nodes represent different attributes of the data (such as consistency, accuracy, completeness, etc.). Step S130 may include: According to the preprocessed data to be evaluated, combined with the preset scoring rules, through multiple nodes of the graph convolutional network, the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules are obtained, wherein the indicator weight of the data evaluation indicator of each rule in the preset scoring rules is the weight of each node in the multiple nodes of the graph convolutional network; According to the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules, the quality score of the preprocessed data to be evaluated is obtained by using the attention mechanism; The quality score of the preprocessed data to be evaluated is compared with the first preset risk threshold to obtain the risk attribute of the real-time data quality risk of the preprocessed data to be evaluated, wherein the risk attribute includes high risk and low risk.

[0040] After creating the graph convolution network, this embodiment first assigns an initial feature vector to each node to represent the performance of the current data instance on the attribute. In GCN, the graph convolution operation aggregates the information of the node and its neighbors, updates the node's feature vector, and calculates a new version of its feature vector for each node, taking into account the influence of neighboring nodes. The graph convolution operation is repeated until the predetermined number of layers is reached or convergence is reached. For each node, a score is calculated based on its final feature vector to represent the risk level of the attribute. The attention mechanism is then used to determine the importance of each node, that is, to assign a weight to each node. The attention mechanism takes into account the interaction between nodes to more accurately identify data quality risks, and then multiplies the score of each node by its weight, and then sums them up to get the total score of each data instance.

[0041] The first preset risk threshold can use an online learning algorithm (such as gradient descent with adaptive learning rate) to regularly update model parameters to adapt to changes in data distribution.

[0042] Step S140: According to the quality score of the preprocessed data to be evaluated, the quality score of the preprocessed data to be evaluated in a preset future time period and the future data quality risk are obtained through the long short-term memory network, which is used for data quality risk warning of the target smart park.

[0043] This embodiment uses a long short-term memory network (LSTM) to capture historical trends and dynamic changes, and further optimize the data quality control effect. In this embodiment, step S140 may include: Obtain the quality score of the preprocessed data to be evaluated in a preset historical time period, and obtain the quality score of the preprocessed data to be evaluated in a preset future time period through the long short-term memory network; The quality score of the preprocessed data to be evaluated in the preset future time period is compared with the second preset risk threshold to obtain the risk attribute of the future data quality risk of the preprocessed data to be evaluated in the preset future time period.

[0044] This embodiment regards the graph convolutional network, attention mechanism and long short-term memory network as a data quality risk assessment model. The supervised learning method can be used to train the entire model with known data quality risk labels and sample data to be evaluated, and the parameters are continuously optimized to make the predicted results as close as possible to the actual quality risk.

[0045] The present invention provides a data quality risk assessment method, system, device and medium, which use a graph convolutional network and an attention mechanism, combined with standardized preset scoring rules, to accurately evaluate the quality score and quality risk of the pre-processed data to be evaluated in real time, and then use a long short-term memory network to evaluate the quality score and quality risk of the pre-processed data to be evaluated in a preset future time period. When the quality risk of the data to be evaluated is high, an alarm can be issued to facilitate the implementation of risk response measures, thereby achieving efficient control of data quality risks in the target smart park, effectively improving the quality and reliability of the data, and facilitating the management of the target smart park.

[0046] The data quality risk assessment system provided by the present invention is described below. The data quality risk assessment system described below and the data quality risk assessment method described above can be referenced to each other.

[0047] Reference Figure 4 , a data quality risk assessment system provided by the present invention may include: A data acquisition module is used to: acquire the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; The preprocessing module is used to: preprocess the data to be evaluated of the target smart park to obtain the preprocessed data to be evaluated; The scoring module is used to obtain the quality score and real-time data quality risk of the preprocessed data to be evaluated through the graph convolutional network and attention mechanism combined with preset scoring rules according to the preprocessed data to be evaluated; The early warning module is used to: obtain the quality score of the preprocessed data to be evaluated in a preset future time period and the future data quality risk through the long short-term memory network according to the quality score of the preprocessed data to be evaluated, which is used for data quality risk early warning of the target smart park.

[0048] In one embodiment, the pre-processing module may include: The first preprocessing submodule is used to: clean the data to be evaluated of the target smart park to obtain the cleaned data to be evaluated; The second preprocessing submodule is used to optimize the data to be evaluated after data cleaning to obtain the preprocessed data to be evaluated.

[0049] In one implementation scheme, the first preprocessing submodule is specifically used to: based on the data to be evaluated of the target smart park, obtain statistics on the number of non-repeated values ​​in the field of the data to be evaluated, the number of all values, the frequency and proportion of value occurrence, the number and proportion of empty values, the number and proportion of Nulls, the maximum and minimum values ​​of the values, the number of data patterns of the values, the frequency and proportion of occurrence of data patterns of the values, the standard deviation when the value is a numeric type, the percentile analysis when the value is a numeric type, and the summed average when the value is a numeric type, and use preset cleaning rules to clean the data to obtain the data to be evaluated after data cleaning.

[0050] In one embodiment, the second pre-processing submodule may include: The stratification submodule is used to: stratify the data to be evaluated after data cleaning to obtain the data to be evaluated after data stratification; The anomaly detection submodule is used to: perform anomaly detection on the data to be evaluated after data stratification using a stratified scanning detection method to obtain the anomaly data in the data to be evaluated; The exception processing submodule is used to: use a preset data processing mechanism to process the abnormal data in the data to be evaluated, and obtain the pre-processed data to be evaluated.

[0051] In one embodiment, the scoring module may include: The calculation submodule is used to: obtain the score of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules according to the preprocessed data to be evaluated and in combination with the preset scoring rules through multiple nodes of the graph convolutional network, wherein the indicator weight of the data evaluation indicator of each rule in the preset scoring rules is the weight of each node in the multiple nodes of the graph convolutional network; The fusion submodule is used to: obtain the quality score of the preprocessed data to be evaluated by using the attention mechanism according to the score of each data evaluation indicator of each rule in the preset scoring rules; The comparison submodule is used to compare the quality score of the preprocessed data to be evaluated with the first preset risk threshold to obtain the risk attribute of the real-time data quality risk of the preprocessed data to be evaluated, wherein the risk attribute includes high risk and low risk.

[0052] In one embodiment, the early warning module may include: The prediction submodule is used to: obtain the quality score of the preprocessed data to be evaluated in a preset historical time period, and obtain the quality score of the preprocessed data to be evaluated in a preset future time period through a long short-term memory network; The early warning submodule is used to compare the quality score of the preprocessed data to be evaluated in a preset future time period with a second preset risk threshold to obtain the risk attribute of the future data quality risk of the preprocessed data to be evaluated in the preset future time period.

[0053] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the data quality risk assessment method, which includes: Obtain the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; Preprocessing the data to be evaluated of the target smart park to obtain preprocessed data to be evaluated; According to the preprocessed data to be evaluated, the quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained through the graph convolutional network and attention mechanism combined with the preset scoring rules; According to the quality score of the preprocessed data to be evaluated, the quality score of the preprocessed data to be evaluated in the preset future time period and the future data quality risk are obtained through the long short-term memory network, which is used for data quality risk warning of the target smart park.

[0054] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0055] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the data quality risk assessment method provided by the above methods, the method includes: Obtain the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; Preprocessing the data to be evaluated of the target smart park to obtain preprocessed data to be evaluated; According to the preprocessed data to be evaluated, the quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained through the graph convolutional network and attention mechanism combined with the preset scoring rules; According to the quality score of the preprocessed data to be evaluated, the quality score of the preprocessed data to be evaluated in the preset future time period and the future data quality risk are obtained through the long short-term memory network, which is used for data quality risk warning of the target smart park.

[0056] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the data quality risk assessment method provided by the above methods, the method comprising: Obtain the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; Preprocessing the data to be evaluated of the target smart park to obtain preprocessed data to be evaluated; According to the preprocessed data to be evaluated, the quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained through the graph convolutional network and attention mechanism combined with the preset scoring rules; According to the quality score of the preprocessed data to be evaluated, the quality score of the preprocessed data to be evaluated in the preset future time period and the future data quality risk are obtained through the long short-term memory network, which is used for data quality risk warning of the target smart park.

[0057] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0058] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 invention.

Claims

1. A data quality risk assessment method, characterized in that: include: Obtain the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; Preprocessing the data to be evaluated of the target smart park to obtain preprocessed data to be evaluated; According to the preprocessed data to be evaluated, the quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained through the graph convolutional network and attention mechanism combined with the preset scoring rules; According to the quality score of the preprocessed data to be evaluated, the quality score of the preprocessed data to be evaluated in the preset future time period and the future data quality risk are obtained through the long short-term memory network, which is used for data quality risk warning of the target smart park.

2. The data quality risk assessment method according to claim 1, characterized in that: Heterogeneous data includes any one of the following or any combination thereof: equipment data, personnel data, environmental data, security data, energy consumption data, and IT system data; historical data includes any one of the following or any combination thereof: energy consumption record data, equipment operation record data, security incident record data, environmental monitoring record data, and personnel activity record data; cross-border data includes any one of the following or any combination thereof: traffic data, commercial data, public service data, and policy and regulatory data; third-party data includes any one of the following or any combination thereof: market data, public data, social media data, and economic data.

3. The data quality risk assessment method according to claim 1, characterized in that: The preprocessing of the data to be evaluated of the target smart park to obtain the preprocessed data to be evaluated includes: Perform data cleaning on the data to be evaluated of the target smart park to obtain the cleaned data to be evaluated; Perform data optimization on the data to be evaluated after data cleaning to obtain the pre-processed data to be evaluated; The step of performing data cleaning on the data to be evaluated of the target smart park to obtain the cleaned data to be evaluated includes: According to the data to be evaluated of the target smart park, the number of non-repeated values ​​in the field of the data to be evaluated, the number of all values, the frequency and proportion of value occurrence, the number and proportion of empty values, the number and proportion of Null, the maximum and minimum values ​​of the value, the number of data patterns of the value, the frequency and proportion of the data patterns of the value, the standard deviation when the value is a numeric type, the percentile analysis when the value is a numeric type, and the summed average when the value is a numeric type are obtained by statistics, and the preset cleaning rules are used to clean the data to obtain the data to be evaluated after data cleaning; The step of optimizing the data to be evaluated after data cleaning to obtain the preprocessed data to be evaluated includes: Performing data stratification on the data to be evaluated after data cleaning to obtain the data to be evaluated after data stratification; Using the layered scanning detection method to detect abnormal data on the data to be evaluated after data stratification, the abnormal data in the data to be evaluated is obtained; The preset data processing mechanism is used to process abnormal data in the data to be evaluated to obtain preprocessed data to be evaluated.

4. The data quality risk assessment method according to claim 3, characterized in that: The preset scoring rules include any one of the following or any combination thereof: attribute business rules, entity business rules, and enterprise-specific business rules, wherein the data evaluation indicators of the attribute business rules include: first consistency, first accuracy, and completeness; the data evaluation indicators of the entity business rules include: uniqueness, relevance, and validity; the data evaluation indicators of the enterprise-specific business rules include: second consistency, second accuracy, and reliability; and each rule in the preset scoring rules is preset with a rule weight, and the data evaluation indicators of each rule in the preset scoring rules are preset with an indicator weight.

5. The data quality risk assessment method according to claim 4, characterized in that: The expression of the preset scoring rule is: , In the expression of the preset scoring rule, Indicates The quality score of the preprocessed data to be evaluated, , , Respectively represent the rule weights of attribute business rules, entity business rules, and enterprise-specific business rules, , , Respectively represent The scores of the pre-processed data to be evaluated under the data evaluation indicators of the attribute business rules, namely, first consistency, first accuracy, and completeness. , , Respectively represent The scores of the pre-processed data to be evaluated based on the uniqueness, relevance, and effectiveness of the data evaluation indicators of the entity business rules. , , Respectively represent The scores of the pre-processed data to be evaluated under the data evaluation indicators of the enterprise-specific business rules, namely, consistency, accuracy, and reliability. , , Respectively represent the data evaluation index weight of each rule in the preset scoring rules, Respectively represent The original score of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules.

6. The data quality risk assessment method according to claim 5, characterized in that: The graph convolution network includes multiple nodes, which are used to respectively evaluate the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules. The quality score and real-time data quality risk of the preprocessed data to be evaluated are obtained by using the graph convolution network and the attention mechanism in combination with the preset scoring rules according to the preprocessed data to be evaluated, including: According to the preprocessed data to be evaluated, combined with the preset scoring rules, through multiple nodes of the graph convolutional network, the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules are obtained, wherein the indicator weight of the data evaluation indicator of each rule in the preset scoring rules is the weight of each node in the multiple nodes of the graph convolutional network; According to the scores of the preprocessed data to be evaluated under each data evaluation indicator of each rule in the preset scoring rules, the quality score of the preprocessed data to be evaluated is obtained by using the attention mechanism; The quality score of the preprocessed data to be evaluated is compared with the first preset risk threshold to obtain the risk attribute of the real-time data quality risk of the preprocessed data to be evaluated, wherein the risk attribute includes high risk and low risk.

7. The data quality risk assessment method according to claim 6, characterized in that: According to the quality score of the preprocessed data to be evaluated, the quality score of the preprocessed data to be evaluated in a preset future time period and the future data quality risk are obtained through the long short-term memory network, which is used for data quality risk warning of the target smart park, including: Obtain the quality score of the preprocessed data to be evaluated in a preset historical time period, and obtain the quality score of the preprocessed data to be evaluated in a preset future time period through the long short-term memory network; The quality score of the preprocessed data to be evaluated in the preset future time period is compared with the second preset risk threshold to obtain the risk attribute of the future data quality risk of the preprocessed data to be evaluated in the preset future time period.

8. A data quality risk assessment system, characterized in that: include: A data acquisition module is used to: acquire the data to be evaluated of the target smart park, wherein the data to be evaluated includes any one of the following or any combination thereof: heterogeneous data, historical data, cross-border data, and third-party data; The preprocessing module is used to: preprocess the data to be evaluated of the target smart park to obtain the preprocessed data to be evaluated; The scoring module is used to obtain the quality score and real-time data quality risk of the preprocessed data to be evaluated through the graph convolutional network and attention mechanism combined with preset scoring rules according to the preprocessed data to be evaluated; The early warning module is used to: obtain the quality score of the preprocessed data to be evaluated in a preset future time period and the future data quality risk through the long short-term memory network according to the quality score of the preprocessed data to be evaluated, which is used for data quality risk early warning of the target smart park.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the data quality risk assessment method according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data quality risk assessment method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Smart power grid data quality analysis method, device and equipment and storage medium

    CN117150375A

  • Information data management method and system based on big data

    CN117785858A

  • Financial database SQL quality scoring method, system and device based on deep learning and storable medium

    CN117827882A

  • System and method for machine learning-based real-time electronic data quality checks in online machine learning and ai systems

    US20200374305A1