Geothermal well state monitoring method, device, equipment and medium

By collecting point cloud and image data in geothermal wells, combining shape and crack judgment, the problems of low efficiency and omission of pipeline abnormality detection in the prior art are solved, and more accurate and timely abnormality detection is achieved.

CN120232909APending Publication Date: 2025-07-01CHINESE ACAD OF GEOLOGICAL SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510201467.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In the prior art, geothermal well pipeline abnormality detection relies on manual judgment of images, which is inefficient and easy to miss, making it difficult to fully and accurately identify pipeline deformation and cracks.

Method used

Mobile devices are used to move along the geothermal well pipeline, collect point cloud data and image information in real time, judge the shape of the pipeline through point cloud data, identify cracks based on image information, comprehensively determine whether there are abnormalities in the pipeline, and output prompt information.

Benefits of technology

It improves the accuracy and comprehensiveness of pipeline abnormality detection, reduces the omission of manual judgment, and timely outputs abnormal locations, making it easier for staff to take measures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120232909A_ABST
    Figure CN120232909A_ABST
Patent Text Reader

Abstract

The invention relates to a geothermal well state monitoring method, device and equipment and a medium, and relates to the field of geothermal wells, and the method comprises the steps: controlling a mobile device to move along a geothermal well pipeline, and collecting point cloud data of the side wall of the pipeline and image information of the side wall of the pipeline in real time, so that an electronic device obtains the point cloud data and the image information; determining the shape of the cross section of the pipeline at the real-time position of the mobile equipment based on the point cloud data, determining whether the side wall of the pipeline at the real-time position of the mobile equipment has a crack or not based on the image information, judging whether the pipeline has an abnormal position or not based on the shape and whether the crack exists or not, and outputting prompt information if the abnormal position exists. Whether the pipeline of the geothermal well is abnormal or not can be judged more conveniently, and the comprehensiveness of abnormality detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of geothermal wells, and in particular to a method, device, equipment and medium for monitoring the state of geothermal wells. Background Art

[0002] A geothermal well is a facility that utilizes the internal heat energy of the earth for power generation, heating, and other purposes. Generally, the depth of a geothermal well is about 3,500 meters, and it utilizes geothermal energy or hot spring water with a water temperature above 30°C. First, a location suitable for utilizing geothermal energy is explored, and then drilling equipment is used to penetrate deep underground and lay pipelines. Geothermal water is transported through the pipelines for power generation or other purposes. However, due to the large depth of the well, the pipelines may undergo abnormal conditions such as deformation under the action of geological activities.

[0003] Currently, mainly downhole monitoring equipment is used to collect images inside the pipeline, and then manual judgment is made based on the collected images to determine whether there are abnormalities in the pipeline. However, it is relatively inconvenient to judge whether there are abnormalities in the pipeline in this way and it is easy to miss some. Summary of the Invention

[0004] In order to more conveniently determine whether there are abnormalities in the pipelines of geothermal wells and improve the comprehensiveness of detecting abnormalities, this application provides a method, device, equipment and medium for monitoring the state of geothermal wells.

[0005] In a first aspect, this application provides a method for monitoring the state of a geothermal well, adopting the following technical solution: A method for monitoring the state of a geothermal well includes: Controlling a mobile device to move along the geothermal well pipeline and collecting point cloud data of the pipeline sidewall and image information of the pipeline sidewall in real time, so that an electronic device can obtain the point cloud data and image information; Determining the shape of the pipeline cross-section at the real-time position of the mobile device based on the point cloud data; Determining whether there are cracks on the pipeline sidewall at the real-time position of the mobile device based on the image information; Judging whether there are abnormal positions on the pipeline based on the shape and whether there are cracks; If there are abnormal positions, output a prompt message.

[0006] By adopting the above technical solution, the mobile device is controlled to move along the geothermal well pipeline so as to collect the point cloud data and image information of the pipeline side wall during the movement. The shape of the cross-section of the pipeline at the real-time position is determined through the point cloud data. Whether the pipeline is deformed can be judged through this shape, and the degree of deformation reflects whether the pipeline has abnormalities. The image information records the specific conditions of the pipeline side wall. Therefore, it can be judged whether there are cracks on the pipeline side wall according to the image information. The existence of cracks indicates that the strength of the pipeline may be reduced, and further indicates that the pipeline may have abnormalities. Combining the determined shape of the pipeline cross-section and whether there are cracks to comprehensively judge whether there are abnormal positions on the pipeline is more accurate, and it is more convenient and less likely to be missed compared with manual judgment of abnormalities. If there is an abnormal position, a prompt message is directly output, so as to facilitate the staff to know the abnormal position in time.

[0007] In another possible implementation manner, judging whether there is an abnormal position on the pipeline based on the shape and whether there are cracks includes: Calculate the similarity between the shape of the pipeline cross-section at any position and a preset shape; Compare the shape with the preset shape to obtain an abnormal contour segment with inconsistent contours; Determine the first abnormal score of the shape based on the abnormal contour segment and the similarity; If there is no crack at the any position, judge whether the any position is an abnormal position based on the first abnormal score; If there is a crack at the any position, determine the length and area of each crack, determine the second abnormal score of each crack based on the length and area of each crack, and judge whether the any position is an abnormal position based on the first abnormal score, the number of cracks, and the second abnormal score of each crack.

[0008] In another possible implementation manner, determining the first abnormal score of the shape based on the abnormal contour segment and the similarity includes: Determine the ratio of each abnormal contour segment to the preset shape; Determine the total ratio of all abnormal contour segments; Determine the first abnormal score based on the total ratio, the number of abnormal contour segments, and the similarity.

[0009] In another possible implementation manner, judging whether the any position is an abnormal position based on the first abnormal score, the number of cracks, and the second abnormal score of each crack includes: Determine the average value of the second abnormal scores based on the second abnormal score of each crack; Determine the third abnormal score based on the first abnormal score, the number of cracks, the average value of the second abnormal scores, and their respective coefficients; Determine whether any of the positions is an abnormal position based on the third abnormal score.

[0010] In another possible implementation manner, the determining whether any of the positions is an abnormal position based on the first abnormal score and the determining whether any of the positions is an abnormal position based on the third abnormal score include: If the first abnormal score reaches the first preset score threshold, determine that any of the positions is an abnormal position; If the first abnormal score does not reach the first preset score threshold, determine that any of the positions is not an abnormal position; If the third abnormal score reaches the second preset score threshold, determine that any of the positions is an abnormal position; If the third abnormal score does not reach the second preset score threshold, determine that any of the positions is not an abnormal position.

[0011] In another possible implementation manner, the method further includes: Determine the movement path of the mobile device; Determine the offset value of the pipeline based on the movement path and the standard axis corresponding to the pipeline; Determine the health of the pipeline based on the offset value of the pipeline and the number of abnormal positions.

[0012] In another possible implementation manner, the outputting the prompt information includes: Determine the depth where each abnormal position is located and the abnormal data of each abnormal position, where the abnormal data includes the shape of the pipeline cross-section and the image of the pipeline side wall at each abnormal position; Output prompt information based on the depth and the abnormal data.

[0013] In a second aspect, the present application provides a geothermal well status monitoring device, adopting the following technical solution: A geothermal well status monitoring device includes: A control module, configured to control the mobile device to move along the geothermal well pipeline and collect the point cloud data of the pipeline side wall and the image information of the pipeline side wall in real time, so that the electronic device can obtain the point cloud data and the image information; A shape determination module, configured to determine the shape of the pipeline cross-section at the real-time position of the mobile device based on the point cloud data; A crack determination module, configured to determine whether there is a crack in the pipeline side wall at the real-time position of the mobile device based on the image information; An abnormal position judgment module, configured to judge whether there is an abnormal position in the pipeline based on the shape and whether there is a crack; An output module, configured to output a prompt message when there is an abnormal position.

[0014] By adopting the above technical solution, the control module controls the mobile device to move along the geothermal well pipeline so as to collect the point cloud data and image information on the side wall of the pipeline during the movement. The shape determination module determines the shape of the cross-section of the pipeline at the real-time position through the point cloud data. Through this shape, it can be judged whether the pipeline is deformed. The degree of deformation reflects whether the pipeline has an abnormality. The image information records the specific conditions of the side wall of the pipeline. Therefore, the crack determination module can judge whether there is a crack on the side wall of the pipeline according to the image information. The existence of a crack indicates that the strength of the pipeline may be reduced, which further indicates that the pipeline may have an abnormality. The abnormal position judgment module combines the determined shape of the pipeline cross-section and whether there is a crack to comprehensively judge whether there is an abnormal position of the pipeline more accurately, and it is more convenient and less likely to be missed compared with manual judgment of abnormalities. If there is an abnormal position, the output module directly outputs a prompt message, so as to facilitate the staff to know the abnormal position in time.

[0015] In another possible implementation manner, the abnormal position judgment module judges whether there is an abnormal position of the pipeline based on the shape and whether there is a crack, including: Calculating the similarity between the shape of the pipeline cross-section at any position and a preset shape; Comparing the shape with the preset shape to obtain an abnormal contour segment with inconsistent contours; Determining a first abnormal score of the shape based on the abnormal contour segment and the similarity; If there is no crack at the any position, judging whether the any position is an abnormal position based on the first abnormal score; If there is a crack at the any position, determining the length and area of each crack, determining a second abnormal score of each crack based on the length and area of each crack, and judging whether the any position is an abnormal position based on the first abnormal score, the number of cracks, and the second abnormal score of each crack.

[0016] In another possible implementation manner, when the abnormal position judgment module determines the first abnormal score of the shape based on the abnormal contour segment and the similarity, it specifically is used for: Determining the proportion of each abnormal contour segment to the preset shape; Determining the total proportion of all abnormal contour segments; Determining the first abnormal score based on the total proportion, the number of abnormal contour segments, and the similarity.

[0017] In another possible implementation, when the abnormal position determination module determines whether any position is an abnormal position based on the first abnormal score, the number of cracks, and the second abnormal score of each crack, it specifically is used for: Determining the average value of the second abnormal scores based on the second abnormal score of each crack; Determining a third abnormal score based on the first abnormal score, the number of cracks, the average value of the second abnormal scores, and their respective corresponding coefficients; Determining whether any position is an abnormal position based on the third abnormal score.

[0018] In another possible implementation, when the abnormal position determination module determines whether any position is an abnormal position based on the first abnormal score and determines whether any position is an abnormal position based on the third abnormal score, it specifically is used for: If the first abnormal score reaches the first preset score threshold, determining that any position is an abnormal position; If the first abnormal score does not reach the first preset score threshold, determining that any position is not an abnormal position; If the third abnormal score reaches the second preset score threshold, determining that any position is an abnormal position; If the third abnormal score does not reach the second preset score threshold, determining that any position is not an abnormal position.

[0019] In another possible implementation, the device further includes: A path determination module, configured to determine the moving path of the mobile device; An offset value determination module, configured to determine the offset value of the pipeline based on the moving path and the standard axis corresponding to the pipeline; A health degree determination module, configured to determine the health degree of the pipeline based on the offset value of the pipeline and the number of abnormal positions.

[0020] In another possible implementation, when the output module outputs a prompt message, it specifically is used for: Determining the depth where each abnormal position is located and the abnormal data of each abnormal position, where the abnormal data includes the shape of the pipeline cross-section and the image of the pipeline side wall at each abnormal position; Outputting a prompt message based on the depth and the abnormal data.

[0021] In a third aspect, the present application provides an electronic device, adopting the following technical solution: An electronic device, the electronic device includes: At least one processor; A memory; At least one application program, where the at least one application program is stored in a memory and configured to be executed by at least one processor, and the at least one is configured to: execute a geothermal well state monitoring method shown in any possible implementation manner according to the first aspect.

[0022] In a fourth aspect, the present application provides a computer-readable storage medium, adopting the following technical solution: A computer-readable storage medium, when the computer program is executed in a computer, causes the computer to execute a geothermal well state monitoring method described in any item of the first aspect.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: Control the mobile device to move along the geothermal well pipeline so as to collect point cloud data and image information of the pipeline side wall during the movement. Determine the shape of the cross-section of the real-time position pipeline through the point cloud data. Whether the pipeline is deformed can be judged through this shape, and the degree of deformation reflects whether the pipeline is abnormal. The image information records the specific situation of the pipeline side wall. Therefore, whether there are cracks on the pipeline side wall can be judged according to the image information. The existence of cracks indicates that the strength of the pipeline may be reduced, and further indicates that the pipeline may be abnormal. Combining the determined shape of the pipeline cross-section and whether there are cracks to comprehensively judge whether there are abnormal positions on the pipeline is more accurate, and it is more convenient and less likely to be omitted compared with manual judgment of abnormalities. If there is an abnormal position, a prompt message is directly output, so as to facilitate the staff to know the abnormal position in time. Description of the Drawings

[0024] Figure 1 is a schematic flowchart of a geothermal well state monitoring method according to an embodiment of the present application.

[0025] Figure 2 is a schematic structural diagram of a geothermal well state monitoring device according to an embodiment of the present application.

[0026] Figure 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Detailed Embodiments

[0027] The following further describes the present application in detail with reference to the drawings.

[0028] Those skilled in the art can make modifications to this embodiment without creative contributions according to needs after reading this specification, but as long as they are within the scope of the claims of the present application, they are protected by the patent law.

[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of this application without creative efforts shall fall within the scope of protection of this application.

[0030] In addition, the term "and / or" in this document is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally represents an "or" relationship between the associated objects before and after, unless otherwise specified.

[0031] The embodiments of this application will be further described in detail below with reference to the accompanying drawings of the specification.

[0032] The embodiments of this application provide a method for monitoring the state of a geothermal well, which is executed by an electronic device. The electronic device can be a server or a terminal device. Among them, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected through wired or wireless communication methods, which are not limited in the embodiments of this application. As Figure 1 shown, the method includes steps S101, S102, S103, S104, and S105, where S101, controlling a mobile device to move along the geothermal well pipeline and collect point cloud data of the pipeline sidewall and image information of the pipeline sidewall in real time, so that the electronic device obtains the point cloud data and the image information.

[0033] For the embodiments of the present application, the mobile device may be a trolley capable of moving inside the geothermal well pipeline. The trolley is equipped with power devices such as motors and multiple walking wheels on its own, so that the electronic device can control the movement of the trolley. The walking wheels are pressed against the inner side wall of the pipeline. After being pressed tightly, the main body of the trolley is located at the center position of the cross-section of the pipeline, so that the trolley can move up and down stably driven by its own power device. One or more laser scanners are installed on the trolley to collect point cloud data of the inner side wall of the pipeline. Similarly, a panoramic camera is also installed on the trolley to collect image information of the circumferential direction of the inner side wall of the pipeline. The trolley can be towed by a winch on the ground. One end of the towing rope is fixed to the mobile device, and the other end is wound around the winch to prevent the trolley from falling inside the geothermal well pipeline. The mobile device can be connected to the electronic device wirelessly or through a wire for communication, so that the electronic device can obtain point cloud data and image information.

[0034] S102. Determine the shape of the cross-section of the pipeline at the real-time position of the mobile device based on the point cloud data.

[0035] For the embodiments of the present application, the mobile device collects point cloud data while moving, so that it can model each position of the inner side wall of the pipeline in real time and obtain the shape of the cross-section of the pipeline at the real-time position. The pipeline is usually cylindrical, so the cross-section of the pipeline is circular. Under normal conditions, the shape of the cross-section obtained from the point cloud data is also circular. If the determined shape deviates from the circle, it means that the pipeline may be deformed under geological movement or other external forces, resulting in a decrease in the strength of the pipeline, indicating that the pipeline is abnormal.

[0036] S103. Determine whether there are cracks on the side wall of the pipeline at the real-time position of the mobile device based on the image information.

[0037] For the embodiments of the present application, the specific conditions of the inner side wall of the pipeline are recorded in the image information. The electronic device can input the image information into a trained network model for crack identification, so as to judge whether there are cracks on the side wall of the pipeline. The appearance of cracks indicates that the pipeline is damaged, resulting in a decrease in the strength of the pipeline, indicating that the pipeline is abnormal. Specifically, the network model can be a convolutional neural network model, a recurrent neural network model, or other types of network models. The electronic device can also perform edge detection on the graphic information, perform denoising processing on the image information and then perform gray-scale transformation, and determine whether there are cracks according to different gray-scale values.

[0038] S104. Judge whether there are abnormal positions on the pipeline based on the shape and whether there are cracks.

[0039] For the embodiments of the present application, in summary, the shape of the pipeline cross-section determined by the electronic device and the presence or absence of cracks are key factors regarding whether there are abnormal positions on the pipeline sidewall. Therefore, the electronic device can accurately determine whether there are abnormal positions on the pipeline based on the shape and the presence or absence of cracks.

[0040] S105, if there is an abnormal position, output a prompt message.

[0041] For the embodiments of the present application, if the electronic device determines that there is an abnormal position in the pipeline, it means that the pipeline has a negative impact on the normal operation of the geothermal well. Therefore, the electronic device outputs a prompt message so that the staff can timely learn about the abnormal position in the pipeline, enabling the staff to take measures in a timely manner. It is more convenient for the electronic device to judge whether there are abnormalities in the pipeline of the geothermal well based on the shape and the presence or absence of cracks at the real-time position, and improves the comprehensiveness of detecting abnormalities compared to manual inspection of abnormal positions.

[0042] In a possible implementation manner of the embodiments of the present application, in step S104, judging whether there is an abnormal position on the pipeline based on the shape and the presence or absence of cracks specifically includes step S1041 (not shown in the figure), step S1042 (not shown in the figure), step S1043 (not shown in the figure), step S1044 (not shown in the figure), and step S1045 (not shown in the figure), where S1041, calculate the similarity between the shape of the pipeline cross-section at any position and the preset shape.

[0043] For the embodiments of the present application, the preset shape is the standard circular shape of the pipeline cross-section. After the electronic device determines the cross-sectional shape of the real-time position, the electronic device calculates the similarity between this shape and the standard circular shape. The greater the similarity, the closer the shape of the pipeline cross-section is to the preset shape, and the smaller the possibility of abnormalities in the pipeline at this position. Specifically, the electronic device can determine the similarity by calculating the cosine distance, or by converting the output of the image segmentation model into an edge map and then using evaluation metrics such as FOM (Figure of Merit), RMSE (Root Mean Square Error), PSNR (Peak Signal-to-Noise Ratio), and SSIM (Structural Similarity Index) to evaluate the similarity between the shape and the preset shape.

[0044] S1042, compare the shape with the preset shape to obtain abnormal contour segments with inconsistent contours.

[0045] For the embodiments of the present application, the shape represents the contour of the cross-section of the pipeline, and the preset shape can also be a circular contour. The electronic device maps and compares the shape with the preset shape to determine the contour segments that do not coincide on the two contours, that is, the abnormal contour segments. The abnormal contour segments indicate that the shape of the cross-section of the pipeline has changed, and an abnormality may occur at this position of the pipeline.

[0046] S1043, determine the first abnormality score of the shape based on the abnormal contour segment and the similarity.

[0047] For the embodiments of the present application, both the abnormal contour segment and the similarity between the cross-sectional shape and the preset shape are important factors affecting whether the position is abnormal. Therefore, it is more accurate for the electronic device to comprehensively determine the first abnormality score of the cross-sectional shape based on the abnormal contour segment and the similarity. The first abnormality score characterizes the degree of abnormality of a certain position on the pipeline from the specific situation of the shape.

[0048] S1044, if there is no crack at any position, determine whether any position is an abnormal position based on the first abnormality score.

[0049] For the embodiments of the present application, after the electronic device determines the first abnormality score of a certain position, if there is no crack at this position, it can directly determine whether this position is an abnormal position according to the first abnormality score. The absence of cracks but the existence of large deformations may also indicate that this position is an abnormal position.

[0050] S1045, if there is a crack at any position, determine the length and area of each crack, determine the second abnormality score of each crack based on the length and area of each crack, and determine whether any position is an abnormal position based on the first abnormality score, the number of cracks, and the second abnormality score of each crack.

[0051] For the embodiments of the present application, after the electronic device determines the first abnormality score of a certain position, if there is a crack on the side wall of the pipeline at this position, it is necessary to further determine whether this position is an abnormal position in combination with the situation of the crack. The electronic device determines the contour of each crack from the image information, counts the number of pixels on one side of the contour, and uses this pixel number to represent the length of the crack. The larger the length of the crack, the more the strength of the pipeline decreases and is damaged at this position, and the greater the possibility that this position is an abnormal position. The electronic device counts the number of pixels within the contour range of the crack and uses this number to represent the area of the crack. The larger the area of the crack, the greater the impact of the crack on the strength of the pipeline, and the greater the possibility that this position is an abnormal position.

[0052] In summary, the length and area of each crack are important factors affecting whether each crack makes the position abnormal. Therefore, it is more accurate for the electronic device to comprehensively determine the first abnormal score of each crack based on the length and area of each crack. Specifically, since both the length and the area are important factors affecting whether each crack makes the position abnormal, and their degrees of influence are different, the staff sets different coefficients for the length and the area. After the electronic device determines the length and area of each crack, the electronic device calls the corresponding coefficients for weighted calculation to obtain the second abnormal score of each crack. The larger the second abnormal score, the greater the possibility that the position is an abnormal position. The number of cracks at each position also affects the possibility that the position belongs to an abnormal position. The more cracks there are, the lower the strength of the pipeline at that position, and the greater the possibility of belonging to an abnormal position. It is more accurate for the electronic device to comprehensively judge whether the position is an abnormal position based on the first abnormal score regarding the shape, the number of cracks regarding the cracks, and the second abnormal score of each crack.

[0053] After the electronic device determines whether a position belongs to an abnormal position through the above method, it judges whether each position in the axial direction of the pipeline sidewall belongs to an abnormal position in real time in the same way.

[0054] In a possible implementation manner of the embodiment of the present application, determining the first abnormal score of the shape based on the abnormal contour segment and the similarity in step S1043 specifically includes step Sa (not shown in the figure), step Sb (not shown in the figure), and step Sc (not shown in the figure), where Sa, determining the ratio of each abnormal contour segment to the preset shape.

[0055] For the embodiment of the present application, the larger the length of the abnormal contour segment, the more serious the deformation of the pipeline. Therefore, the electronic device calculates the ratio of the length of each abnormal contour segment to the length of the preset shape. The larger the ratio, the greater the deformation of the pipeline, and the greater the possibility that the deformation causes the position to be abnormal.

[0056] Sb, determining the total sum of the ratios of all abnormal contour segments.

[0057] For the embodiment of the present application, after the electronic device determines the ratio of each abnormal contour segment, it sums up all the ratios to obtain the ratio of the total length of the deformed position to the total length of the preset shape, that is, the total sum of the ratios. The larger the total sum of the ratios, the larger the deformed area on the cross-section of the pipeline, the more serious the reduction of the pipeline strength, and the greater the possibility that the position belongs to an abnormal position.

[0058] Sc, determining the first abnormal score based on the total sum of the ratios, the number of abnormal contour segments, and the similarity.

[0059] For the embodiments of the present application, the total proportion, the number of abnormal profile segments, and the similarity between the shape of the cross-section and the preset shape are all important factors affecting the degree of abnormality at a certain position on the pipeline in terms of shape. Moreover, the degrees of influence of the total proportion, the number of abnormal profile segments, and the similarity on the position abnormality are different. Therefore, the staff can preset the coefficients corresponding to the total proportion, the number of abnormal profile segments, and the similarity respectively. Since the similarity is inversely proportional to the possibility of belonging to an abnormal position, the electronic device can take the reciprocal of the similarity for calculation. Then, the electronic device calls the corresponding coefficients to perform weighted calculation on the total proportion, the number of abnormal profile segments, and the reciprocal of the similarity to obtain the first abnormality score. It is more accurate to comprehensively determine the first abnormality score by combining the above three factors.

[0060] A possible implementation manner of the embodiments of the present application. In step S1045, based on the first abnormality score, the number of cracks, and the second abnormality score of each crack, it is determined whether any position is an abnormal position, which specifically includes step S1 (not shown in the figure), step S2 (not shown in the figure), and step S3 (not shown in the figure). Among them, S1, determine the average value of the second abnormality scores based on the second abnormality score of each crack.

[0061] For the embodiments of the present application, after the electronic device determines the second abnormality scores of all the cracks at a certain position, the average value calculation formula is used to determine the average value of the second abnormality scores at this position. It is more accurate to characterize the overall influence of the cracks at this position on the pipeline strength through the average value, that is, the possibility that the pipeline is in an abnormal position at this position in terms of cracks.

[0062] S2, determine the third abnormality score based on the first abnormality score, the number of cracks, the average value of the second abnormality scores, and the corresponding coefficients respectively.

[0063] For the embodiments of the present application, the staff can preset the coefficients corresponding to the first abnormality score, the number of cracks, and the average value of the second abnormality scores respectively. The electronic device calls the corresponding coefficients to perform weighted calculation to obtain the third abnormality score. The third abnormality score is comprehensively calculated by combining the first abnormality score in terms of shape, the number of cracks, and the average value of the second abnormality scores. Therefore, the third abnormality score is more accurate.

[0064] S3, determine whether any position is an abnormal position based on the third abnormality score.

[0065] For the embodiments of the present application, after the electronic device determines the third abnormality score of each position, since the third abnormality score represents the possibility that each position belongs to an abnormal position, it is more accurate for the electronic device to determine whether it is an abnormal position according to the third abnormality score. The electronic device can determine whether there is an abnormal position at each position during the movement of the mobile device in the above manner.

[0066] In a possible implementation manner of the embodiment of the present application, in step S1044, it is determined whether any position is an abnormal position based on the first abnormal score, and in step S1045, it is determined whether any position is an abnormal position based on the third abnormal score, which specifically includes step one, step two, step three, and step four, where Step one, if the first abnormal score reaches the first preset score threshold, it is determined that any position is an abnormal position.

[0067] For the embodiment of the present application, if there is no crack at a certain position, it can be directly determined whether it belongs to an abnormal position according to the first abnormal score in terms of shape. The first preset score threshold is used as the demarcation point for whether the first abnormal score is too high or too low. Therefore, the electronic device compares the first abnormal score of each position with the first preset score threshold. If the first abnormal score of a certain position reaches the first preset score threshold, it indicates that the possibility of this position belonging to an abnormal position is relatively high, and the electronic device can determine this position as an abnormal position.

[0068] Step two, if the first abnormal score does not reach the first preset score threshold, it is determined that any position is not an abnormal position.

[0069] For the embodiment of the present application, the electronic device compares the first abnormal score of each position with the first preset score threshold. If the first abnormal score of a certain position does not reach the first preset score threshold, it indicates that the possibility of this position belonging to an abnormal position is relatively low, and the electronic device does not determine this position as an abnormal position.

[0070] Step three, if the third abnormal score reaches the second preset score threshold, it is determined that any position is an abnormal position.

[0071] For the embodiment of the present application, if there is a crack at a certain position, it can be determined whether it belongs to an abnormal position according to the third abnormal score comprehensively determined by the first abnormal score in terms of shape and the quantity and the average value of the second abnormal score in terms of cracks. The second preset score threshold is used as the demarcation point for whether the third abnormal score is too high or too low. Therefore, the electronic device compares the third abnormal score of each position with the second preset score threshold. If the third abnormal score of a certain position reaches the second preset score threshold, it indicates that the possibility of this position belonging to an abnormal position is relatively high, and the electronic device can determine this position as an abnormal position.

[0072] Step four, if the third abnormal score does not reach the second preset score threshold, it is determined that any position is not an abnormal position.

[0073] For the embodiments of the present application, the electronic device compares the third anomaly score of each position with the second preset score threshold. If the third anomaly score of a certain position does not reach the second preset score threshold, it indicates that the possibility of this position belonging to an abnormal position is relatively low, and the electronic device does not determine this position as an abnormal position.

[0074] A possible implementation manner of the embodiments of the present application, the method further includes step S106, step S107 (not shown in the figure), and step S108 (not shown in the figure), where S106, determine the movement path of the mobile device.

[0075] For the embodiments of the present application, a GPS positioning device can be set at the center point of the mobile device. The electronic device communicates with the GPS positioning device, and the electronic device draws a connection line based on the position of the mobile device collected in real time to obtain the movement path of the mobile device. Or use radio waves (such as RFID or Bluetooth) to locate the mobile device. Set multiple receiving points in the pipeline, and determine the position of the device through signal strength and time difference. Install the tracker on the mobile device and at the center point of the mobile device, and record its position and movement trajectory through satellite signals.

[0076] S107, determine the offset value of the pipeline based on the movement path and the standard axis corresponding to the pipeline.

[0077] For the embodiments of the present application, the standard axis is the axis of the pipeline. If the pipeline does not shift or get damaged under geological action or external force, the movement path of the mobile trolley is consistent with the axis; if the pipeline shifts or gets damaged under geological action or external force, when the mobile device moves and encounters a damaged or broken place, it will cause the mobile device to jolt, which will in turn cause the movement path to change. And the mobile device moves along the pipeline. If the pipeline shifts, there will be a difference between the movement path and the standard axis. There is a deviation between the movement path of the mobile device and the axis of the pipeline. Therefore, the electronic device can calculate the similarity between the movement path and the standard axis. Similarly, the electronic device can determine the similarity by calculating the cosine distance between the movement path and the standard axis. The similarity is usually expressed as a percentage. The electronic device subtracts the percentage of the similarity from 100% to get the difference. This difference can characterize the gap between the movement path and the standard axis, that is, the offset value. The larger the offset value, the more serious the pipeline shift or damage, and the greater the possibility of the overall pipeline being abnormal.

[0078] S108, determine the health of the pipeline based on the offset value of the pipeline and the number of abnormal positions.

[0079] For the embodiments of the present application, the larger the number of abnormal positions on the pipeline, the lower the overall health of the pipeline. In summary, both the offset value and the number of abnormal positions are key factors characterizing the overall health of the pipeline. The staff sets respective corresponding coefficients for the offset value and the number of abnormal positions, and then after the electronic device determines the offset value and the number of abnormal positions, it calls the respective corresponding coefficients for weighted calculation to obtain a score, which represents the overall health of the pipeline. Determining the health of the pipeline based on the offset value and the number of abnormal positions of the pipeline is more accurate.

[0080] In a possible implementation manner of the embodiments of the present application, the step of outputting a prompt message in step S105 specifically includes step S1051 (not shown in the figure) and step S1052 (not shown in the figure), where S1051, determine the depth where each abnormal position is located and the abnormal data of each abnormal position. The abnormal data includes the shape of the pipeline cross-section at each abnormal position and the image of the pipeline sidewall.

[0081] For the embodiments of the present application, after the electronic device determines the abnormal position, it can detect the length of the towing rope on the mobile device and use this length to represent the depth where the abnormal position is located; or use a GPS positioning device to determine the altitude of the abnormal position, and then calculate the difference between the altitude of the ground where the geothermal well is located and the altitude of the abnormal position to obtain the depth where the abnormal position is located. The electronic device determines the shape of the pipeline cross-section corresponding to the abnormal position and the image of the pipeline sidewall at this position, that is, the abnormal data.

[0082] S1052, output a prompt message based on the depth and the abnormal data.

[0083] For the embodiments of the present application, after the electronic device determines the depth where the abnormal position is located, it determines the corresponding relationship between the depth and the abnormal data. The prompt message can be that the electronic device packs the depth and the corresponding abnormal data into a folder. The name of the folder can be the depth of the abnormal position, and the abnormal data is stored in the folder. Then the electronic device sends the folder to the terminal device of the staff, so as to facilitate the staff to timely and clearly know the depth where the abnormal position is located and the specific situation of the pipeline sidewall at this depth. The prompt message can also be that the electronic device uploads the abnormal data to the server and generates a link. The electronic device can send a text message about the depth of the abnormal position and the link to the terminal device of the staff, such as "The depth of the abnormal position is xx meters. Please click on the xxxxx link to access and view the abnormal data of the pipeline at this depth". Outputting the prompt message facilitates the staff to timely know the depth of the abnormal position and perform corresponding operations according to the corresponding abnormal data.

[0084] The above embodiments introduce a geothermal well status monitoring method from the perspective of the method flow. The following embodiments introduce a geothermal well status monitoring device from the perspective of virtual modules or virtual units. For details, see the following embodiments.

[0085] An embodiment of the present application provides a geothermal well status monitoring device 20, as Figure 2 shown. The geothermal well status monitoring device 20 may specifically include: A control module 201, configured to control a mobile device to move along a geothermal well pipeline and collect point cloud data of the pipeline sidewall and image information of the pipeline sidewall in real time, so that an electronic device can obtain the point cloud data and the image information; A shape determination module 202, configured to determine the shape of the pipeline cross-section at the real-time position of the mobile device based on the point cloud data; A crack determination module 203, configured to determine whether there is a crack in the pipeline sidewall at the real-time position of the mobile device based on the image information; An abnormal position judgment module 204, configured to judge whether there is an abnormal position in the pipeline based on the shape and whether there is a crack; An output module 205, configured to output a prompt message when there is an abnormal position.

[0086] An embodiment of the present application discloses a geothermal well status monitoring device 20. Among them, the control module 201 controls the mobile device to move along the geothermal well pipeline so as to collect point cloud data and image information of the pipeline sidewall during the movement. The shape determination module 202 determines the shape of the pipeline cross-section at the real-time position through the point cloud data. Through this shape, it can be judged whether the pipeline is deformed, and the degree of deformation reflects whether the pipeline is abnormal. The image information records the specific situation of the pipeline sidewall. Therefore, the crack determination module 203 can judge whether there is a crack in the pipeline sidewall according to the image information. The existence of a crack indicates that the pipeline strength may be reduced, and thus it indicates that the pipeline may be abnormal. The abnormal position judgment module 204 combines the determined shape of the pipeline cross-section and whether there is a crack to comprehensively judge whether there is an abnormal position in the pipeline more accurately, and it is more convenient and less likely to miss compared with manual judgment of abnormalities. If there is an abnormal position, the output module 205 directly outputs a prompt message, so as to facilitate the staff to know the abnormal position in time.

[0087] In a possible implementation manner of the embodiment of the present application, the abnormal position judgment module 204 judges whether there is an abnormal position in the pipeline based on the shape and whether there is a crack, including: Calculating the similarity between the shape of the pipeline cross-section at any position and a preset shape; Comparing the shape with the preset shape to obtain an abnormal contour segment with inconsistent contours; Determining a first abnormal score of the shape based on the abnormal contour segment and the similarity; If there is no crack at any position, determine whether any position is an abnormal position based on the first abnormal score; If there is a crack at any position, determine the length and area of each crack, determine the second abnormal score of each crack based on the length and area of each crack, and determine whether any position is an abnormal position based on the first abnormal score, the number of cracks, and the second abnormal score of each crack.

[0088] In a possible implementation manner of the embodiment of the present application, when the abnormal position determination module 204 determines the first abnormal score of the shape based on the abnormal contour segment and the similarity, it is specifically used for: Determine the proportion of each abnormal contour segment to the preset shape; Determine the total proportion of all abnormal contour segments; Determine the first abnormal score based on the total proportion, the number of abnormal contour segments, and the similarity.

[0089] In a possible implementation manner of the embodiment of the present application, when the abnormal position determination module 204 determines whether any position is an abnormal position based on the first abnormal score, the number of cracks, and the second abnormal score of each crack, it is specifically used for: Determine the average value of the second abnormal scores based on the second abnormal score of each crack; Determine the third abnormal score based on the first abnormal score, the number of cracks, the average value of the second abnormal scores, and their respective corresponding coefficients; Determine whether any position is an abnormal position based on the third abnormal score.

[0090] In a possible implementation manner of the embodiment of the present application, when the abnormal position determination module 204 determines whether any position is an abnormal position based on the first abnormal score and determines whether any position is an abnormal position based on the third abnormal score, it is specifically used for: If the first abnormal score reaches the first preset score threshold, determine that any position is an abnormal position; If the first abnormal score does not reach the first preset score threshold, determine that any position is not an abnormal position; If the third abnormal score reaches the second preset score threshold, determine that any position is an abnormal position; If the third abnormal score does not reach the second preset score threshold, determine that any position is not an abnormal position.

[0091] In a possible implementation manner of the embodiment of the present application, the device 20 further includes: A path determination module, configured to determine the movement path of the mobile device; An offset value determination module, configured to determine the offset value of the pipeline based on the movement path and the standard axis corresponding to the pipeline; A health determination module for determining the health of a pipeline based on the offset value of the pipeline and the number of abnormal positions.

[0092] In a possible implementation manner of the embodiment of the present application, when the output module 205 outputs a prompt message, it is specifically used for: Determine the depth where each abnormal position is located and the abnormal data of each abnormal position. The abnormal data includes the shape of the pipeline cross-section and the image of the pipeline side wall at each abnormal position; Output a prompt message based on the depth and the abnormal data.

[0093] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of a geothermal well state monitoring device 20 described above can refer to the corresponding process in the foregoing method embodiment, and will not be elaborated herein.

[0094] An electronic device is provided in the embodiment of the present application, such as Figure 3 shown, Figure 3 The electronic device 30 shown includes: a processor 301 and a memory 303. Among them, the processor 301 and the memory 303 are connected, such as connected through a bus 302. Optionally, the electronic device 30 may further include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device 30 does not constitute a limitation to the embodiment of the present application.

[0095] The processor 301 may be a CPU (Central Processing Unit, central processor), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor 301 may also be a combination that realizes a computing function, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0096] The bus 302 may include a path for transmitting information between the above components. The bus 302 can be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 302 can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 3 only a thick line is used in Figure 3 , but it does not mean that there is only one bus or one type of bus.

