A method for automatically drawing mine tunnel edges based on line-surface relationship

By using a method based on line-surface relationships, we obtain coal mine tunnel data, draw triangular meshes, and process intersecting line segments. This solves the problem of low accuracy and low efficiency in mine map drawing in the coal mining industry, and achieves automatic mapping and data continuity of tunnel edges.

CN117152376BActive Publication Date: 2024-10-15CHINA COAL RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311024812.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2024-10-15
Estimated Expiration
2043-08-14

AI Technical Summary

Technical Problem

It is difficult to improve the accuracy and efficiency of mine map drawing in the coal mining industry with existing technologies, resulting in untimely and inaccurate surveying and mapping in coal mine construction and production.

Method used

The automatic mapping method of mine roadway edges based on line-surface relationships is used to obtain coal mine roadway data, draw the triangular mesh surface of the closed tunnel, and process the intersecting line segments on the target plane, cancel or retain the line segments according to the relationship between the triangular mesh surfaces, and generate Coal mine tunnel plan.

Benefits of technology

It improves the accuracy and efficiency of mine map drawing, ensures the integrity and continuity of tunnel data, realizes automatic mapping of tunnel edges, and reduces computational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117152376B_ABST
    Figure CN117152376B_ABST
Patent Text Reader

Abstract

The present application proposes a method for automatically mapping the mine roadway edge based on the line-surface relationship, including: obtaining the roadway data of the coal mine; drawing multiple closed roadways and generating the triangulated mesh of each closed roadway according to the roadway data; projecting multiple closed roadways to the target plane; when any two closed roadways intersect on the target plane, the double lines of any two closed roadways are divided into multiple line segments, and each line segment is cancelled or retained according to the relationship between each line segment in the multiple line segments and the triangulated mesh of any two closed roadways; based on the processed line segments of the multiple closed roadways, the roadway plane of the coal mine is obtained. Thus, the automatic generation of roadway edges in the mine map is realized through the relationship between the line segments of the closed roadway and the triangulated mesh of the roadway, the calculation complexity is low, and the accuracy and efficiency of the generated roadway plane are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of coal mine technology, and in particular to a method for automatically mapping mine roadway edges based on line-surface relationships. Background Art

[0002] Mine maps are important technical data for the mining industry and are indispensable reference maps for the management and production of the coal mining industry. Mine maps must be surveyed and mapped in a timely and accurate manner during coal mine construction and production. Computer technology has the characteristics of high precision, high speed and long-term preservation for the drawing of mine maps. Therefore, how to improve the accuracy and efficiency of mine map drawing is an urgent problem to be solved. Summary of the invention

[0003] This application proposes a method, device, computer equipment and storage medium for automatically drawing the mine roadway boundary based on line-surface relationship. The specific scheme is as follows:

[0004] In one aspect, an embodiment of the present application proposes a method for automatically mapping the mine roadway edges based on line-surface relationships, comprising:

[0005] Obtaining tunnel data of coal mines;

[0006] According to the lane data, draw a plurality of closed lanes and generate a triangulated mesh surface of each closed lane;

[0007] projecting the plurality of closed lanes onto a target plane;

[0008] In the case where any two closed lanes on the target plane intersect, the double lines of the any two closed lanes are divided into a plurality of line segments, and each line segment in the plurality of line segments is cancelled or retained according to the relationship between each line segment and the triangulated mesh of the any two closed lanes;

[0009] Based on the processed line segments of the multiple closed tunnels, a tunnel plan view of the coal mine is obtained.

[0010] Another aspect of the present application is to provide a device for automatically drawing the edge lines of a mine map based on line-surface relationships, comprising:

[0011] The first acquisition module is used to acquire the tunnel data of the coal mine;

[0012] A drawing and generating module, used for drawing a plurality of closed lanes and generating a triangulated mesh surface of each closed lane according to the lane data;

[0013] A projection module, used for projecting the plurality of closed lanes onto a target plane;

[0014] A processing module, configured to, when any two closed lanes on the target plane intersect, divide the double lines of the any two closed lanes into a plurality of line segments, and cancel or retain each line segment according to a relationship between each line segment in the plurality of line segments and the triangulated mesh of the any two closed lanes;

