A method, device, electronic device and storage medium for detecting pipelines in a river

By acquiring river cross-section sonar images and thermal imaging images, floating pipelines in the river can be accurately positioned, which solves the problem of inability to accurately locate the existing technology and extends the service life of the pipelines.

CN114895313BActive Publication Date: 2024-09-24SHANGHAI CITY INFORMATION PIPELINE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210639098.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2024-09-24
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

Existing pipeline detection methods in rivers cannot accurately locate floating pipelines, resulting in inability to protect them in time and shortening the life of the pipelines.

Method used

By obtaining the pipeline detection request, the river detection area is determined, and the underwater traveling device is used to obtain the river cross-section sonar image and thermal imaging image, and the abnormal position of the pipeline in the river is accurately located and detected.

Benefits of technology

It achieves precise positioning of floating pipelines in rivers, timely protection, and extended pipeline life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114895313B
    Figure CN114895313B
Patent Text Reader

Abstract

The embodiments of the present invention disclose a method, device, electronic device and storage medium for detecting pipelines in a river. The method for detecting pipelines in a river includes: obtaining a pipeline detection request, and determining a river detection area according to the pipeline detection request; obtaining a river cross-section sonar image of the river detection area through an underwater traveling device; determining the abnormal position of the river according to the river cross-section sonar image when it is determined that there is an abnormality in the river cross-section sonar image; obtaining a thermal imaging image corresponding to the abnormal position of the river through an underwater traveling device; and detecting pipelines in the river detection area according to the thermal imaging image. The technical solution of the embodiments of the present invention can accurately locate pipelines floating in the river, thereby timely protecting the floating pipelines in the river and extending the life of the pipelines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of communication technology, and in particular to a method, device, electronic equipment and storage medium for detecting pipelines in a river. Background Art

[0002] With the rapid development of urban construction, there are more and more buried pipelines crossing rivers. Due to factors such as river navigation, it is necessary to dredge the rivers in the river. However, after dredging, the buried pipelines crossing the river may float up, causing damage to the existing pipelines and shortening the life of the pipelines.

[0003] However, the existing detection method for pipelines in rivers cannot accurately locate pipelines floating in rivers, resulting in failure to timely protect pipelines floating in rivers and shortening the life of pipelines. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for detecting pipelines in a river, which can accurately locate pipelines floating in the river, thereby timely protecting the pipelines floating in the river and extending the life of the pipelines.

[0005] According to one aspect of the present invention, a method for detecting pipelines in a river is provided, comprising:

[0006] Obtaining a pipeline inspection request, and determining a river inspection area according to the pipeline inspection request;

[0007] Acquiring a sonar image of a river cross section in the river detection area by an underwater traveling device;

[0008] In the case where it is determined that the sonar image of the river cross section has an abnormality, determining the abnormal position of the river channel according to the sonar image of the river cross section;

[0009] Acquire a thermal imaging image corresponding to the abnormal position of the river channel by an underwater traveling device;

[0010] According to the thermal imaging image, pipelines within the river channel detection area are detected.

[0011] According to another aspect of the present invention, there is provided a detection device for pipelines in a river, comprising:

[0012] A river channel detection area determination module is used to obtain a pipeline detection request and determine a river channel detection area according to the pipeline detection request;

[0013] A river channel cross-section sonar image acquisition module, used to acquire a river channel cross-section sonar image of the river channel detection area through an underwater traveling device;

[0014] A river channel abnormal position determination module, used to determine the abnormal position of the river channel according to the river channel cross-section sonar image when it is determined that the river channel cross-section sonar image has an abnormality;

[0015] A thermal imaging image acquisition module, used to acquire a thermal imaging image corresponding to the abnormal position of the river channel through an underwater traveling device;

[0016] The pipeline detection module is used to detect the pipeline in the river detection area according to the thermal imaging image.