[0097] The memory 303 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0098] The memory 303 is used to store the application program code for executing the solution of this application, and is controlled by the processor 301 for execution. The processor 301 is used to execute the application program code stored in the memory 303 to implement the content shown in the foregoing method embodiments.

[0099] Among them, the electronic device includes but is not limited to: mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.

[0100] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When it runs on a computer, the computer can execute the corresponding content in the foregoing method embodiment. Compared with the related art, in the embodiment of the present application, the mobile device is controlled to move along the geothermal well pipeline so as to collect the point cloud data and image information of the pipeline side wall during the movement. The shape of the cross-section of the real-time position pipeline is determined through the point cloud data. Whether the pipeline is deformed can be judged through this shape, and the degree of deformation reflects whether the pipeline is abnormal. The image information records the specific situation of the pipeline side wall. Therefore, whether there is a crack on the pipeline side wall can be judged according to the image information. The existence of a crack indicates that the strength of the pipeline may be reduced, which further indicates that the pipeline may be abnormal. Combining the determined shape of the pipeline cross-section and whether there is a crack to comprehensively judge whether there is an abnormal position of the pipeline is more accurate, and it is more convenient and less likely to be missed compared with manual judgment of abnormalities. If there is an abnormal position, a prompt message is directly output, so as to facilitate the staff to know the abnormal position in time.