[0015] The second acquisition module is used to obtain the tunnel plan of the coal mine based on the processed line segments of the multiple closed tunnels.

[0016] Another aspect of the present application provides a computer device, including a processor and a memory;

[0017] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method as described in the above-mentioned one aspect of the embodiment.

[0018] Another aspect of the present application provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the above aspect of the embodiment.

[0019] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0021] Figure 1 A schematic diagram of a process for automatically mapping the mine roadway edges based on line-surface relationships provided in an embodiment of the present application;

[0022] Figure 2 A schematic diagram of a laneway conductor in an XY plane provided in an embodiment of the present application;

[0023] Figure 3 Based on Figure 2 Schematic diagram of double lane lines obtained from the wire points in the tunnel;

[0024] Figure 4 For the general Figure 3 Schematic diagram of a closed lane obtained by double-line closure of the lane shown in ;

[0025] Figure 5 for Figure 4 Schematic diagram of the triangulated surface of the closed roadway shown;

[0026] Figure 6A schematic diagram of the three-dimensional spatial relationship between the closed lane A and the closed lane B provided in the embodiment of the present application;

[0027] Figure 7 for Figure 6 The schematic diagram of the intersection of the projections of the closed lane A and the closed lane B on the plane XY is shown;

[0028] Figure 8 A schematic diagram of a process for automatically mapping the mine roadway edges based on line-surface relationships provided in an embodiment of the present application;

[0029] Fig. 9 Schematic diagram of the relative position relationship between the closed lane A and the closed lane B on the plane XY provided in the embodiment of the present application Figure 1 ;

[0030] Fig.10 Schematic diagram of the relative position relationship between the closed lane A and the closed lane B on the plane XY provided in the embodiment of the present application Figure 2 ;

[0031] Fig.11 Schematic diagram of the relative position relationship between the closed lane A and the closed lane B on the plane XY provided in the embodiment of the present application Figure 3 ;

[0032] Fig.12 A schematic structural diagram of a device for automatically mapping mine tunnel edges based on line-surface relationships provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0034] The following describes, with reference to the accompanying drawings, a method for automatically mapping the edges of mine tunnels based on line-surface relationships in an embodiment of the present application.

[0035] Figure 1 A schematic diagram of the process of automatically mapping the mine tunnel edges based on line-surface relationships provided in an embodiment of the present application.

[0036] like Figure 1 As shown, the automatic drawing method of mine roadway edges based on line-surface relationship includes:

[0037] Step 101, obtaining the tunnel data of the coal mine.

[0038] In the present application, the tunnel data of the coal mine may include the location information of multiple points on the edge lines of each tunnel, the location information of the guide points of each tunnel, the left-hand distance and the right-hand distance of the guide points, etc.

[0039] Step 102: Draw a plurality of closed lanes according to the lane data and generate a triangulated mesh surface for each closed lane.

[0040] In the present application, the guide wire points of each lane can be drawn according to the position information of the guide wire points of each lane in the lane data, and the guide wire points can be connected to obtain the lane guide wire, and the point on the left side corresponding to the guide wire point can be obtained according to the left bond distance of the guide wire point, and the point on the right side corresponding to the guide wire point can be obtained according to the right bond distance of the guide wire point. The left points are connected to obtain the left bond line, and the right points are connected to obtain the right bond line, that is, the double line of the lane is obtained, and then the double line of the lane is closed to obtain a closed lane.

[0041] for example, Figure 2 The black points in the XY plane are the wire points of a certain lane. The lane wire of the lane is obtained by connecting the wire points. Figure 2 The distance between the left and right lanes corresponding to the wire points in the tunnel is used to draw the left and right lane lines, thereby obtaining the lane double lines of the lane, such as Figure 3 shown.

[0042] In the present application, multiple points on each lane double line can also be drawn according to the position information of multiple points on each lane side line, and the points on the same side line can be connected to obtain the lane double line, and the lane double line can be closed to obtain a closed lane.

[0043] After obtaining multiple closed lanes, each of the multiple closed lanes can be converted to generate a triangulated mesh surface of each closed lane, or after drawing each closed lane, the closed lane can be converted to obtain a triangulated mesh surface of the closed lane.

