CN110134809A - A kind of grain temperature data visualization method and device - Google Patents

A kind of grain temperature data visualization method and device Download PDF

Info

Publication number
CN110134809A
CN110134809A CN201910420995.XA CN201910420995A CN110134809A CN 110134809 A CN110134809 A CN 110134809A CN 201910420995 A CN201910420995 A CN 201910420995A CN 110134809 A CN110134809 A CN 110134809A
Authority
CN
China
Prior art keywords
temperature
measuring point
coordinate
grain
temperature measuring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910420995.XA
Other languages
Chinese (zh)
Other versions
CN110134809B (en
Inventor
张宁
张壮
张立珠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur General Software Co Ltd
Original Assignee
Shandong Inspur Genersoft Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN201910420995.XA priority Critical patent/CN110134809B/en
Publication of CN110134809A publication Critical patent/CN110134809A/en
Application granted granted Critical
Publication of CN110134809B publication Critical patent/CN110134809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Investigating Or Analyzing Materials Using Thermal Means (AREA)
  • Radiation Pyrometers (AREA)

Abstract

The invention discloses a kind of grain temperature data visualization method and devices, belong to computer field, the technical problem to be solved in the present invention is how to show the temperature conditions of every nook and cranny in every layer of grain heap, convenient for observing grain heap overall condition, it finds the problem and is positioned, reduce the working strength of supervisor in library, the technical solution of use are as follows: 1. this method is by carrying out data processing to cereal temperature, the data handled carry out layering visual presentation using visualization tool, abstract data are processed into visual temperature field figure, convenient for analysis and daily monitoring;Specific step is as follows: S1, being handled by coordinate of the coordinate transform to temperature measuring point;S2, the temperature that grain between the adjacent temperature measuring point of same layer is obtained by interpolation;S3, grain temperature is shown by the layering of temperature field figure.2., the device include temperature measuring point coordinate transformation unit, adjacent temperature measuring point interpolation process unit and thermal stratification display unit.

Description

A kind of grain temperature data visualization method and device
Technical field
The present invention relates to field of computer technology, specifically a kind of grain temperature data visualization method and device.
Background technique
Traditional grain temperature data visualization uses the mode of three-dimensional scatter plot mostly, and this mode can only show some survey The temperature value size of warm spot, can not show the temperature of the grain between two neighboring temperature measuring point, can not intuitively observe grain heap The temperature conditions in some region.Therefore the temperature conditions of every nook and cranny in every layer of grain heap how is shown, convenient for observation grain heap Overall condition is found the problem and is positioned, and the working strength for reducing supervisor in library is to be badly in need of solution in currently available technology Certainly the technical issues of.
The patent document of Patent No. CN109000810A discloses a kind of multidimensional grain temperature display systems and method, including number According to acquisition module, by temperature detection device, record monitors the inside and outside data including temperature information of silo every time;Table mould Block, the grain temperature data for being sent by forms mode display data acquisition module;Histogram module, for passing through histogram Mode shows the grain temperature data that data acquisition module is sent;Broken line module, for showing that data are adopted by line chart mode The grain temperature data that collection module is sent.Although the technical solution can be improved the accuracy of data, but cannot show grain heap The temperature conditions of every nook and cranny in every layer is found the problem and is positioned convenient for observation grain heap overall condition, reduces in library and supervises The working strength of personnel.
Summary of the invention
Technical assignment of the invention is to provide a kind of grain temperature data visualization method and device, to solve how to show Out in every layer of grain heap every nook and cranny temperature conditions, convenient for observation grain heap overall condition, the problem of finding the problem and positioned.
Technical assignment of the invention realizes that a kind of grain temperature data visualization method, this method passes through in the following manner Data processing is carried out to cereal temperature, the data handled carry out layering visual presentation using visualization tool, by what is be abstracted Data are processed into visual temperature field figure, convenient for analysis and daily monitoring;Specific step is as follows:
S1, it is handled by coordinate of the coordinate transform to temperature measuring point;
S2, the temperature that grain between the adjacent temperature measuring point of same layer is obtained by interpolation;
S3, grain temperature is shown by the layering of temperature field figure.
Preferably, the specific steps handled in the step S1 by coordinate of the coordinate transform to temperature measuring point are such as Under:
S101, temperature measuring point grain temperature data are formatted, the coordinate form of temperature measuring point is (row, column, layer), temperature measuring point Value be grain temperature;
S102, the row coordinate and column coordinate of temperature measuring point are converted, so that the temperature field figure drawn is more in line with viewing And use habit;
S103, the gradient for generating image is configured, easily facilitates viewing and use.
More preferably, the conversion regime row coordinate of temperature measuring point converted in the step S102 are as follows:
Row coordinate=0.3+ (column-minimum column) * (warehouse width -0.6)/(maximum column-minimum column).
More preferably, the conversion regime column coordinate of temperature measuring point converted in the step S102 are as follows:
Column coordinate=0.3+ (row -1) * (warehouse length -0.6)/(maximum row -1).
More preferably, the gradient of image is set as 1.5 in the S103.
Preferably, obtaining the specific of the temperature of grain between the adjacent temperature measuring point of same layer by interpolation in the step S2 Steps are as follows:
S201, data are taken out by layer;
S201, data progress cubic spline (Cubic) between each temperature measuring point and adjacent temperature measuring point of same layer is inserted Value processing.
More preferably, three are carried out to the data between each temperature measuring point and adjacent temperature measuring point of same layer in the step S202 Specific step is as follows for secondary batten (Cubic) interpolation processing:
Points=np.array (x+y) .reshape (2, len (x)) .T;
Xi=np.linspace (0, meta_width, 1000);
Yi=np.linspace (0, meta_depth, 1000);
[X, Y]=np.meshgrid (xi, yi);
Temp_grid=griddata (points, temp, (X, Y), method='cubic') # interpolation method.
Preferably, by temperature field figure layering displaying grain temperature, specific step is as follows in the step S3:
The data that S301, the coordinate for taking each layer of transformation to complete and interpolation processing are completed;
S302, using the matplotlib tool in Matlab or python, carry out the drafting of layering cereal temperature field figure.
A kind of grain temperature data visualization device, the device include,
Temperature measuring point coordinate transformation unit is coordinately transformed processing for the coordinate to temperature measuring point;
Adjacent temperature measuring point interpolation process unit, for obtaining the temperature of grain between the adjacent temperature measuring point of same layer by interpolation Degree;
Thermal stratification display unit, for showing grain temperature by the layering of temperature field figure.
Preferably, the temperature measuring point coordinate transformation unit includes temperature measuring point row coordinate transformation unit and thermometric point range coordinate Converting unit;
Temperature measuring point row coordinate transformation unit is for converting the row coordinate of temperature measuring point, conversion regime are as follows:
Row coordinate=0.3+ (column-minimum column) * (warehouse width -0.6)/(maximum column-minimum column);
Thermometric point range coordinate transformation unit is for converting the column coordinate of temperature measuring point, conversion regime are as follows:
Column coordinate=0.3+ (row -1) * (warehouse length -0.6)/(maximum row -1).
Grain temperature data visualization method of the invention and device have the advantage that
(1), for the present invention by carrying out data processing to cereal temperature, processing method includes the behaviour such as interpolation, coordinate conversion Make, the data for handling completion carry out layering visual presentation using visualization tool;With existing grain temperature data visualization mode phase Than the present invention has carried out interpolation processing to the data between the adjacent temperature measuring point of same layer, can show in silo more fully hereinafter The cereal temperature of each position is distributed, and has bigger reference significance, has good application value;
(2), the present invention is by the grain temperature data interpolating between temperature measuring point coordinate transform and temperature measuring point, and utilizes The matplotlib of Matlab or python draws layering cereal temperature field figure, and abstract data are processed into visual temperature Field figure, convenient for analysis and daily monitoring;
(3), the present invention can show the temperature conditions of every nook and cranny in every layer of grain heap, convenient for observation grain heap entirety feelings Condition is found the problem and is positioned, and it is daily to can use the progress of stratification temperature field figure for supervisor and data analyst in library Supervision and data analysis, there is larger application value in routine monitoring.
Detailed description of the invention
The following further describes the present invention with reference to the drawings.
Attached drawing 1 is grain temperature data visualization method flow diagram;
Attached drawing 2 is the structural block diagram of grain temperature data visualization device;
Attached drawing 3 is stratification temperature field figure.
Specific embodiment
Referring to Figure of description and specific embodiment to a kind of grain temperature data visualization method of the invention and device make with Under explain in detail.
Embodiment 1:
As shown in Fig. 1, grain temperature data visualization method of the invention, this method is by carrying out at data cereal temperature Reason, the data handled carry out layering visual presentation using visualization tool, and abstract data are processed into visual temperature Field figure is spent, convenient for analysis and daily monitoring;Specific step is as follows:
S1, it is handled by coordinate of the coordinate transform to temperature measuring point;Specific step is as follows:
S101, temperature measuring point grain temperature data are formatted, the coordinate form of temperature measuring point is (row, column, layer), temperature measuring point Value be grain temperature;
S102, the row coordinate and column coordinate of temperature measuring point are converted, so that the temperature field figure drawn is more in line with viewing And use habit;The conversion regime that the row coordinate of temperature measuring point is converted are as follows:
Row coordinate=0.3+ (column-minimum column) * (warehouse width -0.6)/(maximum column-minimum column);
The key code specifically converted is as follows:
def row_dist(c,meta_id_para):
return 0.3+(c-BIN.loc[meta_id_para].left)*(meta_width-0.6)/(
BIN.loc[meta_id_para].right-BIN.loc[meta_id_para].left)。
The conversion regime that the column coordinate of temperature measuring point is converted are as follows:
Column coordinate=0.3+ (row -1) * (warehouse length -0.6)/(maximum row -1);
The key code specifically converted is as follows:
def col_dist(c,meta_id_para):
return 0.3+(c-1)*(meta_depth-0.6)/(BIN.loc[meta_id_para].far-1)。
S103, the gradient for generating image is configured, easily facilitates viewing and using wherein, the gradient of image is set It is set to 1.5.
Wherein, the key code for carrying out data format processing and row coordinate, the conversion of column coordinate is as follows:
Ddf_moment_level=ddf_moment.loc [(slice (None), [level], slice (None)) :] Ddf_moment_level=ddf_moment_level.stack ()
Ddf_moment_level=ddf_moment_level.reset_index ()
Ddf_moment_level.columns=[' level_0', ' level', ' col', ' row', ' temp']
X=list (ddf_moment_level.row) # east-west direction row x
Y=list (ddf_moment_level.col) # North and South direction col y
Temp=np.array (ddf_moment_level.temp)
Meta_id_list=[meta_id] * len (x)
X=list (map (row_dist, x, meta_id_list)) # is converted into actual coordinate position
Y=list (map (col_dist, y, meta_id_list)).
S2, the temperature that grain between the adjacent temperature measuring point of same layer is obtained by interpolation;Specific step is as follows:
S201, data are taken out by layer;
S201, data progress cubic spline (Cubic) between each temperature measuring point and adjacent temperature measuring point of same layer is inserted Value processing, key code are as follows:
Points=np.array (x+y) .reshape (2, len (x)) .T;
Xi=np.linspace (0, meta_width, 1000);
Yi=np.linspace (0, meta_depth, 1000);
[X, Y]=np.meshgrid (xi, yi);
Temp_grid=griddata (points, temp, (X, Y), method='cubic') # interpolation method.
S3, grain temperature is shown by the layering of temperature field figure;Specific step is as follows:
The data that S301, the coordinate for taking each layer of transformation to complete and interpolation processing are completed;
S302, using the matplotlib tool in Matlab or python, carry out the drafting of layering cereal temperature field figure, Stratification temperature field figure as shown in Fig. 3;Key code is as follows:
Level_up_down=BIN.loc [meta_id] .top+1-level#level
Ax [level_up_down]=plt.subplot (int (level_count*100+10+level_up_down), Facecolor=color_sub)
Im=plt.contourf (X+Y/lean, Y, temp_grid, 20, alpha=1, cmap=color_map, Vmax=cc_max, vmin=cc_min)
Isoline=plt.contour (X+Y/lean, Y, temp_grid, 20, color='black', linewidth =0.1)
Plt.clabel (isoline, inline=True, fontsize=10).
Embodiment 2:
As shown in Fig. 2, grain temperature data visualization device of the invention, structure mainly include that the conversion of temperature measuring point coordinate is single First, adjacent temperature measuring point interpolation process unit and thermal stratification display unit;
Wherein, temperature measuring point coordinate transformation unit is coordinately transformed processing for the coordinate to temperature measuring point;Temperature measuring point coordinate Converting unit includes temperature measuring point row coordinate transformation unit and thermometric point range coordinate transformation unit;
Temperature measuring point row coordinate transformation unit is for converting the row coordinate of temperature measuring point, conversion regime are as follows:
Row coordinate=0.3+ (column-minimum column) * (warehouse width -0.6)/(maximum column-minimum column);
Thermometric point range coordinate transformation unit is for converting the column coordinate of temperature measuring point, conversion regime are as follows:
Column coordinate=0.3+ (row -1) * (warehouse length -0.6)/(maximum row -1).
Adjacent temperature measuring point interpolation process unit, for obtaining the temperature of grain between the adjacent temperature measuring point of same layer by interpolation Degree;
Thermal stratification display unit, for showing grain temperature by the layering of temperature field figure.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of grain temperature data visualization method, which is characterized in that this method is by carrying out data processing, processing to cereal temperature Complete data carry out layering visual presentation using visualization tool, and abstract data are processed into visual temperature field figure, Convenient for analysis and daily monitoring;Specific step is as follows:
S1, it is handled by coordinate of the coordinate transform to temperature measuring point;
S2, the temperature that grain between the adjacent temperature measuring point of same layer is obtained by interpolation;
S3, grain temperature is shown by the layering of temperature field figure.
2. grain temperature data visualization method according to claim 1, which is characterized in that become in the step S1 by coordinate It changes and is handled the coordinate of temperature measuring point that specific step is as follows:
S101, temperature measuring point grain temperature data are formatted, the coordinate form of temperature measuring point is (row, column, layer), the value of temperature measuring point For grain temperature;
S102, the row coordinate and column coordinate of temperature measuring point are converted, so that the temperature field figure drawn is more in line with viewing and makes With habit;
S103, the gradient for generating image is configured, easily facilitates viewing and use.
3. grain temperature data visualization method according to claim 2, which is characterized in that temperature measuring point in the step S102 The conversion regime converted of row coordinate are as follows:
Row coordinate=0.3+ (column-minimum column) * (warehouse width -0.6)/(maximum column-minimum column).
4. grain temperature data visualization method according to claim 2 or 3, which is characterized in that survey in the step S102 The conversion regime that the column coordinate of warm spot is converted are as follows:
Column coordinate=0.3+ (row -1) * (warehouse length -0.6)/(maximum row -1).
5. grain temperature data visualization method according to claim 2, which is characterized in that the gradient of image in the S103 It is set as 1.5.
6. grain temperature data visualization method according to claim 1, which is characterized in that obtained in the step S2 by interpolation To the temperature of grain between the adjacent temperature measuring point of same layer, specific step is as follows:
S201, data are taken out by layer;
S201, cubic spline interpolation processing is carried out to the data between each temperature measuring point and adjacent temperature measuring point of same layer.
7. grain temperature data visualization method according to claim 6, which is characterized in that same layer in the step S202 Each temperature measuring point and adjacent temperature measuring point between data carry out cubic spline interpolation processing specific step is as follows:
Points=np.array (x+y) .reshape (2, len (x)) .T;
Xi=np.linspace (0, meta_width, 1000);
Yi=np.linspace (0, meta_depth, 1000);
[X, Y]=np.meshgrid (xi, yi);
Temp_grid=griddata (points, temp, (X, Y), method='cubic') # interpolation method.
8. grain temperature data visualization method according to claim 1, which is characterized in that pass through temperature field in the step S3 Figure layering shows grain temperature, and specific step is as follows:
The data that S301, the coordinate for taking each layer of transformation to complete and interpolation processing are completed;
S302, using the matplotlib tool in Matlab or python, carry out the drafting of layering cereal temperature field figure.
9. a kind of grain temperature data visualization device, which is characterized in that the device includes,
Temperature measuring point coordinate transformation unit is coordinately transformed processing for the coordinate to temperature measuring point;
Adjacent temperature measuring point interpolation process unit, for obtaining the temperature of grain between the adjacent temperature measuring point of same layer by interpolation;
Thermal stratification display unit, for showing grain temperature by the layering of temperature field figure.
10. grain temperature data visualization device according to claim 9, which is characterized in that the temperature measuring point coordinate conversion is single Member includes temperature measuring point row coordinate transformation unit and thermometric point range coordinate transformation unit;
Temperature measuring point row coordinate transformation unit is for converting the row coordinate of temperature measuring point, conversion regime are as follows:
Row coordinate=0.3+ (column-minimum column) * (warehouse width -0.6)/(maximum column-minimum column);
Thermometric point range coordinate transformation unit is for converting the column coordinate of temperature measuring point, conversion regime are as follows:
Column coordinate=0.3+ (row -1) * (warehouse length -0.6)/(maximum row -1).
CN201910420995.XA 2019-05-21 2019-05-21 Grain temperature data visualization method and device Active CN110134809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910420995.XA CN110134809B (en) 2019-05-21 2019-05-21 Grain temperature data visualization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910420995.XA CN110134809B (en) 2019-05-21 2019-05-21 Grain temperature data visualization method and device

Publications (2)

Publication Number Publication Date
CN110134809A true CN110134809A (en) 2019-08-16
CN110134809B CN110134809B (en) 2023-03-28

Family

ID=67571914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910420995.XA Active CN110134809B (en) 2019-05-21 2019-05-21 Grain temperature data visualization method and device

Country Status (1)

Country Link
CN (1) CN110134809B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111707314A (en) * 2020-07-14 2020-09-25 南京优助智能科技有限公司 Overall observation and evaluation method and system for multiple temperature and humidity measuring points

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779320A (en) * 2012-06-28 2012-11-14 郑州华粮科技股份有限公司 Standard mathematical model system for alarming grain storage temperature and humidity
WO2017211300A1 (en) * 2016-06-07 2017-12-14 中兴通讯股份有限公司 Method and device for displaying temperature data
CN109000810A (en) * 2018-06-12 2018-12-14 山东浪潮通软信息科技有限公司 A kind of multidimensional grain temperature display systems and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779320A (en) * 2012-06-28 2012-11-14 郑州华粮科技股份有限公司 Standard mathematical model system for alarming grain storage temperature and humidity
WO2017211300A1 (en) * 2016-06-07 2017-12-14 中兴通讯股份有限公司 Method and device for displaying temperature data
CN109000810A (en) * 2018-06-12 2018-12-14 山东浪潮通软信息科技有限公司 A kind of multidimensional grain temperature display systems and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘威等: "一种应用于智能仓储行业的粮温分布图及等温曲线绘制方法", 《工业控制计算机》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111707314A (en) * 2020-07-14 2020-09-25 南京优助智能科技有限公司 Overall observation and evaluation method and system for multiple temperature and humidity measuring points

Also Published As

Publication number Publication date
CN110134809B (en) 2023-03-28

Similar Documents

Publication Publication Date Title
CN110096500B (en) Visual analysis method and system for ocean multidimensional data
US10545643B2 (en) User interface for data comparison
US8643646B2 (en) Constructing a cell-based cluster of data records of a scatter plot
CN110134809A (en) A kind of grain temperature data visualization method and device
CN102930279B (en) For the image-recognizing method that product quantity detects
CN102648856A (en) Positron emission tomography scanner and coincidence judging and selecting method therein
CN102455859A (en) Method and device for displaying spectrum data
CN103761291A (en) Geographical raster data parallel reading-writing method based on request aggregation
CN110334138A (en) A kind of analysis method of the data consistency based on MATLAB
CN105093283B (en) A kind of stereo observing system bin attributes multithreading fast display method
Zhang et al. A defect detection method for topological phononic materials based on few-shot learning
CN117290681A (en) Lake region mountain water Lin Tianhu grass sand environment monitoring system based on remote sensing
CN101533525A (en) Method for analyzing the overlay of point and face
CN110675470B (en) Contour line drawing method and device, computing equipment and readable storage medium
CN107967397B (en) Aircraft structure mass center drift amount high-precision design method based on finite element analysis
CN103064110A (en) Layered continuation imaging method in wave equation prestack migration
US9978114B2 (en) Systems and methods for optimizing graphics processing for rapid large data visualization
CN103473536A (en) Maximum cohesiveness super-pixel gridding method and super-pixel-level image processing method
CN106228024A (en) A kind of multi views for oil chromatography online monitoring data works in coordination with visual analysis method
Zhang et al. Efficient large-scale oblique image matching based on cascade hashing and match data scheduling
Wu et al. Clustering-based approaches to the exploration of spatio-temporal data
Aouabed et al. Suitable overlapping set visualization techniques and their application to visualize biclustering results on gene expression data
CN105912404A (en) Method for searching strongly connected component in large-scale graph data on the basis of disk
US20240104122A1 (en) Aggregating mapping tile data
CN109049715A (en) A kind of 3D printing model data processing method based on heterogeneous material topological optimization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230308

Address after: 250000 Langchao Road, Jinan, Shandong

Applicant after: Inspur Genersoft Co.,Ltd.

Address before: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province

Applicant before: SHANDONG INSPUR GENESOFT INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant