CN114387369A - Automatic generation method and system for road water transport test detection graph - Google Patents

Automatic generation method and system for road water transport test detection graph Download PDF

Info

Publication number
CN114387369A
CN114387369A CN202210289582.4A CN202210289582A CN114387369A CN 114387369 A CN114387369 A CN 114387369A CN 202210289582 A CN202210289582 A CN 202210289582A CN 114387369 A CN114387369 A CN 114387369A
Authority
CN
China
Prior art keywords
data
graph
test
drawn
coordinate
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.)
Pending
Application number
CN202210289582.4A
Other languages
Chinese (zh)
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.)
Hubei Communications Investment Intelligent Detection Co ltd
Original Assignee
Hubei Communications Investment Intelligent Detection 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 Hubei Communications Investment Intelligent Detection Co ltd filed Critical Hubei Communications Investment Intelligent Detection Co ltd
Priority to CN202210289582.4A priority Critical patent/CN114387369A/en
Publication of CN114387369A publication Critical patent/CN114387369A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Abstract

The invention provides a method and a system for automatically generating a detection graph of a road water transport test, wherein the method comprises the following steps: acquiring the name of a graph to be drawn and the name of a coordinate axis data item based on basic service parameters corresponding to the test; identifying a detection data part in the test parameter record table, and establishing a coordinate system on the detection data part; respectively establishing association between the data item names in the coordinate system and the coordinate axis data item names of the graph to be drawn, and marking the associated data items; calculating coordinate point data of the graph to be drawn based on the marked data items and the coordinate system after the association relation is established; and inputting the basic service parameters and the coordinate point data into a data processing model corresponding to the test for operation processing, inputting the processed drawing element data into a graph drawing model corresponding to the test, converting the processed drawing element data into pixel unit data, and drawing a graph. The invention can automatically generate an accurate detection graph of the road water transport test in real time, improve the accuracy of test detection data and save time and labor cost.

Description