[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for detecting pipelines in a river channel described in any embodiment of the present invention.

[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for detecting pipelines in a river channel described in any embodiment of the present invention when executed.

[0022] The technical solution of the embodiment of the present invention obtains a pipeline detection request, determines a river detection area according to the pipeline detection request, and obtains a river cross-section sonar image of the river detection area through an underwater traveling device. When there is an abnormality in the river cross-section sonar image, the abnormal position of the river is determined according to the river cross-section sonar image, and a thermal imaging image corresponding to the abnormal position of the river is obtained through the underwater traveling device, so as to detect the pipeline in the river detection area according to the thermal imaging image, thereby solving the problem that the existing pipeline detection method in the river channel cannot accurately locate the pipeline floating in the river channel, resulting in the inability to timely protect the pipeline floating in the river channel and shortening the pipeline life. The pipeline floating in the river channel can be accurately located, thereby timely protecting the pipeline floating in the river channel and extending the pipeline life.

[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 This is a flow chart of a method for detecting pipelines in a river provided in Embodiment 1 of the present invention;

[0026] Figure 2 This is a flow chart of a method for detecting pipelines in a river provided by Embodiment 2 of the present invention;

[0027] Figure 3 It is a schematic diagram of a detection device for pipelines in a river provided by Embodiment 3 of the present invention;

[0028] Figure 4 It is a schematic diagram of the structure of an electronic device for implementing the method for detecting pipelines in a river channel according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] Embodiment 1

[0032] Figure 1This is a flow chart of a method for detecting pipelines in a river provided by the first embodiment of the present invention. This embodiment is applicable to the situation of accurately locating floating pipelines in a river. This method can be executed by a detection device for pipelines in a river. The device can be implemented by software and / or hardware, and can generally be directly integrated into an electronic device that executes this method. The electronic device can be a terminal device or a server device. The embodiment of the present invention does not limit the type of electronic device that executes the method for detecting pipelines in a river. Specifically, Figure 1 As shown, the detection method of pipelines in a river channel may specifically include the following steps:

[0033] S110, obtaining a pipeline detection request, and determining a river detection area according to the pipeline detection request.

[0034] The pipeline detection request may be a request for detecting a pipeline floating in a river. It is understandable that the pipeline floating in a river may be a communication pipeline, a water supply pipeline, a drainage pipeline, a radio and television pipeline, or an industrial pipeline. The river detection area may be an area in the river where the floating pipeline is detected. It is understandable that the river detection area may be a detection area along the extension direction of the river.

[0035] In the embodiment of the present invention, a pipeline detection request is obtained, and a river detection area is determined according to the pipeline detection request. It is understandable that the laying method of the pipeline in the river is to cross the river, so there may be multiple pipelines in the river crossing the river detection area.

[0036] S120, obtaining a river cross-section sonar image of the river detection area through an underwater traveling device.

[0037] The underwater traveling device may be a device capable of traveling underwater, such as an underwater submersible, etc., which is not limited in the embodiments of the present invention. The river cross-section sonar image may be a sonar image obtained by scanning the river cross-section.

[0038] In an embodiment of the present invention, after the river channel detection area is determined according to the pipeline detection request, a river channel cross-section sonar image of the river channel detection area can be further acquired through an underwater traveling device.

[0039] S130. When it is determined that the sonar image of the river cross section has an abnormality, determine the abnormal position of the river channel according to the sonar image of the river cross section.

[0040] The abnormal position of the river channel may be an abnormal position in the river channel, for example, a convex position in the river channel, or a concave position in the river channel, etc., and the embodiment of the present invention is not limited to this.

[0041] In the embodiment of the present invention, after the sonar image of the river cross section of the river channel detection area is obtained by the underwater traveling device, it can be further determined whether the sonar image of the river cross section is abnormal. When the sonar image of the river cross section is abnormal, the abnormal position of the river channel is determined according to the sonar image of the river cross section. It can be understood that if the sonar image of the river cross section is not abnormal, it means that there is no floating pipeline in the river channel detection area, and the operation of obtaining the pipeline detection request can be returned to detect the floating pipeline in the next river channel detection area.

[0042] S140. Acquire a thermal imaging image corresponding to the abnormal position of the river channel through an underwater traveling device.

[0043] The thermal imaging image may be an image formed according to a temperature value. It is understandable that the temperature values ​​emitted from the surfaces of different materials are different, and therefore, the thermal imaging images corresponding to different materials are different.

[0044] In the embodiment of the present invention, after determining the abnormal position of the river channel according to the sonar image of the river channel cross section, the thermal imaging image corresponding to the abnormal position of the river channel can be further obtained by the underwater traveling device. It is understandable that after determining that the sonar image of the river channel cross section is abnormal, the factors causing the abnormal sonar image of the river channel cross section cannot be determined. Therefore, it is necessary to obtain the thermal imaging image corresponding to the abnormal position of the river channel through the underwater traveling device to further determine the factors causing the abnormal sonar image of the river channel cross section. It is understandable that the factors causing the abnormal sonar image of the river channel cross section can be any factors that can cause the abnormal sonar image of the river channel cross section, such as garbage that has not been cleared in the river channel or floating pipelines.

[0045] S150: Inspect pipelines within the river inspection area according to the thermal imaging image.

[0046] In the embodiment of the present invention, after the thermal imaging image corresponding to the abnormal position of the river channel is obtained by the underwater traveling device, the pipeline in the river channel detection area can be further detected according to the thermal imaging image. It can be understood that different pipelines correspond to different thermal imaging images. Specifically, different pipelines in the river channel detection area can be detected according to the thermal imaging image to identify the pipeline type of the floating pipeline in the river channel detection area.

[0047] The technical solution of this embodiment obtains a pipeline detection request, determines the river detection area according to the pipeline detection request, and obtains a river cross-section sonar image of the river detection area through an underwater traveling device. When there is an abnormality in the river cross-section sonar image, the abnormal position of the river is determined according to the river cross-section sonar image, and a thermal imaging image corresponding to the abnormal position of the river is obtained through the underwater traveling device, so as to detect the pipeline in the river detection area according to the thermal imaging image, thereby solving the problem that the existing pipeline detection method in the river channel cannot accurately locate the pipeline floating in the river channel, resulting in the inability to timely protect the pipeline floating in the river channel and shortening the pipeline life. The pipeline floating in the river channel can be accurately located, thereby timely protecting the pipeline floating in the river channel and extending the pipeline life.

[0048] Embodiment 2

[0049] Figure 2 This is a flow chart of a method for detecting pipelines in a river provided by the second embodiment of the present invention. This embodiment is a further refinement of the above-mentioned technical solutions, and provides a variety of specific optional implementation methods for obtaining a river cross-section sonar image of the river detection area through an underwater traveling device, determining whether there is an abnormality in the river cross-section sonar image, determining the abnormal position of the river according to the river cross-section sonar image, and obtaining a thermal imaging image corresponding to the abnormal position of the river through an underwater traveling device. The technical solution in this embodiment can be combined with various optional solutions in one or more of the above-mentioned embodiments. Figure 2 As shown, the method may include the following steps:

[0050] S210: Obtain a pipeline detection request, and determine a river detection area according to the pipeline detection request.

[0051] S220. Determine a first moving instruction of the underwater moving device according to the pipeline detection request.

[0052] S230. Respond to the first moving instruction through the underwater moving device, so that the underwater moving device moves within the river detection area.

[0053] Among them, the first moving instruction can be an instruction that enables the underwater moving device to move within the river detection area.

[0054] In an embodiment of the present invention, after determining the river detection area according to the pipeline detection request, the first travel instruction of the underwater traveling device can be further determined according to the pipeline detection request, and the underwater traveling device can respond to the first travel instruction so that the underwater traveling device can move within the river detection area.

[0055] S240. Acquire, by the underwater traveling device, a sonar image of a river cross section of the river detection area when the underwater traveling device is traveling.

[0056] In an embodiment of the present invention, after the underwater traveling device responds to the first traveling instruction, the underwater traveling device travels in the river detection area, and the underwater traveling device can further acquire a sonar image of the river cross section during the traveling process.

[0057] Optionally, obtaining, by means of an underwater traveling device, a sonar image of a river cross section in a river detection area when the underwater traveling device is moving, can include: emitting sonar waves to the surface of a river in the river detection area by means of a sonar transmitting device in the underwater traveling device when the underwater traveling device is moving; receiving, by means of a sonar receiving device in the underwater traveling device, reflected sonar waves corresponding to the sonar waves; and determining the sonar image of the river cross section based on the sonar waves and the reflected sonar waves.

[0058] The sonar transmitting device may be any device capable of transmitting sonar waves, such as a sonar detector, etc., and the embodiments of the present invention do not limit this. The sonar receiving device may be any device capable of receiving sonar waves, such as a sonar detector, etc., and the embodiments of the present invention do not limit this. It is understood that after the sonar transmitting device transmits the sonar waves, the sonar waves will be reflected after encountering an object, and the sonar receiving device can receive the reflected sonar waves, that is, the reflected sonar waves corresponding to the sonar waves.

[0059] Specifically, after the underwater traveling device responds to the first traveling instruction, the underwater traveling device travels in the river detection area, and the sonar transmitting device in the underwater traveling device transmits sonar waves to the surface of the river in the river detection area, and the sonar receiving device in the underwater traveling device receives the reflected sonar waves to determine the sonar image of the river cross section based on the sonar waves and the reflected sonar waves.

[0060] S250. When it is determined that the sonar image of the river cross section has an abnormality, determine the abnormal position of the river channel according to the sonar image of the river cross section.

[0061] Optionally, determining whether a sonar image of a river cross section has an abnormality may include: determining sonar image data in the sonar image of the river cross section that matches the river cross section position; comparing the sonar image data that match different river cross section positions with standard sonar image data for consistency; if there is sonar image data that is inconsistent with the standard sonar image data, determining the inconsistent sonar image data as abnormal sonar image data, and determining that the sonar image of the river cross section has an abnormality.

[0062] The channel cross-section position may be a position corresponding to any cross section within the channel detection area. The sonar image data may be data that can characterize the distance between the channel surface and the underwater traveling device in the channel cross-section sonar image. The standard sonar image data may be data that can characterize the distance between the channel surface without abnormalities and the underwater traveling device in the channel cross-section sonar image. The abnormal sonar image data may be data that can characterize the distance between the channel surface with abnormalities and the underwater traveling device in the channel cross-section sonar image.

[0063] Specifically, after obtaining the sonar image of the river cross section of the river detection area during the underwater traveling device, the sonar image data matching the river cross section position in the river cross section sonar image can be further determined, and the sonar image data matching different river cross section positions can be compared with the standard sonar image data for consistency. If there is sonar image data inconsistent with the standard sonar image data, it means that there is an abnormality in the river cross section position corresponding to the sonar image data, and the sonar image data can be determined as abnormal sonar image data, and it is determined that there is an abnormality in the river cross section sonar image. If there is no sonar image data inconsistent with the standard sonar image data, it can be determined that there is no abnormality in the river cross section sonar image.

[0064] Optionally, determining the abnormal position of a river channel based on a river channel cross-section sonar image may include: determining, based on abnormal sonar image data in the river channel cross-section sonar image, the river channel cross-section position corresponding to the abnormal sonar image data; and determining the river channel cross-section position corresponding to the abnormal sonar image data as the abnormal position of the river channel.

[0065] Specifically, after determining that there is an abnormality in the river cross-section sonar image, the river cross-section position corresponding to the abnormal sonar image data can be further determined based on the abnormal sonar image data in the river cross-section sonar image, so as to determine the river cross-section position corresponding to the abnormal sonar image data as the river abnormality position.

[0066] S260. Determine a second moving instruction for the underwater moving device according to the abnormal position of the river channel.

[0067] S270. Respond to the second moving instruction through the underwater moving device to make the underwater moving device move to the abnormal position of the river channel.

[0068] The second moving instruction may be an instruction that enables the underwater moving device to move to an abnormal position in the river channel.

[0069] In an embodiment of the present invention, after determining the abnormal position of the river channel based on the sonar image of the river channel cross-section, a second travel instruction of the underwater traveling device can be further determined based on the abnormal position of the river channel, and the underwater traveling device can respond to the second travel instruction to make the underwater traveling device travel to the abnormal position of the river channel.

[0070] S280. Obtain, by means of the underwater traveling device, a thermal imaging image corresponding to the abnormal position of the river channel, where the underwater traveling device is at the abnormal position of the river channel.

[0071] In the embodiment of the present invention, after the underwater traveling device responds to the second traveling instruction, the underwater traveling device travels to the abnormal position of the river channel, and a thermal imaging image corresponding to the abnormal position of the river channel can be further obtained through the underwater traveling device.

[0072] Optionally, obtaining, by means of the underwater traveling device, a thermal imaging image corresponding to the abnormal position of the river channel when the underwater traveling device is at an abnormal position of the river channel, may include: obtaining, by means of the thermal imaging device in the underwater traveling device, a thermal imaging image corresponding to the abnormal position of the river channel when the underwater traveling device is at an abnormal position of the river channel.

[0073] The thermal imaging device may be any device capable of acquiring thermal imaging images, such as a thermal detector, etc., and the embodiment of the present invention does not limit this.

[0074] Specifically, after the underwater traveling device responds to the second traveling instruction, the underwater traveling device travels to the abnormal position of the river channel, and a thermal imaging image corresponding to the abnormal position of the river channel can be further obtained through the thermal imaging device in the underwater traveling device.

[0075] S290: Inspect pipelines within the river inspection area according to the thermal imaging image.

[0076] The technical solution of this embodiment obtains a pipeline detection request, determines a river detection area according to the pipeline detection request, and determines a first moving instruction of the underwater traveling device according to the pipeline detection request, and responds to the first moving instruction by the underwater traveling device to make the underwater traveling device move within the river detection area, thereby obtaining a river cross-section sonar image of the river detection area during the moving process of the underwater traveling device through the underwater traveling device. When it is determined that there is an abnormality in the sonar image of the river channel cross-section, the abnormal position of the river channel is determined according to the sonar image of the river channel cross-section, and a second moving instruction of the underwater traveling device is determined according to the abnormal position of the river channel, and the underwater traveling device responds to the second moving instruction to make the underwater traveling device move to the abnormal position of the river channel, so as to obtain a thermal imaging image of the underwater traveling device at the abnormal position of the river channel through the underwater traveling device, and then detect the pipelines in the river channel detection area according to the thermal imaging image, so as to solve the problem that the existing detection method of pipelines in the river channel cannot accurately locate the pipelines floating in the river channel, resulting in the inability to timely protect the pipelines floating in the river channel and shortening the life of the pipelines. The method can accurately locate the pipelines floating in the river channel, so as to timely protect the pipelines floating in the river channel and extend the life of the pipelines.

[0077] Embodiment 3

[0078] Figure 3 Schematic diagram of a detection device for pipelines in a river provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a river detection area determination module 310, a river cross-section sonar image acquisition module 320, a river abnormal position determination module 330, a thermal imaging image acquisition module 340 and a pipeline detection module 350, wherein:

[0079] A river channel detection area determination module 310 is used to obtain a pipeline detection request and determine a river channel detection area according to the pipeline detection request;

[0080] A river channel cross-section sonar image acquisition module 320 is used to acquire a river channel cross-section sonar image of the river channel detection area through an underwater traveling device;

[0081] A river channel abnormal position determination module 330 is used to determine the abnormal position of the river channel according to the river channel cross-section sonar image when it is determined that the river channel cross-section sonar image has an abnormality;

[0082] A thermal imaging image acquisition module 340 is used to acquire a thermal imaging image corresponding to the abnormal position of the river channel through an underwater traveling device;

[0083] The pipeline detection module 350 is used to detect the pipelines in the river detection area according to the thermal imaging image.

[0084] The technical solution of this embodiment obtains a pipeline detection request, determines the river detection area according to the pipeline detection request, and obtains a river cross-section sonar image of the river detection area through an underwater traveling device. When there is an abnormality in the river cross-section sonar image, the abnormal position of the river is determined according to the river cross-section sonar image, and a thermal imaging image corresponding to the abnormal position of the river is obtained through the underwater traveling device, so as to detect the pipeline in the river detection area according to the thermal imaging image, thereby solving the problem that the existing pipeline detection method in the river channel cannot accurately locate the pipeline floating in the river channel, resulting in the inability to timely protect the pipeline floating in the river channel and shortening the pipeline life. The pipeline floating in the river channel can be accurately located, thereby timely protecting the pipeline floating in the river channel and extending the pipeline life.

[0085] Optionally, the river cross-section sonar image acquisition module 320 can be specifically used to: determine a first travel instruction for the underwater traveling device based on a pipeline detection request; respond to the first travel instruction through the underwater traveling device to enable the underwater traveling device to travel within the river detection area; and obtain, through the underwater traveling device, a river cross-section sonar image of the river detection area during the movement of the underwater traveling device.

[0086] Optionally, the river cross-section sonar image acquisition module 320 can be further used to: transmit sonar waves to the surface of the river within the river detection area through the sonar transmitting device in the underwater traveling device while the underwater traveling device is moving; receive reflected sonar waves corresponding to the sonar waves through the sonar receiving device in the underwater traveling device; and determine the river cross-section sonar image based on the sonar waves and the reflected sonar waves.

[0087] Optionally, the abnormal river channel position determination module 330 can be specifically used to: determine the sonar image data that matches the river channel cross-section position in the river channel cross-section sonar image; compare the sonar image data that match different river channel cross-section positions with the standard sonar image data for consistency; if there is sonar image data that is inconsistent with the standard sonar image data, determine the inconsistent sonar image data as abnormal sonar image data, and determine that there is an abnormality in the river channel cross-section sonar image.

[0088] Optionally, the river channel abnormal position determination module 330 may also be specifically used to: determine the river channel cross-sectional position corresponding to the abnormal sonar image data based on the abnormal sonar image data in the river channel cross-sectional sonar image; and determine the river channel cross-sectional position corresponding to the abnormal sonar image data as the river channel abnormal position.

[0089] Optionally, the thermal imaging image acquisition module 340 can be specifically used to: determine a second travel instruction for the underwater traveling device according to the abnormal position of the river channel; respond to the second travel instruction through the underwater traveling device to make the underwater traveling device travel to the abnormal position of the river channel; and obtain, through the underwater traveling device, a thermal imaging image corresponding to the abnormal position of the river channel where the underwater traveling device is at the abnormal position of the river channel.

[0090] Optionally, the thermal imaging image acquisition module 340 may be further used to: acquire, through a thermal imaging device in the underwater traveling device, a thermal imaging image corresponding to the abnormal position of the river channel where the underwater traveling device is located.

[0091] The pipeline detection device in the river provided by the embodiment of the present invention can execute the pipeline detection method in the river provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0092] Embodiment 4

[0093] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0094] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0095] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0096] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the detection method of pipelines in a river channel.

