Water conservancy project quality inspection data visualization display system and method
By preprocessing and optimizing water conservancy project quality inspection data, screening key parameters and inspection points, and using knowledge graphs to recommend display solutions, the problem of low display efficiency caused by uneven data distribution is solved and efficient and continuous data display effects are achieved.
Patent Information
- Application Number
- CN202411068694.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-06
AI Technical Summary
In the visual display of water conservancy project quality inspection data, multiple data sources and uneven distribution lead to excessive data, difficulty in highlighting key parameters and internal relationships, and low display efficiency.
By constructing data columns and preprocessing, filtering outliers, calculating the reliability and trend coefficients of detection points, using knowledge graphs to recommend visualization solutions, optimizing the data display sequence and tools, and highlighting key parameters and internal connections.
It improves data quality and display efficiency, ensures the continuity and predictability of display effects, reduces the amount of data, improves representativeness and work efficiency, and enhances data understandability.
Smart Images

Figure CN118585576B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data visualization, and in particular to a system and method for visualizing and displaying water conservancy project quality inspection data. Background Art
[0002] Water conservancy engineering is a complex project involving many aspects. Its main purpose is to control and allocate natural surface water and groundwater to prevent floods and meet the needs of human life and production for water resources. As a sub-discipline of civil engineering, it mainly studies the flow and transportation of fluids, especially the treatment of water and sewage. The specific classification of water conservancy projects includes: urban water supply projects, water conservancy and fishery projects, and hydropower generation projects. Water conservancy projects also include agricultural irrigation, industrial water use, environmental water conservancy, and fishery water conservancy. In order to ensure the safety of water conservancy projects, it is necessary to regularly test the quality of water conservancy projects to obtain several sets of quality inspection data.
[0003] In the Chinese invention patent application publication number CN113836294A, the present invention provides a data visualization display system and method, including: data storage module, template storage module, data analysis and comparison module, chart generation module, and visualization display module. The invention can scan and input data or store it manually, update and classify the templates online, and automatically search for the appropriate template after selecting the data group to be displayed, complete the combination of the data group and the template, and display it to the public or staff, which greatly saves the time of data sorting and production.
[0004] In combination with the above application and the prior art, when visualizing the quality data of water conservancy projects, when multiple data sources are outputting quality inspection data, if the quantity of the output data is highly uniform and the amount of data at each collection point is relatively consistent, then when visualizing the quality data, synchronization can be maintained before and after, and there will be no display gaps, resulting in better visualization effects. However, if there are too many data sources, the amount of output data is large and unevenly distributed, this may result in too much quality data needing to be displayed, and the data to be displayed will be too bloated, making it difficult to highlight the key parameters, and due to the asynchrony of the various parameters, it will be difficult to display the specific internal connections, and therefore, when selecting a visualization tool, the selected visualization tool may not be able to achieve the desired display effect, and the display efficiency will also be low.
[0005] To this end, the present invention provides a water conservancy project quality inspection data visualization display system and method. Summary of the invention
[0006] 1. Technical issues to be resolved
[0007] In view of the deficiencies of the prior art, the present invention provides a water conservancy project quality inspection data visualization display system and method, by constructing corresponding data columns and performing preliminary preprocessing, if the quality coefficient of the preprocessed data column is lower than expected, it is optimized and the optimized data column is obtained; the reliability of the inspection point is calculated based on the centrality of each inspection point in the collection area, and the target inspection point is screened out from a number of inspection points through cluster analysis; the key parameters are distinguished, and the trend coefficient is constructed according to the optimized data column corresponding to the key parameters, and each key parameter is sorted according to the trend coefficient; the scheme recommendation knowledge map gives the corresponding visualization display scheme, and the key parameters are visualized in turn according to the display order. The intrinsic connection between various data quality parameters is displayed, and the comprehensibility of quality data changes is improved, thereby solving the technical problems raised in the background technology.
[0008] (II) Technical solution
[0009] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0010] The method for visualizing the quality inspection data of a water conservancy project includes receiving quality inspection data at each inspection point in a collection area, constructing a quality inspection data set of the water conservancy project, and constructing a data reception uniformity according to the data reception status. , and then construct the distribution uniformity between each detection point in the collection area , if the distribution uniformity If it exceeds expectations, a warning instruction will be issued;
[0011] The quality inspection data is classified according to the data category, the corresponding data column is constructed and preprocessed. If the quality coefficient of the preprocessed data column If the quality coefficient is lower than expected, the outliers are gradually filtered and replaced from the preprocessed data column until the quality coefficient is Exceeding expectations, obtaining optimized data columns after optimization; among them, the quality coefficient The method of obtaining is as follows: Get the dispersion coefficient from the data analysis results and the skewness coefficient ; Perform linear normalization on both and map the corresponding data values to the interval Then according to the following formula: Weight coefficient: , ,and ;
[0012] The quality coefficient of the optimized data series Calculate the quality stability of the optimized data series , and combined with the centrality of each detection point in the collection area The reliability of the detection point is calculated based on , and select the target detection point from several detection points through cluster analysis;
[0013] Perform principal component analysis on the quality inspection data output by the target collection point to distinguish the key parameters; construct trend coefficients based on the optimized data columns corresponding to the key parameters , according to the trend coefficient Sort each key parameter and obtain the display order;
[0014] According to the data characteristics of the quality inspection data corresponding to the key parameters, the solution recommendation knowledge graph gives the corresponding visualization display solution, and selects the target solution according to the display degree of each display solution. The target solution and the corresponding visualization tools are used to visualize the key parameters in the display order.
[0015] Furthermore, the area where the water conservancy project is located is marked as the collection area, an electronic map covering the collection area is established, and detection points are marked on the electronic map according to the data collection target; a number of equally spaced receiving nodes are set during the collection period, and each receiving node is numbered; the quality data of the water conservancy project is detected at the detection point, the quality detection data is received at each receiving node, the received quality detection data is summarized, and a quality detection data set for the water conservancy project is constructed.
[0016] Furthermore, the reception uniformity is constructed based on the data reception status in the quality detection data set. , after obtaining the reception uniformity of each detection point in the current collection cycle Finally, construct the distribution uniformity within the collection area: in, is the weight, , ,and , For the i The reception uniformity of each detection point is , n is the number of detection points, is the mean of the reception uniformity.
[0017] Furthermore, data is collected at the detection point, several data categories are classified and corresponding data columns are constructed, preliminary preprocessing and data analysis are performed on the data in the data column, and the quality coefficient of the data column is calculated based on the analysis results. , if the quality coefficient of the data series is If the value does not exceed the quality threshold, the corresponding data column is determined as a low-quality data column. An abnormal threshold is constructed, and the part of the preprocessed data column that is not within the abnormal threshold is regarded as an abnormal value. According to the abnormal degree of each abnormal value, a replacement value is generated in turn by interpolation to replace it.
[0018] Furthermore, the centrality of the detection point on the electronic map is calculated based on the position of the detection point in the collection area. After continuously acquiring the quality data of several receiving cycles at the detection point, the received detection data is preprocessed and optimized to obtain the corresponding optimized data column. The quality coefficient of the optimized data column is Calculate the data quality stability of the optimized data column : in, , is the number of quality coefficients, is the mean value of the quality coefficient, is the qualified standard value of the quality coefficient, For the i A quality factor.
[0019] Further, obtain the center of the detection point And quality stability After that, the reliability of the detection point is calculated as follows: And quality stability Perform linear normalization and map the corresponding data values to the interval Inside: in, is the number of detection points, , is the mean of the centrality, For the i The centrality of the detection points, For the i Quality stability, is the tolerable quality stability; weight coefficient: , ,and ;
[0020] Data reliability of the detection point Perform cluster analysis to obtain several detection point clusters, take the cluster with the largest number of detection points as the target cluster, take the detection points in the target cluster as the target detection points, and the rest as backup detection points.
[0021] Furthermore, the quality inspection data collected at the target collection point is called, and the corresponding data columns are obtained by classification processing. Each data column is labeled according to the data category, and the principal component analysis is performed on the collected quality inspection data. After the corresponding key parameters and non-key parameters are obtained, the key parameters are used as visual display parameters;
[0022] Make a line graph of the data values in the optimized data column corresponding to the key parameters, and obtain the slope between two adjacent points from the line graph , get the difference between two adjacent points , several consecutive slopes and Difference Summarize and build a sequence analysis collection.
[0023] Furthermore, the trend coefficient is constructed from the sequence analysis set , for the slope and Difference Perform linear normalization and map the corresponding data values to the interval Inside, the method is as follows: in, is the mean slope, is the mean of the differences, , is the number of slopes and differences, For the i Slope; For the i Differences; weight coefficient: , ,and .
[0024] Furthermore, feature recognition is performed on the quality inspection data corresponding to the key parameters to obtain the corresponding data features; data visualization is used as the target word, and after data retrieval and entity relationship building, a solution recommendation knowledge graph is built; based on the correspondence between data features and visualization solutions, the trained matching model enables the solution recommendation knowledge graph to give the corresponding visualization solution;
[0025] Furthermore, each visualization display scheme is tested, and the test data of each display scheme is obtained and a display data set is constructed. The display degree is constructed from the display data set in the following way: Information density , Accuracy and display speed After linear normalization, the corresponding data values are mapped to the interval According to the following formula: The meaning of the parameters is: information density factor, , accuracy factor, , speed factor, , is a constant correction factor to show the degree The largest display solution is the target solution, and the next largest solution is the backup solution;
[0026] The water conservancy project quality inspection data visualization display system includes:
[0027] The early warning unit receives quality inspection data at each inspection point in the collection area, constructs a quality inspection data set for the water conservancy project, and constructs the uniformity of data reception based on the data reception status, and then constructs the distribution uniformity between each inspection point in the collection area. If the distribution uniformity exceeds expectations, an early warning instruction is issued;
[0028] The optimization unit classifies the quality inspection data according to the data category, constructs the corresponding data column and performs preliminary preprocessing. If the quality coefficient of the preprocessed data column is lower than expected, the abnormal values are gradually screened and replaced from the preprocessed data column until the quality coefficient exceeds the expectation, thereby obtaining the optimized data column after optimization;
[0029] A screening unit calculates the quality stability of the optimized data sequence from the quality coefficient of the optimized data sequence, calculates the reliability of the detection point based on the center of each detection point in the acquisition area, and screens out the target detection point from a number of detection points through cluster analysis;
[0030] The analysis unit performs principal component analysis on the quality inspection data outputted by the target collection point to distinguish the key parameters therein; constructs trend coefficients according to the optimized data columns corresponding to the key parameters, and sorts the key parameters according to the trend coefficients to obtain a display order;
[0031] The matching unit enables the solution recommendation knowledge graph to give corresponding visualization solutions based on the data features of the quality inspection data corresponding to the key parameters, and selects the target solution based on the display degree of each display solution. The target solution and the corresponding visualization tools are used to visualize the key parameters in sequence according to the display order.
[0032] (III) Beneficial effects
[0033] The present invention provides a water conservancy project quality inspection data visualization display system and method, which has the following beneficial effects:
[0034] 1. Adjust the data quality of the data column until its data quality meets expectations. On the basis of preprocessing, optimize the data column so that the data quality of the data column meets the preset conditions and the errors before and after are relatively small, so that when it is used for visualization, the display effect can be maintained continuous and predictable.
[0035] 2. Based on quality stability Evaluate the degree of data quality fluctuation of the detection points, confirm the reliability of the detection points, and obtain the centrality of each detection point by calculation Calculations are performed to describe the degree of clustering of the detection point locations; the reliability of each detection point is calculated and used to evaluate the reliability of each detection point. Therefore, when visualizing the quality inspection data, in order to avoid displaying too much data, only the more critical parts can be selected to reduce the amount of data displayed, improve representativeness and work efficiency, and at the same time ensure the reliability of the displayed results.
[0036] 3. Receive the quality inspection data at the target collection point, and use the principal component analysis method to obtain key parameters and non-key parameters from several parameters, so as to further reduce the scope of data visualization display on the basis of obtaining key parameters, reduce the total amount of work, and improve data display efficiency. Through key parameters and non-key parameters, the independent variables and dependent variables in various quality data can be quickly determined, so that on the basis of regression analysis, the display effect and efficiency of key parameters can be higher, and the visualization display of data can be more readable.
[0037] 4. Obtain the trend coefficient of each key parameter by calculation When there are many key parameters and much content to be displayed, the order of display can be determined so that important key parameters with more obvious changes and greater impact can be displayed first or the display time can be extended.
[0038] 5. After giving multiple alternative visualization solutions through the solution recommendation knowledge graph, test each visualization solution and build a display degree based on the test data. , based on the display They can be screened and eventually the ones with better comprehensive performance and effects can be selected, thereby improving the display efficiency and effect when it is necessary to visualize the water conservancy project quality inspection data.
[0039] 6. After preprocessing and optimizing the quality inspection data and screening out the target inspection points and corresponding key parameters, the visualization solutions and tools are screened again. When the amount of quality inspection data is large and there are too many data sources, the display effect and efficiency of the quality inspection data can be improved, the internal connection between various data quality parameters can be displayed, and the comprehensibility of quality data changes can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a flow chart of the quality inspection data visualization display method of the present invention;
[0041] Figure 2This is a schematic diagram of the structure of the quality inspection data visualization display system of the present invention; DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] See also Figure 1 The present invention provides a method for visualizing and displaying water conservancy project quality inspection data, comprising:
[0044] Step 1: Receive quality inspection data at each inspection point in the collection area, build a quality inspection data set for the water conservancy project, and build the data reception uniformity based on the data reception status. , and then construct the distribution uniformity between each detection point in the collection area , if the distribution uniformity If it exceeds expectations, a warning instruction will be issued;
[0045] The step 1 includes the following contents:
[0046] Step 101: After defining the area where the water conservancy project is located, mark the area as a collection area, establish an electronic map covering the collection area, and mark the detection points on the electronic map according to the data collection target; set a data collection cycle, and set a number of equally spaced receiving nodes within the collection cycle, and number each receiving node;
[0047] The quality data of the water conservancy project is tested at the testing point, the quality test data is received at each receiving node, the received quality test data is aggregated, and a quality test data set of the water conservancy project is constructed;
[0048] Step 102: Construct a reception uniformity according to the data reception status in the quality detection data set , as follows: the data received by each receiving node Perform linear normalization and map the corresponding data values to the interval Inside: in, , is the number of receiving nodes, is the mean value of the data received at each receiving point, is the preset standard value for the amount of data received. The amount of data received is i Receive the value on the node;
[0049] When in use, after collecting the water conservancy project quality data at each detection point, the reception uniformity is analyzed based on the frequency of data output at the collection point and the amount of data received each time. , so as to evaluate the current data reception status;
[0050] Step 103: After obtaining the reception uniformity of each detection point in the current collection cycle, Finally, construct the distribution uniformity within the collection area: in, is the weight, , ,and , For the i The reception uniformity of each detection point is , n is the number of detection points, is the mean of reception uniformity;
[0051] Based on historical data and management expectations for data reception status, a distribution threshold is pre-built; if the obtained distribution uniformity exceeds the preset distribution threshold, it means that the detection data obtained from each detection point in the collection area is unevenly distributed. After the detection data is visualized, it is difficult to maintain consistency before and after. Therefore, only part of the detection data can be selected for visualization and an early warning instruction can be issued;
[0052] When using, combine the contents in steps 101 to 103:
[0053] After obtaining the reception uniformity of each detection point Based on the uniformity of the distribution within the collection area , it can be judged that the uniformity of the output detection data of each collection point in the collection area; when multiple data sources are outputting quality detection data, if the output data uniformity is high and the data volume of each collection point is relatively consistent, then when visualizing the quality data, it can maintain synchronization before and after, and there will be no display faults, and the visualization effect will be better. However, if there are too many data sources, the output data volume is large and the distribution is uneven, this may lead to too much quality data to be displayed, and the data to be displayed is too bloated, which makes it difficult to highlight the key parameters. It is also difficult to show the specific internal connection due to the asynchrony of the various parameters. When selecting a visualization display tool, the selected visualization display tool may not be able to achieve the desired display effect, and the display efficiency is also low.
[0054] Step 2: Classify the quality inspection data according to the data category, construct the corresponding data column and make preliminary preprocessing. If the quality coefficient of the preprocessed data column If the quality coefficient is lower than expected, the outliers are gradually filtered and replaced from the preprocessed data column until the quality coefficient is Exceed expectations and obtain optimized data columns after optimization;
[0055] The step 2 includes the following contents:
[0056] Step 201: collect and obtain data at the detection point, use the trained classifier to classify various types of data, obtain several data categories, arrange the data in the data category along the extension direction of the time axis according to its output time, construct a corresponding data column, and perform preliminary preprocessing on the data in the data column, so as to preliminarily improve the data quality of the water conservancy project quality detection data;
[0057] Step 202: Perform data analysis on the data column after preliminary preprocessing, and calculate the quality coefficient of the data column based on the analysis results. , as follows: Get the coefficient of dispersion from the data analysis results and the skewness coefficient ; Perform linear normalization on both and map the corresponding data values to the interval Then according to the following formula: Weight coefficient: , ,and ;The weight coefficient can be obtained by referring to the hierarchical analysis method;
[0058] Based on the management expectations of the data quality of the test data based on historical data, the quality threshold is set in advance; if the quality coefficient of the data column If the quality threshold is not exceeded, the corresponding data column is determined as a low-quality data column. At this time, the low-quality data column is difficult to meet the requirements, which will affect the effect of visualization display and issue data optimization instructions to the outside. By constructing the quality coefficient Evaluating the quality of data columns and screening low-quality data columns can reduce the interference and pollution caused by low-quality data. On the basis of preliminary preprocessing, data quality can be further improved through data optimization.
[0059] Step 203: After receiving the optimization instruction, construct an abnormal threshold , the preprocessed data column that is not within the abnormal threshold The part within is regarded as an outlier, and the specific method is as follows: in, For several quality coefficients The first quartile within is the third quartile, is the interquartile range, is the data mean;
[0060] According to the degree of abnormality of each abnormal value, a replacement value is generated in turn by interpolation method to replace it, until the quality coefficient of the corresponding data column exceeds the quality threshold, and the optimized data column is obtained;
[0061] When using, combine the contents in steps 201 to 203:
[0062] After filtering out abnormal values one by one from the preprocessed data column, the interpolation method is used to obtain replacement values to replace them, and then the data quality of the data column is adjusted until its data quality meets the expectations. On the basis of preprocessing, the data column is optimized so that the data quality of the data column meets the preset conditions, and the errors before and after are relatively small, so that when it is used for visualization, the continuity and predictability of the display effect are maintained.
[0063] Step 3: Optimize the quality coefficient of the data series Calculate the quality stability of the optimized data series , and combined with the centrality of each detection point in the collection area The reliability of the detection point is calculated based on ; And select the target detection point from several detection points through cluster analysis;
[0064] The step three includes the following contents:
[0065] Step 301: Receive water conservancy project quality data at each detection point, and after continuously acquiring several receiving cycles, pre-process and optimize the received detection data to obtain the corresponding optimized data column. Calculate the data quality stability of the optimized data column : in, , is the number of quality coefficients, is the mean value of the quality coefficient, is the qualified standard value of the quality coefficient, For the i Quality coefficient;
[0066] Combined with the position of the detection point in the collection area, calculate the center of the detection point on the electronic map , as follows: in, For detection point i The distance to the detection point j, is the number of detection points;
[0067] Step 302: Obtain the center of the detection point And quality stability After that, the reliability of the detection point is calculated as follows: And quality stability Perform linear normalization and map the corresponding data values to the interval Inside: in, is the number of detection points, , is the mean of the centrality, For the i The centrality of the detection points, For the i Quality stability, is the tolerable quality stability; weight coefficient: , ,and , the weight coefficient can be obtained by referring to the hierarchical analysis method;
[0068] Data reliability for each detection point Perform cluster analysis to obtain several detection point clusters, take the cluster with the largest number of detection points as the target cluster, take the detection points in the target cluster as the target detection points, and the rest as backup detection points;
[0069] When using, combine the contents in steps 301 to 302:
[0070] After obtaining the optimized data column from the detection point, according to its quality stability By evaluating the degree of fluctuation of the data quality of the detection points, the reliability of the detection points can be confirmed. At the same time, the centrality of each detection point can be obtained by calculation. Calculations can be performed to describe the degree of clustering of the detection point locations; further, based on the above two, the reliability of each detection point is calculated, which can be used to evaluate the reliability of each detection point. Therefore, when visually displaying the quality inspection data, in order to avoid displaying too much data, only the more critical parts can be selected to reduce the amount of data displayed, improve representativeness and work efficiency, and at the same time ensure the reliability of the displayed results.
[0071] Step 4: Perform principal component analysis on the quality inspection data output by the target collection point to distinguish the key parameters; construct trend coefficients based on the optimized data columns corresponding to the key parameters , according to the trend coefficient Sort each key parameter and obtain the display order;
[0072] The step 4 includes the following contents:
[0073] Step 401: call the quality inspection data collected at the target collection point, obtain the corresponding data column after classification, mark each data column according to the data category, and perform principal component analysis on the collected quality inspection data; the specific method is as follows:
[0074] The original data set is organized into columns, with each column being a variable and each row being an observation. Data is standardized so that each variable has unit variance and zero mean. The covariance matrix is calculated using the standardized data, and the covariance matrix is eigen-decomposed to obtain its eigenvalues and corresponding eigenvectors. The eigenvector represents the direction of the principal component, while the eigenvalue represents the data variance in that direction, i.e., the importance of the principal component.
[0075] Arrange the eigenvectors in descending order according to the size of the eigenvalue, select the eigenvectors corresponding to the first k largest eigenvalues, and the eigenvectors form the principal components. The value of k is as follows: that is, the ratio of the sum of the first k eigenvalues to the sum of all eigenvalues reaches a certain percentage, such as 85%; organize the selected eigenvectors into a matrix by columns to construct the projection matrix.
[0076] Multiply the original data set by the projection matrix and project the data into the new space guided by the selected eigenvector to obtain the reduced-dimensional data. Interpret the reduced-dimensional data and confirm the significance of each principal component. Since the principal component is a linear combination of the original features, the key parameters are usually the original variables with large coefficients (loads) in the principal component.
[0077] Analyze and obtain the weight of each feature in each principal component. The features whose weight exceeds the preset threshold contribute more to the principal component and are determined as key parameters. The rest are non-key parameters. After obtaining the corresponding key parameters and non-key parameters, the key parameters are used as visualization parameters.
[0078] Step 402: Make a line graph of the data values in the optimized data column corresponding to the key parameters, and obtain the slope between two adjacent points from the line graph. , get the difference between two adjacent points , several consecutive slopes and Difference Summarize and construct a sequence analysis set; construct trend coefficients from the sequence analysis set , as follows: and Difference Perform linear normalization and map the corresponding data values to the interval Inside, the method is as follows: in, is the mean slope, is the mean of the differences, , is the number of slopes and differences, For the i Slope; For the i Differences; weight coefficient: , ,and , where the weight coefficient is obtained by referring to the hierarchical analysis method;
[0079] Get the trend coefficient of each key parameter Then, according to the trend coefficient Sort each key parameter and obtain the display order;
[0080] When used, combine the contents in step 401 and step 402:
[0081] On the basis of obtaining the target collection point, the quality inspection data at the target collection point is received, and the key parameters and non-key parameters are obtained from several parameters by principal component analysis, so as to further reduce the scope of data visualization display on the basis of obtaining the key parameters, reduce the total amount of work, and improve the efficiency of data display. At the same time, through the key parameters and non-key parameters, the independent variables and dependent variables in various quality data can be quickly determined, so as to make the display effect and efficiency of the key parameters higher on the basis of regression analysis, and make the visualization display of the data more readable;
[0082] At the same time, the trend coefficients of various key parameters are obtained by calculation When there are many key parameters and much content to be displayed, the order of display can be determined so that important key parameters with more obvious changes and greater impact can be displayed first or the display time can be extended.
[0083] Step 5: Based on the data features of the quality inspection data corresponding to the key parameters, the solution recommendation knowledge graph gives the corresponding visualization display solution, and selects the target solution according to the display degree of each display solution. The target solution and the corresponding visualization tool are used to visualize the key parameters in turn according to the display order;
[0084] The step five includes the following contents:
[0085] Step 501: perform feature recognition on the quality inspection data corresponding to the key parameters to obtain corresponding data features, such as data category, data quantity and trend, etc.; use data visualization as the target word, and after data retrieval and entity relationship building, build a solution recommendation knowledge graph; according to the correspondence between the data features and the visualization solution, the trained matching model enables the solution recommendation knowledge graph to give the corresponding visualization solution;
[0086] Based on the key parameters and non-key parameters that have been screened out, feature recognition is performed on the data corresponding to the key parameters. Based on the pre-built solution recommendation knowledge graph, when it is necessary to select a visualization tool, alternative visualization solutions can be quickly determined, thus shortening the selection time and improving display efficiency.
[0087] Step 502: Perform a usage test on each visualization display scheme, and obtain test data of each display scheme, including: during the display, the information density of the display scheme , when visualizing, the accuracy of the displayed data The time taken to display all the data is used as the display speed. ; Aggregate the above display data to construct a display data set;
[0088] Step 503: construct the display degree from the display data set in the following way: Information density , Accuracy and display speed After linear normalization, the corresponding data values are mapped to the interval According to the following formula:
[0089] The meaning of the parameters is: information density factor, , accuracy factor, , speed factor, , is a constant correction coefficient, whose value falls within ;
[0090] It should be noted that: the technicians in this field collect multiple groups of sample data and set corresponding preset proportional coefficients for each group of sample data; substitute the preset proportional coefficients and the collected sample data into the formula, any three formulas constitute a three-variable linear equation system, and screen and obtain the calculated coefficients, and the information density factor , accuracy factor and speed factor The value of .
[0091] The size of the coefficient is to quantify each parameter to obtain a specific value for subsequent comparison. The size of the coefficient depends on the amount of sample data and the corresponding preset proportional coefficient initially set by technical personnel in this field for each set of sample data, as long as it does not affect the proportional relationship between the parameter and the quantized value.
[0092] By display The largest display solution is taken as the target solution, and the next largest solution is taken as the backup solution. The key parameters are visualized in the display order according to the target solution and the corresponding visualization tools.
[0093] When using, combine the contents in steps 501 to 503:
[0094] After giving multiple alternative visualization solutions through the solution recommendation knowledge graph, test each visualization solution and build a display degree based on the test data. , based on the display It can screen them and finally select those with better comprehensive performance and effect, so as to improve the display efficiency and effect when it is necessary to visualize the water conservancy project quality inspection data;
[0095] On the basis of preprocessing and optimizing the quality inspection data and screening out the target inspection points and the corresponding key parameters, by screening visualization solutions and tools again, when the amount of quality inspection data is large and there are too many data sources, the display effect and efficiency of the quality inspection data can be improved, the internal connection between various data quality parameters can be displayed, and the comprehensibility of quality data changes can be improved.
[0096] See also Figure 2 The present invention provides a water conservancy project quality inspection data visualization display system, including:
[0097] The early warning unit receives quality inspection data at each inspection point in the collection area, constructs a quality inspection data set for the water conservancy project, and constructs the uniformity of data reception based on the data reception status, and then constructs the distribution uniformity between each inspection point in the collection area. If the distribution uniformity exceeds expectations, an early warning instruction is issued;
[0098] The optimization unit classifies the quality inspection data according to the data category, constructs the corresponding data column and performs preliminary preprocessing. If the quality coefficient of the preprocessed data column is lower than expected, the abnormal values are gradually screened and replaced from the preprocessed data column until the quality coefficient exceeds the expectation, thereby obtaining the optimized data column after optimization;
[0099] A screening unit calculates the quality stability of the optimized data sequence from the quality coefficient of the optimized data sequence, calculates the reliability of the detection point based on the center of each detection point in the acquisition area, and screens out the target detection point from a number of detection points through cluster analysis;
[0100] The analysis unit performs principal component analysis on the quality inspection data outputted by the target collection point to distinguish the key parameters therein; constructs trend coefficients according to the optimized data columns corresponding to the key parameters, and sorts the key parameters according to the trend coefficients to obtain a display order;
[0101] The matching unit enables the solution recommendation knowledge graph to give corresponding visualization solutions based on the data features of the quality inspection data corresponding to the key parameters, and selects the target solution based on the display degree of each display solution. The target solution and the corresponding visualization tools are used to visualize the key parameters in sequence according to the display order.
[0102] It should be noted that the knowledge graph is a structured knowledge representation method that is used to describe and organize knowledge elements such as entities, concepts, relationships, and attributes in the real world, and to build a knowledge network through the associations between them.
[0103] The main features of the knowledge graph include:
[0104] Entities and relationships: Knowledge graphs represent knowledge in the real world by defining and describing entities (such as people, places, events, etc.) and relationships between entities (such as belonging to, located in, occurring, etc.). Attributes and features: Knowledge graphs can define attributes and features for entities and relationships to describe their properties, attributes, categories, etc. Semantic associations: Knowledge graphs connect entities and relationships through semantic associations (such as synonymy, hyponymy, association, etc.) to form a directed or undirected graph structure.
[0105] Multi-level structure: Knowledge graphs can organize and express knowledge through hierarchical structures and classification systems, making knowledge organization and retrieval more convenient and efficient. Openness and extensibility: Knowledge graphs can continuously acquire new knowledge from multiple data sources and knowledge bases to achieve openness and extensibility. Semantic reasoning and query: Knowledge graphs can support semantic-based reasoning and query, discovering new knowledge and associations by finding logical rules and associations between entities and relationships.
[0106] It should be noted that the analytic hierarchy process is an analytical method that combines qualitative and quantitative methods. It can decompose complex problems into multiple levels. By comparing the importance of factors at each level, it can help decision makers make decisions on complex problems and determine the final decision-making plan. In this process, the analytic hierarchy process can be used to determine the weight coefficients of these indicators. Through the analytic hierarchy process, decision makers can decompose complex decision-making problems into different levels and make decisions based on qualitative and quantitative analysis. This method can improve the accuracy and effectiveness of decision-making, and is particularly suitable for complex problems that are difficult to solve with quantitative methods.
[0107] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0108] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0109] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0110] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only some logical function divisions. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0113] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field 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. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0115] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field 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.
Claims
1. A method for visualizing water conservancy project quality inspection data, characterized in that: include, Receive quality inspection data at each inspection point in the collection area, build a quality inspection data set for the water conservancy project, and build the data reception uniformity based on the data reception status , and then construct the distribution uniformity between each detection point in the collection area , if the distribution uniformity If it exceeds expectations, a warning instruction will be issued; The quality inspection data is classified according to the data category, the corresponding data column is constructed and preprocessed. If the quality coefficient of the preprocessed data column If the quality coefficient is lower than expected, the outliers are gradually filtered and replaced from the preprocessed data column until the quality coefficient is Exceeding expectations, obtaining optimized data columns after optimization; among them, the quality coefficient The method of obtaining is as follows: Get the dispersion coefficient from the data analysis results and the skewness coefficient ; Perform linear normalization on both and map the corresponding data values to the interval Then according to the following formula: Weight coefficient: , ,and ; The quality coefficient of the optimized data series Calculate the quality stability of the optimized data series , and combined with the centrality of each detection point in the collection area The reliability of the detection point is calculated based on , and select the target detection point from several detection points through cluster analysis; Perform principal component analysis on the quality inspection data output by the target collection point to distinguish the key parameters; construct trend coefficients based on the optimized data columns corresponding to the key parameters , according to the trend coefficient Sort each key parameter and obtain the display order; According to the data features of the quality inspection data corresponding to the key parameters, the solution recommendation knowledge graph gives the corresponding visualization display solution, and selects the target solution according to the display degree of each display solution. The target solution and the corresponding visualization tool are used to visualize the key parameters in the display order. Combined with the position of the detection point in the collection area, calculate the center of the detection point on the electronic map After continuously acquiring the quality data of several receiving cycles at the detection point, the received detection data is preprocessed and optimized to obtain the corresponding optimized data column. The quality coefficient of the optimized data column is Calculate the data quality stability of the optimized data column : in, , is the number of quality coefficients, is the mean value of the quality coefficient, is the qualified standard value of the quality coefficient, For the i Quality coefficient; Get the center of the detection point And quality stability After that, the reliability of the detection point is calculated as follows: And quality stability Perform linear normalization and map the corresponding data values to the interval Inside: in, is the number of detection points, , is the mean of the centrality, For the i The centrality of the detection points, For the i Quality stability, is the tolerable quality stability; weight coefficient: , ,and ; Data reliability of the detection point Perform cluster analysis to obtain several detection point clusters, take the cluster with the largest number of detection points as the target cluster, take the detection points in the target cluster as the target detection points, and the rest as backup detection points.
2. The method for visualizing water conservancy project quality inspection data according to claim 1, characterized in that: The area where the water conservancy project is located is marked as the collection area, an electronic map covering the collection area is established, and the detection points are marked on the electronic map according to the data collection target; a number of equally spaced receiving nodes are set during the collection period, and each receiving node is numbered; the quality data of the water conservancy project is detected at the detection point, and the quality detection data is received at each receiving node. The received quality detection data is summarized to construct a quality detection data set for the water conservancy project.
3. The method for visualizing water conservancy project quality inspection data according to claim 2 is characterized in that: Construct reception uniformity based on the data reception status in the quality detection data set , after obtaining the reception uniformity of each detection point in the current collection cycle Finally, construct the distribution uniformity within the collection area: in, is the weight, , ,and , For the i The reception uniformity of each detection point is , n is the number of detection points, is the mean of the reception uniformity.
4. The method for visualizing water conservancy project quality inspection data according to claim 1, characterized in that: Collect data at the detection point, classify and obtain several data categories and construct corresponding data columns, perform preliminary preprocessing and data analysis on the data in the data column, and calculate the quality coefficient of the data column based on the analysis results , if the quality coefficient of the data series is If the value does not exceed the quality threshold, the corresponding data column is determined as a low-quality data column. An abnormal threshold is constructed, and the part of the preprocessed data column that is not within the abnormal threshold is regarded as an abnormal value. According to the abnormal degree of each abnormal value, a replacement value is generated in turn by interpolation to replace it.
5. The method for visualizing water conservancy project quality inspection data according to claim 1, characterized in that: Call the quality inspection data collected at the target collection point, perform classification processing to obtain the corresponding data columns, mark each data column according to the data category, perform principal component analysis on the collected quality inspection data, obtain the corresponding key parameters and non-key parameters, and use the key parameters as visual display parameters; Make a line graph of the data values in the optimized data column corresponding to the key parameters, and obtain the slope between two adjacent points from the line graph , get the difference between two adjacent points , several consecutive slopes and Difference Summarize and build a sequence analysis collection.
6. The method for visualizing and displaying water conservancy project quality inspection data according to claim 5, characterized in that: Constructing trend coefficients from a set of sequence analyses , for the slope and Difference Perform linear normalization and map the corresponding data values to the interval Inside, the method is as follows: in, is the mean slope, is the mean of the differences, , is the number of slopes and differences, For the i Slope; For the i Differences; weight coefficient: , ,and .
7. The method for visualizing and displaying water conservancy project quality inspection data according to claim 1, characterized in that: Perform feature recognition on quality inspection data corresponding to key parameters to obtain corresponding data features; Taking data visualization as the target word, after data retrieval and building entity relationships, a solution recommendation knowledge graph is built; based on the correspondence between data features and visualization solutions, the trained matching model enables the solution recommendation knowledge graph to give corresponding visualization solutions.
8. A water conservancy project quality inspection data visualization display system, using the method described in any one of claims 1 to 7, characterized in that: include: The early warning unit receives quality inspection data at each inspection point in the collection area, constructs a quality inspection data set for the water conservancy project, and constructs the uniformity of data reception based on the data reception status, and then constructs the distribution uniformity between each inspection point in the collection area. If the distribution uniformity exceeds expectations, an early warning instruction is issued; The optimization unit classifies the quality inspection data according to the data category, constructs the corresponding data column and performs preliminary preprocessing. If the quality coefficient of the preprocessed data column is lower than expected, the abnormal values are gradually screened and replaced from the preprocessed data column until the quality coefficient exceeds the expectation, thereby obtaining the optimized data column after optimization; A screening unit calculates the quality stability of the optimized data sequence from the quality coefficient of the optimized data sequence, calculates the reliability of the detection point based on the center of each detection point in the acquisition area, and screens out the target detection point from a number of detection points through cluster analysis; The analysis unit performs principal component analysis on the quality inspection data outputted by the target collection point to distinguish the key parameters therein; constructs trend coefficients according to the optimized data columns corresponding to the key parameters, and sorts the key parameters according to the trend coefficients to obtain a display order; The matching unit enables the solution recommendation knowledge graph to give corresponding visualization solutions based on the data features of the quality inspection data corresponding to the key parameters, and selects the target solution based on the display degree of each display solution. The target solution and the corresponding visualization tools are used to visualize the key parameters in sequence according to the display order.
Citation Information
Patent Citations
Data visualization display system and method thereof
CN113836294A
Big data analysis method based on hybrid energy data
CN115544133A
Monitoring method for automatic early warning of water conservancy dangerous case
CN116913043A
Cited By
Water conservancy construction quality monitoring and early warning method based on big data analysis
CN122265140A