[0101] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0102] The above are only some embodiments of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A method for monitoring the state of a geothermal well, characterized in that: include: Controlling the mobile device to move along the geothermal well pipeline and collect point cloud data of the pipeline side wall and image information of the pipeline side wall in real time, so that the electronic device obtains the point cloud data and image information; determining a shape of a pipe cross section at a real-time location of the mobile device based on the point cloud data; Determining whether there is a crack on the side wall of the pipeline at the real-time position of the mobile device based on the image information; Determining whether the pipeline has an abnormal position based on the shape and whether there are cracks; If there is an abnormal position, a prompt message will be output.

2. A method for monitoring the state of a geothermal well according to claim 1, characterized in that: The determining whether the pipeline has an abnormal position based on the shape and whether there are cracks includes: Calculate the similarity between the shape of the pipe cross section at any position and the preset shape; Comparing the shape with a preset shape to obtain an abnormal contour segment with inconsistent contours; Determining a first anomaly score for the shape based on the anomaly contour segment and the similarity; If there is no crack at any of the positions, determining whether any of the positions is an abnormal position based on the first abnormality score; If there is a crack at any of the positions, the length and area of ​​each crack are determined, and a second abnormality score of each crack is determined based on the length and area of ​​each crack. Based on the first abnormality score, the number of cracks and the second abnormality score of each crack, it is determined whether any of the positions is an abnormal position.