[0097] In some embodiments, the method for detecting pipelines in a river channel may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for detecting pipelines in a river channel described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for detecting pipelines in a river channel in any other appropriate manner (e.g., by means of firmware).

[0098] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0099] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0100] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0101] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0102] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0103] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0104] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0105] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for detecting pipelines in a river. It is characterized in that include: Obtaining a pipeline inspection request, and determining a river inspection area according to the pipeline inspection request; Acquiring a sonar image of a river cross section in the river detection area by an underwater traveling device; In the case where it is determined that the sonar image of the river cross section has an abnormality, determining the abnormal position of the river channel according to the sonar image of the river cross section; Acquire a thermal imaging image corresponding to the abnormal position of the river channel by an underwater traveling device; Inspecting pipelines within the river channel inspection area according to the thermal imaging image; Wherein, determining that the sonar image of the river cross section is abnormal includes: Determining the sonar image data matching the river cross-section position in the river cross-section sonar image; Compare the sonar image data matching different river section positions with the standard sonar image data for consistency; If there is sonar image data inconsistent with the standard sonar image data, the inconsistent sonar image data is determined as abnormal sonar image data, and it is determined that the channel cross-section sonar image is abnormal; Among them, the sonar image data is data that can characterize the distance between the river surface and the underwater traveling device in the river cross-section sonar image, the standard sonar image data is data that can characterize the distance between the river surface without abnormalities and the underwater traveling device in the river cross-section sonar image, the abnormal sonar image data is data that can characterize the distance between the river surface with abnormalities and the underwater traveling device in the river cross-section sonar image, and the abnormal position of the river channel is a position where an abnormality exists in the river channel.

