CPC G06F 30/18 (2020.01) [F24D 10/00 (2013.01)] | 4 Claims |
1. An image construction method for a heating area, wherein the method comprises:
S1, performing image fusion to obtain an initial image of the heating area according to a heating structure diagram and a building structure diagram of the heating area;
S2, segmenting the initial image according to heating attribute of the heating area to obtain a plurality of segmentation sub-graphs;
S3, performing first collection on a surface temperature of a heating pipeline by a plurality of first temperature sensors corresponding to the segmentation sub-graphs, and setting first heating labels corresponding to the segmentation sub-graphs, and meanwhile, performing second collection on a regional temperature of a sub-area of the heating pipeline being located by a second temperature sensor corresponding to the segmentation sub-graphs, and setting second heating labels;
S4, performing position and temperature analysis on a label setting result of each of the segmentation sub-graphs, establishing a heating mapping file, establishing a display index of the heating mapping file, and attaching the display index to the initial image to obtain a heating image of the heating area;
wherein the segmenting the initial image according to heating attribute of the heating area to obtain a plurality of segmentation sub-graphs comprises:
based on the initial image, performing a first determination on pipeline nodes of the heating pipeline, bifurcation connection information and bifurcation trend information of each of the pipeline nodes to obtain a first determination result, and performing a second determination on heating intention of each pipeline segment in the heating pipeline to obtain a second determination result;
constructing a first array of each the pipeline segment according to the first determination result and the second determination result;
determining whether a segment position of each the pipeline segment is an end point, and if so, adding an object parameter to the first array of corresponding pipeline segment to obtain a second array of corresponding pipeline segment;
otherwise, keeping the first array unchanged;
respectively inputting the first array and the second array into an array analysis model to obtain a segment state of each pipeline segment, and obtaining a continuous and consistent first state and an independent second state;
segmenting the initial image according to matching positions of the first state and the second state to obtain the plurality of segmentation sub-graphs;
wherein the first array is: [the bifurcation connection information, the bifurcation trend information, the heating intention];
the second array is: [the bifurcation connection information, the bifurcation trend information, the heating intention, the object parameter];
wherein the array analysis model is pre-trained, and is obtained by training different array combinations and a pipeline state matched with corresponding one of the combinations as a sample;
wherein the performing first collection on a surface temperature of a heating pipeline by the plurality of first temperature sensors corresponding to the segmentation sub-graphs, and setting first heating labels corresponding to the segmentation sub-graphs comprises:
controlling each of the plurality of first temperature sensors in a same one of the segmentation sub-graphs to collect a surface temperature at a corresponding position for n1 times, and constructing a first temperature matrix, wherein row vector of the first temperature matrix is a temperature value of n1 times collected by same one of the plurality of first temperature sensors, and column vector of the first temperature matrix is a temperature value collected by different first temperature sensors at a same time;
performing row fitting on the first temperature matrix to obtain first fitting values, and simultaneously performing column fitting on the first temperature matrix to obtain second fitting values;
calculating a first standard deviation of all the first fitting values, a second standard deviation of all the second fitting values and a third standard deviation of all the first fitting values and all the second fitting values;
respectively obtaining fitting lines of absolute values of differences between the first standard deviation and the second standard deviation, the first standard deviation and the third standard deviation, and the second standard deviation and the third standard deviation;
if the fitting lines are same horizontally fitted, obtaining average temperatures of all the first fitting values and the second fitting values, and setting the first heating labels corresponding to the segmentation sub-graphs;
if the fitting lines are not horizontally fitted, extracting a temperature measurement result corresponding to a first segment from the first temperature matrix according to a segmentation trend of each first segment in the segmentation sub-graphs to obtain an initial sub-matrix;
removing a first row vector and a last row vector of the initial sub-matrix to obtain a first sub-matrix;
when the initial sub-matrix is consistent with feature information of the first sub-matrix, determining first temperatures to be marked corresponding to the first segment and a first position to be marked for each of the first temperatures to be marked according to a line state of a first line corresponding to the initial sub-matrix, to set a first sub-label for corresponding to the first segment;
when the initial sub-matrix is inconsistent with the feature information of the first sub-matrix, obtaining input water flow combination information corresponding to the first segment and performing first filling on the first row vector of the first sub-matrix, and performing second filling on the last row vector of the first sub-matrix according to the output water flow combination information corresponding to the first segment;
if a filled sub-matrix is consistent with feature information of a corresponding initial sub-matrix, determining a second temperature to be marked corresponding to the first segment and the second position to be marked for each second temperature according to a heating influence state of the input water flow combination information and the output water flow combination information, the line state of the first line corresponding to the initial sub-matrix and a line state of a second line corresponding to the first sub-matrix, to set a second sub-label for the corresponding first segment;
if the filled sub-matrix is inconsistent with the feature information of the corresponding initial sub-matrix, obtaining adjacent temperatures of adjacent segments connected with corresponding the first segment and averaging the adjacent temperatures, to set a third sub-label for corresponding the first segment;
according to a setting result of each first segment in same one of the segmentation sub-graphs, obtaining the first heating labels corresponding to the segmentation sub-graphs;
wherein the performing position and temperature analysis on a label setting result of each of the segmentation sub-graphs, and establishing a heating mapping file comprises:
obtaining all the first heating labels and all the second heating labels of each pipeline segment in same one of the segmentation sub-graphs, and constructing and obtaining a label array of corresponding pipeline segment;
performing temperature analysis on labels of same one of pipeline positions in the label array to calculate temperature reasonable values;
![]() wherein G1 represents a temperature value corresponding to each of the first heating labels at same one of the pipeline positions; Gc represents a temperature value corresponding to each of the first heating labels with a nearest adjacent distance from the same one of the pipeline positions in a same pipeline segment; G2 represents a temperature value corresponding to each of the second heating labels at the same one of the pipeline positions; ΔL2 represents a temperature attenuation function at a distance L2 between a pipeline surface measurement point and an external area measurement point in a spatial vertical direction of the same one of the pipeline positions; ΔL1 represents a temperature attenuation function of two pipeline surface measurement points in a spatial horizontal direction at a distance L1; δ1 represents setting weight of horizontal attenuation; δ2 represents setting weight of vertical attenuation; W1 represents corresponding temperature reasonable values;
according to the temperature reasonable values and position importance of the same one of the pipeline positions, obtaining first significance marks of the same one of the pipeline positions from a value-position-mark mapping table;
constructing corresponding relationships between the first significance marks and the same one of the pipeline positions;
establishing a heating mapping file based on all the corresponding relationships;
wherein the value-position-mark mapping table comprises different temperature reasonable values, pipeline positions and corresponding marks.
|