Device, method and equipment for synchronously tracking laying position of cable in cable trench
Through the synchronization tracking device for cable layout position in the cable trench, image acquisition and identification technology is used to solve the problem of cable fixing position disorder, and the accuracy and neatness of cable layout are achieved, reducing the difficulty of subsequent maintenance and management.
Patent Information
- Application Number
- CN202411075341.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-12-31
AI Technical Summary
During the cable layout process in the cable trench, the disorder of the fixed position of the cable leads to difficulties in post-maintenance and new cable layout, and may even lead to cable cross-matter.
Provide a synchronous tracking device for cable layout in cable trench, including an image acquisition module, a target cable tracking module, a position error recognition module and a moving position determination module. Through image data, a fixed position on the cable mount is identified and position error prompt information is generated. , and determine the location of the target cable that needs to be moved to help staff accurately lay out the cables.
By synchronously identifying the cable fixing position, avoiding errors in the cable fixing position, reducing subsequent maintenance and management difficulties, ensuring the accuracy and order of cable layout, and avoiding cable crossing and disorder.
Smart Images

Figure CN119228840A_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 synchronously tracking the cable laying position in a cable trench. 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, it can also reduce the occupation of space above the ground in the city and beautify the urban environment.
[0003] During the cable layout process, the staff needs to consider the walking environment inside the cable trench and the standard layout of the cables. This will cause the fixed positions of the cables in the cable trench to become disordered along the direction of travel. For example, for a row of cable racks, three to four fixed positions are often provided. In the process of cable layout, there may be a situation where the front ones are all fixed in the second position, and some in the middle are fixed in the first position or the third position. This will not only create a burden for the current cables in the later cable maintenance, but also affect the subsequent layout of other cables in the cable trench, and even cause multiple cables to cross each other, resulting in disordered cable layout.
[0004] Therefore, how to synchronously track the cable layout in the cable trench is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0005] The embodiments of the present application provide a device, method and equipment for synchronously tracking the cable laying position in a cable trench. The device can determine the cable rack with the wrong cable fixing position by synchronously identifying the cable fixing position, and generate prompt information for the target fixing position of the cable rack, thereby helping the staff to accurately lay the cables and avoiding the impact on subsequent cable maintenance, management and new cable laying.
[0006] In a first aspect, an embodiment of the present application provides a device for synchronously tracking the position of cables laid in a cable trench, the device comprising:
[0007] An image acquisition module, used to obtain image data of the laid cables in the cable trench;
[0008] A target cable tracking module is used to determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed position of the target cables on the cable rack in the cable trench;
[0009] A position error recognition module, used to generate a position error prompt message when it is recognized that the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack;
[0010] The moving position determination module is used to determine the target cable rack whose fixed position needs to be moved and the moving target position on the target cable rack according to the fixed position of the target cable on the current cable rack and the fixed position of at least one previous cable rack.
[0011] Furthermore, the position error identification module is specifically used to:
[0012] After identifying the fixed position of the target cable in the current cable rack, generating the fixed position number information of the current cable rack;
[0013] Identify whether the fixed position number information of the current wire rack is consistent with the fixed position number information of the previous wire rack;
[0014] If they are inconsistent, a position error prompt message is generated;
[0015] If they are consistent, a prompt message with the same fixed position will be generated.
[0016] Furthermore, the position error identification module is also specifically used for:
[0017] Identify the distance between the passing position of the target cable at the current cable rack and the outer edge and / or the inner edge of the current cable rack;
[0018] The fixed position corresponding to the passing position of the target cable in the current wire rack is determined according to the distance of the outer edge and / or the distance of the inner edge; wherein the fixed position is any one of the optional positions of the passing position of the target cable in the current wire rack.
[0019] Furthermore, the mobile position determination module is specifically used to:
[0020] Get reference range parameters;
[0021] Determining a reference wire frame from previous wire frames according to the reference range parameters;
[0022] According to the fixed position of the target cable on the current wire rack and the fixed position of the reference wire rack, the target wire rack whose fixed position needs to be moved and the moving target position on the target wire rack are determined.
[0023] Furthermore, the mobile position determination module is also specifically used for:
[0024] Determine the mode of the fixed positions according to the fixed positions of the target cable on the current wire rack and the fixed positions of the reference wire rack;
[0025] The actual fixed position that is inconsistent with the majority of the fixed positions is determined as a target wire rack that needs to move the fixed position, and the moving target position on the target wire rack is the position corresponding to the majority of the fixed positions.
[0026] Furthermore, the target cable tracking module is specifically used for:
[0027] In response to the marking operation of the target cable, one or more cables are identified as target cables from the cable trench;
[0028] In the process of acquiring the stream data of the cable image, the target cable is tracked.
[0029] Furthermore, the target cable tracking module is specifically used for:
[0030] When there are at least two target cables, threads consistent with the number of the target cables are created, and each thread is used to track one of the target cables.
[0031] In a second aspect, an embodiment of the present application provides a method for synchronously tracking the cable laying position in a cable trench, the method comprising:
[0032] Acquire image data of laid cables in the cable trench;
[0033] Determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed positions of the target cables on the cable racks in the cable trench;
[0034] When it is identified that the fixed position of the target cable in the current wire rack is inconsistent with the fixed position of the previous wire rack,
[0035] Generate location error prompt information;
[0036] According to the fixed position of the target cable on the current cable rack and the fixed position of at least one previous cable rack, the target cable rack whose fixed position needs to be moved and the moving target position on the target cable rack are determined.
[0037] Further, when it is identified that the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack, a position error prompt message is generated, including:
[0038] After identifying the fixed position of the target cable in the current cable rack, generating the fixed position number information of the current cable rack;
[0039] Identify whether the fixed position number information of the current wire rack is consistent with the fixed position number information of the previous wire rack;
[0040] If they are inconsistent, a position error prompt message is generated;
[0041] If they are consistent, a prompt message with the same fixed position will be generated.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] In the embodiment of the present application, the image acquisition module is used to obtain the image data of the laid cables in the cable trench; the target cable tracking module is used to determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed position of the target cables on the wire rack in the cable trench; the position error identification module is used to generate a position error prompt message when it is identified that the fixed position of the target cable on the current wire rack is inconsistent with the fixed position of the previous wire rack; the moving position determination module is used to determine the target wire rack that needs to move the fixed position and the moving target position on the target wire rack according to the fixed position of the target cable on the current wire rack and the fixed position of at least one previous wire rack. The above scheme can determine the wire rack with the wrong cable fixed position by synchronously identifying the fixed position of the cable, and generate prompt information for the target fixed position of the wire rack, which helps the staff to accurately lay the cables and avoid the impact on the subsequent cable maintenance, management and new cable laying. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a structural schematic diagram of a device for synchronously tracking the cable laying position in a cable trench provided in Example 1 of the present application;
[0047] Figure 2 It is a schematic diagram of the structure of a device for synchronously tracking the cable laying position in a cable trench provided in Example 2 of the present application;
[0048] Figure 3 It is a flow chart of a method for synchronously tracking the cable laying position in a cable trench provided in Embodiment 3 of the present application;
[0049] Figure 4 It is a schematic diagram of the structure of the electronic device provided in Example 4 of the present application. DETAILED DESCRIPTION
[0050] 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.
[0051] 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.
[0052] 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.
[0053] In conjunction with the accompanying drawings, the following detailed description is made of specific embodiments and their application scenarios to illustrate the device, method and equipment for synchronously tracking the cable laying position in a cable trench provided in the embodiments of the present application.
[0054] Embodiment 1
[0055] Figure 1 Schematic diagram of the structure of the synchronous tracking device for the cable laying position in the cable trench provided in the first embodiment of the present application. Figure 1 As shown, the specific steps include:
[0056] An image acquisition module 101 is used to acquire image data of the cables laid in the cable trench;
[0057] A target cable tracking module 102, used to identify one or more cables in the cable trench as target cables, track the target cables, and determine the fixed position of the target cables on the cable rack in the cable trench;
[0058] A position error identification module 103, for generating a position error prompt message when it is identified that the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack;
[0059] The moving position determining module 104 is used to determine the target rack whose fixed position needs to be moved and the moving target position on the target rack according to the fixed position of the target cable on the current rack and the fixed position of at least one previous rack.
[0060] The application scenario of this solution may be a scenario of identifying and prompting an error in the fixing position of a cable in a cable trench on one or more cable racks.
[0061] Based on the above scenario, it can be understood that the executor of this scenario can be an intelligent terminal that identifies and analyzes the fixed position of the cable, such as a desktop computer, a laptop computer, a tablet computer, and an interactive multimedia device, etc., and no excessive limitations are made here.
[0062] Cable trenches can be underground pipelines used to lay and replace power or telecommunication cable facilities, and are also the enclosure structures for the laid cable facilities. There are rectangular, circular, arched and other pipeline structural forms.
[0063] The image acquisition module may be an image sensor, which may be arranged on the synchronous laying robot to collect image data of the cables in the cable trench. Specifically, the image sensor may be an electronic device for capturing optical images, and its main function is to convert visible light, infrared light or light in other spectral ranges into electrical signals so that digital devices can process, display or store these images. The image sensor is based on semiconductor technology and utilizes the photoelectric conversion function of the photoelectric device to convert the light image on the photosensitive surface into an electrical signal that is proportional to the light image.
[0064] In this solution, the camera can also be set on the user's wearable device, or handheld device, etc. For example, it can be set on a safety helmet worn by the user, or on a handheld operation auxiliary terminal, etc.
[0065] It should be noted that, in this solution, the image data of the laid cables in the cable trench may be collected during the cable laying process or after the laying of part of the cables is completed.
[0066] The target cable tracking module can identify one or more cables in the cable trench as target cables. Specifically, all the laid cables can be identified as target cables, or if the current staff has just laid a new cable, the newly laid cable can be identified as the target cable to assist the staff in completing the accurate laying of the new cable.
[0067] Tracking the target cable may be tracking the position of the target cable in the image data, which can avoid erroneous identification of the target cable, resulting in ineffectiveness of subsequent fixed position identification.
[0068] The fixed position of the target cable on the wire rack in the cable trench can be determined by identifying, through image data, that the fixed position of the target cable on the current wire rack is closer to the edge of the wire rack, or closer to the side where the wire rack is connected to the side wall of the cable trench. For example, a wire rack can have three available fixed positions. If the target cable is in the middle position of the current wire rack, its fixed position can be determined to be position 2. If the target cable is on the side of the current wire rack close to the edge of the wire rack, its fixed position can be determined to be position 1. If the target cable is on the side of the current wire rack close to the side where the wire rack is connected to the side wall of the cable trench, its fixed position can be determined to be position 3.
[0069] In this solution, the image feature of the target cable crossing the current cable rack in the image data can be identified, and the position where the cable is fixed can be determined in the collected image data based on the image feature.
[0070] Among them, to identify the intersection position of the cable and the wire rack in the image data, you can use the image processing library OpenCV. The following is a simple sample code that uses Harris corner detection combined with morphological operations to roughly determine the intersection position:
[0071]
[0072]
[0073]
[0074] In the above code, the image is first read and converted into a grayscale image. Then the cornerHarris function is used to perform Harris corner detection, and the binary image of the corners is obtained through threshold processing. Then a morphological dilation operation is performed to connect the similar corners. Finally, the possible intersection positions are screened out through contour search.
[0075] Adjustments and optimizations can be made according to actual needs, based on the characteristics of the image and specific requirements, such as adjusting the parameters of corner detection, the kernel size of morphological operations, or using more complex algorithms to improve the accuracy of the intersection position.
[0076] In addition, for the identification of cables and wire racks, it may be necessary to combine other image processing methods, such as edge detection, line detection, etc., to more accurately determine their position and shape, so as to find the intersection more accurately. At the same time, factors such as image quality and lighting conditions will also affect the results. If more accurate and reliable identification results are required, it may be necessary to use more advanced technologies such as deep learning, such as training a dedicated object detection model to identify cables and wire racks and their intersections.
[0077] The position error identification module is used to generate a position error prompt message when it is identified that the fixed position of the target cable in the current wire rack is inconsistent with the fixed position of the previous wire rack. For example, the current image data is taken during the cable laying process. After the previous wire rack is fixed, if the fixed position on the current wire rack is inconsistent with the fixed position of the previous wire rack, a position error prompt message can be generated. For example, the fixed position of the cable in the previous wire rack is position 1, but on the current wire rack, the fixed position of the cable has become position 2. This may be caused by an operational error of the staff. In this case, a prompt message can be generated in time to avoid continuing to lay out according to the wrong position.
[0078] The moving position determination module is used to determine the target cable rack whose fixed position needs to be moved and the moving target position on the target cable rack according to the fixed position of the target cable on the current cable rack and the fixed position of at least one previous cable rack. In general, when the fixed positions of the previous cable racks are consistent and only the fixed position of the current cable rack is inconsistent, the current cable rack can be determined as the target cable rack, and the moving target position on the current cable rack can be determined based on the fixed positions of the previous cable racks.
[0079] In this solution, the prompts for the target wire rack and the prompts for the moving target position where the target cable on the target wire rack should be laid can be displayed on the display screen of the auxiliary device for the staff to view. It can be understood that after the staff completes the fixing of the cable on the current wire rack, or in the process of fixing the cable on the current wire rack, or in the process of the staff inspecting the fixed position of the completed cable, the corresponding prompt information can be displayed so that the staff can detect the error at the first time and deal with it in time.
[0080] In the technical solution provided in this embodiment, the image acquisition module is used to obtain the image data of the laid cables in the cable trench; the target cable tracking module is used to determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed position of the target cables on the wire rack in the cable trench; the position error identification module is used to generate a position error prompt message when it is identified that the fixed position of the target cable on the current wire rack is inconsistent with the fixed position of the previous wire rack; the moving position determination module is used to determine the target wire rack that needs to move the fixed position and the moving target position on the target wire rack according to the fixed position of the target cable on the current wire rack and the fixed position of at least one previous wire rack. The above scheme can determine the wire rack with the wrong cable fixed position by synchronously identifying the fixed position of the cable, and generate prompt information for the target fixed position of the wire rack, which helps the staff to accurately lay the cables and avoid the impact on the subsequent cable maintenance, management and new cable laying.
[0081] On the basis of the above technical solution, optionally, the position error identification module is specifically used to:
[0082] After identifying the fixed position of the target cable in the current cable rack, generating the fixed position number information of the current cable rack;
[0083] Identify whether the fixed position number information of the current wire rack is consistent with the fixed position number information of the previous wire rack;
[0084] If they are inconsistent, a position error prompt message is generated;
[0085] If they are consistent, a prompt message with the same fixed position will be generated.
[0086] After the fixed position of the target cable and any wire rack is identified in the image data, the fixed position number information of the current wire rack is generated. The fixed position number information can be a digital number, such as 0003, which means that the fixed position is position 3.
[0087] In this solution, the fixed position number information can be stored separately in sequence, or can be stored in association with the wire rack number. The wire rack number can be fixed, such as a wire rack with the number 0056 printed on it, or it can be non-fixed, such as a number generated according to the order of this inspection, such as this wire rack is the 42nd in this inspection, and the number 0042 can be generated for it.
[0088] In the process of acquiring the image data, after each fixed position number information is stored, it can be compared with the fixed position number information of the previous wire rack that has been stored. If it is found that it is inconsistent with the previous fixed position, it is determined that the fixed position of the current wire rack is wrong, and a position error prompt message is generated.
[0089] On the contrary, if they are consistent, a prompt message with the same fixed position is generated.
[0090] Through such a setting, the present scheme can judge whether the fixed position is wrong according to the stored fixed position number information, and generate corresponding prompt information after the judgment is completed. It can play a good auxiliary role in the process of cable laying or cable inspection by the staff, and it is convenient for the staff to lay cables accurately or discover errors in the cable fixing position in time.
[0091] On the basis of the above technical solutions, optionally, the position error identification module is further specifically used for:
[0092] Identify the distance between the passing position of the target cable at the current cable rack and the outer edge and / or the inner edge of the current cable rack;
[0093] The fixed position corresponding to the passing position of the target cable in the current wire rack is determined according to the distance of the outer edge and / or the distance of the inner edge; wherein the fixed position is any one of the optional positions of the passing position of the target cable in the current wire rack.
[0094] Among them, at the intersection of the target cable and the current wire rack, the specific position where the target cable is fixed on the current wire rack can be identified. For example, it can be determined by identifying the distance between the intersection of the target cable on the current wire rack and the two ends of the wire rack. For example, if the distance between the intersection and the outer edge of the wire rack is 10 cm, which just corresponds to the No. 1 fixed position of the wire rack, it is determined that the target cable is fixed at the No. 1 fixed position of the current wire rack.
[0095] In this solution, specifically, the distance between the intersection point and the outer edge of the current wire rack, or the distance between the intersection point and the inner edge of the current wire rack, or the distance between the intersection point and both edges can be used as a basis for judgment to determine its specific fixed position.
[0096] It is understandable that if a wire rack can be fixed with a maximum of four cables, it can be determined that the wire rack has four optional positions. In this solution, after determining the distance between the intersection point and the two edges, it can be determined according to the distance information which optional position the current intersection point corresponds to, thereby determining the fixed position of the current wire rack.
[0097] Through such a setting, this scheme can improve the recognition accuracy of the fixed position of the current cable rack. After accurately identifying the fixed position, it can make accurate judgments and prompts on whether there is an error in the fixed position, thereby improving the accuracy of the prompt information, avoiding confusion for the staff caused by erroneous prompts, and improving the role of synchronous tracking in helping the staff with cable layout or cable inspection.
[0098] Embodiment 2
[0099] Figure 2 It is a structural schematic diagram of the synchronous tracking device for the cable laying position in the cable trench provided in the second embodiment of the present application. This scheme makes a better improvement on the above embodiment, and the specific improvement is: the mobile position determination module is specifically used to: obtain reference range parameters; determine the reference wire rack from the previous wire rack according to the reference range parameters; determine the target wire rack that needs to move the fixed position and the moving target position on the target wire rack according to the fixed position of the target cable on the current wire rack and the fixed position of the reference wire rack.
[0100] like Figure 2 As shown, specifically including the following:
[0101] An image acquisition module 201 is used to acquire image data of the cables laid in the cable trench;
[0102] A target cable tracking module 202, used to determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed position of the target cables on the cable rack in the cable trench;
[0103] A position error identification module 203, for generating a position error prompt message when it is identified that the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack;
[0104] The moving position determining module 204 is used to determine the target rack whose fixed position needs to be moved and the moving target position on the target rack according to the fixed position of the target cable on the current rack and the fixed position of at least one previous rack.
[0105] The mobile position determination module 204 is specifically used for:
[0106] Get reference range parameters;
[0107] Determining a reference wire frame from previous wire frames according to the reference range parameters;
[0108] According to the fixed position of the target cable on the current wire rack and the fixed position of the reference wire rack, the target wire rack whose fixed position needs to be moved and the moving target position on the target wire rack are determined.
[0109] Among them, the reference range parameter can be a parameter related to inclusiveness. For example, if the reference range parameter is 10, then it is necessary to identify the target wire rack and determine the moving target position on the target wire rack after the first 10 fixed positions are recorded. Similarly, after recording the fixed position of the 11th wire rack, it is necessary to consider the fixed positions from the 2nd wire rack to the 11th wire rack. Therefore, the reference range parameter also reduces the amount of data that needs to be referenced to a certain extent, avoiding excessive data and algorithm consumption caused by each traversal. The reference wire rack can be a wire rack within the reference range, which can be understood in combination with the above examples.
[0110] It should be noted that in the process of counting the fixed positions within the reference range, the solution may not need to move the current wire rack, but one or more of the previous wire racks. In other words, the setting method of the reference range parameters adopted by the solution is not to directly determine that the wire rack needs to move the fixed position when a certain situation is different from the previous fixed position, but to determine the wire rack that needs to move the fixed position after counting the entire reference range. The wire rack that needs to move the fixed position can be one or more of the current wire rack and the previous wire rack.
[0111] In this solution, after the target wire rack is determined, prompt information may be generated, such as displaying the number or position of the target wire rack, so that the staff can know which fixed position of the wire rack needs to be moved.
[0112] The technical solution provided in this embodiment can determine the target cable rack within a certain reference range, and the moving mode of the fixed position of the target cable on the target cable rack. Through such a setting, it can better provide assistance to the staff, help the staff to quickly and accurately locate the target cable rack, and determine whether the fixed position of the target cable is wrong within a certain range, so that the identification of the fixed position error is more accurate.
[0113] On the basis of the above technical solution, optionally, the mobile position determination module is further specifically used for:
[0114] Determine the mode of the fixed positions according to the fixed positions of the target cable on the current wire rack and the fixed positions of the reference wire rack;
[0115] The actual fixed position that is inconsistent with the majority of the fixed positions is determined as a target wire rack that needs to move the fixed position, and the moving target position on the target wire rack is the position corresponding to the majority of the fixed positions.
[0116] Among them, after determining the reference wire rack, the fixed positions of the current wire rack and all the reference wire racks can be read, and the mode of the fixed positions can be determined. It should be noted that the fixed position is the first fixed position, which can be represented by 0001. Assuming that there are 4 optional positions on each wire rack, the fixed positions of the current wire rack and all the reference wire racks can be represented by 0001, 0002, 0003 and 0004 respectively. Then, in a series of values, the mode can be determined. For example, among 10 values, there are 9 0003 and 1 0002. Then, the wire rack with a value of 0002 can be determined as the target wire rack, and its moving target position is the fixed position corresponding to 0003.
[0117] In one case, if the mode is two or more, for example, among 10 values, there are 4 0003 and 4 0002. Although this situation may occur in theory, it will not occur during the actual maintenance process or cable laying process. Generally, the staff will rarely make mistakes in the fixed position. Even if there are mistakes in the fixed position, they are individual and there will not be a situation where the fixed positions of multiple wire racks are wrong.
[0118] This solution provides a method for determining the correct fixed position of the target cable by the majority of the fixed position numbers, and determining the target cable rack that needs to be moved to the fixed position, and the fixed position to which the target cable on the target cable rack needs to be moved. This solution can accurately determine the cable rack with the wrong fixed position, provide better assistance to the staff, and avoid the situation where the wrong fixed position is caused by the negligence of the staff.
[0119] Based on the above embodiments, optionally, the target cable tracking module is specifically used to:
[0120] In response to the marking operation of the target cable, one or more cables are identified as target cables from the cable trench;
[0121] In the process of acquiring the stream data of the cable image, the target cable is tracked.
[0122] In this solution, the staff can mark the target cable by clicking on the cable in the display screen. The marked target cable can be one or more, and the target cable can be a cable that has been laid on a wire rack on one side of the cable trench, or a cable that is being laid. The user can obtain images of all cables on a wire rack on one side through a camera, and mark the target cable that needs to be tracked synchronously by clicking on it.
[0123] During the use of the shooting device, cable images can be continuously acquired and displayed on the display screen, and the target cable can be displayed differently, for example, marked in a highlighted form on the display screen.
[0124] In this scheme, image data stream refers to the form in which image data is continuously transmitted and processed in the system. In the field of digital image processing, images are usually represented by pixels as the basic unit, and each pixel contains information such as color and brightness. These pixel information are combined into data streams in a certain order and format for transmission, storage and processing between computer systems, networks or other devices. The characteristics of image data streams include: Continuity: data is transmitted or processed uninterruptedly in a certain order. In this scheme, real-time cable image processing has strict real-time requirements for the processing and transmission of data streams. The processing of cable image data streams usually involves technologies such as data compression, encoding and decoding, and transmission protocols. Common image data formats such as JPEG, PNG, and BMP all specify their own data organization methods and encoding rules to meet different application requirements.
[0125] This embodiment can mark the target cable in the cable image to display the location of the target cable to the user during the continuous image display process, and at the same time clarify the object of subsequent analysis, thereby improving the accuracy of cable image processing. At the same time, the target cable can be identified incorrectly by marking, thereby improving the convenience of use and the accuracy of fixed position analysis.
[0126] Based on the above embodiments, optionally, the target cable tracking module is specifically used to:
[0127] When there are at least two target cables, threads consistent with the number of the target cables are created, and each thread is used to track one of the target cables.
[0128] In this solution, the number of target cables can be one or more. When there are multiple target cables, a thread can be created for tracking each target cable. The process is the basic unit of resource allocation, and the thread is the basic unit of scheduling. Multiple threads share the resources of the process in the same process, such as memory address space, file descriptors, global variables, etc. These threads can work together to complete a complex task. Each thread used in this solution is responsible for tracking a target cable, which is a common multi-threaded task allocation strategy. The advantage of this method is that it can realize parallel tracking of multiple targets, greatly improving the processing efficiency and response speed of the system. Each thread can focus on the target it is responsible for, reducing resource competition and interference between threads. Of course, the resource allocation of threads, such as memory and CPU time, also needs to be reasonably planned and managed to avoid insufficient resources affecting the tracking of the target cable.
[0129] This solution sets different threads to track different target cables, and can create the number of threads according to the number of target cables, thereby improving resource utilization efficiency, ensuring operation response speed, and avoiding the problem of being unable to track the target cable due to tracking interruption.
[0130] Embodiment 3
[0131] Figure 3 1 is a flow chart of a method for synchronously tracking the cable laying position in a cable trench provided in Embodiment 8 of the present application. Figure 3 As shown, the specific steps include:
[0132] S301, acquiring image data of cables laid in a cable trench;
[0133] S302, determining one or more cables in the cable trench as target cables, tracking the target cables, and determining the fixed positions of the target cables on the cable racks in the cable trench;
[0134] S303, when it is identified that the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack, generating a position error prompt message;
[0135] S304: Determine a target cable rack whose fixed position needs to be moved and a moving target position on the target cable rack according to a fixed position of the target cable on the current cable rack and a fixed position of at least one previous cable rack.
[0136] Further, when it is identified that the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack, a position error prompt message is generated, including:
[0137] After identifying the fixed position of the target cable in the current cable rack, generating the fixed position number information of the current cable rack;
[0138] Identify whether the fixed position number information of the current wire rack is consistent with the fixed position number information of the previous wire rack;
[0139] If they are inconsistent, a position error prompt message is generated;
[0140] If they are consistent, a prompt message with the same fixed position will be generated.
[0141] In the technical solution of the embodiment, the image acquisition module is used to obtain the image data of the laid cables in the cable trench; the target cable tracking module is used to determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed position of the target cables on the wire rack in the cable trench; the position error identification module is used to generate a position error prompt message when it is identified that the fixed position of the target cable on the current wire rack is inconsistent with the fixed position of the previous wire rack; the moving position determination module is used to determine the target wire rack that needs to move the fixed position and the moving target position on the target wire rack according to the fixed position of the target cable on the current wire rack and the fixed position of at least one previous wire rack. The above scheme can determine the wire rack with the wrong cable fixed position by synchronously identifying the fixed position of the cable, and generate prompt information for the target fixed position of the wire rack, which helps the staff to accurately lay the cables and avoid the impact on the subsequent cable maintenance, management and new cable laying.
[0142] The method for synchronously tracking the cable laying position in a cable trench provided in an embodiment of the present application corresponds to the device for synchronously tracking the cable laying position in a cable trench provided in the above-mentioned embodiment, and has the same functional modules and beneficial effects. To avoid repetition, they will not be described here.
[0143] Embodiment 4
[0144] Figure 4 Schematic diagram of the structure of the electronic device provided in the fourth embodiment of the present application. Figure 4 As shown, an embodiment of the present application also provides an electronic device 400, including a processor 401, a memory 402, and a program or instruction stored in the memory 402 and executable on the processor 401. When the program or instruction is executed by the processor 401, each process of the above-mentioned embodiment of the method for synchronously tracking the cable laying position in the cable trench is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0145] 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.
[0146] Embodiment 5
[0147] 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 embodiment of the method for synchronously tracking the cable laying position in the cable trench is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0148] 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.
[0149] Embodiment 6
[0150] 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 embodiment of the method for synchronously tracking the cable laying position in the cable trench, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0151] 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.
[0152] 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.
[0153] 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.
[0154] 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.
[0155] 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 device for synchronously tracking the cable laying position in a cable trench, characterized in that: The device comprises: An image acquisition module, used for acquiring image data of the laid cables in the cable trench; A target cable tracking module is used to determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed position of the target cables on the cable rack in the cable trench; A position error recognition module, used to generate a position error prompt message when it is recognized that the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack; The moving position determination module is used to determine the target cable rack whose fixed position needs to be moved and the moving target position on the target cable rack according to the fixed position of the target cable on the current cable rack and the fixed position of at least one previous cable rack.
2. The device for synchronously tracking the cable laying position in a cable trench according to claim 1, characterized in that: The position error recognition module is specifically used for: After identifying the fixed position of the target cable in the current cable rack, generating the fixed position number information of the current cable rack; Identify whether the fixed position number information of the current wire rack is consistent with the fixed position number information of the previous wire rack; If they are inconsistent, a position error prompt message is generated; If they are consistent, a prompt message with the same fixed position will be generated.
3. The device for synchronously tracking the cable laying position in a cable trench according to claim 2, characterized in that: The position error identification module is further specifically used for: Identify the distance between the passing position of the target cable at the current cable rack and the outer edge and / or the inner edge of the current cable rack; The fixed position corresponding to the passing position of the target cable in the current wire rack is determined according to the distance of the outer edge and / or the distance of the inner edge; wherein the fixed position is any one of the optional positions of the passing position of the target cable in the current wire rack.
4. The device for synchronously tracking the cable laying position in a cable trench according to claim 1, characterized in that: The mobile position determination module is specifically used for: Get reference range parameters; Determining a reference wire frame from previous wire frames according to the reference range parameters; According to the fixed position of the target cable on the current wire rack and the fixed position of the reference wire rack, the target wire rack whose fixed position needs to be moved and the moving target position on the target wire rack are determined.
5. The device for synchronously tracking the cable laying position in a cable trench according to claim 4, characterized in that: The mobile position determination module is further specifically used for: Determine the mode of the fixed positions according to the fixed positions of the target cable on the current wire rack and the fixed positions of the reference wire rack; The actual fixed position that is inconsistent with the majority of the fixed positions is determined as a target wire rack that needs to move the fixed position, and the moving target position on the target wire rack is the position corresponding to the majority of the fixed positions.
6. The device for synchronously tracking the cable laying position in a cable trench according to claim 1, characterized in that: The target cable tracking module is specifically used for: In response to the marking operation of the target cable, one or more cables are identified as target cables from the cable trench; In the process of acquiring the stream data of the cable image, the target cable is tracked.
7. The device for synchronously tracking the cable laying position in a cable trench according to claim 6, characterized in that: The target cable tracking module is specifically used for: When there are at least two target cables, threads consistent with the number of the target cables are created, and each thread is used to track one of the target cables.
8. A method for synchronously tracking the cable laying position in a cable trench, characterized in that: The method comprises: Acquire image data of laid cables in the cable trench; Determine one or more cables in the cable trench as target cables, track the target cables, and determine the fixed positions of the target cables on the cable racks in the cable trench; When the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack, a position error prompt message is generated; According to the fixed position of the target cable on the current cable rack and the fixed position of at least one previous cable rack, the target cable rack whose fixed position needs to be moved and the moving target position on the target cable rack are determined.
9. The method for synchronously tracking the cable laying position in a cable trench according to claim 8, characterized in that: When the fixed position of the target cable in the current cable rack is inconsistent with the fixed position of the previous cable rack, a position error prompt message is generated, including: After identifying the fixed position of the target cable in the current cable rack, generating the fixed position number information of the current cable rack; Identify whether the fixed position number information of the current wire rack is consistent with the fixed position number information of the previous wire rack; If they are inconsistent, a position error prompt message is generated; If they are consistent, a prompt message with the same fixed position will be generated.
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 method for synchronously tracking the cable laying position in a cable trench as described in any one of claims 8 to 9 are implemented.
Citation Information
Patent Citations
Airplane cable bracket assembling state detection method based on vision
CN110207951A
Cable misplug identification method and device, electronic equipment and storage medium
CN115328716A
Cable laying monitoring system and method
CN116317172A
Device, method and equipment for remotely positioning cable by inspection robot in cable gallery
CN118106958A
Systems and methods for physical cable route tracing
US20220036023A1
