Digital construction method and device for pipeline fracture scene, equipment and storage medium
By constructing a digital scene model of the three-dimensional terrain and the broken pipeline at the pipeline fracture location, the problem of incomplete information collection in existing technologies has been solved, and accurate digital restoration and refined reconstruction of the pipeline fracture scene have been achieved.
Patent Information
- Application Number
- CN202510955096.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-11
- Publication Date
- 2025-10-31
AI Technical Summary
In cases of pipeline weld fracture, existing technologies rely on manual measurement, resulting in incomplete and low-precision information collection, making it difficult to accurately reconstruct the on-site situation. Furthermore, traditional methods are insufficient to fully reflect the accident environment and spatial relationships.
By acquiring spatial terrain information and fracture information of the pipeline fracture location, a three-dimensional terrain model and a fractured pipeline model are constructed, and the data are integrated to form a digital scene model. Laser scanning and UAV acquisition equipment are used to improve measurement accuracy and data integrity.
It enables accurate and comprehensive digital reconstruction of pipeline fracture scenarios, improves data accuracy and the reliability of on-site reconstruction, and supports subsequent analysis and management.
Smart Images

Figure CN120874176A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a digital construction method, apparatus, device and storage medium for pipeline fracture scenarios. Background Technology
[0002] During the transportation of oil and gas pipelines, weld fracture is one of the main causes of pipeline failure. In particular, welds of long-distance pipelines subjected to large external loads can seriously threaten the safe operation of the pipeline.
[0003] In related technologies, the handling of pipeline weld fractures primarily relies on manual measurement and on-site recording. However, recording the on-site conditions of pipeline weld fractures through manual measurement often suffers from problems such as incomplete information collection, low accuracy, and cumbersome data processing, making it difficult to reconstruct the true on-site situation of the pipeline weld fracture. Summary of the Invention
[0004] The purpose of this application is to provide a digital reconstruction method, apparatus, equipment, and storage medium for pipeline fracture scenarios, which can accurately and comprehensively reproduce the actual on-site situation of pipeline weld fracture.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] Firstly, this application provides a method for digitally constructing a pipeline fracture scenario. The method includes: acquiring spatial terrain information of the target area where the pipeline fracture location is located, and pipeline break information; constructing a three-dimensional terrain model of the target area where the pipeline fracture location is located based on the spatial terrain information; and constructing a fractured pipeline model based on the pipeline break information. The three-dimensional terrain model and the fractured pipeline model are then integrated to obtain a digital scene model corresponding to the pipeline fracture scenario. The spatial terrain information is used to describe the geographical information and surrounding environment of the area where the pipeline fracture location is located.
[0007] The technical solution provided in this application can accurately determine the information of the pipeline fracture location and the spatial topography of the fracture area by acquiring spatial topographic information of the target area where the pipeline fracture is located and information of the pipeline fracture point. Based on the spatial topographic information, a three-dimensional topographic model is constructed, which can intuitively present the geographical features and surrounding environment of the area where the pipeline fracture is located, providing a realistic and reliable geographical basis for subsequent analysis. A fractured pipeline model is constructed based on the pipeline fracture point information, which can accurately simulate the specific shape of the pipeline fracture. Finally, the three-dimensional topographic model and the fractured pipeline model are integrated to obtain a digital scene model, realizing a digital presentation of the pipeline fracture scene and accurately and comprehensively restoring the actual on-site situation of the pipeline fracture location.
[0008] One possible approach is to integrate the 3D terrain model and the fractured pipe model to obtain a digital scene model corresponding to the pipe fracture scenario. Specifically, this can be achieved by using the 3D terrain model as a reference position and employing a coordinate transformation algorithm to convert the fractured pipe model into the 3D terrain model, thus obtaining the digital scene model corresponding to the pipe fracture scenario. The coordinate transformation algorithm ensures accurate matching between the fractured pipe model and the 3D terrain model within the same spatial coordinate system, improving the accuracy of the digitized scene model.
[0009] Another possible implementation involves using pipeline break information, including pipeline point cloud data. Based on this break information, a fractured pipeline model is constructed. Specifically, this can be achieved by stitching together the pipeline point cloud data, correcting its coordinates, and denoising it to obtain the fractured pipeline model. Stitching together, correcting its coordinates, and denoising the pipeline point cloud data can eliminate errors in the data, improve its integrity and accuracy, and enable the refined construction of the fractured pipeline model.
[0010] Another possible approach involves using spatial terrain information, including digital orthophotos and digital elevation model (DEM) data. Based on this information, a 3D terrain model of the target area where the pipeline fracture is located is constructed. Specifically, this can be achieved by fusing the digital orthophotos and DEM data of the target area to obtain a 3D terrain model. By combining clear imagery with precise height data, a precise mapping from a two-dimensional plane to a three-dimensional structure is achieved, accurately reconstructing the terrain of the pipeline fracture.
[0011] Another possible implementation involves fusing digital orthophotos and digital elevation model (DEM) data of the target area to obtain a 3D terrain model. Specifically, this can be achieved by: extracting image information from different locations within the digital orthophotos of the target area; and extracting height information from different locations within the DEM data of the target area. The image and height information of the same location within the target area are then fused to obtain the 3D terrain model. By fusing image and height information from the same location, a 3D terrain construction is achieved, accurately representing the terrain within the target area.
[0012] Another possible implementation involves obtaining pipe fracture information within a target area where the pipe fracture location is situated. Specifically, this can be achieved by using a laser scanning device to acquire the pipe fracture information according to a first parameter. Laser scanning can achieve measurement accuracy at the millimeter to centimeter level, ensuring the accuracy of the pipe measurement data.
[0013] Another possible implementation is that the first parameter includes at least one of measurement accuracy, acquisition accuracy, and model point spacing.
[0014] Another possible approach is to obtain spatial terrain information of the target area where the pipeline breakage is located. Specifically, this can be achieved by using a drone to collect this information according to a second parameter. The drone can automatically fly and collect data according to a plan, eliminating the need for real-time manual control and making the process more convenient and efficient.
[0015] Another possible implementation is that the second parameter includes at least one of flight altitude, heading overlap, lateral overlap, inclination angle, and spin angle.
[0016] Another possible implementation is that the display style of the digital scene model can be at least one of the following: data style, model style, and document style. By using data, model, and document presentation styles, the digital scene can be presented intuitively and comprehensively.
[0017] Secondly, a digital construction device for a pipeline rupture scenario is provided, the device comprising: an acquisition module, a construction module, and a data integration module.
[0018] The aforementioned acquisition module is used to acquire spatial terrain information of the target area where the pipeline fracture location is located, as well as pipeline fracture information. The spatial terrain information is used to describe the geographical information and surrounding environment of the area where the pipeline fracture location is located.
[0019] The aforementioned construction modules are used to construct a three-dimensional terrain model of the target area where the pipeline fracture is located based on spatial terrain information; and to construct a fractured pipeline model based on pipeline fracture information.
[0020] The aforementioned data integration module is used to integrate the 3D terrain model and the fractured pipeline model to obtain a digital scene model corresponding to the pipeline fracture scenario.
[0021] In one possible implementation, the aforementioned data integration module is also used to transform the fractured pipeline model into the three-dimensional terrain model using a coordinate transformation algorithm, based on the three-dimensional terrain model, to obtain a digital scene model corresponding to the pipeline fracture scene.
[0022] In another possible implementation, the aforementioned data integration module is also used to stitch together, correct coordinates, and denoise the pipeline point cloud data to obtain a fractured pipeline model.
[0023] Another possible implementation is that the aforementioned spatial terrain information includes digital orthophotos and digital elevation model data. The aforementioned data integration module is also used to fuse the digital orthophotos and digital elevation model data of the target area to obtain a three-dimensional terrain model.
[0024] In another possible implementation, the aforementioned data integration module is also used to extract image information from different locations in the digital orthophoto of the target area; and to extract height information from different locations in the digital elevation model data of the target area. The image information and height information at the same location within the target area are then fused to obtain a three-dimensional terrain model.
[0025] In another possible implementation, the aforementioned acquisition module is also used to acquire pipeline break information according to the first parameter using a laser scanning device.
[0026] Another possible implementation is that the first parameter mentioned above includes at least one of measurement accuracy, acquisition accuracy, and model point spacing.
[0027] In another possible implementation, the aforementioned acquisition module is also used to acquire spatial terrain information of the target area where the pipeline fracture location is located, according to the second parameter, using a drone acquisition device.
[0028] Another possible implementation is that the second parameter mentioned above includes at least one of flight altitude, heading overlap, lateral overlap, inclination angle, and spin angle.
[0029] Another possible implementation is that the display style of the above-mentioned digital scene model is at least one of the following: data style, model style, and document style.
[0030] The technical effects of any implementation method in the second aspect can be found in the technical effects of any implementation method in the first aspect mentioned above, and will not be repeated here.
[0031] Thirdly, a computer device is provided, comprising: a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the above-mentioned digital construction method for pipeline rupture scenarios.
[0032] Fourthly, a computer-readable storage medium is provided, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor to implement the above-mentioned digital construction method for pipeline rupture scenarios.
[0033] Fifthly, a computer program product is provided, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the above-mentioned digital construction method for pipeline rupture scenarios is implemented.
[0034] The solutions provided in aspects three through five above are used to implement the method provided in aspect one above, and their specific implementations will not be described in detail here. The technical effects corresponding to any implementation method of the solutions provided in aspects three through five above can be found in the technical effects corresponding to any implementation method in aspect one above, and will not be described in detail here.
[0035] It should be noted that any of the possible implementations of any of the above aspects can be combined, provided that the solutions do not contradict each other. Attached Figure Description
[0036] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 A schematic diagram of the structure of a computer system provided as an exemplary embodiment;
[0038] Figure 2 A flowchart illustrating a digital construction method for a pipeline fracture scenario, provided as an exemplary embodiment;
[0039] Figure 3 An image illustration of a three-dimensional terrain model provided for an exemplary embodiment;
[0040] Figure 4 A schematic image of a fractured pipe model provided for an exemplary embodiment;
[0041] Figure 5 A flowchart illustrating a method for visualizing a digital scene model, provided as an exemplary embodiment;
[0042] Figure 6 A schematic diagram of the structure of a digital construction device for a pipeline fracture scenario provided as an exemplary embodiment;
[0043] Figure 7 A schematic diagram of the structure of a computer device provided for an exemplary embodiment. Detailed Implementation
[0044] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0045] In the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "front," "rear," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or relative positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and for simplification, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Unless otherwise specified, the above-mentioned orientational descriptions can be flexibly set in practical applications, provided that the relative positional relationships shown in the accompanying drawings are satisfied.
[0046] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0047] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "communication" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a direct connection or an indirect connection through an intermediate medium, or a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0048] In embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.
[0049] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0050] In the embodiments of this application, at least one can also be described as one or more, and multiple can be two, three, four or more, and this application does not impose any restrictions.
[0051] In the description of this specification, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0052] To facilitate understanding, the terms used in the embodiments of this application will be explained first.
[0053] Circumferential weld: This refers to a closed weld formed along the circumference of a circular or annular workpiece such as a pipe or cylinder. In oil and gas pipeline engineering, circumferential welds are used to connect the ends of two pipeline sections into a single unit, and their welding quality directly affects the sealing performance and structural strength of the pipeline system. Circumferential welds are typically formed by continuous welding along the circumference of the pipeline using welding equipment. The weld morphology is influenced by welding process parameters such as welding current, voltage, and welding speed, as well as the groove shape and welding materials, and may contain defects such as cracks, lack of fusion, incomplete penetration, porosity, and slag inclusions.
[0054] Digital orthophotos are image datasets generated by correcting pixel-by-pixel projection differences in scanned digitized aerial photographs or remote sensing images using a digital elevation model, followed by image mosaicking and cropping according to map sheet size. The remote sensing images can be monochrome or color.
[0055] Digital elevation model (DEM) data refers to a model that digitally represents the undulations of the earth's surface using elevation data from discrete points in the form of a regular grid or an irregular triangular network. Essentially, it is a "dataset that uses numerical values to describe the elevation of the terrain."
[0056] It should be noted that all information (including but not limited to equipment information, altitude information, image information, etc.), data (including but not limited to data used for analysis, stored data, and displayed data), and signals involved in this application have been authorized by the subject or fully authorized by all parties, and the collection, use, and processing of related data must comply with relevant laws, regulations, and standards. For example, the pipeline point cloud data, digital elevation model data, etc. involved in this application were all obtained with full authorization.
[0057] The commonly used methods in the industry for digitally constructing pipeline fracture scenarios are mainly achieved by simulating the fracture process of circumferential welded pipe sections or by using drones for low-altitude photography, which will be briefly explained below.
[0058] For example, bending strain data and axial strain data of at least one circumferential welded pipe segment on the target pipeline are obtained, a load database and a defect database of the circumferential welded pipe segment of the target pipeline are established, the fracture process of the circumferential welded pipe segment of the target pipeline is simulated based on the load database and the defect database of the circumferential welded pipe segment, a twin mechanism model of the fracture process of the circumferential welded pipe segment is obtained, and the twin mechanism model of the fracture process of the circumferential welded pipe segment is digitally mapped through digital twin technology to construct a digital twin of the circumferential welded pipe segment.
[0059] For example, depending on whether 3D scene reconstruction or scene animation simulation is required, an appropriate drone low-altitude shooting scheme for the traffic accident scene is selected. The shooting parameters of the drone are selected and calculated according to the selected drone low-altitude shooting scheme. The traffic accident scene is shot according to the selected drone low-altitude shooting scheme and the drone shooting parameters to obtain an aerial image sequence of the traffic accident scene.
[0060] However, the above technical solutions still have the following drawbacks:
[0061] 1. Low efficiency of on-site investigation makes it difficult to obtain comprehensive and accurate data information from the accident site, affecting the analysis of the cause of the accident.
[0062] 2. Traditional manual measurement has limited accuracy and cannot meet the needs of high-precision digital reconstruction.
[0063] 3. Aerial photography is difficult to obtain detailed information about the pipeline body and the break, and cannot fully reflect the accident site environment.
[0064] 4. Data obtained from on-site surveys cannot be effectively digitally reconstructed and cannot truly reflect the on-site environment and spatial relationships.
[0065] 5. There is a lack of optimization schemes for the construction and updating of digital twins of the fracture process of circumferential welded pipe segments, as well as for the prediction and management of the fracture process.
[0066] Based on this, this application proposes a digital construction method for pipeline fracture scenarios. First, for the target area where the pipeline fracture location is located, a 3D terrain model containing spatial terrain information is constructed, and a fractured pipeline model is constructed by combining the detailed information of the pipeline fracture point, intuitively presenting the regional geographical features and surrounding environment of the pipeline fracture location. Next, the 3D terrain model and the fractured pipeline model are integrated to finally form a digital scene model corresponding to the pipeline fracture scenario, accurately and comprehensively restoring the real situation of the pipeline fracture site.
[0067] The solution provided in this application can be applied to Figure 1 In the computer system shown, Figure 1 A schematic diagram of the structure of a computer system provided for an exemplary embodiment.
[0068] For example, the computer system includes a computer device 100, a laser scanning device 110, and a drone data acquisition device 120. The laser scanning device 110 and the drone data acquisition device 120 can be connected to the computer device 100 via a wireless local area network.
[0069] The UAV data acquisition device 120 is used to collect spatial terrain information of the target area where the pipeline fracture is located. The UAV data acquisition device 120 is equipped with a high-definition optical camera, LiDAR, and GPS positioning module. The high-definition optical camera has a resolution of ≥20 megapixels. The GPS positioning module has a positioning accuracy of ≥1 meter.
[0070] Laser scanning device 110 is used to collect information about pipe breaks, such as the width, depth, misalignment, and surface flatness of the pipe break. Laser scanning device 110 refers to a device that accurately acquires the three-dimensional spatial coordinates and surface feature information of a target object or scene by emitting a laser beam and receiving the reflected signal.
[0071] For example, the laser scanning device 110 may be a ground-based laser scanning device, an unmanned aerial vehicle-borne laser scanning device, a handheld / portable laser scanning device, or a vehicle-mounted laser scanning device, and no limitation is made in this application embodiment.
[0072] For example, computer device 100 can obtain spatial terrain information of the target area where the pipeline fracture is located through drone acquisition device 120 and pipeline fracture information through laser scanning device 110.
[0073] Optionally, the computer device 100 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, embedded hardware for real-time simulation, or a cloud server providing cloud computing services such as cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data. This application embodiment does not limit the implementation method or application scenario of the computer device 100.
[0074] Figure 2 This is a flowchart illustrating a digital reconstruction method for a pipeline rupture scenario, provided as an exemplary embodiment. The method can be executed by a laser scanning device, a drone data acquisition device, and a computer device. The computer device can be... Figure 1 The computer device 100 in the middle, the laser scanning device can be Figure 1 The laser scanning device 110 in the middle, the drone data acquisition device can be Figure 1 120 drone data collection devices.
[0075] like Figure 2 As shown in the embodiments of this application, the digital construction method for pipeline fracture scenarios may include:
[0076] Step S201: The computer equipment acquires the spatial terrain information and pipeline break information of the target area where the pipeline fracture location is located.
[0077] Spatial topographic information is used to describe the geographic information and surrounding environment of the target area. Geographic information refers to various information related to the geographic environment, such as mountains, plateaus, basins, and plains. Surrounding environment information refers to the sum of various natural, human, and dynamic elements in the external space surrounding a specific target that are directly or indirectly related to that target, such as high-rise buildings, parks, and communities.
[0078] Optionally, spatial terrain information includes digital orthophotos and digital elevation model (DEM) data. Digital orthophotos refer to a dataset generated by correcting and mosaicking each pixel of scanned digitized aerial photographs or remote sensing images using a digital elevation model, and then cropping the image to a certain map sheet range.
[0079] Digital elevation model (DEM) data refers to the simulation of continuously distributed terrain using discretely distributed planar points, typically represented by regular grids or irregular triangular meshes. Regular grids divide the region into regular square or rectangular grids, with each grid point corresponding to an elevation value. Irregular triangular meshes consist of a series of non-overlapping triangles, with the vertices of the triangles representing actual measured terrain points. The terrain surface is constructed using the elevations of these points.
[0080] Pipeline break information includes pipeline point cloud data.
[0081] Pipeline point cloud data refers to a dataset consisting of a large number of discrete points, obtained through technologies such as 3D laser scanning, that reflects the three-dimensional spatial information of the pipeline and its surrounding environment.
[0082] For example, pipeline point cloud data can include three-dimensional coordinates, reflection intensity (used to distinguish the pipeline from its surrounding environment), and scan timestamps (used to assist in dynamic correction).
[0083] The location of the pipe breakage can be the location of the weld breakage on the pipe, the location of the pipe breakage due to impact, or the location of the pipe joint breakage, but it is not limited to these. The embodiments of this application do not specifically limit this.
[0084] Optionally, the weld on the pipeline includes at least one of the following: circumferential weld, flat weld, vertical weld, and overhead weld, but is not limited thereto. The embodiments of this application do not specifically limit this.
[0085] The target range is a circular range centered on the location of the pipe breakage, a rectangular range centered on the location of the pipe breakage, or an irregular range centered on the location of the pipe breakage, but is not limited to these. This application embodiment does not specifically limit this range.
[0086] The size of the target area can be limited according to actual needs, and this application embodiment does not specifically limit it. For example, the pipeline point cloud data is acquired by a computer device using a laser scanning device to collect pipeline point cloud data according to the first parameter.
[0087] The first parameter may include at least one of the following: control measurement accuracy, pipeline point cloud data acquisition accuracy, feature point measurement accuracy, and model point spacing. Control measurement accuracy reflects the error range of the overall spatial coordinate system; pipeline point cloud data acquisition accuracy reflects the error range of the three-dimensional coordinates of a single pipeline point cloud data; feature point measurement accuracy reflects the error range of key points such as pipeline fracture edges and pipeline axes; and model point spacing reflects the distance between adjacent pipeline point cloud data.
[0088] In this embodiment, when collecting point cloud data of a pipeline, the maximum spacing between points in the point cloud data for the target pipeline cannot exceed 0.02m. This ensures that the collected data can accurately identify and extract the basic geometric elements of the target pipeline, such as points, lines, and surfaces. Outside the target pipeline, the maximum spacing between points in the point cloud data cannot exceed 0.05m. This ensures that the collected data has a certain degree of completeness.
[0089] In this embodiment of the application, the range of control measurement accuracy can be [3mm, 5mm], the range of point cloud data acquisition accuracy can be [2mm, 3mm], the range of feature point measurement accuracy can be [1mm, 2mm], and the range of model point spacing can be [0.008m, 0.01m].
[0090] In one possible implementation, the laser scanning device measures the pipeline point cloud data with parameters of 3 mm control measurement accuracy, 2 mm point cloud data acquisition accuracy, 1 mm feature point measurement accuracy, and 0.008 m model point spacing. This allows for extremely precise capture of various details of the pipeline, clearly revealing its overall orientation, bending angles, and even minute defects such as deformation and corrosion. In another possible implementation, the laser scanning device measures the pipeline point cloud data with parameters of 5 mm control measurement accuracy, 3 mm point cloud data acquisition accuracy, 2 mm feature point measurement accuracy, and 0.1 m model point spacing.
[0091] Specifically, the laser scanning device can emit laser pulses into the pipeline and convert the received laser pulse data into three-dimensional coordinate positions.
[0092] For example, if the laser pulse of a laser scanning device is emitted at time t1 and received at time t2, the laser scanning device calculates the time difference Δt = t2 - t1, and combines this with the speed of light c (3 × 10⁻¹⁰). 8 The distance between the laser scanning device and the detection point is calculated as d = c * Δt / 2. Assuming the current coordinates of the laser scanning device are (20, 10, 1.5) and the measured distance is d = 20 meters, the three-dimensional coordinates of the detection point can be calculated using trigonometric geometry as (40, 10, 1.5).
[0093] For example, the digital orthophoto and digital elevation model data are acquired by: computer equipment using a drone acquisition device to acquire digital orthophoto and digital elevation model data of the target area where the pipeline fracture location is located, according to the second parameter.
[0094] The second parameter may include at least one of flight altitude, heading overlap, lateral overlap, inclination angle, and spin angle.
[0095] Flight altitude refers to the altitude at which a drone flies relative to a reference plane when conducting aerial photography.
[0096] Forward overlap refers to the percentage of overlap between two adjacent ground images taken along the aircraft's flight path. For example, a forward overlap of 60% means that 60% of the image area of two adjacent images overlaps along the flight path.
[0097] Lateral overlap refers to the percentage of the width of the overlapping area between images of the ground taken from two adjacent flight paths, relative to the width of the image itself. For example, a lateral overlap of 30% means that images of adjacent flight paths overlap by 30% of the image area perpendicular to the flight direction.
[0098] The tilt angle, also known as the lobe angle, refers to the angle between the principal optical axis of an aerial camera and the plumb line. The principal optical axis is a straight line passing through the center of the lens and perpendicular to the image plane.
[0099] The rotation angle refers to the angle by which an image rotates about its principal optical axis within its own plane. It is caused by factors such as the instability of the aircraft's attitude during flight or installation errors of the photographic equipment.
[0100] Specifically, the UAV data acquisition device, equipped with a high-definition optical camera, flies according to the configured second parameters to acquire digital orthophotos of the detection points. Simultaneously, the UAV data acquisition device scans the altitude of the detection points using its onboard lidar, converting the flight time of the laser pulses emitted by the lidar into distance values in real time, and combining this with the UAV's altitude to determine the digital elevation model data of the detection points.
[0101] For example, the UAV data acquisition equipment can collect digital orthophotos and digital elevation model data of the target area where the pipeline fracture is located, with a heading overlap of 65%, a lateral overlap of 25%, a tilt angle of 4°, a rotation angle of 12°, a flight altitude of 120 meters, and an effective range of 250 meters around the accident point set by the engineer as the origin.
[0102] For example, the UAV data acquisition equipment can collect digital orthophotos and digital elevation model data of the target area where the pipeline fracture is located, with a heading overlap of 63%, a lateral overlap of 30%, a tilt angle of 3°, a rotation angle of 10°, a flight altitude of 100 meters, and an effective range of 300 meters around the accident point set by the engineer as the origin.
[0103] Step S202: The computer equipment constructs a three-dimensional terrain model of the target area where the pipeline fracture is located based on spatial terrain information.
[0104] In some embodiments, the computer device fuses digital orthophotos and digital elevation model data of the target area to obtain a three-dimensional terrain model.
[0105] Specifically, computer equipment extracts image information from different locations in the digital orthophoto of the target area, extracts height information from different locations in the digital elevation model data of the target area, and fuses the image information and height information of the same location within the target area to obtain a three-dimensional terrain model.
[0106] For example, the ground information extracted by the computer device at coordinates (100,0,0) in the digital orthophoto image includes: image information as "a continuous mountain range texture, with the mountain range trending roughly northeast-southwest and a width of about 5 kilometers." The height information extracted from the digital elevation model data coordinates (100,0,0) is "the main peak elevation is about 1500.0 meters," which, after fusion, is presented in the 3D terrain model as "at an altitude of 1500.0 meters, there is a continuous mountain range trending northeast-southwest, with a width of about 5 kilometers."
[0107] For example, a three-dimensional terrain model can be as follows: Figure 3 As shown.
[0108] Step S203: The computer equipment constructs a fractured pipeline model based on the pipeline break information.
[0109] In some embodiments, computer equipment stitches together, corrects coordinates, and denoises the pipeline point cloud data to obtain a fractured pipeline model.
[0110] The stitching operation involves extracting feature points from the point cloud data and integrating them into a single coordinate system. The coordinate correction operation involves establishing a local coordinate system with the pipe fracture location as the original axis direction and integrating the stitched feature points into this local coordinate system. The denoising operation involves removing isolated point cloud data using filtering algorithms.
[0111] The following section provides a detailed description of the splicing operation, coordinate correction operation, and noise reduction operation.
[0112] Specifically, the stitching operation is implemented by using computer equipment to perform axis fitting and stitching on the collected pipeline point cloud data to obtain the pipeline's axis equation.
[0113] The axis fitting can include straight line fitting, circular arc fitting and spline fitting, and can be performed by least squares method, algebraic fitting and geometric fitting algorithms. The fitting method is not limited in the embodiments of this application.
[0114] Specifically, the implementation methods for coordinate correction operations include:
[0115] Based on the transformation matrix, the formula for correcting pipeline point cloud data to the standard coordinate system can be expressed as:
[0116]
[0117] n∈(0, size(PC) ori )
[0118] in, This represents pipeline point cloud data. This represents the corrected pipeline point cloud data. This represents the transformation matrix of the pipeline point cloud data relative to the standard coordinate system, size(PC). ori This indicates the data scale of the pipeline point cloud data (such as the number of point clouds).
[0119] Specifically, the denoising process includes: for each pipeline point cloud data point, calculating its average distance to a preset number of neighboring pipeline point cloud data points; and determining whether the pipeline point cloud data needs to be removed based on the relationship between the average distance and a set distance threshold. If the average distance is greater than the set distance threshold, the pipeline point cloud data point is identified as noise and deleted. If the average distance is less than or equal to the set distance threshold, the pipeline point cloud data point is identified as valid data and retained.
[0120] For example, for a certain pipeline point cloud data, the average distance d between it and 50 neighboring pipeline point cloud data is calculated. The distance threshold is set to 0.02 meters. When d is greater than 0.02 meters, the pipeline point cloud data is determined to be noise points and deleted. When d is less than or equal to 0.02 meters, the pipeline point cloud data is determined to be valid data and retained.
[0121] For example, the information extracted by the computer device from the processed pipe point cloud data includes: "a circular metal texture with a diameter of 0.3 meters and a height of 100.0 meters", which is presented as "a circular metal at a height of 100.0 meters with a diameter of 0.3 meters" in the constructed fractured pipe model.
[0122] For example, a fractured pipe model can be as follows: Figure 4 As shown.
[0123] Step S204: The computer equipment integrates the data of the 3D terrain model and the fractured pipeline model to obtain a digital scene model corresponding to the pipeline fracture scene.
[0124] In some embodiments, the computer device uses a three-dimensional terrain model as a reference position and a coordinate transformation algorithm to transform the broken pipe model into a three-dimensional terrain model, thereby obtaining a digital scene model corresponding to the pipe breakage scene.
[0125] Specifically, the detailed steps for obtaining a digital scene model corresponding to a pipeline rupture scenario include:
[0126] Step 1: Data preprocessing.
[0127] 3D terrain model preprocessing: The 3D terrain model is generated by fusing digital orthophotos and digital elevation models. Using a standard coordinate system, the data is cleaned to remove noise points and outliers, improving data quality. Simultaneously, the model's accuracy is evaluated to ensure its elevation accuracy meets preset standards.
[0128] Preprocessing of the fractured pipeline model: After splicing, coordinate correction and noise reduction, a local coordinate system has been established for the fractured pipeline model.
[0129] Step 2. Align the coordinate system.
[0130] Reference location selection: Select at least three common points that are easily identifiable and accurately located in both the 3D terrain model and the broken pipeline model, such as pipeline break points, obvious terrain feature points, etc.
[0131] Coordinate deviation calculation: Extract the coordinates (Xt, Yt, Zt) of these common points in the 3D terrain model and the coordinates (Xp, Yp, Zp) of the corresponding points in the fractured pipe model, and calculate the coordinate deviation Δ = √[(Xt - Xp)]. 2 +(Yt-Yp) 2 +(Zt-Zp) 2 ].
[0132] Deviation adjustment: If the coordinate deviation Δ exceeds the preset threshold (e.g., Δ≤0.003 meters), the coordinate transformation parameters of the fractured pipe model are recalculated and the coordinates are corrected until the deviation meets the requirements.
[0133] Step 3. Data fusion.
[0134] Data fusion: A nearest neighbor search algorithm is used to fuse the pipe point cloud data of the fractured pipe model with the data of the 3D terrain model. During the fusion process, a weighted average is applied based on attributes such as reflection intensity and color of the pipe point cloud data to make the fused data smoother and more natural.
[0135] Model stitching: The fractured pipe model, after data fusion processing, is stitched together with the 3D terrain model. During stitching, spatial continuity and consistency between the fractured pipe model and the 3D terrain model are ensured to avoid overlap or gaps.
[0136] Through the above steps, the computer equipment can effectively integrate the data of the 3D terrain model and the fractured pipeline model to obtain an accurate and complete digital scene model corresponding to the pipeline fracture scenario, providing strong support for the analysis and handling of pipeline fracture accidents.
[0137] In some embodiments, the computer device can also visualize the digital scene model. The displayed style of the visualized digital scene model is at least one of the following: data style, model style, and document style.
[0138] The data formats include Geographic Information System (GIS) format, Measurement Point File (MPT) format, 3D Markup Language (3DML) format, and LiDAR Data Exchange Format (LAS) format.
[0139] GIS format data is used to store geospatial information, with common formats including Shapefile and GeoJSON. It can describe the spatial location, attribute information, and topological relationships between geographic features.
[0140] For example, Shapefile can store geographic objects such as points (such as regions), lines (such as roads), and polygons (such as pipes) on a map, and can also associate attribute data of these objects.
[0141] MPT format is a general-purpose format for 3D models, typically generated by third-party software such as AutoCAD and SolidWorks. It can be used to represent various 3D models, such as elbows and tees in pipe components. MPT format models contain rich geometric and textural information, accurately representing the shape, size, and appearance of objects.
[0142] For example, it can clearly display the curvature radius of the bend, the connection angle of the tee, and retain the color texture of the anti-corrosion coating on the model surface.
[0143] 3DML format is primarily used to describe terrain information in 3D scenes, including elevation point data and texture links. Elevation point data can construct the undulating shape of the terrain, while texture links point to corresponding terrain texture images, used to add more realistic appearance effects to the terrain, such as the appearance of mountains, forests, and rivers.
[0144] LAS format is a standard format for storing point cloud data, commonly used for storing LiDAR scan data. Point cloud data contains a large number of points with their 3D coordinates (X, Y, Z) and information such as reflection intensity. In pipeline-related applications, LAS format can be used to store point cloud data of pipelines and their surrounding environment. The reflection intensity value can be used to distinguish between pipeline and environmental point clouds; for example, points with a reflection intensity ≥ 500 may be marked as pipeline point clouds. Using this point cloud data, a 3D model of the pipeline and its surrounding environment can be constructed.
[0145] like Figure 5 As shown in the flowchart of the method for visualizing a digital scene model provided in this application embodiment, it may include:
[0146] Step S501: Visual parameter configuration.
[0147] In one possible implementation, the computer device configures visualization parameters based on the accuracy characteristics of the digital scene model, such as the 0.008-meter point spacing of the broken pipe model.
[0148] Step S502: Visualization and rendering of model data.
[0149] In one possible implementation, the computer device calls the 3D rendering engine OSG or Unity to render the digital scene model.
[0150] Step S503: Implement interactive functions.
[0151] In one possible implementation, interactive features may include scene roaming, feature querying, and measurement tools.
[0152] Scene roaming: Achieve view panning (panning speed is proportional to the screen dragging distance, with a scaling factor of 0.1 meters / pixel), rotation (rotating 360° around the scene center, with an angular velocity of 10° / second), and zooming (zooming range from 0.1 to 100 times, supporting scroll wheel or two-finger zooming) by dragging with the mouse or swiping with the touch.
[0153] Feature query: When a user clicks on any location in the scene (such as the pipe at (0,10,0)), the system automatically returns the attribute information of that point: three-dimensional coordinates (X=0.002m, Y=10.001m, Z=100.003m), pipe parameters (pipe diameter 0.6m, wall thickness 0.012m), and relative height to the terrain (0.2m).
[0154] Measurement tools: Provides distance measurement, such as clicking on points on both sides of the break to calculate the misalignment of 0.015 meters, angle measurement (such as measuring the bending angle of a bend of 90.2°), and area measurement (such as the area of the pipe area of 25 square meters). The accuracy of the measurement results is consistent with the original data of the model (distance error ≤ 0.002 meters, angle error ≤ 0.1°).
[0155] Step S504: Output and display of visualization results.
[0156] In one possible implementation, the computer device outputs the digital scene model as an interactive file or a static result:
[0157] Interactive file output: Save as an .exe executable file or a web-based 3D model, supporting operation on ordinary computers or mobile devices without relying on professional software.
[0158] Static output: Generate multi-view images or videos. Key dimensions in the images (such as pipe break diameter and pipe break length) can be automatically labeled. The labeling method can be data or documents.
[0159] Thus, three-dimensional visualization of data, models, and documents was achieved through interactive file output and static result output.
[0160] In summary, the technical solution provided in this application accurately determines the information of the pipeline fracture point and the spatial terrain information of the fracture range by acquiring spatial terrain information of the target area where the pipeline fracture is located and pipeline fracture information. Based on the spatial terrain information, a three-dimensional terrain model is constructed to intuitively present the geographical features and surrounding environment of the area where the pipeline fracture is located. Then, a fractured pipeline model is constructed based on the pipeline fracture information, which can accurately simulate the specific shape of the pipeline fracture. Finally, the three-dimensional terrain model and the fractured pipeline model are integrated to obtain a digital scene model, realizing the digital presentation of the pipeline fracture scene and accurately and comprehensively restoring the real situation of the pipeline fracture location.
[0161] The foregoing mainly describes the solution provided in this application. Accordingly, this application also provides a digital construction device for pipeline fracture scenarios, which is used to implement the above-described method embodiments.
[0162] like Figure 6 The diagram shows a structural schematic of a digital reconstruction device for a pipeline rupture scenario. This device may include an acquisition module 601, a reconstruction module 602, and a data integration module 603. The acquisition module 601 is used to perform... Figure 2 The illustrated method includes step S201; the construction module 602 is used to execute... Figure 2 The operations of steps S202 and S203 are performed by the data integration module 603. Figure 2 In step S203, the data integration module 603 is also used to perform... Figure 5 The operations of steps S501, S502, S503 and S504.
[0163] In some embodiments, the digital construction apparatus for the pipeline rupture scenario includes hardware structures and / or software modules corresponding to the execution of each function in order to achieve the above-mentioned functions. Those skilled in the art will readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0164] This application embodiment can divide the digital construction device for pipeline fracture scenarios into functional modules according to the above method embodiment. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into a feature extraction module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0165] like Figure 7 As shown, the computer device provided in this application embodiment may include a processor 701, a bus 702, a communication interface 703, and a memory 704. The processor 701, memory 704, and communication interface 703 communicate with each other via the bus 702. It should be understood that this application does not limit the number of processors and memories in the network device.
[0166] The 702 bus can be a PCI bus, an Extended Industry Standard Architecture (EISA) bus, or a UB bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of representation, Figure 7 The bus 702 may be represented by a single line, but this does not mean that there is only one bus or one type of bus. The bus 702 may include a path for transmitting information between various components of the network device (e.g., memory 704, processor 701, communication interface 703).
[0167] Processor 701 may include any one or more processors such as CPU, graphics processing unit (GPU), microprocessor (MP), or digital signal processor (DSP).
[0168] The memory 704 may include volatile memory, such as random access memory (RAM). The processor 701 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0169] The communication interface 703 uses transceiver modules, such as, but not limited to, network interface cards and transceivers, to enable communication between network devices and other devices or communication networks.
[0170] The memory 704 stores executable program code, which the processor 701 executes to implement the functions of the aforementioned method embodiments. That is, the memory 704 stores instructions for executing the digital construction method for the aforementioned pipeline fracture scenario.
[0171] In another aspect, a computer-readable storage medium is provided, which stores at least one computer program, which is loaded and executed by a processor to implement the digital construction method for pipeline fracture scenarios as provided in the above-described method embodiments.
[0172] On another front, a computer program product is provided, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the digital construction method for the pipeline rupture scenario provided in the above-described method embodiments is implemented.
[0173] Through the above description of the implementation methods, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the module can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, modules, and units described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0174] Since the bevel feature extraction module, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also be referred to the above method embodiments. The embodiments of the present invention will not be repeated here.
[0175] The method steps in this embodiment can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Alternatively, the ASIC can reside in a network device. Of course, the processor and storage medium can also exist as discrete components in the network device.
[0176] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions of the embodiments of this application are performed, in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable module. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, a computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD).
[0177] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A digital construction method for a pipeline rupture scenario, characterized in that, The method includes: Acquire spatial topographic information of the target area where the pipeline fracture location is located, as well as pipeline fracture information. The spatial topographic information is used to describe the geographical information and surrounding environment of the target area. Based on the spatial terrain information, a three-dimensional terrain model of the target area where the pipeline fracture location is located is constructed; based on the pipeline fracture information, a fractured pipeline model is constructed. The three-dimensional terrain model and the fractured pipeline model are integrated to obtain a digital scene model corresponding to the pipeline fracture scenario.
2. The method according to claim 1, characterized in that, The step of integrating the three-dimensional terrain model and the fractured pipeline model to obtain a digital scene model corresponding to the pipeline fracture scene includes: Using the three-dimensional terrain model as a reference position, the fractured pipeline model is transformed into the three-dimensional terrain model through a coordinate transformation algorithm to obtain a digital scene model corresponding to the pipeline fracture scene.
3. The method according to claim 1, characterized in that, The pipeline fracture information includes pipeline point cloud data; the construction of a fractured pipeline model based on the pipeline fracture information includes: The pipeline point cloud data is stitched together, coordinate corrected, and denoised to obtain the fractured pipeline model.
4. The method according to claim 1, characterized in that, The spatial terrain information includes digital orthophotos and digital elevation model data; the construction of a three-dimensional terrain model of the target area where the pipeline fracture location is located based on the spatial terrain information includes: The digital orthophoto image and the digital elevation model data of the target area are fused to obtain the three-dimensional terrain model.
5. The method according to claim 4, characterized in that, The step of fusing the digital orthophoto imagery and the digital elevation model data within the target area to obtain the three-dimensional terrain model includes: Extract image information from different locations in the digital orthophoto of the target area; extract height information from different locations in the digital elevation model data of the target area; The image information and height information at the same location within the target area are fused to obtain the three-dimensional terrain model.
6. The method according to any one of claims 1 to 5, characterized in that, The step of obtaining pipeline fracture information within the target range where the pipeline fracture location is located includes: The pipeline fracture information is collected using a laser scanning device according to the first parameter.
7. The method according to claim 6, characterized in that, The first parameter includes at least one of measurement accuracy, acquisition accuracy, and model point spacing.
8. The method according to any one of claims 1 to 5, characterized in that, The acquisition of spatial terrain information within the target area where the pipeline fracture location is located includes: The spatial terrain information of the target area where the pipeline fracture location is located is collected by a drone data acquisition device according to the second parameter.
9. The method according to claim 8, characterized in that, The second parameter includes at least one of flight altitude, heading overlap, lateral overlap, inclination angle, and spin angle.
10. The method according to any one of claims 1 to 5, characterized in that, The display style of the digital scene model is at least one of the following: data style, model style, and document style.
11. A digital construction device for a pipeline rupture scenario, characterized in that, The device includes: an acquisition module, a construction module, and a data integration module; The acquisition module is used to acquire spatial terrain information of the target area where the pipeline fracture location is located, and pipeline fracture information. The spatial terrain information is used to describe the geographical information and surrounding environment information of the area where the pipeline fracture location is located. The construction module is used to construct a three-dimensional terrain model of the target area where the pipeline fracture location is located based on the spatial terrain information; and to construct a fractured pipeline model based on the pipeline fracture information. The data integration module is used to integrate the data of the three-dimensional terrain model and the fractured pipeline model to obtain a digital scene model corresponding to the pipeline fracture scene.
12. A computer device, characterized in that, The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the digital construction method for a pipeline rupture scenario as described in any one of claims 1-10.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to implement the digital construction method for a pipeline rupture scenario as described in any one of claims 1-10.