3. A method for monitoring the state of a geothermal well according to claim 2, characterized in that: The determining a first anomaly score of the shape based on the abnormal contour segment and the similarity comprises: Determine the proportion of each abnormal contour segment to the preset shape; Determine the total proportion of all abnormal contour segments; A first anomaly score is determined based on the total proportion, the number of abnormal contour segments, and the similarity.

4. A method for monitoring the state of a geothermal well according to claim 2, characterized in that: The determining whether any position is an abnormal position based on the first abnormal score, the number of cracks, and the second abnormal score of each crack comprises: determining an average of the second anomaly scores based on the second anomaly scores for each fracture; Determine a third anomaly score based on the first anomaly score, the number of cracks, the average of the second anomaly scores, and respective corresponding coefficients; Whether any of the positions is an abnormal position is determined based on the third abnormality score.

5. A method for monitoring the state of a geothermal well according to claim 4, characterized in that: The determining whether any one of the positions is an abnormal position based on the first abnormality score, and determining whether any one of the positions is an abnormal position based on the third abnormality score, comprises: If the first abnormality score reaches a first preset score threshold, determining any one of the positions as an abnormal position; If the first abnormality score does not reach the first preset score threshold, determining that any of the positions is not an abnormal position; If the third abnormality score reaches the second preset score threshold, determining any one of the positions as an abnormal position; If the third abnormality score does not reach the second preset score threshold, it is determined that any of the positions is not an abnormal position.