Automatic generation method and system for road water transport test detection graph
Technical Field
The invention relates to the technical field of drawing of highway water transport engineering graphs, in particular to a method and a system for automatically generating a highway water transport test detection graph.
Background
When test data are filled in the test process, part of the test data need to be attached according to various test regulations detected by a road water transport test so as to better reflect the test process and assist in test calculation. Due to different parameter test contents and processes, different detection items, sample types, specification models, detection parameters or detection methods correspond to different parameter types and quantities of record table graphs, different data processing and calculating processes, different curve type styles, different numerical values to be marked, different calculation results obtained through graphs and the like, the data processing process is complex, and the graph generation difficulty is high. In the prior art, the method for automatically generating a curve graph by using the existing data mainly comprises the following steps: coordinate point data required by drawing is obtained, and graph drawing is performed by utilizing the coordinate data, so that the method is a relatively universal and unidirectional data visualization process. In the highway water transport test detection industry, the data visualization process is difficult to apply. In the road water transport test, the formats of test record tables containing thousands of different parameters are different, and even if the parameters are the same, the formats of the parameter record tables adopted by different mechanisms are different. Therefore, at present, great labor is required for manually drawing graphs in the industry, and the drawn graphs are inaccurate due to the fact that data is numerous and complicated and processing difficulty is high. Therefore, how to draw the road water transport test curve graph efficiently and accurately becomes a difficult problem to be solved urgently.
Disclosure of Invention
In order to solve at least one of the above-mentioned technical problems, the present invention provides an automatic generation method of a road water transport test detection graph, including:
acquiring the name of a graph to be drawn and the name of a coordinate axis data item based on basic service parameters corresponding to the test;
identifying a detection data part in the test parameter record table, and establishing a coordinate system based on the detection data part;
establishing association between the data item names in the coordinate system and coordinate axis data item names of the graph to be drawn, and marking the associated data items;
calculating coordinate point data related to the graph to be drawn based on the marked data items and the coordinate system after the association is established;
inputting the basic service parameters and the coordinate point data into a data processing model corresponding to a test for operation processing to obtain drawing element data;
inputting the drawing element data into a graphic drawing model corresponding to a test and converting the drawing element data into pixel unit data;
drawing a graphic using the pixel unit data.
Further, the step of identifying the detection data portion in the test parameter record table and establishing the coordinate system based on the detection data portion includes:
identifying the structure of the test parameter record table and identifying the detection data part in the test parameter record table;
taking the upper left corner of the detected data part as an origin, taking the first row as an x axis, taking the first column as a y axis to establish a data quadrant, and identifying the number of rows and columns of data in the data quadrant;
and calculating the coordinate point of each data cell in the table of the parameter record table according to the identified row number and column number, thereby obtaining a coordinate system.
Further, the step of calculating the coordinate point data of the graph to be drawn based on the marked data item and the coordinate system after the association relationship is established comprises:
calculating a basic coordinate point of a graph to be drawn; and
calculating control point coordinates for performing logical operations in the data processing model; and
calculating coordinates of a cell for displaying a graphic; and/or
Cell coordinates for the back fill data are calculated.
Further, the step of inputting the basic service parameters and the coordinate point data into a data processing model corresponding to a test for operation processing to obtain drawing element data includes:
inputting the basic service parameters and the coordinate point data into a data processing model corresponding to a test;
starting a preset data operation rule based on a test procedure detected by a highway water transport test, and calculating to obtain drawing data;
and carrying out data reduction calculation processing on the drawing data to obtain drawing element data.
Further, before obtaining the name of the graph to be drawn and the name of the coordinate axis data item, executing the following steps:
and pre-establishing a corresponding data processing model and a corresponding graph drawing model based on each test procedure detected by the road water transport test.
Further, after drawing a graph by using the pixel unit data, executing the following steps:
and back filling the data which is processed by the data processing model operation and needs to be back filled into the corresponding cell.
Further, after drawing a graph by using the pixel unit data, executing the following steps:
and displaying the drawn graph into a cell for displaying the graph.
According to another aspect of the present invention, there is also disclosed an automatic generation system of a road water transport test detection graph, which is used to execute the automatic generation method of a road water transport test detection graph in operation, and the automatic generation system of a graph includes:
the device comprises a to-be-drawn graph information confirming module, a to-be-drawn graph information confirming module and a drawing module, wherein the to-be-drawn graph information confirming module is used for acquiring the name of a to-be-drawn graph and the name of a coordinate axis data item based on basic service parameters corresponding to a test;
the coordinate system establishing module is used for identifying the detection data part in the test parameter record table and establishing a coordinate system based on the detection data part;
the data association identification module is used for establishing association between the data item names in the coordinate system and the coordinate axis data item names of the graph to be drawn, and marking the associated data items;
the coordinate point data calculation module is used for calculating coordinate point data of the graph to be drawn based on the marked data items and the coordinate system after the incidence relation is established;
the data preprocessing module is used for inputting the basic service parameters and the coordinate point data into a data processing model corresponding to a test for operation processing to obtain drawing element data;
the preprocessing data conversion module is used for inputting the drawing element data into a graphic drawing model corresponding to a test and converting the drawing element data into pixel unit data;
and the graph drawing module is used for drawing a graph to be drawn by utilizing the pixel unit data.
The invention presets data operation processing rules of each curve graph based on various test regulations of highway water transport test detection in the industry, establishes a data processing model, can rapidly and accurately process the acquired test parameter record table data in a large scale through the preset data processing model, and can convert the processed data in a large scale through the preset graph drawing model, so that the data can automatically generate various curve graphs conforming to the test detection regulations in real time. The generated graphs can cover all graphs required to be drawn by a test record table of the current highway water transport test detection industry, various complex curves combined with business logic calculation and judgment of the industry can be generated according to the graph requirements of various test regulations detected by the highway water transport test, and the expansion of more other types of graphs can be supported. Finally, the generated graph is attractive and tidy, the data are clear, various complex manual calculations on the test detection data are not needed when the graph is generated, the graph drawing cost is saved, the working efficiency is improved, meanwhile, the data calculation accuracy in the image drawing process is guaranteed, and the quality of a material report is guaranteed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart of a method for automatically generating a detection graph of a road water transport test in the embodiment of the invention.
FIG. 2 is a graph showing the relationship between depth of penetration and water content (h-w) in the test item "soil" -test parameter name "limit water content" and test method name "liquid limit and plastic limit combined determination method" of JTG 3430-2020 Highway soil test Specification in the example of the present invention.
FIG. 3 shows "soil" -detection parameter name "boundary water content", test method name "liquid limit and plastic limit joint determination method" h "of JTG 3430-2020 Highway soil test Specification in the example of the present inventionp-wLRelationship curve ".
FIG. 4 is a diagram illustrating a structure of a test parameter record table according to an embodiment of the present invention.
FIG. 5 is a drawing of a relationship graph between penetration depth and water content in a test record table of a certain time, wherein the test item name "soil" -the sample type name "fine grained soil" -the specification model name "particle size is less than or equal to 0.5 mm" -the test parameter name "limit water content" -the test method name "liquid limit and plastic limit combined determination method".
FIG. 6 is a schematic diagram of a "sieving/grading curve graph" and a "relationship curve graph of water content and dry density" drawn by the present invention.
Detailed Description
Various exemplary embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
As shown in fig. 1, a flow chart of an automatic generation method of a road water transport test detection graph is schematically shown, the steps of the automatic generation method of the graph can be executed in an automatic generation system of the road water transport test detection graph, and the automatic generation system includes electrically connected components: the device comprises a to-be-drawn graph information confirming module, a coordinate system establishing module, a data association identification module, a coordinate point data calculating module, a data preprocessing module, a preprocessed data converting module and a graph drawing module. The following describes in detail the specific implementation steps of the method of the present invention in the above system in combination with the method for generating a "graph of relationship between depth of penetration and water content ratio" of soil.
Step one, acquiring the name of a graph to be drawn in a test and the name of a coordinate axis data item based on basic service parameters corresponding to the test
The basic service parameters of the industry include, but are not limited to, the name of the test item to which the current test belongs, the name of the sample type, the name of the specification model, the name of the test parameter, the name of the test method, and the like. In this embodiment, the to-be-drawn graph information confirmation module obtains data required by a current test in a basic service parameter table shown in table 1, where the data includes a test item name "soil" to which the test belongs, a test parameter name "limit moisture content", a test method name "liquid limit and plastic limit joint measurement method", a sample type name "fine soil" required for drawing, a specification model name "particle size is less than or equal to 0.5 mm", a graph name required to be drawn in the parameter test process is confirmed to be a graph having a relationship between cone penetration depth and moisture content ", a data item name" moisture content "on an x axis of the graph, and a data item name" cone penetration depth "on a y axis of the graph.
Table 1 basic service parameter table
Figure 694760DEST_PATH_IMAGE001
And step two, identifying a detection data part in the test parameter record table, and establishing a coordinate system based on the detection data part.
The coordinate system establishing module acquires a table structure of a test parameter record table of a limit water content-liquid limit and plastic limit combined determination method of a current test, and automatically divides the test parameter record table into a title part (namely the name of the current test), a basic information part (including information such as an engineering part, sample information, a detection date, a detection basis and a test environment), a detection data part (including cone penetration depth, water content, liquid limit, plastic limit and a plasticity index and the like), an additional statement part and a payment part. And establishing a data quadrant by taking the upper left corner of the table boundary of the detected data part as an origin position, taking the first row as a transverse x axis and taking the first column as a longitudinal y axis, and identifying the row number and the column number of data in the data quadrant. In this embodiment, the number of rows and the number of columns of data identified in the parameter record table of the current test are 16 rows and 8 columns, and the coordinate point of each data cell in the table of the parameter record table of the test is calculated according to the number of rows and the number of columns, so as to obtain a coordinate system formed by the coordinate points.
And step three, establishing data association and identification.
The data association identification module acquires the data item name of each cell in the current test parameter record table, automatically establishes association relationship between the cells of the data item names 'moisture content' and 'cone depth' in the coordinate system established in the previous step and the x-axis data item names 'moisture content' and the y-axis data item names 'cone depth' of the graph to be drawn acquired in the first step, and sequentially and respectively marks the associated data items as x in the parameter record table1、x2、x3……xn,y1、y2、y3……ynN represents the number of data items, and the coordinates of the cells can be expressed as (x) respectively1、y1)、(x2、y2)……(xn、yn)。
Three moisture content data in a parameter recording table of a graph to be detected are automatically identified to be 17.8, 23.0 and 28.7 respectively, three cone depth data are 4.6, 10.2 and 20.1 respectively, and coordinate points of unit grids of the 6 data in a coordinate system are identified to be G13, E13, C13, G5, E5 and C5 respectively, wherein G, E and C both represent unit grids of different rows or columns, namely, in the coordinate system, columns are identified by English capital letters A-Z in sequence (for example, a first column is represented by A, a second column is represented by B, a third column is represented by C and the like in sequence, and rows are represented by integers in the range of 0-1000 or more in sequence, for example, the first row is represented by 1, the second row is represented by 2, the third row is represented by 3 and the like in sequence).
And fourthly, calculating coordinate point data, and calculating the coordinate point data of the graph to be drawn based on the marked data item and the coordinate system after the association relation is established.
And calculating basic coordinate point data and control point data required by drawing in a coordinate point data calculation module based on the data association and the identification established in the step three.
Specifically, based on the data items marked in the previous steps and the coordinate system after the association relationship is established, the basic coordinate points of the 'cone penetration depth and water content relationship graph' of the graph to be drawn are calculated as follows: a. the1(17.8,4.6)、A2(23.0,10.2)、A3(28.7,20.1);
The coordinates of the control points of the test which are operated according to the preset logic processing operation rule in the next step are calculated as follows: y = 20.1;
calculating to obtain coordinate points of the graphic display unit grids as follows: a17 shown in FIG. 4 of the test parameter record table structure;
calculating to obtain the coordinate points of the cells for the back filling data as follows: c14, C15 shown in fig. 4; wherein A, C each represent a differently numbered cell.
In some embodiments, if the preset logic processing operation rule does not need to use the control point, the control point coordinate is directly assigned to the null value and does not participate in the logic operation.
And fifthly, inputting the basic service parameters and the coordinate point data into a data processing model corresponding to the test for operation processing to obtain drawing element data.
And starting a preset data processing model of which the basic service parameter is 'soil-fine soil-particle size is less than or equal to 0.5 mm' -limit water content-liquid limit and plastic limit joint determination method specified 'cone penetration depth and water content relation graph' in the data preprocessing module. In other embodiments, the preset data processing model corresponding to other types of graphics is enabled.
And inputting the obtained basic service parameters and coordinate point data obtained by the previous calculation into the data processing model for operation, wherein the data processing model is preset with corresponding data operation rules set according to JTG 3430 and 2020 road geotechnical test regulations. By executing the data operation rule, the curve data required by drawing can be calculated as follows: the equation of linear fitting by using the least square method is y =3.088x-3.197, the calculated correlation is 0.99998385, and the depth of penetration hpThe vertical line data is (28.6, 20.0), (16.8, 3.9) and the values required to be back-filled into cells C14 and C15 are 28.6 and 16.8, respectively. In some graphics rendering, no backfill data is needed, and therefore no calculation of the backfill data is needed.
In this embodiment, the preset data operation rule specifically includes:
setting the maximum value of the penetration depth of the cone as yaAnd is combined with yaAs control points, based on control point yaCarrying out logic judgment, wherein the overall judgment step is as follows:
(1) when preset yaWhen the test data is not in the preset numerical range (ya is more than or equal to 19.8 and less than or equal to 20.2), the graphic drawing module needs to be informed, the test data is displayed to be out of specification in a drawing area (namely SVG canvas), and workers are prompted that the test data is out of specification;
(2) when preset yaWhen the obtained basic coordinate point A is within a preset numerical range1、A2、A3And (3) performing linear fitting on the three points by using a least square method, wherein the linear equation is y =3.088x-3.197, if the correlation is more than or equal to 99%, considering that the 3 points are on one straight line, and if the correlation is less than 99%, determining that the three points are on the same straight lineNot in a straight line.
When 3 points are on a straight line, executing the following step 1, and then directly executing the data calculation process of the step 3;
when 3 points are not on 1 straight line, the step 2 is executed first, and then the data calculation process of the step 3 is directly executed.
Step 1: when three points are on a straight line, drawing by using a log-log coordinate axis (the base number is 10) is selected, and A is connected1、A2、A3Three points form a straight line, for example, a straight line formed by connecting c, b and a in a detection item 'soil' -detection parameter name 'boundary water content' specified in JTG 3430-2020 road soil test regulation shown in figure 2 and a 'relationship between cone penetration depth and water content (h-w)' diagram of a test method name 'liquid limit and plastic limit combined determination method';
step 2: when A is1、A2、A3When three points are not in a straight line, A is adjusted1Point and point A2、A1And A3Are connected into 2 straight lines according to A3The water content of the point is determined by the detection items ' soil ' -detection parameter name ' boundary water content ' specified in JTG 3430-2020 road geotechnical test code road water transportation test detection each test code ' shown in figure 3, and the test method name ' liquid limit and plastic limit combined determination method ' hp-wLFinding out the corresponding depth h of penetration on the relation curvepP =1, 2.. said.m., based on the found hp(for h found on the figure)pAnd the water content is obtained on a double logarithmic axis after conversion into a logarithmic value), and the water content is obtained on an A (cone penetration depth) and water content (h-w) relation graph A of a detection item ' soil ' -detection parameter name ' boundary water content ' and a test method name ' liquid limit and plastic limit combined determination method ' specified in JTG 3430-2020 road soil engineering test procedure road water transportation test detection each test procedure ' shown in figure 21A2(i.e., segment bc), A1A3(i.e., the line segment ac) two corresponding water cut lines are obtained on two straight lines. In FIG. 2, points a, b, and c represent three sets of values (water content, depth of penetration) corresponding to the three points A3、A2、A1
And then, judging the difference value of the two obtained water contents:
A. when the difference value (original value, non-converted logarithm value) of the two water contents is larger than 2%, displaying that the water content out-of-tolerance is larger than or equal to 2% in a picture area, prompting a user that abnormal result data occurs, and not drawing a graph;
B. when the difference value (original value, non-converted logarithm value) of 2 water contents is less than 2%, using the average value of said two water contents and A1And connecting to form a straight line, wherein the straight line is the straight line on the drawn h-w graph.
And step 3: performing data calculations
The data values in the calculation process are values which are obtained by solving logarithm values on a log-log coordinate axis and then solving the logarithm values reversely, and the specific operation conversion rule is as follows:
1) firstly, A is firstly1、A2、A3Three points are converted into log-log coordinate axis points: a. the1(1.458,1.303),A2(1.362,1.009),A3(1.250, 0.663), the equation of the straight line fitted by the least square method is y =3.088x-3.197, the correlation is 0.99998, and the three points can be regarded as being on a straight line, namely, according to the step 1, a log-log coordinate axis (base number is 10) is selected to be used for drawing graphs, and A is connected1、A2、A3The three points form a straight line;
when the data ya =20.1 of the preset control point, that is, ya is within a numerical range of 19.8 ≦ ya ≦ 20.2, w is thereby setLIs hpThe value of x-axis in the case of =20 was found to have an intersection point of (1.457, 1.301) on the log-log coordinate axis, that is, wLThe value of (a) is 10^1.457 = 28.636, again according to h in FIG. 3p-wLH for calculating sample variety class name as 'fine soil' by formulapTo obtain hp3.870;
when y isaNot within a predetermined range of values, e.g. yaTime = 17:
on the h-w diagram shown in FIG. 2, hpThe value on the x-axis at =17 is wLA value of 28.6; on the h-w diagram shown in FIG. 2, hpValue on x-axis at =20Is namely wpThe value is 16.8.
W found under the above conditionsLAnd wpThe values of (A) are subjected to data reduction calculation processing according to a numerical value reduction rule and a limit numerical value representation (GB/T81702008) part 3 of 'numerical value reduction interval', and 1 digit of a decimal point is reserved, so that accurate drawing element data for drawing a graph is obtained.
And step six, inputting the drawing element data into a graphic drawing model corresponding to the test and converting the drawing element data into pixel unit data.
And processing the drawing element data obtained in the previous step by using a graph drawing model which is set according to a test project name of 'soil-fine soil-particle diameter is less than or equal to 0.5 mm' and a 'cone penetration depth and water content relation graph' specified by a limit water content-liquid limit and plastic limit combined measuring method in a data preprocessing module.
And the specific steps are that the coordinate points obtained by calculation in the fifth step are converted into logarithm values according to a preset graph drawing model in a data preprocessing module, and then the logarithm values are converted into pixel values according to a proper proportion, and finally graph drawing is carried out in a double-logarithm coordinate axis. In this embodiment, the vertical line data (28.6, 20.0) after the decimal point is retained in the step five is converted into a logarithmic value (1.457, 1.301), the logarithmic value is converted into a pixel coordinate point (162.207, 25.862) according to a preset proportion, the vertical line data (16.8, 3.9) is converted into a logarithmic value (1.226, 0.587), and the pixel coordinate point is converted into a pixel coordinate point (80.191,110.371).
And step seven, drawing the graph to be drawn by utilizing the pixel unit data.
In the graph drawing module, the graph width and height of the graph drawing model of this embodiment are 520px and 270px, respectively, the coordinate axis types are logarithmic coordinate axes, the origin is (10, 1), the moisture content scale of the horizontal axis is [10, 20, 30, 40, 50, 60, 70], the cone penetration depth scale of the vertical axis is [1, 2, 5, 10, 20, 30], the coordinate axis style is an arrow style, the curve style is a linear trend line, the legend style is a circular punctuation, and the graph title is a "cone penetration depth and moisture content relation graph". And generating a curve graph on the SVG canvas by using the converted pixel unit data obtained in the previous step. And displaying the generated curve graph in the cell A17 of the record table obtained in the previous step, reversely filling the calculated plastic limit value 28.6 and liquid limit value 16.8 into the cells C15 and C14 of the record table to be displayed as more accurate test data, wherein the graph drawn by using the method is shown in figure 5 and is displayed in the cell A17 of the calculated test parameter record table.
The method can also be applied to drawing other types of test detection graphs, such as a screening/grading curve graph (a) and a relation curve graph (b) of water content and dry density, which are drawn according to the steps of the method and preset data processing rules corresponding to the graphs, as shown in fig. 6.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and scope of the present invention should be included in the present invention.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.

