Device, method and equipment for generating refixing scheme of existing cable in cable trench
By using the image acquisition module in the cable trench to identify the fixed position of the cable and generate a re-fixation solution, the problem of confusing the fixed position of the cable in the cable trench is solved, and the accuracy and protection of the cable fixing management are improved.
Patent Information
- Application Number
- CN202411075045.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-08-07
AI Technical Summary
In the cable trench, the fixing position of the cable is often disordered, resulting in difficulty in later cable maintenance and other cable layouts affected, and it is difficult for the prior art to effectively identify and re-fix the wrong cable position.
Provide a refixation scheme generation device and method in the cable trench, identify the fixed position of the cable through the image acquisition module, generate prompt information, determine the target fixed position, and calculate the required length to generate a refixation scheme to ensure the fixed position management of the cable Accuracy and protection.
The management accuracy of the cable fixing position is improved, and the reasonable re-fixed position is set based on existing conditions, which reduces the misoperation of the cable movement and fixing process, and improves the degree of protection and layout efficiency of the cable.
Smart Images

Figure CN119154198A_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 generating a re-fixation plan for existing cables in a cable trench. Background Art
[0002] A cable trench is an underground passage used for laying cables. Because it is located underground and is a closed area, it can protect the cables from damage by the external environment, reduce the space occupied by the cables above the ground, 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, which will cause the fixed positions of the cable racks in the cable trench along the direction of travel to be disordered. 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 current prices in the front 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 factor for the subsequent cable maintenance for the current cables, but also affect the subsequent layout of other cables in the cable trench.
[0004] Therefore, how to identify and re-arrange cables with incorrect fixed positions during cable inspection is a technical problem that needs to be urgently solved by those skilled in the art. Summary of the invention
[0005] The embodiments of the present application provide a device, method and equipment for generating a re-fixing plan for existing cables in a cable trench. By identifying the fixed position of the existing cable and determining the required length required for re-fixing the existing cable, a plan for determining whether the fixed position of the existing cable can be moved is obtained. Through such a design, the accuracy of the fixed position management of the existing cable can be improved. At the same time, based on the existing conditions of the existing cable, the re-fixing position can be set, thereby improving the degree of protection of the existing cable and the rationality of the plan for moving the fixed position.
[0006] In a first aspect, an embodiment of the present application provides a device for generating a re-fixation scheme for an existing cable in a cable trench, the device comprising:
[0007] An image acquisition module, used to obtain image data of existing cables in the cable trench;
[0008] A prompt information generating module, used for generating prompt information when it is identified that the fixed position of the existing cable in the current cable rack is inconsistent with the fixed position of the previous cable rack;
[0009] A target fixed position determination module is used to determine the target cable rack to be moved to and the target fixed position of the target cable rack according to the fixed position of the existing cable in the current cable rack and the fixed position of the previous cable rack;
[0010] A required length determination module, used for calculating the required length of the existing cable when it is moved from the fixed position of the current cable rack to the target fixed position of the target cable rack;
[0011] A surplus calculation module is used to calculate the remaining length between the current wire rack and two adjacent wire racks;
[0012] The re-fixation scheme generating module is used to generate a re-fixation scheme when the remaining length is greater than or equal to the required length.
[0013] Furthermore, the device also includes:
[0014] A prompt information display module is used to display the prompt information in a preset format after the prompt information is generated; wherein the prompt information includes the numbering information of the fixed position of the existing cable in the current cable rack, and the numbering information of the fixed position of the existing cable in at least one previous cable rack;
[0015] A planned fixed position acquisition module is used to acquire the planned fixed position input by the staff;
[0016] Accordingly, the target fixed position determination module is specifically used for:
[0017] The fixed position of the existing cable on the current wire rack and the fixed position of the previous wire rack are compared with the planned fixed position respectively to determine the target wire rack to be moved to and the target fixed position of the target wire rack.
[0018] Furthermore, the target fixed position determination module is also specifically used for:
[0019] If it is identified that the planned fixed position input by the staff is inconsistent with the planned fixed position historically input for the existing cable, planned fixed position change information is generated for the staff to confirm the input planned fixed position.
[0020] Furthermore, the required length determination module is specifically used to:
[0021] If the current cable rack is the target cable rack, then calculating the required length of the existing cable to be moved from the current fixed position of the current cable rack to the target fixed position of the current cable rack and to be fixed;
[0022] If the current cable rack is not the target cable rack, then calculating the required length of the existing cable required to move from the current fixed position of the current cable rack to the target fixed position of the target cable rack and fix it;
[0023] The required length is the additional length consumed by the existing cable due to the re-fixation movement or fixation, in addition to the fixed distance required for the distance between the current cable rack and the previous cable rack.
[0024] Furthermore, the required length determination module is also specifically used for:
[0025] If the current wire rack and multiple of the previous wire racks are target wire racks, the required length of the existing cable required to move from the fixed position of the current wire rack and at least one of the previous wire racks to the target fixed position and re-fix is calculated.
[0026] Furthermore, the margin calculation module is specifically used to:
[0027] According to the image data of the existing cable, obtaining the curvature data of the existing cable between the current cable rack and the previous cable rack, and obtaining the curvature data of the existing cable between the current cable rack and the next cable rack;
[0028] The remaining length between the current wire rack and two adjacent wire racks is calculated according to the arc data.
[0029] Furthermore, the re-fixation scheme generating module is also used for:
[0030] In the case where the remaining length is less than the required length, a prompt message is generated indicating that the existing cable cannot be re-fixed due to insufficient remaining length.
[0031] In a second aspect, an embodiment of the present application provides a method for generating a re-fixation scheme for an existing cable in a cable trench, the method comprising:
[0032] Acquire image data of existing cables in the cable trench;
[0033] When it is identified that the fixed position of the existing cable on the current cable rack is inconsistent with the fixed position of the previous cable rack, a prompt message is generated;
[0034] According to the fixed position of the existing cable on the current cable rack and the fixed position of the previous cable rack, determine the target cable rack to be moved to and the target fixed position of the target cable rack;
[0035] Calculating the required length of the existing cable when moving from the current fixed position of the cable rack to the target fixed position of the target cable rack;
[0036] Calculate the remaining length between the current wire rack and the two adjacent wire racks;
[0037] When the remaining length is greater than or equal to the required length, a re-fixation plan is generated.
[0038] Furthermore, after generating the prompt information, the method further includes:
[0039] The prompt information is displayed in a preset format; wherein the prompt information includes the numbering information of the fixed position of the existing cable in the current cable rack, and the numbering information of the fixed position of the existing cable in at least one previous cable rack;
[0040] Used to obtain the planned fixed position of staff input;
[0041] Accordingly, according to the fixed position of the existing cable in the current cable rack and the fixed position of the previous cable rack, the target cable rack to be moved to and the target fixed position of the target cable rack are determined, including:
[0042] The fixed position of the existing cable on the current wire rack and the fixed position of the previous wire rack are compared with the planned fixed position respectively to determine the target wire rack to be moved to and the target fixed position of the target wire rack.
[0043] 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 method described in the first aspect.
[0044] 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 method described in the first aspect is implemented.
[0045] 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.
[0046] In the embodiment of the present application, the image acquisition module is used to obtain the image data of the existing cable in the cable trench; the prompt information generation module is used to generate prompt information when it is identified that the fixed position of the existing cable in the current wire rack is inconsistent with the fixed position of the previous wire rack; the target fixed position determination module is used to determine the target wire rack to be moved to and the target fixed position of the target wire rack according to the fixed position of the existing cable in the current wire rack and the fixed position of the previous wire rack; the required length determination module is used to calculate the required length of the existing cable from the fixed position of the current wire rack to the target fixed position of the target wire rack; the surplus calculation module is used to calculate the remaining length between the current wire rack and the two adjacent wire racks; the re-fixing scheme generation module is used to generate a re-fixing scheme when the remaining length is greater than or equal to the required length. The above scheme can improve the accuracy of the fixed position management of the fixed position of the existing cable, and at the same time, it can set the re-fixing position based on the existing conditions of the existing cable, improve the protection of the existing cable and the rationality of the scheme of moving the fixed position. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a structural schematic diagram of a device for generating a re-fixation scheme for existing cables in a cable trench provided in Embodiment 1 of the present application;
[0048] Figure 2 It is a structural schematic diagram of a device for generating a re-fixation scheme for existing cables in a cable trench provided in Embodiment 2 of the present application;
[0049] Figure 3 It is a flow chart of a method for generating a solution for re-fixing existing cables in a cable trench provided in Embodiment 3 of the present application;
[0050] Figure 4 It is a schematic diagram of the structure of the electronic device provided in Example 4 of the present application. DETAILED DESCRIPTION
[0051] 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.
[0052] 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.
[0053] 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.
[0054] In conjunction with the accompanying drawings, the following detailed description is given of a device, method and apparatus for generating a re-fixation scheme for existing cables in a cable trench provided in an embodiment of the present application through specific embodiments and their application scenarios.
[0055] Embodiment 1
[0056] Figure 1 1 is a schematic diagram of the structure of a device for generating a re-fixing scheme for existing cables in a cable trench provided in the first embodiment of the present application. Figure 1 As shown, the specific steps include:
[0057] An image acquisition module 101 is used to acquire image data of existing cables in the cable trench;
[0058] A prompt information generating module 102, for generating prompt information when it is identified that the fixed position of the existing cable in the current cable rack is inconsistent with the fixed position of the previous cable rack;
[0059] The target fixed position determination module 103 is used to determine the target cable rack to be moved to and the target fixed position of the target cable rack according to the fixed position of the existing cable in the current cable rack and the fixed position of the previous cable rack;
[0060] A required length determination module 104 is used to calculate the required length of the existing cable when it is moved from the fixed position of the current cable rack to the target fixed position of the target cable rack;
[0061] The remaining length calculation module 105 is used to calculate the remaining length between the current wire rack and two adjacent wire racks;
[0062] The re-fixing scheme generating module 106 is used to generate a re-fixing scheme when the remaining length is greater than or equal to the required length.
[0063] The application scenario of this solution can be a scenario of identifying the incorrect fixing position of existing cables in a cable trench on one or more cable racks and generating a re-fixing solution.
[0064] 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 an inspection robot, a laptop computer, a tablet computer, and an interactive multimedia device, etc., and no excessive limitations are made here.
[0065] 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.
[0066] The image acquisition module can be an image sensor, which can be set on the inspection robot or the handheld terminal of the staff to collect image data of the cables in the cable trench. Specifically, the image sensor can be an electronic device for capturing optical images, and 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 photoelectric devices to convert the light image on the photosensitive surface into an electrical signal that is proportional to the light image.
[0067] In this solution, the camera can also be set on the wearable device of the staff, or on a handheld device, etc. For example, it can be set on a safety helmet worn by the staff, or on a handheld operation auxiliary terminal, etc.
[0068] In this solution, one or more cables in the cable trench can be simultaneously identified as existing cables at fixed locations. For example, all existing cables can be tested at the same time according to parameters set by the staff.
[0069] When performing fixed position detection on the existing cables, it is often necessary to clearly define the detection target to avoid applying the fixed position identification results of other existing cables to the current existing cables, causing fixed position identification errors and misleading staff to perform incorrect operations.
[0070] Determining the fixed position of the existing cable on the wire rack in the cable trench may be to identify in the image data that the fixed position of the existing 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 may have three available fixed positions. If the existing cable is in the middle position of the current wire rack, it may be determined that its fixed position is position 2. If the existing cable is on the side close to the edge of the wire rack on the current wire rack, it may be determined that its fixed position is position 1. If the existing cable is on the side close to the connection position of the wire rack and the side wall of the cable trench on the current wire rack, it may be determined that its fixed position is position 3.
[0071] In this solution, image features of the existing cables crossing the current cable rack in the image data can be identified, and the position where the cables are fixed can be determined in the collected image data based on the image features.
[0072] Wherein, when the fixed position of the current wire rack is inconsistent with the fixed position of the previous wire rack, a prompt message is generated. Wherein, by identifying and comparing the fixed positions, it can be determined whether the fixed position of the current wire rack is consistent with the fixed position of the previous wire rack, and in the case of inconsistency, a prompt message is generated. In this scheme, the prompt message can be an auxiliary terminal device, such as information displayed on the screen of a robot or a handheld auxiliary terminal, for example, a prompt message such as "The fixed position of the existing cable in the current wire rack is position 1, and the fixed position of the previous wire rack is position 2" can also be displayed, and voice broadcast can also be performed. In addition, the prompt message can also only include a prompt sound to remind the staff that an error has occurred in the fixed position of the current wire rack. After receiving the prompt message, the staff can stop to check and determine the location of the problem.
[0073] In this solution, the target cable rack to be moved to and the target fixed position of the target cable rack are determined according to the fixed position of the existing cable in the current cable rack and the fixed position of the previous cable rack.
[0074] There are several situations that need to be divided here. One is that the fixed position of the current wire rack is wrong. For example, the current wire rack is fixed at position 2, but it should actually be position 1. Then the target wire rack can be determined to be the current wire rack, and the target fixed position of the target wire rack is position 1 of the current wire rack. Another is that the fixed position of the previous wire rack is wrong. For example, the previous wire rack was fixed at position 2, but it should actually be position 1. Then the target wire rack can be determined to be the previous wire rack, and the target fixed position of the target wire rack is position 1 of the previous wire rack. In addition, it is also possible that the current wire rack itself has an error. For example, it should actually be fixed on the second wire rack from top to bottom, but the current wire rack is the third wire rack from top to bottom at the current position. This wire rack error also needs to be taken into account, and in the process of re-fixing, it needs to be moved to another wire rack that actually needs to be fixed, and fixed at the target position of this wire rack. In addition, it can be understood that this solution can be used for the situation where one or more of the current wire rack and the previous wire rack have fixed position errors at the same time, that is, the fixed positions of multiple wire racks need to be moved at the same time.
[0075] After determining the existing cables that need to be moved, the required length required for their movement can be determined. Specifically, the required length of the existing cable to move from the fixed position of the current wire rack to the target fixed position of the target wire rack can be calculated. Among them, since the inspection work of the staff is carried out sequentially, there are many cases where it is found that the fixed position of the current wire rack is incorrect, and it is necessary to move the fixed position of the current wire rack to the target fixed position of the target wire rack. Before moving, this solution can determine the cable length required to move the existing cable from the current fixed position to the target fixed position of the target wire rack. For example, if moving on the same wire rack, the cable can be directly moved horizontally. If it is not on the same wire rack, the cable needs to be wrapped around the outside of the current wire rack and moved from the outside of the target wire rack to the target fixed position of the target wire rack.
[0076] After or before determining the required length, the remaining length of the existing cable that needs to be moved can be calculated. The remaining length can be the length that the existing cable can move on the current wire rack. For example, the distance between the front wire rack and the rear wire rack of the current wire rack is 10 meters. If the length of the existing cable between the front wire rack and the rear wire rack is 10.5 meters, the remaining length is 0.5 meters. It can be understood that the 0.5-meter length is the margin of the cable during the re-fixation process, which can be used for moving, fixing, winding, etc.
[0077] The re-fixing scheme generating module 106 is used to generate a re-fixing scheme when the remaining length is greater than or equal to the required length.
[0078] In this solution, if the remaining length is 0.5 meters and the required length is 0.3 meters, it is determined that the existing cable can complete the construction work of moving from the current fixed position to the target fixed position. Therefore, the re-fixing plan can be determined, that is, the moving plan, including the moving method, the starting position of the movement, the target position, etc., and the fixing method, including fixing by a fixing part, or fixing by winding the cable around the fixing device on the wire rack, etc. It can be seen that the re-fixing plan can include information such as the moving method, moving path, and fixing method of the existing cable. The re-fixing plan can guide the staff to re-fix the existing cable. For example, after determining the re-fixing plan, the re-fixing plan can also be demonstrated to assist the staff in the operation, improve the efficiency of cable re-fixing and the standard level of operation, and avoid cable damage caused by improper operation, or other problems.
[0079] The technical solution provided in this embodiment includes an image acquisition module for acquiring image data of existing cables in the cable trench; a prompt information generation module for generating prompt information when identifying that the fixed position of the existing cable in the current wire rack is inconsistent with the fixed position of the previous wire rack; a target fixed position determination module for determining the target wire rack to be moved to and the target fixed position of the target wire rack according to the fixed position of the existing cable in the current wire rack and the fixed position of the previous wire rack; a required length determination module for calculating the required length of the existing cable from the fixed position of the current wire rack to the target fixed position of the target wire rack; a surplus calculation module for calculating the remaining length between the current wire rack and two adjacent wire racks; and a re-fixing scheme generation module for generating a re-fixing scheme when the remaining length is greater than or equal to the required length. The above scheme can improve the accuracy of the fixed position management of the fixed position of the existing cable, and at the same time, can set the re-fixing position based on the existing conditions of the existing cable, thereby improving the protection of the existing cable and the rationality of the scheme for moving the fixed position.
[0080] In one embodiment, after the fixed position of the existing 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 may be a digital number, such as 0003, which means that the fixed position is position 3.
[0081] 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.
[0082] During the image data acquisition process, 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, the fixed position of the current wire rack is determined to be wrong, and a position error prompt information is generated. On the contrary, if it is consistent, a prompt information that the fixed position is the same is generated.
[0083] 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.
[0084] In one embodiment, at the intersection of the existing cable and the current wire rack, the specific position where the existing 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 existing 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 centimeters, which just corresponds to the No. 1 fixed position of the wire rack, it is determined that the existing cable is fixed at the No. 1 fixed position of the current wire rack.
[0085] 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.
[0086] 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.
[0087] 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.
[0088] In this embodiment, optionally, the required length determination module is specifically used to:
[0089] If the current cable rack is the target cable rack, then calculating the required length of the existing cable to be moved from the current fixed position of the current cable rack to the target fixed position of the current cable rack and to be fixed;
[0090] If the current cable rack is not the target cable rack, the required length required for the existing cable to be moved from the current fixed position of the current cable rack to the target fixed position of the target cable rack and fixed is calculated;
[0091] The required length is the additional length consumed by the existing cable due to the re-fixation movement or fixation, in addition to the fixed distance required for the distance between the current cable rack and the previous cable rack.
[0092] In the case where the current cable rack is the target cable rack, the required length of the cable can be obtained based on the length requirement of the existing cable when it is moved from the current fixed position of the current cable rack to the target fixed position of the current cable rack, and the length requirement of the existing cable when it is re-fixed. For example, if the length requirement generated by moving from position 1 of the current cable to position 2 is 0 meters, and the length requirement generated by re-fixing is 0.3 meters, then on the current cable rack, the required length required to move from the current fixed position to the target fixed position is 0.3 meters.
[0093] It should be noted that the required length may be the additional length consumed by the existing cable. For example, when fixing the cable, it is necessary to wrap the cable around a fixing frame, which will cause consumption.
[0094] Based on the above embodiments, the present scheme provides a method for determining the required length. By adopting the method for determining the required length provided by the present scheme, the cable length required for moving the existing cable to a fixed position can be determined more accurately. This can avoid the situation where, although there is an error in the fixed position of the cable, the cable is not long enough and cannot be effectively fixed at the target position of the current cable because both ends of the cable are fixed on the upper and lower racks.
[0095] On the basis of the above technical solutions, optionally, the required length determination module is further specifically used for:
[0096] If the current wire rack and multiple of the previous wire racks are target wire racks, the required length of the existing cable required to move from the fixed position of the current wire rack and at least one of the previous wire racks to the target fixed position and re-fix is calculated.
[0097] In this solution, when there are multiple target current prices, the fixed positions of multiple wire rack covers may need to be adjusted. In this case, one or more of the current wire rack and the previous wire racks need to be re-fixed. In the process of calculating the required length, the increase in the required length brought about by the movement of multiple fixed positions is certain. Therefore, it is necessary to prioritize the required length of the cable in the process of moving the multiple wire racks before giving a solution to ensure the smooth movement of the fixed positions of the multiple wire racks.
[0098] On the basis of the above technical solutions, optionally, the margin calculation module is specifically used to:
[0099] According to the image data of the existing cable, obtaining the curvature data of the existing cable between the current cable rack and the previous cable rack, and obtaining the curvature data of the existing cable between the current cable rack and the next cable rack;
[0100] The remaining length between the current wire rack and two adjacent wire racks is calculated according to the arc data.
[0101] Among them, the radian data of the existing cable from the previous wire rack to the current wire rack can be determined in the image data, and the radian formed by the cable between the two wire racks, that is, the radian data, can be determined by identifying the shape of the cable between the two wire racks. After obtaining the radian data, the actual length of the cable between the two wire racks can be determined based on the radian data. Among them, assuming that the distance between the two wire racks is 10 meters, if the length of the cable is 11 meters, then when the two ends are fixed to the two wire racks, a certain radian will be generated in the middle of the two wire racks. This solution can determine the actual length of the cable based on the radian data and the distance between the two wire racks, or, this solution can determine the ratio of the actual length of the cable to the distance between the wire racks based on the radian data. In this solution, the remaining length can be determined based on the actual length of the cable and the distance between the two wire racks. For example, in the above example, the distance between the two wire racks is 10 meters. If the length of the cable is 11 meters, the remaining length is 1 meter.
[0102] In this solution, you can use Python to calculate the cable length between two cable racks based on the curvature of the cable:
[0103] import math
[0104] def calculate_cable_length(radius,angle_in_radians):
[0105] return radius*angle_in_radians
[0106] #Example usage
[0107] radius = 10#The radius of the arc (unit: meter)
[0108] angle_in_degrees = 60 # The central angle of the arc (unit: degree)
[0109] angle_in_radians = math.radians(angle_in_degrees) #Convert angle to radians
[0110] cable_length=calculate_cable_length(radius,angle_in_radians)
[0111] print("The length of the cable between the two wire racks is:",cable_length,"meters");
[0112] In the above code, we define a function called calculate_cable_length, which accepts a radius and an angle in radians as parameters and returns the length of the cable. In the example usage, you can modify the values of the radius and angle according to actual conditions to approximate the cable length.
[0113] Through such a setting, this embodiment can calculate the remaining length of the existing cable based on the image data, and in the subsequent movement of the fixed position, ensure that the remaining length is long enough to complete the movement of the fixed position, thereby ensuring the feasibility of the cable re-fixing plan.
[0114] On the basis of the above technical solutions, optionally, the re-fixation solution generating module is further used to:
[0115] In the case where the remaining length is less than the required length, a prompt message is generated indicating that the existing cable cannot be re-fixed due to insufficient remaining length.
[0116] In one case, since the remaining length is insufficient to complete the re-fixation of the existing cable, a re-fixation plan cannot be generated. In order to ensure the executability of the generated re-fixation plan for the existing cable, as well as to ensure the safety of the cable and avoid damage to the cable insulation layer and other parts caused by pulling the cable, this solution generates a corresponding prompt message when the remaining length is less than the required length to inform the staff that the remaining length of the existing cable is insufficient and therefore cannot be re-fixed.
[0117] Through such a setting, the present solution can ensure the safety of existing cables and generate corresponding prompt information when re-fixation is impossible to prompt the staff, thereby improving the staff's user experience.
[0118] Embodiment 2
[0119] Figure 2It is a structural schematic diagram of a device for generating a re-fixing scheme for existing cables in a cable trench provided in Example 2 of the present application. This scheme makes a better improvement on the above-mentioned embodiment, and the specific improvement is: the device also includes: a prompt information display module, which is used to display the prompt information in a preset format after generating the prompt information; wherein the prompt information includes the numbering information of the fixed position of the existing cable in the current wire rack, and the numbering information of the fixed position of the existing cable in at least one previous wire rack; a planned fixed position acquisition module, which is used to obtain the planned fixed position input by the staff; correspondingly, the target fixed position determination module is specifically used to: compare the fixed position of the existing cable in the current wire rack with the fixed position of the previous wire rack, respectively, with the planned fixed position, so as to determine the target wire rack to be moved to, and the target fixed position of the target wire rack.
[0120] like Figure 2 As shown, specifically including the following:
[0121] An image acquisition module 201 is used to acquire image data of existing cables in the cable trench;
[0122] A prompt information generating module 202 is used to generate prompt information when it is identified that the fixed position of the existing cable in the current cable rack is inconsistent with the fixed position of the previous cable rack;
[0123] The target fixed position determination module 203 is used to determine the target wire rack to be moved to and the target fixed position of the target wire rack according to the fixed position of the existing cable in the current wire rack and the fixed position of the previous wire rack;
[0124] A required length determination module 204 is used to calculate the required length of the existing cable when it is moved from the fixed position of the current cable rack to the target fixed position of the target cable rack;
[0125] The remaining length calculation module 205 is used to calculate the remaining length between the current wire rack and two adjacent wire racks;
[0126] A re-fixing scheme generating module 206, configured to generate a re-fixing scheme when the remaining length is greater than or equal to the required length;
[0127] The device also includes:
[0128] The prompt information display module 207 is used to display the prompt information in a preset format after the prompt information is generated; wherein the prompt information includes the numbering information of the fixed position of the existing cable in the current cable rack, and the numbering information of the fixed position of the existing cable in at least one previous cable rack;
[0129] The planned fixed position acquisition module 208 is used to acquire the planned fixed position input by the staff;
[0130] Accordingly, the target fixed position determination module 203 is specifically configured to:
[0131] The fixed position of the existing cable on the current wire rack and the fixed position of the previous wire rack are compared with the planned fixed position respectively to determine the target wire rack to be moved to and the target fixed position of the target wire rack.
[0132] Among them, the preset format can be a pre-set format that is easy for staff to view. The preset format can include the fixed position of the current wire rack and the fixed positions of the three previous wire racks. For example, the fixed position of the current wire rack is position 1, and the fixed positions of the three previous wire racks are positions 3 respectively.
[0133] This solution can be displayed on the screen of a patrol robot or handheld terminal after the fixed position is determined. During the display process, the color of the background frame other than the text can be controlled. For example, when the fixed position of the current wire rack is the same as the fixed positions of the three previous wire racks, the background frame is filled with green, and when the fixed position of the current wire rack is different from the fixed positions of the three previous wire racks, the background frame is filled with red.
[0134] In this solution, after the prompt information is displayed, the input operation of the staff can be received to determine the planned fixed position input by the staff. For example, if the planned fixed position is position 3, then after the prompt information is displayed, the staff can input position 3 as the planned fixed position to identify the fixed position error.
[0135] It is understandable that the fixed position of the previous wire rack has often been corrected to the correct position. However, in a special case, if the staff realizes that the planned fixed position and the fixed position of the previous wire rack are different after passing through several wire racks, the previous wire rack that is different from the fixed position can be determined as the wire rack that needs to be moved after the staff inputs the planned fixed position. In this way, after the staff inputs the planned fixed position, a judgment can be made on both the current wire rack and the previous wire rack, avoiding the situation where the previous wire rack is used as a guide for the fixed position of the current wire rack and there is a deviation from the planned fixed position.
[0136] In this solution, after obtaining the planned fixed position, it is possible to compare the planned fixed position with the fixed position of the current wire rack to determine whether the fixed position of the current wire rack is correct, and to compare the planned fixed position with the fixed position of the previous wire rack to determine whether the fixed position of the previous wire rack is correct.
[0137] The technical solution provided in this embodiment can improve the accuracy of identifying fixed position errors by acquiring the planned fixed position, and can also achieve the purpose of reminding the staff to check the previous fixed position of the wire rack, thereby improving the staff's user experience.
[0138] On the basis of the above technical solution, optionally, the target fixed position determination module is further specifically used for:
[0139] If it is identified that the planned fixed position input by the staff is inconsistent with the planned fixed position historically input for the existing cable, planned fixed position change information is generated for the staff to confirm the input planned fixed position.
[0140] When it is identified that the planned fixed position input by the staff is inconsistent with the planned fixed position input previously, corresponding prompt information can be generated to inform the staff to confirm the planned fixed position.
[0141] For example, when the user inputs the planned fixed positions for the first three cable racks, position 2 is entered. However, when the user inputs the planned fixed position for the fourth cable rack, which is the current cable rack, position 1 is entered. In this case, the staff needs to be prompted to ensure that unified guidance information is obtained during the verification of the actual fixed positions of the existing cables to avoid changes in the guidance information that cause the fixed positions to move and introduce errors.
[0142] This solution provides a corresponding prompt when the planned fixed position input by the user is inconsistent with the previous one, so as to avoid unreasonable movement of the existing cable fixed position due to improper operation or memory error of the staff.
[0143] Embodiment 3
[0144] Figure 3 1 is a flow chart of a method for generating a solution for re-fixing existing cables in a cable trench according to Embodiment 8 of the present application. Figure 3 As shown, the specific steps include:
[0145] S301, acquiring image data of existing cables in the cable trench;
[0146] S302, when it is identified that the fixed position of the existing cable in the current cable rack is inconsistent with the fixed position of the previous cable rack, generating a prompt message;
[0147] S303, determining a target cable rack to be moved to and a target fixed position of the target cable rack according to a fixed position of the existing cable in the current cable rack and a fixed position of a previous cable rack;
[0148] S304, calculating the required length of the existing cable when it is moved from the fixed position of the current cable rack to the target fixed position of the target cable rack;
[0149] S305, calculating the remaining length between the current wire rack and two adjacent wire racks;
[0150] S306: When the remaining length is greater than or equal to the required length, generate a re-fixing plan.
[0151] Furthermore, after generating the prompt information, the method further includes:
[0152] The prompt information is displayed in a preset format; wherein the prompt information includes the numbering information of the fixed position of the existing cable in the current cable rack, and the numbering information of the fixed position of the existing cable in at least one previous cable rack;
[0153] Used to obtain the planned fixed position of staff input;
[0154] Accordingly, according to the fixed position of the existing cable in the current cable rack and the fixed position of the previous cable rack, the target cable rack to be moved to and the target fixed position of the target cable rack are determined, including:
[0155] The fixed position of the existing cable on the current wire rack and the fixed position of the previous wire rack are compared with the planned fixed position respectively to determine the target wire rack to be moved to and the target fixed position of the target wire rack.
[0156] In the embodiment of the present application, the image acquisition module is used to obtain the image data of the existing cable in the cable trench; the prompt information generation module is used to generate prompt information when it is identified that the fixed position of the existing cable in the current wire rack is inconsistent with the fixed position of the previous wire rack; the target fixed position determination module is used to determine the target wire rack to be moved to and the target fixed position of the target wire rack according to the fixed position of the existing cable in the current wire rack and the fixed position of the previous wire rack; the required length determination module is used to calculate the required length of the existing cable from the fixed position of the current wire rack to the target fixed position of the target wire rack; the surplus calculation module is used to calculate the remaining length between the current wire rack and the two adjacent wire racks; the re-fixing scheme generation module is used to generate a re-fixing scheme when the remaining length is greater than or equal to the required length. The above scheme can improve the accuracy of the fixed position management of the fixed position of the existing cable, and at the same time, it can set the re-fixing position based on the existing conditions of the existing cable, improve the protection of the existing cable and the rationality of the scheme of moving the fixed position.
[0157] The method for generating a re-fixing scheme for existing cables in a cable trench provided in an embodiment of the present application corresponds to the device for generating a re-fixing scheme for existing cables 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.
[0158] Embodiment 4
[0159] 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 embodiment of the method for generating a re-fixing scheme for existing cables in the cable trench is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0160] 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.
[0161] Embodiment 5
[0162] 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 generating a re-fixation scheme for existing cables in a cable trench is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0163] 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.
[0164] Embodiment 6
[0165] 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 generating a re-fixation scheme for existing cables in a cable trench, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0166] 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.
[0167] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment 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.
[0168] 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.
[0169] 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.
[0170] 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 generating a re-fixation scheme for existing cables in a cable trench, characterized in that: The device comprises: An image acquisition module, used to obtain image data of existing cables in the cable trench; A prompt information generating module, used for generating prompt information when it is identified that the fixed position of the existing cable in the current cable rack is inconsistent with the fixed position of the previous cable rack; A target fixed position determination module is used to determine the target cable rack to be moved to and the target fixed position of the target cable rack according to the fixed position of the existing cable in the current cable rack and the fixed position of the previous cable rack; A required length determination module, used for calculating the required length of the existing cable when it is moved from the fixed position of the current cable rack to the target fixed position of the target cable rack; A surplus calculation module is used to calculate the remaining length between the current wire rack and two adjacent wire racks; The re-fixation scheme generating module is used to generate a re-fixation scheme when the remaining length is greater than or equal to the required length.
2. The device for generating a re-fixation scheme for existing cables in a cable trench according to claim 1, characterized in that: The device also includes: A prompt information display module, used to display the prompt information in a preset format after the prompt information is generated; wherein the prompt information includes the numbering information of the fixed position of the existing cable in the current cable rack, and the numbering information of the fixed position of the existing cable in at least one previous cable rack; A planned fixed position acquisition module is used to acquire the planned fixed position input by the staff; Accordingly, the target fixed position determination module is specifically used for: The fixed position of the existing cable on the current wire rack and the fixed position of the previous wire rack are compared with the planned fixed position respectively to determine the target wire rack to be moved to and the target fixed position of the target wire rack.
3. The device for generating a re-fixation scheme for existing cables in a cable trench according to claim 2, characterized in that: The target fixed position determination module is further specifically used for: If it is identified that the planned fixed position input by the staff is inconsistent with the planned fixed position historically input for the existing cable, planned fixed position change information is generated for the staff to confirm the input planned fixed position.
4. The device for generating a re-fixation scheme for existing cables in a cable trench according to claim 1, characterized in that: The required length determination module is specifically used for: If the current cable rack is the target cable rack, then calculating the required length of the existing cable to be moved from the current fixed position of the current cable rack to the target fixed position of the current cable rack and to be fixed; If the current cable rack is not the target cable rack, the required length required for the existing cable to be moved from the current fixed position of the current cable rack to the target fixed position of the target cable rack and fixed is calculated; The required length is the additional length consumed by the existing cable due to the re-fixation movement or fixation, in addition to the fixed distance required for the distance between the current cable rack and the previous cable rack.
5. The device for generating a re-fixation scheme for existing cables in a cable trench according to claim 4, characterized in that: The required length determination module is further specifically used for: If the current wire rack and multiple of the previous wire racks are target wire racks, the required length of the existing cable required to move from the fixed position of the current wire rack and at least one of the previous wire racks to the target fixed position and re-fix is calculated.
6. The device for generating a re-fixation plan for existing cables in a cable trench according to claim 1, characterized in that: The margin calculation module is specifically used for: According to the image data of the existing cable, obtaining the curvature data of the existing cable between the current cable rack and the previous cable rack, and obtaining the curvature data of the existing cable between the current cable rack and the next cable rack; The remaining length between the current wire rack and two adjacent wire racks is calculated according to the arc data.
7. The device for generating a re-fixation plan for existing cables in a cable trench according to claim 1, characterized in that: The re-fixation scheme generating module is further used for: In the case where the remaining length is less than the required length, a prompt message is generated indicating that the existing cable cannot be re-fixed due to insufficient remaining length.
8. A method for generating a re-fixation plan for existing cables in a cable trench, characterized in that: The method comprises: Acquire image data of existing cables in the cable trench; When it is identified that the fixed position of the existing cable on the current cable rack is inconsistent with the fixed position of the previous cable rack, a prompt message is generated; According to the fixed position of the existing cable on the current cable rack and the fixed position of the previous cable rack, determine the target cable rack to be moved to and the target fixed position of the target cable rack; Calculating the required length of the existing cable when moving from the current fixed position of the cable rack to the target fixed position of the target cable rack; Calculate the remaining length between the current wire rack and the two adjacent wire racks; When the remaining length is greater than or equal to the required length, a re-fixation plan is generated.
9. The method for generating a re-fixation scheme for existing cables in a cable trench according to claim 8, characterized in that: After generating the prompt information, the method further includes: The prompt information is displayed in a preset format; wherein the prompt information includes the numbering information of the fixed position of the existing cable in the current cable rack, and the numbering information of the fixed position of the existing cable in at least one previous cable rack; Used to obtain the planned fixed position of staff input; Accordingly, according to the fixed position of the existing cable in the current cable rack and the fixed position of the previous cable rack, the target cable rack to be moved to and the target fixed position of the target cable rack are determined, including: The fixed position of the existing cable on the current wire rack and the fixed position of the previous wire rack are compared with the planned fixed position respectively to determine the target wire rack to be moved to and the target fixed position of the target wire rack.
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, it implements a method for generating a re-fixation scheme for existing cables in a cable trench as described in any one of claims 8-9.
Citation Information
Patent Citations
Traction tool used for power cable laying
CN104393536A
Branch clamp and wire harness
JP2024025361A