[0044] For example, Figure 3 The double lines of the lane shown in the figure are closed to form a closed polygon, and the corresponding closed lane is drawn, as shown in Figure 4 As shown; Figure 5 for Figure 4 Schematic diagram of the triangulated mesh of the closed tunnel shown. Figure 6 A schematic diagram of the three-dimensional spatial relationship between closed tunnel A and closed tunnel B provided in an embodiment of the present application.

[0045] Step 103, projecting multiple closed tunnels onto a target plane.

[0046] The target plane may refer to an XY plane in a geodetic coordinate system.

[0047] Step 104, when any two closed lanes on the target plane intersect, the double lines of the any two closed lanes are divided into multiple line segments, and each line segment is cancelled or retained according to the relationship between each line segment in the multiple line segments and the triangulated mesh of the any two closed lanes.

[0048] In the present application, there may be a situation where two closed lanes intersect on the target plane. If any two closed lanes intersect, the double lines of any two closed lanes are divided into multiple line segments.

[0049] For example, Figure 6 The closed lane A and the closed lane B shown are projected onto plane XY, as shown in FIG7 . Figure 7 In the figure, two closed lanes A and B intersect on the target plane XY with four intersection points P1, P2, P3, and P4. The four intersection points divide the double line of closed lane A into line segments a1, a2, a3, a4, a5, and a6, and the four intersection points divide the double line of closed lane B into line segments b1, b2, b3, b4, b5, and b6.

[0050] In the present application, for each line segment, whether to cancel the line segment can be determined based on whether each line segment is covered by a closed lane intersecting with the closed lane to which it belongs and the height relationship between the line segment and the closed lane. If it is determined to cancel the line segment, the line segment is cancelled; if it is determined to retain the line segment, the line segment is retained.

[0051] Step 105, obtaining a tunnel plan view of the coal mine based on the processed line segments of the plurality of closed tunnels.

[0052] In this application, for intersecting closed tunnels, each line segment of the closed tunnel is canceled or retained, and the tunnel plan of the coal mine is obtained based on the processed line segments of multiple closed tunnels, thereby achieving automatic drawing of the tunnels while ensuring the integrity and continuity of the tunnel data.

[0053] Among them, the tunnel plan can express the relative position relationship between tunnels.

[0054] In an embodiment of the present application, multiple closed lanes can be drawn based on the lane data and a triangulated mesh surface for each closed lane can be generated, and the multiple closed lanes can be projected onto a target plane. For any two closed lanes intersecting on the target plane, the double lines of the two closed lanes are divided into multiple line segments. Based on the relationship between each line segment and the triangulated mesh surface of the two intersecting closed lanes, the line segment is cancelled or retained. Based on the cancellation or retention of the processed line segments of the multiple closed lanes, a lane plan view of the coal mine can be obtained, thereby realizing the automatic generation of lane edge lines in the mine map through the relationship between the line segments of the closed lanes and the triangulated mesh surface of the lanes, with low computational complexity, thereby improving the accuracy and efficiency of the generated lane plan view.

[0055] Figure 8 A schematic diagram of the process of automatically mapping the mine tunnel edges based on line-surface relationships provided in an embodiment of the present application.

[0056] like Figure 8 As shown, the automatic drawing method of mine roadway edges based on line-surface relationship includes:

[0057] Step 801, obtaining the tunnel data of the coal mine.

[0058] Step 802: Draw a plurality of closed lanes according to the lane data and generate a triangulated mesh surface for each closed lane.

[0059] Step 803, projecting multiple closed tunnels onto a target plane.

[0060] Step 804: When any two closed lanes on the target plane intersect, the double lines of the any two closed lanes are divided into a plurality of line segments.

[0061] In the present application, steps 801 to 804 can refer to the relevant contents recorded in the above embodiments, so they will not be repeated here.

[0062] Step 805: For a first line segment belonging to a first closed lane among any two closed lanes among the multiple line segments, cancel or retain the first line segment according to the relationship between the first line segment and a first triangulated surface of a second closed lane among any two closed lanes.