2. The method according to claim 1, It is characterized in that Before obtaining the river channel cross-section sonar image of the river channel detection area by the underwater traveling device, the method includes: Determining a first moving instruction of the underwater moving device according to the pipeline detection request; The method of obtaining a river channel cross-section sonar image of the river channel detection area by an underwater traveling device includes: Responding to the first moving instruction through the underwater moving device, so that the underwater moving device moves within the river detection area; By means of the underwater travelling device, a sonar image of a river cross section of the river channel detection area is obtained when the underwater travelling device is travelling.

3. The method according to claim 2, It is characterized in that The method of obtaining, by the underwater traveling device, a sonar image of a river cross section of the river detection area during the traveling of the underwater traveling device, comprises: By means of a sonar transmitting device in the underwater traveling device, sonar waves are emitted toward the surface of the river channel within the river channel detection area during the movement of the underwater traveling device; receiving, by a sonar receiving device in the underwater traveling device, a reflected sonar wave corresponding to the sonar wave; The sonar image of the river cross section is determined according to the sonar wave and the reflected sonar wave.

4. The method according to claim 1, It is characterized in that The determining the abnormal position of the river channel according to the sonar image of the river channel cross section includes: Determining the river channel cross-section position corresponding to the abnormal sonar image data according to the abnormal sonar image data in the river channel cross-section sonar image; The river channel cross-sectional position corresponding to the abnormal sonar image data is determined as the river channel abnormal position.