Claims (7)

1. A method for automatically generating a road water transport test detection graph is characterized by comprising the following steps of:
acquiring the name of a graph to be drawn and the name of a coordinate axis data item based on basic service parameters corresponding to the test;
identifying a detection data part in the test parameter record table, and establishing a coordinate system based on the detection data part;
establishing association between the data item names in the coordinate system and coordinate axis data item names of the graph to be drawn, and marking the associated data items;
calculating coordinate point data related to the graph to be drawn based on the marked data items and the coordinate system after the association is established;
inputting the basic service parameters and the coordinate point data into a data processing model corresponding to a test for operation processing to obtain drawing element data, and the specific steps comprise:
inputting the basic service parameters and the coordinate point data into a data processing model corresponding to a test;
starting a preset data operation rule based on a test procedure of highway water transport test detection:
setting a control point;
judging whether the control point is in a preset numerical range, if not, displaying test data in a drawing area to be out of specification, if so, processing the basic service parameters and the coordinate point data according to the data operation rule, and calculating to obtain drawing data;
carrying out data reduction calculation processing on the drawing data to obtain drawing element data;
inputting the drawing element data into a graphic drawing model corresponding to a test and converting the drawing element data into pixel unit data;
drawing a graphic using the pixel unit data.
2. The method of claim 1, wherein the step of identifying the inspection data portion of the test parameter record table and establishing the coordinate system based on the inspection data portion comprises:
identifying the structure of the test parameter record table and identifying the detection data part in the test parameter record table;
taking the upper left corner of the detected data part as an origin, taking the first row as an x axis, taking the first column as a y axis to establish a data quadrant, and identifying the number of rows and columns of data in the data quadrant;
and calculating the coordinate point of each data cell in the table of the parameter record table according to the identified row number and column number, thereby obtaining a coordinate system.
3. The method for automatically generating the road water transport test detection graph as claimed in claim 1, wherein the step of calculating the coordinate point data of the graph to be drawn based on the marked data item and the coordinate system after the association relationship is established comprises:
calculating a basic coordinate point of a graph to be drawn; and
calculating control point coordinates for performing logical operations in the data processing model; and
calculating coordinates of a cell for displaying a graphic; and/or the presence of a gas in the gas,
cell coordinates for the back fill data are calculated.
4. The method for automatically generating the road water transport test detection graph as claimed in claim 1, wherein before obtaining the name of the graph to be drawn and the name of the coordinate axis data item, the method further comprises the following steps:
and pre-establishing a corresponding data processing model and a corresponding graph drawing model based on each test procedure detected by the road water transport test.
5. The method for automatically generating the road water transport test detection graph as claimed in claim 3, wherein after the graph is drawn by using the pixel unit data, the method further comprises the following steps:
and back filling the data which is processed by the data processing model operation and needs to be back filled into the corresponding cell.
6. The method for automatically generating the road water transport test detection graph as claimed in claim 3, wherein after the graph is drawn by using the pixel unit data, the method further comprises the following steps:
and displaying the drawn graph into a cell for displaying the graph.
7. An automatic generation system of road water transport test detection patterns, wherein the automatic generation system is operable to execute an automatic generation method of road water transport test detection patterns according to any one of claims 1 to 6, and the automatic generation system of patterns comprises:
the device comprises a to-be-drawn graph information confirming module, a to-be-drawn graph information confirming module and a drawing module, wherein the to-be-drawn graph information confirming module is used for acquiring the name of a to-be-drawn graph and the name of a coordinate axis data item based on basic service parameters corresponding to a test;
the coordinate system establishing module is used for identifying the detection data part in the test parameter record table and establishing a coordinate system based on the detection data part;
the data association identification module is used for establishing association between the data item names in the coordinate system and the coordinate axis data item names of the graph to be drawn, and marking the associated data items;
the coordinate point data calculation module is used for calculating coordinate point data of the graph to be drawn based on the marked data items and the coordinate system after the incidence relation is established;
the data preprocessing module is used for inputting the basic service parameters and the coordinate point data into a data processing model corresponding to a test for operation processing to obtain drawing element data;
the preprocessing data conversion module is used for inputting the drawing element data into a graphic drawing model corresponding to a test and converting the drawing element data into pixel unit data;
and the graph drawing module is used for drawing a graph to be drawn by utilizing the pixel unit data.
CN202210289582.4A 2022-03-23 2022-03-23 Automatic generation method and system for road water transport test detection graph Pending CN114387369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210289582.4A CN114387369A (en) 2022-03-23 2022-03-23 Automatic generation method and system for road water transport test detection graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210289582.4A CN114387369A (en) 2022-03-23 2022-03-23 Automatic generation method and system for road water transport test detection graph