[0063] In the present application, the double lines of any two intersecting closed alleys are divided into multiple line segments. For the first line segment belonging to the first closed alley of any two closed alleys, a point can be taken in the four directions of up, down, left and right of the midpoint of the first line segment respectively, where the distances between the four points and the midpoint of the first line segment are within a preset range. Then, based on the position information of the four points corresponding to the midpoint of the first line segment and the position information of the first triangulated mesh of the second closed alley, it is determined whether the four points corresponding to the midpoint of the first line segment are covered by the first triangulated mesh.

[0064] If the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface, and the difference between the longitudinal coordinate of the midpoint of the first line segment and the longitudinal coordinate of the mapping point of the midpoint of the first line segment on the first triangulated surface is less than or equal to a preset threshold, the first line segment can be cancelled.

[0065] Among them, the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface and the difference is less than the preset threshold, which means that the first line segment is below the second closed alley and is blocked by the plane where the second closed alley is located. The four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface and the difference is equal to the preset threshold. It can be considered that the first closed alley and the second closed alley intersect in three-dimensional space.

[0066] If the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface and the difference is greater than a preset threshold, it can be considered that the first line segment is located above the second closed laneway and the first line segment can be retained.

[0067] If any of the four points corresponding to the midpoint of the first line segment is not covered by the first triangulated surface, the first line segment may be retained.

[0068] for example, Figure 7 In the figure, take a point in each of the four directions of up, down, left and right from the midpoint of the line segment a1 on the closed lane A. If the four points a11, a12, a13 and a14 are not covered by the triangulated surface of the closed lane B, then retain the line segment a1. Use a similar method to judge the line segment a2-a6 and retain the line segment a2-a6.

[0069] Figure 7 In the figure, a point is taken from the midpoint of line segment b1 on closed lane B in the four directions of up, down, left and right. These four points are not covered by the triangulated surface of closed lane A. A point is taken from the midpoint of line segment b2 on closed lane B in the four directions of up, down, left and right. These four points are covered by the triangulated surface of closed lane A. The difference between the ordinate of the midpoint of line segment b2 and the ordinate of the mapping point of the midpoint of line segment b2 on the triangulated surface of closed lane A is less than 0. Line segment b2 is cancelled. A similar method is used to judge line segments b3-b6. Line segment b5 is cancelled, and line segments b3, b4 and b6 are retained. The relative position relationship between closed lane A and closed lane B on plane XY is finally obtained as follows: Fig. 9 As shown, closed tunnel A is located above closed tunnel B.

[0070] If closed lane B is located above closed lane A, the above method can be used to cancel or retain the line segment to obtain the relative position relationship between closed lane A and closed lane B on plane XY, such as Fig.10 As shown; if closed lane A intersects with closed lane B, the above method can be used to cancel or retain the line segment to obtain the relative position relationship between closed lane A and closed lane B on plane XY, as shown Fig.11 shown.

[0071] It can be seen that in the present application, whether to cancel the first line segment can be determined by determining whether four points whose distances from the midpoint of the first line segment in the four directions of up, down, left, and right are within a preset range are covered by the triangulated mesh of the second closed alley, and the difference between the longitudinal coordinate of the midpoint and the longitudinal coordinate of the mapping point of the midpoint on the triangulated mesh of the second closed alley, thereby improving the accuracy of the judgment.

[0072] Optionally, in the present application, a point can be randomly selected from the part of the first line segment excluding the two endpoints to determine whether the point is covered by the first triangulated mesh. If it is covered and the difference between the vertical coordinate of the point and the vertical coordinate of the mapping point of the point on the first triangulated mesh is less than or equal to a preset threshold, the first line segment can be cancelled; if the point is covered but the difference is greater than the preset threshold, the first line segment can be retained; if the point is not covered, the first line segment is retained.

[0073] Optionally, in the present application, the line segments between the intersection points of the first closed alley and the second closed alley can be determined from the multiple line segments on the first closed alley, the relationship between these line segments and the first triangulated mesh surface can be judged, and it can be determined whether to cancel these line segments, and the remaining line segments among the multiple line segments on the first closed alley are retained.

[0074] Step 806: For the second line segment belonging to the second closed lane among the multiple line segments, cancel or retain the second line segment according to the relationship between the second line segment and the second triangulated surface of the first closed lane.

