Stock cable trench cable arrangement device, method and equipment
Through multi-angle image acquisition and analysis, the cable intersections can be identified to solve the problem of chaotic cable layout in the cable trench, reduce the risk of short circuits, and improve the management and maintenance efficiency of cable trenches.
Patent Information
- Application Number
- CN202411074714.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2025-01-10
AI Technical Summary
The confusing cable layout in the cable trench leads to crossing problems, increasing the risk of short circuits and maintenance difficulties, affecting signal quality and new cable laying.
The image acquisition module, cross identification module, comparison module and arrangement of chaos alarm module are adopted to identify cable intersections through multi-angle image data acquisition and analysis, count the number of crosses, and generate warning information to guide the re-laying of cables.
Effectively identify and organize the confusion of cable layout in the cable trench, reduce cable interference and short circuit risks, improve the management and maintenance efficiency of cable trenches, and avoid the impact on the laying of new cables.
Smart Images

Figure CN119295716A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electric power facilities, and specifically relates to a device, method and equipment for organizing cables in existing cable trenches. Background Art
[0002] A cable trench is an underground passage used to lay and protect cables. While preventing the cables from being damaged by the external environment (such as weather, mechanical damage, animal bites, etc.), it can also reduce visual clutter and beautify the urban environment.
[0003] Due to the lack of standard operating specifications for cable layout in the early stage and sufficient available space in the cable trench, the cables were not laid in a fixed direction. As the number of cables laid increased in the later stage, problems such as cable crossing occurred, resulting in chaotic arrangement of cables in the cable trench. It was easy to cause electric shock and short circuit at the cable crossing position, and the signal quality of the cable decreased. This was not conducive to the management of the cables already laid in the cable trench and the subsequent laying of new cables.
[0004] Therefore, how to identify and warn of the chaotic arrangement of cables in a cable trench is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a cable organizing device, method and equipment for existing cable trenches, which can organize the existing cables in the cable trench by identifying the chaotic layout of the laid cables and re-laying them, thereby reducing the risk of interference and short circuit between cables and avoiding affecting the subsequent cable maintenance, management and laying of new cables.
[0006] In a first aspect, an embodiment of the present application provides a cable arrangement device for existing cable trenches, the device comprising:
[0007] An image acquisition module, used for acquiring image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0008] A cross identification module, used to identify whether there is a cable cross event in the image data;
[0009] A comparison module is used to count the number of occurrences of cable crossing events in the cable trench when there is a cable crossing event, and to identify whether the number of occurrences exceeds a set threshold;
[0010] The arrangement disorder alarm module is used to determine that there is a disordered arrangement of cables in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0011] Furthermore, the cross-recognition module is also used for:
[0012] Performing straight line segment detection and edge detection on the image data of the first angle and the second angle, and determining the location of the cable according to the detection results;
[0013] Crossing points between cable segments are calculated, and when the existence of crossing points is identified, it is determined that a cable crossing event exists in the image data.
[0014] Furthermore, the cross-recognition module is also used for:
[0015] When the intersection is identified between the cable segments, the intersection positions in the image data of the first angle and the second angle are matched. If the match is successful, it is determined that a three-dimensional intersection event exists; if the match fails, it is determined that a single plane intersection event exists in the image data.
[0016] Furthermore, the image acquisition module is specifically used for:
[0017] Determining an image acquisition interval according to a shooting range of the image data;
[0018] photographing the cables laid in the cable trench according to the image acquisition interval;
[0019] Accordingly, the comparison module is specifically used for:
[0020] The number of cable crossing points in all collected images of the cables laid in the cable trench is counted as the number of occurrences of all cable crossing events in the cable trench.
[0021] Furthermore, the comparison module is also used for:
[0022] The numbering information of the cables in the cable trench is determined, and the cable crossing events are classified according to the numbering information to obtain the number of crossings of the cables with each number.
[0023] Furthermore, the comparison module is also used for:
[0024] The cable whose crossing times exceeds a set threshold is taken as a target cable, the number information of the target cable is obtained, and a warning message for re-laying is generated according to the number information;
[0025] or,
[0026] When the total number of crossings of cables with different numbers exceeds a set total threshold, all cables with crossings are taken as target cables, the number information of the target cables is obtained, and re-laying warning information is generated according to the number information.
[0027] Furthermore, the cross-recognition module is also used for:
[0028] After identifying the existence of a cable crossing event, the acquisition position of the current image data is recorded;
[0029] Correspondingly, the arrangement disorder alarm module is also used for:
[0030] When the number of occurrences does not exceed a set threshold, a warning message is generated according to the acquisition position to adjust the intersection position.
[0031] In a second aspect, an embodiment of the present application provides a method for tidying cables in an existing cable trench, the method comprising:
[0032] Acquire image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0033] identifying whether a cable crossing event exists in the image data;
[0034] In the case of a cable crossing event, counting the number of occurrences of the cable crossing event in the cable trench, and identifying whether the number of occurrences exceeds a set threshold;
[0035] When the number of occurrences exceeds a set threshold, it is determined that there is a disordered arrangement of cables in the cable trench, a target cable is determined, and a warning message is generated to re-lay the target cable.
[0036] Further, identifying whether there is a cable crossing event in the image data includes:
[0037] Performing straight line segment detection and edge detection on the image data of the first angle and the second angle, and determining the location of the cable according to the detection results;
[0038] Crossing points between cable segments are calculated, and when the existence of crossing points is identified, it is determined that a cable crossing event exists in the image data.
[0039] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0040] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0041] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0042] In an embodiment of the present application, an image acquisition module is used to obtain image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench; a crossing identification module is used to identify whether there is a cable crossing event in the image data; a comparison module is used to count the number of occurrences of cable crossing events in the cable trench when there is a cable crossing event, and to identify whether the number of occurrences exceeds a set threshold; a layout chaos alarm module is used to determine that there is a cable layout chaos in the cable trench, determine the target cable, and generate a warning message for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0043] Through the above-mentioned cable organizing device for existing cable trenches, the existing cables in the cable trenches can be organized by identifying and re-laying the chaotic arrangement of the laid cables, reducing the risk of interference and short circuit between cables, and avoiding affecting the subsequent cable maintenance, management and laying of new cables. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a structural schematic diagram of the cable arrangement device for existing cable trenches provided in Example 1 of the present application;
[0045] Figure 2 It is a structural schematic diagram of the cable arrangement device for existing cable trenches provided in the second embodiment of the present application;
[0046] Figure 3 It is a structural schematic diagram of the cable arrangement device for existing cable trenches provided in Example 3 of the present application;
[0047] Figure 4It is a structural schematic diagram of a cable arrangement device for existing cable trenches provided in Example 4 of the present application;
[0048] Figure 5 It is a structural schematic diagram of a cable arrangement device for existing cable trenches provided in Embodiment 5 of the present application;
[0049] Figure 6 It is a structural schematic diagram of a cable arrangement device for existing cable trenches provided in Example 6 of the present application;
[0050] Figure 7 It is a structural schematic diagram of a cable arrangement device for existing cable trenches provided in Example 7 of the present application;
[0051] Figure 8 It is a schematic flow chart of a method for arranging cables in an existing cable trench provided in Embodiment 8 of the present application;
[0052] Fig. 9 It is a structural diagram of an electronic device provided in Example 9 of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0055] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0056] In the following, in combination with the accompanying drawings, the existing cable trench cable sorting device, method and equipment provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0057] Embodiment 1
[0058] Figure 1 Schematic diagram of the structure of the cable arrangement device for existing cable trenches provided in the first embodiment of the present application. Figure 1 As shown, the specific steps include:
[0059] The image acquisition module 101 is used to obtain image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0060] A cross identification module 102, used to identify whether there is a cable cross event in the image data;
[0061] The comparison module 103 is used to count the number of occurrences of the cable crossing events in the cable trench when there is a cable crossing event, and to identify whether the number of occurrences exceeds a set threshold;
[0062] The chaotic arrangement alarm module 104 is used to determine that there is chaotic cable arrangement in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0063] The application scenario of this solution can be the scenario of identifying and counting cable crossing events in a cable trench.
[0064] Based on the above scenario, it can be understood that the executor of this scenario can be an intelligent terminal that analyzes cable crossing events, such as desktop computers, laptops, tablet computers, and interactive multimedia devices, etc., and no excessive limitations are made here.
[0065] The image acquisition module 101 may be an image sensor, which may be arranged on the inspection robot to collect image data of cables in the cable trench. Specifically, the cable trench may be an underground pipeline for laying and replacing power or telecommunication cable facilities, and also a protective structure for the laid cable facilities, and may have rectangular, circular, arched or other pipeline structures.
[0066] An image sensor is an electronic device used to capture optical images. Its main function is to convert visible light, infrared light or other light in the spectral range into electrical signals so that digital devices can process, display or store these images. Image sensors are based on semiconductor technology and use the photoelectric conversion function of optoelectronic devices to convert the light image on the photosensitive surface into an electrical signal that is proportional to the light image.
[0067] The first angle may be the angle at which the inspection robot shoots the cables in the cable trench, such as a normal angle, a downward angle, and an upward angle, etc. The cross relationship between the cables can be fully recorded through different shooting angles to avoid the cross illusion caused by a single angle affecting the identification of chaotic layout.
[0068] The second angle can be another angle that is different from the first angle when the inspection robot takes pictures of the cables at the same position in the cable trench. The angle between the second angle and the first angle is greater than 0 degrees, so as to ensure that the second angle can produce a different visual effect than the first angle in describing the relative positions of the cables, thereby achieving accurate judgment of the crossing relationship between the cables.
[0069] The method of obtaining the image data of the cables laid in the cable trench can be to use the image sensor to shoot the cables at the same position from the first angle and the second angle respectively. In the process of collecting the image data, the external light irradiates the pixel array in the image sensor, a photoelectric effect occurs, and a corresponding charge is generated in the pixel unit. The row selection logic unit selects the corresponding row pixel unit as needed. The image signal in the row pixel unit is transmitted to the corresponding analog signal processing unit and the A / D converter through the signal bus of the respective column, and converted into a digital image signal output, so as to obtain the image data of the cable to be tested. Among them, the row selection logic unit can scan the pixel array row by row or alternately. The row selection logic unit and the column selection logic unit can be used together to realize the window extraction function of the image. The main function of the analog signal processing unit is to amplify the signal and improve the signal-to-noise ratio.
[0070] The cross identification module 102 may be a program design of the intelligent terminal for identifying whether there is a cable cross event in the image data. Specifically, a cable cross event may be a phenomenon that the extension direction of at least one cable overlaps or crosses.
[0071] A method for identifying whether there is a cable crossing event in the image data may be to obtain image features of the cables, determine the location of the cables in the acquired image data based on the image features, extract edge information of the cables, determine the directions of the cables based on the edges of the cables, and identify whether there are overlapping parts of the cables. If so, it is determined that there is a cable crossing event in the image data; if not, it is determined that there is no cable crossing event in the image data.
[0072] The comparison module 103 may be a program designed by the intelligent terminal for counting the number of occurrences of cable crossing events and identifying whether the number of occurrences exceeds a set threshold. Specifically, the set threshold may be a pre-set critical value of the number of cable crossings used to determine whether there is a disordered cable arrangement in the cable. The set threshold may be set according to the cable laying safety standard or may be determined by the staff according to their work experience.
[0073] The method of counting the number of occurrences of cable crossing events in the cable trench can be to identify all image data collected by the inspection robot, extract image data with cable crossing events, and count the intersections therein, and use the number of all intersections in all image data with cable crossing events as the number of occurrences of cable crossing events in the cable trench. It is understandable that when the inspection robot runs from one end of the cable trench to the other end, the image acquisition interval should be determined according to the shooting range of the image sensor to avoid repeated recording and counting of the same intersection, which affects the statistical results.
[0074] The method for identifying whether the number of occurrences exceeds the set threshold is to compare the statistical results of the number of occurrences of cable crossing events with the preset threshold. If the number of occurrences is less than or equal to the set threshold, the number of occurrences does not exceed the set threshold; if the number of occurrences is greater than the set threshold, the number of occurrences exceeds the set threshold.
[0075] The chaotic arrangement warning module 104 may be a program design of the intelligent terminal for determining the target cable and generating warning information. Specifically, the target cable may be a cable that causes chaotic cable arrangement and has multiple crossings. After re-laying the target cable, the chaotic degree of cable arrangement in the cable trench can be effectively reduced.
[0076] The target cable may be determined by determining that there is a disordered arrangement of cables in the current cable trench when the number of occurrences exceeds a set threshold, and taking the cable with the number of crossings as the target cable to obtain the target cable number information.
[0077] The method of generating the disordered arrangement warning information is that when there is disordered cable arrangement in the cable trench, the warning information is generated according to the numbering information of the target cable and sent to the terminal device of the staff to prompt the staff to re-lay the target cable.
[0078] In this solution, a program code for identifying cable crossing events in image data is provided for reference:
[0079] import cv2
[0080] import numpy as np
[0081] #Read the image
[0082] image_path='path_to_your_image.jpg'
[0083] image=cv2.imread(image_path,0)#Read as grayscale image
[0084] #Use Canny edge detection to find the edges of the cable
[0085] edges=cv2.Canny(image,50,150,apertureSize=3)
[0086] # Find the edge contour
[0087] contours,_=cv2.findContours(edges,cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)
[0088] if len(contours) == 2:
[0089] #Convert the contour to a point set
[0090] points1=contours[0].reshape((-1,2))
[0091] points2=contours[1].reshape((-1,2))
[0092] cross_points = []
[0093] for p1 in points1:
[0094] for p2 in points2:
[0095] # Check if they are close (using a simple distance threshold here)
[0096] if np.linalg.norm(p1-p2)<5:
[0097] cross_points.append((p1+p2) / 2)
[0098] # Draw intersections on the original image
[0099] for cp in cross_points:
[0100] cv2.circle(image,(int(cp[0]),int(cp[1])),3,(255,0,0),-1)
[0101] # Display results
[0102] cv2.imshow('Cross Points',image)
[0103] cv2.waitKey(0)
[0104] cv2.destroyAllWindows()
[0105] else:
[0106] print("Not exactly two contours found.")
[0107] In an embodiment of the present application, an image acquisition module is used to obtain image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench; a crossing identification module is used to identify whether there is a cable crossing event in the image data; a comparison module is used to count the number of occurrences of cable crossing events in the cable trench when there is a cable crossing event, and to identify whether the number of occurrences exceeds a set threshold; a layout chaos alarm module is used to determine that there is a cable layout chaos in the cable trench, determine the target cable, and generate a warning message for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0108] Through the above-mentioned cable organizing device for existing cable trenches, the existing cables in the cable trenches can be organized by identifying and re-laying the chaotic arrangement of the laid cables, reducing the risk of interference and short circuit between cables, and avoiding affecting the subsequent cable maintenance, management and laying of new cables.
[0109] Embodiment 2
[0110] Figure 2 This is a schematic diagram of the structure of the cable arrangement device for the stock cable trench provided in the second embodiment of the present application. This solution makes a better improvement on the above embodiment, specifically: the crossing identification module is also used to: perform straight line segment detection and edge detection on the image data of the first angle and the second angle, and determine the location of the cable according to the detection results; calculate the intersection points between the cable segments, and when the existence of the intersection points is identified, determine that there is a cable crossing event in the image data.
[0111] like Figure 2 As shown, specifically including the following:
[0112] The image acquisition module 201 is used to obtain image data of the cables laid in the cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0113] A cross identification module 202, used to identify whether there is a cable cross event in the image data;
[0114] The comparison module 203 is used to count the number of occurrences of the cable crossing events in the cable trench when there is a cable crossing event, and identify whether the number of occurrences exceeds a set threshold;
[0115] The chaotic arrangement alarm module 204 is used to determine that there is chaotic cable arrangement in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0116] The cross identification module 202 is further used to perform straight line segment detection and edge detection on the image data of the first angle and the second angle, and determine the location of the cable according to the detection results;
[0117] Crossing points between cable segments are calculated, and when the existence of crossing points is identified, it is determined that a cable crossing event exists in the image data.
[0118] The straight line segment detection may be performed by mapping the straight line in the image space to a point in the parameter space using Hough Transform or its improved algorithm (such as probabilistic Hough Transform), and detecting the straight line segment by detecting the peak value in the parameter space.
[0119] Edge detection may be performed by using edge detection algorithms such as Canny or Sobel to extract edge information of the cable.
[0120] The way to calculate the intersections between cable segments is to filter the noise of the collected image data and enhance the image contrast through methods such as histogram equalization to make the cable features more prominent. After converting the image into a binary image, edge detection and straight line segment detection are performed on the image. For the detected straight line segments, they can be matched according to their position, length, direction and other features to determine which straight line segments may belong to the same cable. Check whether these straight line segments have intersections. Verify and filter the detected intersections to remove false positive results caused by noise or algorithm errors (cables are counted as intersections even though they did not cross). Then the intersections between the cable segments are obtained.
[0121] The method of determining whether a cable crossing event exists in the image data may be to determine whether a cable crossing event exists when at least one cable crossing point exists in the identified image data, and mark the current image data for subsequent statistics.
[0122] The benefit of this arrangement of the present solution is that the crossing of cables in the image data can be determined through straight line segment detection and edge detection, and the crossing points between the cables can be calculated, making the identification and statistics of crossing events more accurate.
[0123] Embodiment 3
[0124] Figure 3 It is a structural schematic diagram of the cable arrangement device for stock cable trenches provided in Example 3 of the present application. This solution makes a better improvement on the above-mentioned embodiment, and the specific improvement is: the intersection identification module is also used to: when the intersection point is identified between the cable segments, match the intersection point positions in the image data of the first angle and the second angle, if the match is successful, it is determined that there is a three-dimensional intersection event; if the match fails, it is determined that there is a single plane intersection event in the image data.
[0125] like Figure 3 As shown, specifically including the following:
[0126] The image acquisition module 301 is used to obtain image data of the cables laid in the cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0127] A cross identification module 302 is used to identify whether there is a cable cross event in the image data;
[0128] The comparison module 303 is used to count the number of occurrences of the cable crossing events in the cable trench when there is a cable crossing event, and identify whether the number of occurrences exceeds a set threshold;
[0129] The chaotic arrangement alarm module 304 is used to determine that there is chaotic cable arrangement in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0130] Among them, the intersection identification module 302 is also used to: when the intersection is identified between the cable segments, match the intersection positions in the image data of the first angle and the second angle; if the match is successful, it is determined that there is a three-dimensional intersection event; if the match fails, it is determined that there is a single plane intersection event in the image data.
[0131] A stereoscopic crossing event may refer to a situation where there are obvious crossing points between cables in image data at each angle.
[0132] A single plane crossing event may refer to a situation where a large area of contact or overlap exists between cables in an image taken at a certain angle, causing the intelligent terminal to be unable to identify the crossing point.
[0133] The method for matching the positions of the intersections in the image data of the first angle and the second angle may be to obtain image data where the intersection exists, extract the first angle image data and the second angle image data at the position of the intersection, and check whether the positions of the intersections in the first angle image data and the second angle image data are the same. If they are the same, for example, two cables show an "X"-shaped intersection in both the image data of the first angle and the image data of the second angle, then it is determined that a three-dimensional intersection event exists; if the positions are different, for example, the two cables are in a crossed state at the first angle and in a partially overlapping state at the second angle, then it is determined that a single plane intersection event exists.
[0134] It is understandable that the image data at different angles are only used as auxiliary verification for intersection determination, so the intersections at the same position in the image data at different angles should be recorded as the same intersection without repeated counting.
[0135] The advantage of this arrangement of the present scheme is that it can identify and count intersections by analyzing image data from different angles, thereby avoiding situations such as cable overlap and missed intersections and repeated counting of intersections, thereby improving the accuracy of intersection identification and statistics.
[0136] Embodiment 4
[0137] Figure 4 It is a structural schematic diagram of the cable arrangement device for the stock cable trench provided in the fourth embodiment of the present application. This solution makes a better improvement on the above embodiment, and the specific improvement is: the image acquisition module is specifically used to: determine the image acquisition interval according to the shooting range of the image data; shoot the cables laid in the cable trench according to the image acquisition interval; correspondingly, the comparison module is specifically used to: count the number of cable crossing points in all the captured images of the cables laid in the cable trench as the number of occurrences of all cable crossing events in the cable trench.
[0138] like Figure 4 As shown, specifically including the following:
[0139] The image acquisition module 401 is used to obtain image data of the cables laid in the cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0140] A cross identification module 402, used to identify whether there is a cable cross event in the image data;
[0141] The comparison module 403 is used to count the number of occurrences of the cable crossing events in the cable trench when there is a cable crossing event, and identify whether the number of occurrences exceeds a set threshold;
[0142] The chaotic arrangement alarm module 404 is used to determine that there is chaotic cable arrangement in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0143] The image acquisition module 401 is specifically used to determine the image acquisition interval according to the shooting range of the image data;
[0144] photographing the cables laid in the cable trench according to the image acquisition interval;
[0145] The comparison module 403 is specifically used to count the number of cable crossing points in all collected images of the cables laid in the cable trench as the number of occurrences of all cable crossing events in the cable trench.
[0146] The shooting range of the image data may be the farthest distance in the cable trench that the inspection robot can capture in one image.
[0147] The image acquisition interval may be the distance interval between two adjacent image data at different positions collected by the inspection robot.
[0148] The method of photographing the cables laid in the cable trench according to the image acquisition interval can be that when the inspection robot performs the image acquisition task, each time the inspection robot advances the distance of the image acquisition interval, an image acquisition is performed to ensure the continuity of the cable image.
[0149] The method of counting the number of occurrences of cable crossing events can be to obtain all image data taken by the inspection robot at the image acquisition interval, identify the image data in which the cable crossing event exists, and calculate the number of intersections in each image data, and obtain the sum of the number of intersections of all image data with cable crossing events as the number of occurrences of all cable crossing events in the cable trench. For example, the inspection robot takes 15 images of the cable trench, 5 of which contain cable crossing events, and the number of intersections are 1, 2, 2, 3 and 1 respectively, then the number of occurrences of all cable crossing events in the cable trench is 9 times.
[0150] The advantage of this arrangement of the present scheme is that the image acquisition interval can be determined according to the data shooting range, so as to ensure that all image data of the cables laid in the cable trench can be collected, so as to avoid missing the cable section to be tested in the cable trench and affecting the statistical results of the number of crossover events.
[0151] Embodiment 5
[0152] Figure 5 This is a schematic diagram of the structure of the cable arrangement device for the stock cable trench provided in Example 5 of the present application. This solution makes a better improvement on the above-mentioned embodiment, and the specific improvement is: the comparison module is also used to: determine the numbering information of the cables in the cable trench, classify the cable crossing events according to the numbering information, and obtain the number of crossings of the cables with each number.
[0153] like Figure 5 As shown, specifically including the following:
[0154] The image acquisition module 501 is used to obtain image data of the cables laid in the cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0155] A cross identification module 502, used to identify whether there is a cable cross event in the image data;
[0156] The comparison module 503 is used to count the number of occurrences of the cable crossing events in the cable trench when there is a cable crossing event, and identify whether the number of occurrences exceeds a set threshold;
[0157] The chaotic arrangement warning module 504 is used to determine that there is chaotic cable arrangement in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0158] The comparison module 503 is further used to determine the numbering information of the cables in the cable trench, and classify the cable crossing events according to the numbering information to obtain the number of crossings of the cables with each number.
[0159] The cable numbering information can be used to distinguish the cables in the cable trench and number the laid cables. When the types of cables in the cable trench vary greatly, the cable model specifications can also be used as the cable number.
[0160] The method for determining the numbering information of the cables may be that the staff inputs the numbering information of each cable in the cable trench into the intelligent terminal, and the intelligent terminal adds a numbering label to the corresponding cable according to the numbering information input by the staff.
[0161] The cable crossing events can be classified by determining the number information corresponding to the cable where the crossing event occurs according to the direction or extension trend of each cable in the image data, and recording the crossing event under the corresponding number. For example, in a certain image, cable 1 crosses with cable 2 and cable 3 respectively, then it is recorded that cable 1 has two crossing events, and cable 2 and cable 3 have one crossing event each.
[0162] The method for obtaining the number of crossings of cables of each number may be to classify and count the crossing events in the image data, and to perform weighted calculation on the number of crossing events of cables of each number in all the image data as the number of crossings of cables of each number.
[0163] The benefit of this arrangement is that the number of cable crossing events that occurred can be determined through classification statistics of cable crossing events, which is helpful for accurately identifying chaotically arranged cables and assisting staff in targeted re-laying of cable positions in the cable trench.
[0164] Embodiment 6
[0165] Figure 6 It is a structural schematic diagram of the cable arrangement device for stock cable trenches provided in Example 6 of the present application. The comparison module is further used to: take the cables whose crossing times exceed the set threshold as target cables, obtain the numbering information of the target cables, and generate a warning message for re-laying according to the numbering information; or, when the sum of the crossing times of the cables with each number exceeds the set total threshold, take all the cables that have crossed as target cables, obtain the numbering information of the target cables, and generate a warning message for re-laying according to the numbering information.
[0166] like Figure 6 As shown, specifically including the following:
[0167] The image acquisition module 601 is used to obtain image data of the cables laid in the cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0168] A cross identification module 602 is used to identify whether there is a cable cross event in the image data;
[0169] The comparison module 603 is used to count the number of occurrences of the cable crossing events in the cable trench when there is a cable crossing event, and identify whether the number of occurrences exceeds a set threshold;
[0170] The chaotic arrangement alarm module 604 is used to determine that there is chaotic cable arrangement in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0171] The comparison module 603 is further used to take the cable whose crossing times exceeds the set threshold as the target cable, obtain the number information of the target cable, and generate a warning message for re-laying according to the number information;
[0172] or,
[0173] When the total number of crossings of cables with different numbers exceeds a set total threshold, all cables with crossings are taken as target cables, the number information of the target cables is obtained, and re-laying warning information is generated according to the number information.
[0174] The target cable can be determined by comparing the number of crossings corresponding to each numbered cable with a preset threshold value. If the number of crossings exceeds the preset threshold value, the numbered cable is determined to be the target cable; the number of crossings of each numbered cable is weightedly calculated. If the calculation result is greater than the set total threshold value, all cables are taken as target cables. It can be understood that the comparison of the number of crossings with the preset threshold value and the comparison of the weighted calculation result with the set total threshold value can be performed in parallel, and the comparison results of the two can be used as the judgment criteria for the target cable. For example, when the number of crossings of cable No. 1 exceeds the preset threshold value, and the sum of the number of crossings of all cables is greater than the set total threshold value, the target cables are all cables and cable No. 1. At this time, the generated warning message prompts the staff to re-lay all numbered cables, and the number of crossings of cable No. 1 can be emphasized.
[0175] The benefit of this arrangement is that the target cables that need to be re-laid can be determined by statistically analyzing the number of crossings of each numbered cable, which is conducive to accurately identifying cables with serious crossings, filtering cables with fewer crossings, saving staff time in laying cables, and improving the efficiency of maintaining cable laying order in the cable trench.
[0176] Embodiment 7
[0177] Figure 7 This is a schematic diagram of the structure of the cable arrangement device for the stock cable trench provided in the seventh embodiment of the present application. This solution makes a better improvement on the above embodiment, specifically: the harmful gas analysis module is also used to: when the cause of the generation of the harmful gas is a cable fault, determine the cable fault type and maintenance measures, and generate fault maintenance prompt information.
[0178] like Figure 7 As shown, specifically including the following:
[0179] The image acquisition module 701 is used to obtain image data of the cables laid in the cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0180] A cross identification module 702, used to identify whether there is a cable cross event in the image data;
[0181] The comparison module 703 is used to count the number of occurrences of the cable crossing events in the cable trench when there is a cable crossing event, and identify whether the number of occurrences exceeds a set threshold;
[0182] The chaotic arrangement alarm module 704 is used to determine that there is chaotic cable arrangement in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
[0183] The cross identification module 702 is further used for:
[0184] After identifying the existence of a cable crossing event, the acquisition position of the current image data is recorded;
[0185] The arrangement disorder alarm module 704 is further used for:
[0186] When the number of occurrences does not exceed a set threshold, a warning message is generated according to the acquisition position to adjust the intersection position.
[0187] The method of recording the collection position of the image data can be, after identifying the existence of a cable crossing event, obtaining the distance that the inspection robot has traveled when taking the image data, determining the distance between the location where the cable crossing event occurred and the end of the cable trench where the inspection robot was located when the shooting task began, and thereby locating the collection position of the image data.
[0188] The method of generating warning information is that when there is a cable crossing event in the cable trench and the number of occurrences of the cable crossing event does not exceed a set threshold, the location where the cable crossing event occurs is obtained, the location is written as a warning message, and sent to the terminal device of the staff. The staff can adjust the cables at the location where the cable crossing occurs according to work requirements, without the need to re-lay the entire cable.
[0189] The advantage of this arrangement of the scheme is that it can generate warning information of the cable crossing position when the number of cable crossing events does not cause chaos in the cable trench, which is helpful to assist the staff in maintaining the order of cable arrangement in the cable trench.
[0190] Embodiment 8
[0191] Figure 8 1 is a flow chart of a method for arranging cables in a stock cable trench provided in Example 8 of the present application. Figure 8 As shown, the specific steps include:
[0192] S801, acquiring image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench;
[0193] S802, identifying whether there is a cable crossing event in the image data;
[0194] S803: In the case of a cable crossing event, counting the number of occurrences of the cable crossing event in the cable trench, and identifying whether the number of occurrences exceeds a set threshold;
[0195] S804: When the number of occurrences exceeds a set threshold, determine that there is a disordered arrangement of cables in the cable trench, determine a target cable, and generate a warning message for re-laying the target cable.
[0196] Optionally, identifying whether a cable crossing event exists in the image data comprises:
[0197] Performing straight line segment detection and edge detection on the image data of the first angle and the second angle, and determining the location of the cable according to the detection results;
[0198] Crossing points between cable segments are calculated, and when the existence of crossing points is identified, it is determined that a cable crossing event exists in the image data.
[0199] In an embodiment of the present application, image data of cables laid in a cable trench is obtained; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench; it is identified whether there is a cable crossing event in the image data; in the case of a cable crossing event, the number of occurrences of the cable crossing event in the cable trench is counted, and it is identified whether the number of occurrences exceeds a set threshold; in the case of the number of occurrences exceeding the set threshold, it is determined that there is a disordered cable arrangement in the cable trench, the target cable is determined, and a warning message for re-laying the target cable is generated.
[0200] Through the above-mentioned cable organization method for existing cable trenches, the existing cables in the cable trenches can be organized by identifying and re-laying the chaotic arrangement of the laid cables, reducing the risk of interference and short circuit between cables, and avoiding affecting the subsequent cable maintenance, management and laying of new cables.
[0201] The cable organizing method for existing cable trenches provided in the embodiment of the present application corresponds to the cable organizing device for existing cable trenches provided in the above-mentioned embodiment, and has the same functional modules and beneficial effects. To avoid repetition, they will not be described again here.
[0202] Embodiment 9
[0203] like Fig. 9 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. When the program or instruction is executed by the processor 901, each process of the above-mentioned existing cable trench cable organizing device embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0204] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0205] Embodiment 10
[0206] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned existing cable trench cable organizing device embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0207] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0208] Embodiment 11
[0209] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned existing cable trench cable sorting device embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0210] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0211] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0212] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0213] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0214] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A cable arrangement device for existing cable trenches, characterized in that: The device comprises: An image acquisition module, used for acquiring image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench; A cross identification module, used to identify whether there is a cable cross event in the image data; A comparison module is used to count the number of occurrences of cable crossing events in the cable trench when there is a cable crossing event, and to identify whether the number of occurrences exceeds a set threshold; The arrangement disorder alarm module is used to determine that there is a disordered arrangement of cables in the cable trench, determine the target cable, and generate warning information for re-laying the target cable when the number of occurrences exceeds a set threshold.
2. The cable arrangement device for existing cable trenches according to claim 1 is characterized in that: The cross-recognition module is further used for: Performing straight line segment detection and edge detection on the image data of the first angle and the second angle, and determining the location of the cable according to the detection results; Crossing points between cable segments are calculated, and when the existence of crossing points is identified, it is determined that a cable crossing event exists in the image data.
3. The cable arrangement device for existing cable trenches according to claim 2 is characterized in that: The cross-recognition module is further used for: In the case where the intersection is identified between the cable segments, matching the intersection positions in the image data of the first angle and the second angle, and if the matching is successful, determining that a three-dimensional intersection event exists; If the match fails, it is determined that a single plane crossing event exists in the image data.
4. The cable arrangement device for existing cable trenches according to claim 1 is characterized in that: The image acquisition module is specifically used for: Determining an image acquisition interval according to a shooting range of the image data; photographing the cables laid in the cable trench according to the image acquisition interval; Accordingly, the comparison module is specifically used for: The number of cable crossing points in all collected images of the cables laid in the cable trench is counted as the number of occurrences of all cable crossing events in the cable trench.
5. The cable arrangement device for existing cable trenches according to claim 1 is characterized in that: The comparison module is further used for: The numbering information of the cables in the cable trench is determined, and the cable crossing events are classified according to the numbering information to obtain the number of crossings of the cables with each number.
6. The cable arrangement device for existing cable trenches according to claim 5 is characterized in that: The comparison module is further used for: The cable whose crossing times exceeds a set threshold is taken as a target cable, the number information of the target cable is obtained, and a warning message for re-laying is generated according to the number information; or, When the total number of crossings of cables with different numbers exceeds a set total threshold, all cables with crossings are taken as target cables, the number information of the target cables is obtained, and re-laying warning information is generated according to the number information.
7. The cable arrangement device for existing cable trenches according to claim 1 is characterized in that: The cross-recognition module is further used for: After identifying the existence of a cable crossing event, the acquisition position of the current image data is recorded; Correspondingly, the arrangement disorder alarm module is also used for: When the number of occurrences does not exceed a set threshold, a warning message is generated according to the acquisition position to adjust the intersection position.
8. A method for arranging cables in existing cable trenches, characterized in that: The method comprises: Acquire image data of cables laid in a cable trench; wherein the shooting angles of the image data include a first angle and a second angle, the angle between the first angle and the second angle is greater than 0 degrees, and the image data shot at the first angle includes the cable to be tested in the cable trench, and the image data shot at the second angle includes the cable to be tested in the cable trench; identifying whether a cable crossing event exists in the image data; In the case of a cable crossing event, counting the number of occurrences of the cable crossing event in the cable trench, and identifying whether the number of occurrences exceeds a set threshold; When the number of occurrences exceeds a set threshold, it is determined that there is a disordered arrangement of cables in the cable trench, a target cable is determined, and a warning message is generated to re-lay the target cable.
9. The method for arranging cables in existing cable trenches according to claim 8, characterized in that: Identifying whether a cable crossing event exists in the image data includes: Performing straight line segment detection and edge detection on the image data of the first angle and the second angle, and determining the location of the cable according to the detection results; Crossing points between cable segments are calculated, and when the existence of crossing points is identified, it is determined that a cable crossing event exists in the image data.
10. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the cable organization method for existing cable trenches as described in any one of claims 8 to 9 are implemented.
Citation Information
Patent Citations
Cable trench state intelligent monitoring system
CN113553982A
Method and system for identifying intersection and same channel of optical cables in transformer substation
CN113888004A
Cable insulation layer damage inspection device and method, electronic equipment and storage medium
CN115376219A
Cable channel monitoring system and method
CN116307589A
Machine room line safety detection method and system based on deep learning
CN117710795A