Publications (1)

Publication Number Publication Date
CN114387369A true CN114387369A (en) 2022-04-22

Family

ID=81206068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210289582.4A Pending CN114387369A (en) 2022-03-23 2022-03-23 Automatic generation method and system for road water transport test detection graph

Country Status (1)

Country Link
CN (1) CN114387369A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714492A (en) * 2014-01-02 2014-04-09 广西电网公司电力科学研究院 Automatic report generating method capable of meeting power distribution network management specific data standards
CN109388612A (en) * 2018-09-14 2019-02-26 中国科学院光电研究院 A kind of method, equipment, system and the medium of data summarization document structure tree
CN111104783A (en) * 2019-12-17 2020-05-05 珠海格力电器股份有限公司 Data verification method and device, electronic equipment and storage medium
CN111898349A (en) * 2020-07-31 2020-11-06 湖北交投智能检测股份有限公司 Method and system for producing test detection form of highway water transport engineering
CN112732791A (en) * 2021-01-12 2021-04-30 上海地铁维护保障有限公司 Wireless AP data analysis platform and method
CN113705286A (en) * 2020-05-22 2021-11-26 上海深杳智能科技有限公司 Form detection and identification method and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714492A (en) * 2014-01-02 2014-04-09 广西电网公司电力科学研究院 Automatic report generating method capable of meeting power distribution network management specific data standards
CN109388612A (en) * 2018-09-14 2019-02-26 中国科学院光电研究院 A kind of method, equipment, system and the medium of data summarization document structure tree
CN111104783A (en) * 2019-12-17 2020-05-05 珠海格力电器股份有限公司 Data verification method and device, electronic equipment and storage medium
CN113705286A (en) * 2020-05-22 2021-11-26 上海深杳智能科技有限公司 Form detection and identification method and medium
CN111898349A (en) * 2020-07-31 2020-11-06 湖北交投智能检测股份有限公司 Method and system for producing test detection form of highway water transport engineering
CN112732791A (en) * 2021-01-12 2021-04-30 上海地铁维护保障有限公司 Wireless AP data analysis platform and method