[0075] In the present application, the double lines of any two intersecting closed alleys are divided into multiple line segments. For the second line segment belonging to the second closed alley of any two closed alleys, a point can be taken in the four directions of up, down, left and right of the midpoint of the second line segment, wherein the distances between the four points and the midpoint of the second line segment are within a preset range. Then, based on the position information of the four points corresponding to the midpoint of the second line segment and the position information of the second triangulated mesh of the first closed alley, it is determined whether the four points corresponding to the midpoint of the second line segment are covered by the second triangulated mesh.

[0076] If the four points corresponding to the midpoint of the second line segment are all covered by the second triangulated mesh, and the difference between the longitudinal coordinate of the midpoint of the second line segment and the longitudinal coordinate of the mapping point of the midpoint of the second line segment on the second triangulated mesh of the second closed alley is less than or equal to a preset threshold, the second line segment can be cancelled.

[0077] Among them, the four points corresponding to the midpoint of the second line segment are all covered by the second triangulated mesh surface and the difference is less than the preset threshold, which means that the second line segment is below the second closed alley and is blocked by the plane where the first closed alley is located. The four points corresponding to the midpoint of the second line segment are all covered by the second triangulated mesh surface and the difference is equal to the preset threshold. It can be considered that the second closed alley and the first closed alley intersect in three-dimensional space.

[0078] If the four points corresponding to the midpoint of the second line segment are all covered by the second triangulated surface and the difference is greater than a preset threshold, it can be considered that the second line segment is located above the second closed laneway and the second line segment can be retained.

[0079] If any of the four points corresponding to the midpoint of the second line segment is not covered by the second triangulated surface, the second line segment may be retained.

[0080] It can be seen that in the present application, whether to cancel the second line segment can be determined by determining whether four points within a preset range of distance from the midpoint of the second line segment in the four directions of up, down, left and right are covered by the triangulated mesh of the first closed alley, and the difference between the longitudinal coordinate of the midpoint and the longitudinal coordinate of the mapping point of the midpoint on the triangulated mesh of the first closed alley, thereby improving the accuracy of the judgment.

[0081] Optionally, in the present application, a point can be randomly selected from the part other than the two endpoints on the second line segment to determine whether the point is covered by the second triangulated mesh. If it is covered and the difference between the vertical coordinate of the point and the vertical coordinate of the mapping point of the point on the second triangulated mesh is less than or equal to a preset threshold, the second line segment can be cancelled; if the point is covered but the difference is greater than the preset threshold, the second line segment can be retained; if the point is not covered, the second line segment is retained.

[0082] Optionally, in the present application, the line segments between the intersection points of the first closed alley and the second closed alley can be determined from the multiple line segments on the second closed alley, the relationship between these line segments and the second triangulated mesh surface can be judged, and it can be determined whether to cancel these line segments, and the remaining line segments among the multiple line segments on the second closed alley are retained.

[0083] Step 807, obtaining a tunnel plan view of the coal mine based on the processed line segments of the multiple closed tunnels.

[0084] In the present application, step 807 can refer to the relevant contents in the above embodiment, so it will not be repeated here.

[0085] In an embodiment of the present application, for a line segment on one of any two closed alleys, it is possible to determine whether to cancel the line segment based on the coverage relationship between the line segment and the triangulated mesh of the other of the two closed alleys, and the difference between the longitudinal coordinate of the midpoint of the line segment and the longitudinal coordinate of the mapping point of the midpoint on the triangulated mesh of the other closed alley, thereby improving the accuracy of the judgment result.

[0086] In order to implement the above-mentioned embodiment, the embodiment of the present application also proposes a device for automatically mapping the mine map tunnel edges based on line-surface relationship. Fig.12 A schematic structural diagram of a device for automatically mapping mine tunnel edges based on line-surface relationships provided in an embodiment of the present application.

[0087] like Fig.12 As shown, the automatic drawing device 1200 for mining roadway edges based on line-surface relationship includes:

[0088] The first acquisition module 1210 is used to acquire the tunnel data of the coal mine;

[0089] A drawing generation module 1220 is used to draw multiple closed lanes and generate a triangulated mesh surface of each closed lane according to the lane data;

[0090] A projection module 1230, for projecting a plurality of closed lanes onto a target plane;