5. The method according to claim 1, It is characterized in that After determining the abnormal position of the river channel according to the sonar image of the river channel cross section, the method further includes: Determining a second travel instruction for the underwater traveling device according to the abnormal position of the river channel; The step of obtaining the thermal imaging image corresponding to the abnormal position of the river channel by the underwater traveling device includes: Responding to the second moving instruction through the underwater moving device, so that the underwater moving device moves to the abnormal position of the river channel; A thermal imaging image corresponding to the abnormal position of the river channel is obtained by using the underwater traveling device, where the underwater traveling device is at the abnormal position of the river channel.

6. The method according to claim 5, It is characterized in that The step of obtaining, by means of the underwater travelling device, a thermal imaging image corresponding to the abnormal position of the river channel, wherein the underwater travelling device is at an abnormal position of the river channel, comprises: A thermal imaging image corresponding to the abnormal position of the river channel is obtained when the underwater traveling device is at the abnormal position of the river channel by using the thermal imaging device in the underwater traveling device.

7. A detection device for pipelines in rivers, It is characterized in that include: A river channel detection area determination module is used to obtain a pipeline detection request and determine a river channel detection area according to the pipeline detection request; A river channel cross-section sonar image acquisition module, used to acquire a river channel cross-section sonar image of the river channel detection area through an underwater traveling device; A river channel abnormal position determination module, used to determine the abnormal position of the river channel according to the river channel cross-section sonar image when it is determined that the river channel cross-section sonar image has an abnormality; A thermal imaging image acquisition module, used to acquire a thermal imaging image corresponding to the abnormal position of the river channel through an underwater traveling device; A pipeline detection module, used to detect pipelines in the river detection area according to the thermal imaging image; Among them, the river channel abnormal position determination module is specifically used for: Determining the sonar image data matching the river cross-section position in the river cross-section sonar image; Compare the sonar image data matching different river section positions with the standard sonar image data for consistency; If there is sonar image data inconsistent with the standard sonar image data, the inconsistent sonar image data is determined as abnormal sonar image data, and it is determined that the channel cross-section sonar image is abnormal; Among them, the sonar image data is data that can characterize the distance between the river surface and the underwater traveling device in the river cross-section sonar image, the standard sonar image data is data that can characterize the distance between the river surface without abnormalities and the underwater traveling device in the river cross-section sonar image, the abnormal sonar image data is data that can characterize the distance between the river surface with abnormalities and the underwater traveling device in the river cross-section sonar image, and the abnormal position of the river channel is a position where an abnormality exists in the river channel.

8. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for detecting pipelines in a river channel according to any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for detecting pipelines in a river channel according to any one of claims 1 to 6 when executed.