Similar Documents

Publication Publication Date Title
CN106204692B (en) A kind of ocean section drawing drawing method based on GIS platform
EP0229849B1 (en) Method and apparatus for designing three-dimensional container
JP2006507769A (en) Color gamut display and visualization
GB2371194A (en) Indicating image processing status
US20020064305A1 (en) Image processing apparatus
CN108509538B (en) Surveying and mapping result quality examination and points-scoring system
CN114387369A (en) Automatic generation method and system for road water transport test detection graph
CN111784801B (en) Automatic drawing method and system for parking space plan of completion monomer building
US11288862B2 (en) System and method for transforming graphical images
CN111089539A (en) Method for constructing wafer contour map
CN110533714A (en) Method and system based on image processing techniques detection target object maximum inscribed circle
CN116452756A (en) Three-dimensional scene local automatic generation method, device, equipment and storage medium
CN114167827B (en) Method and device for producing and processing indoor design material
Dobesova et al. Program extension for diagram maps
CN111125462B (en) Accident analysis system
CN116385807B (en) Abnormal image sample generation method and device
CN115690090B (en) Defect sample image generation method, device, equipment and storage medium
CN117416049B (en) Printing equipment control method and system based on 3D printing technology
JP3679241B2 (en) Construction drawing recognition method and recognition apparatus
US7343269B2 (en) Object designing method, object designed by said method, and program for executing said method
JP3595393B2 (en) Construction drawing recognition method and recognition device
CN117308821B (en) Building decoration modeling precision inspection method and system based on scanner
CN113392823B (en) Oil level meter reading method based on deep network regression
CN115861484A (en) Word cloud generation method based on movable component and frame field coupling optimization
JP3545481B2 (en) Image recognition method and apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220422

RJ01 Rejection of invention patent application after publication