[0091] A processing module 1240 is used for, when any two closed lanes intersect on the target plane, dividing the double lines of the any two closed lanes into a plurality of line segments, and canceling or retaining each line segment according to the relationship between each line segment in the plurality of line segments and the triangulated mesh of the any two closed lanes;

[0092] The second acquisition module 1250 is used to obtain a tunnel plan view of the coal mine based on the processed line segments of the multiple closed tunnels.

[0093] In a possible implementation of the embodiment of the present application, the processing module 1240 is used to:

[0094] For a first line segment belonging to a first closed lane of any two closed lanes among the multiple line segments, cancel or retain the first line segment according to a relationship between the first line segment and a first triangulated surface of a second closed lane of any two closed lanes;

[0095] For a second line segment belonging to the second closed lane among the multiple line segments, the second line segment is cancelled or retained according to the relationship between the second line segment and the second triangulated surface of the first closed lane.

[0096] In a possible implementation of the embodiment of the present application, the processing module 1240 is used to:

[0097] Take a point in each of the four directions of the top, bottom, left, and right of the midpoint of the first line segment, wherein the distances between the four points and the midpoint of the first line segment are within a preset range;

[0098] Determine whether the four points corresponding to the midpoint of the first line segment are covered by the first triangulated surface;

[0099] When the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface, and the difference between the ordinate of the midpoint of the first line segment and the ordinate of the mapping point of the midpoint of the first line segment on the first triangulated surface is less than or equal to a preset threshold, cancel the first line segment;

[0100] When the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface and the difference is greater than a preset threshold, the first line segment is retained;

[0101] If any of the four points corresponding to the midpoint of the first line segment is not covered by the first triangulated surface, the first line segment is retained.

[0102] In a possible implementation of the embodiment of the present application, the drawing generation module 1220 is used to:

[0103] Draw multiple closed lanes according to the guide points of each lane in the lane data and the left and right distances of the guide points;

[0104] Each of the multiple closed lanes is converted to generate a triangulated mesh surface of each closed lane.

[0105] In a possible implementation of the embodiment of the present application, the drawing generation module 1220 is used to:

[0106] Draw multiple laneway traverses according to the traverse points of each laneway;

[0107] Draw the double line of the lane according to the left and right distances of the wire points on each lane wire;

[0108] The double lines of the tunnel are closed to obtain a closed tunnel.

[0109] It should be noted that the above explanation of the embodiment of the method for automatically mapping the mine map tunnel edges based on line-surface relationship is also applicable to the device for automatically mapping the mine map tunnel edges based on line-surface relationship of this embodiment, so it will not be repeated here.

[0110] In an embodiment of the present application, multiple closed lanes can be drawn based on the lane data and a triangulated mesh surface for each closed lane can be generated, and the multiple closed lanes can be projected onto a target plane. For any two closed lanes intersecting on the target plane, the double lines of the two closed lanes are divided into multiple line segments. Based on the relationship between each line segment and the triangulated mesh surface of the two intersecting closed lanes, the line segment is cancelled or retained. Based on the cancellation or retention of the processed line segments of the multiple closed lanes, a lane plan view of the coal mine can be obtained, thereby realizing the automatic generation of lane edge lines in the mine map through the relationship between the line segments of the closed lanes and the triangulated mesh surface of the lanes, with low computational complexity, thereby improving the accuracy and efficiency of the generated lane plan view.

[0111] In order to implement the above embodiment, the embodiment of the present application also proposes a computer device, including a processor and a memory;

[0112] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method for automatically mapping the mine map lane boundary lines based on the line-surface relationship as described in the above embodiment.

[0113] In order to implement the above embodiments, the embodiments of the present application also propose a non-temporary computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method for automatically drawing the mine map tunnel edges based on line-surface relationships as described in the above embodiments is implemented.