6. A method for monitoring the state of a geothermal well according to claim 1, characterized in that: The method further comprises: determining the movement path of the mobile device; Determining an offset value of the pipeline based on the moving path and a standard axis corresponding to the pipeline; The health of the pipeline is determined based on the deviation value and the number of abnormal locations of the pipeline.

7. A method for monitoring geothermal well status according to claim 1, characterized in that: The output prompt information includes: Determine the depth of each abnormal position and abnormal data of each abnormal position, wherein the abnormal data includes the shape of the pipeline cross section at each abnormal position and an image of the pipeline side wall; Output prompt information based on the depth and abnormal data.

8. A geothermal well status monitoring device, characterized in that: include: A control module, used to control the mobile device to move along the geothermal well pipeline and collect point cloud data of the pipeline side wall and image information of the pipeline side wall in real time, so that the electronic device obtains the point cloud data and image information; a shape determination module, configured to determine the shape of the pipe cross section at the real-time position of the mobile device based on the point cloud data; a crack determination module, configured to determine whether there is a crack on the side wall of the pipeline at the real-time position of the mobile device based on the image information; An abnormal position determination module, used for determining whether the pipeline has an abnormal position based on the shape and whether there are cracks; The output module is used to output prompt information when there is an abnormal position.

9. An electronic device, characterized in that: It includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, and the at least one application is used to execute a geothermal well status monitoring method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute a geothermal well status monitoring method as claimed in any one of claims 1 to 7.