[0114] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0115] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for automatically mapping the mine roadway edges based on line-surface relationship, characterized in that: include: Obtaining tunnel data of coal mines; According to the lane data, draw a plurality of closed lanes and generate a triangulated mesh surface of each closed lane; projecting the plurality of closed lanes onto a target plane; In the case where any two closed lanes on the target plane intersect, the double lines of the any two closed lanes are divided into a plurality of line segments, and each line segment in the plurality of line segments is cancelled or retained according to the relationship between each line segment and the triangulated mesh of the any two closed lanes; Based on the processed line segments of the plurality of closed tunnels, a tunnel plan view of the coal mine is obtained; The canceling or retaining each line segment according to the relationship between each line segment in the plurality of line segments and the triangulated mesh surfaces of the arbitrary two closed lanes comprises: For a first line segment belonging to a first closed lane of the any two closed lanes among the plurality of line segments, cancel or retain the first line segment according to a relationship between the first line segment and a first triangulated surface of a second closed lane of the any two closed lanes; For a second line segment belonging to the second closed lane among the plurality of line segments, cancel or retain the second line segment according to a relationship between the second line segment and a second triangulated surface of the first closed lane; The canceling or retaining the first line segment according to the relationship between the first line segment and the first triangulated surface of the second closed lane of the any two closed lanes comprises: Select a point in each of the four directions of the midpoint of the first line segment, wherein the distances between the four points and the midpoint of the first line segment are within a preset range; Determine whether four points corresponding to the midpoint of the first line segment are covered by the first triangulated surface; If the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface, and the difference between the ordinate of the midpoint of the first line segment and the ordinate of the mapping point of the midpoint of the first line segment on the first triangulated surface is less than or equal to a preset threshold, cancel the first line segment; When the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface and the difference is greater than the preset threshold, retaining the first line segment; If any of the four points corresponding to the midpoint of the first line segment is not covered by the first triangulated surface, the first line segment is retained.

2. The method according to claim 1, characterized in that Drawing a plurality of closed lanes and generating a triangulated mesh surface of each closed lane according to the lane data includes: Draw the multiple closed lanes according to the guide wire points of each lane in the lane data and the left-side distance and the right-side distance of the guide wire points; Each of the multiple closed lanes is converted to generate a triangulated mesh surface of each closed lane.

3. The method according to claim 2, characterized in that Drawing the multiple closed lanes according to the guide wire points of each lane in the lane data and the left-side distance and the right-side distance includes: Drawing a plurality of laneway traverses according to the traverse points of each laneway; Draw a double lane line according to the left-side distance and the right-side distance of each wire point on the lane wire; The double lines of the lane are closed to obtain the closed lane.

4. A device for automatically drawing the mine roadway boundary based on line-surface relationship, characterized in that: include: The first acquisition module is used to acquire the tunnel data of the coal mine; A drawing and generating module, used for drawing a plurality of closed lanes and generating a triangulated mesh surface of each closed lane according to the lane data; A projection module, used for projecting the plurality of closed lanes onto a target plane; A processing module, configured to, when any two closed lanes on the target plane intersect, divide the double lines of the any two closed lanes into a plurality of line segments, and cancel or retain each line segment according to a relationship between each line segment in the plurality of line segments and the triangulated mesh of the any two closed lanes; A second acquisition module, configured to obtain a tunnel plan of the coal mine based on the processed line segments of the plurality of closed tunnels; Wherein, the processing module is used to: For a first line segment belonging to a first closed lane of the any two closed lanes among the plurality of line segments, cancel or retain the first line segment according to a relationship between the first line segment and a first triangulated surface of a second closed lane of the any two closed lanes; For a second line segment belonging to the second closed lane among the plurality of line segments, cancel or retain the second line segment according to a relationship between the second line segment and a second triangulated surface of the first closed lane; The processing module is used to: Select a point in each of the four directions of the midpoint of the first line segment, wherein the distances between the four points and the midpoint of the first line segment are within a preset range; Determine whether four points corresponding to the midpoint of the first line segment are covered by the first triangulated surface; If the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface, and the difference between the ordinate of the midpoint of the first line segment and the ordinate of the mapping point of the midpoint of the first line segment on the first triangulated surface is less than or equal to a preset threshold, cancel the first line segment; When the four points corresponding to the midpoint of the first line segment are all covered by the first triangulated surface and the difference is greater than the preset threshold, retaining the first line segment; If any of the four points corresponding to the midpoint of the first line segment is not covered by the first triangulated surface, the first line segment is retained.

5. A computer device, characterized in that: including a processor and a memory; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method according to any one of claims 1 to 3.

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