Method for determining wire length and storage medium

By obtaining the target drawings and calculating the straight and turning lengths of the wiring harnesses in the electrical control panel, the problem of inaccurate wire length calculation was solved, and the simulation wire length was made consistent with the actual installed wire length on site, thereby improving the production efficiency and quality of secondary wire prefabrication.

CN120296824BActive Publication Date: 2025-10-28利驰数字科技(苏州)有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510590950.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-10-28
Estimated Expiration
2045-05-08

AI Technical Summary

Technical Problem

In the existing technology, the calculation results of the wire length of the wiring harness in the electrical panel are inaccurate, resulting in poor prefabrication of secondary wires and making it impossible to guarantee the consistency between the simulated wire length and the actual installed wire length on site.

Method used

By acquiring the target drawings, the path information of each group of wire harnesses is determined, the node type and the relative position of the wire harness at the node are identified, the straight length and turning length of the conductor are calculated, and the total length of the conductor in each group of wire harnesses is synthesized.

Benefits of technology

Accurately determining the conductor length reduces calculation errors, improves the prefabrication effect of secondary conductors, reduces reliance on manual labor, and enhances production efficiency and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120296824B_ABST
    Figure CN120296824B_ABST
Patent Text Reader

Abstract

This application provides a method and storage medium for determining conductor length. The method includes: acquiring a target drawing, which includes multiple sets of wire harnesses, each set of wire harnesses including at least one conductor; determining the straight length of each conductor in each set of wire harnesses based on the path information of each set of wire harnesses; determining at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node based on the target drawing; determining the turning length of each conductor in each set of wire harnesses based on the at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node; and calculating the sum of the straight length of each conductor in each set of wire harnesses and the turning length of each conductor in each set of wire harnesses as the conductor length of each conductor in each set of wire harnesses. This application can accurately determine the length of each conductor in the target drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wire harness prefabrication technology, and more specifically, to a method for determining wire length and a storage medium. Background Technology

[0002] With social development and the improvement of safe and intelligent electricity use, more and more monitoring and protection devices are being installed in electrical control panels to support more advanced fault diagnosis and maintenance functions. The increasing number and complexity of these devices leads to a greater number of secondary conductors in the electrical control panels. To improve production efficiency, electrical control panel manufacturers often use secondary conductor design simulation software and fully automated wiring machines to perform wiring operations and prefabricate secondary conductors, thereby increasing production efficiency and reducing the time spent on secondary conductor processing.

[0003] Existing secondary conductor design simulation software all use a calculation method based on the conductor centerline. As the number of secondary conductors increases, the size of the wire harness in the electrical panel becomes too large. This causes the conductors in the harness to have inconsistent positions when turning, resulting in a large error in the length of the conductors located on the inner and outer bends. This makes the calculated conductor length inaccurate and cannot guarantee the prefabrication effect of the secondary conductors. Summary of the Invention

[0004] The purpose of this application is to address the shortcomings of the prior art by providing a method for determining wire length and a storage medium, so as to solve the problem of inaccurate wire length calculation results in the prior art.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0006] In a first aspect, one embodiment of this application provides a method for determining the length of a conductor, the method comprising:

[0007] Obtain the target drawing, which includes multiple sets of wire harnesses, each set of wire harnesses including at least one conductor;

[0008] Based on the path information of each group of wire harnesses, determine the straight length of each conductor in each group of wire harnesses;

[0009] Based on the target drawing, determine at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node. Each node is the intersection point of the multiple sets of wire harnesses in the target drawing, and the type of each node is used to indicate the direction of the wire harness passing through the node.

[0010] Based on at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node, determine the turning length of each wire in each group of wire harnesses;

[0011] The straight length of each conductor in each group of wire harnesses and the sum of the turning lengths of each conductor in each group of wire harnesses are calculated respectively, and are taken as the conductor length of each conductor in each group of wire harnesses.

[0012] Secondly, another embodiment of this application provides a conductor length determining device, the device comprising:

[0013] The acquisition module is specifically used to acquire the target drawing, which includes multiple sets of wire harnesses, and each set of wire harnesses includes at least one wire.

[0014] The straight line length determination module is used to determine the straight line length of each conductor in each group of wire harnesses based on the path information of each group of wire harnesses;

[0015] The turning length determination module is used to determine, based on the target drawing, at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node. Each node is the intersection point of the multiple sets of wire harnesses in the target drawing, and the type of each node is used to indicate the direction of the wire harness passing through the node.

[0016] A turning length determination module is used to determine the turning length of each conductor in each group of wire harnesses based on at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node.

[0017] The total length determination module is used to calculate the sum of the straight length of each conductor in each group of wire harnesses and the turning length of each conductor in each group of wire harnesses, as the conductor length of each conductor in each group of wire harnesses.

[0018] Thirdly, another embodiment of this application provides an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any of the methods described in the first aspect above.

[0019] Fourthly, another embodiment of this application provides a storage medium storing a computer program, which, when executed by a processor, performs the steps of any of the methods described in the first aspect above.

[0020] The beneficial effects of this application are as follows: By obtaining the target drawings and determining the straight-line length of each conductor in each group of wire harnesses based on the path information of each group of wire harnesses, and by determining at least one node in the target drawings, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node, the turning length of each conductor in each group of wire harnesses can be determined based on at least one node in the target drawings, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node. By calculating the sum of the straight-line length and the turning length of each conductor in each group of wire harnesses, the conductor length of each conductor in each group of wire harnesses can be obtained. This allows for accurate determination of the length of each conductor in the target drawings, reducing the error in length calculation caused by the large number of conductors, thus ensuring the prefabrication effect of secondary conductors, achieving consistency between the simulated line length and the actual installed line length on site, reducing reliance on manual operation in the secondary conductor prefabrication process, lowering labor costs, reducing errors and losses caused by human factors, and improving the production efficiency, production quality, and intelligent level of the secondary conductor prefabrication process. Attached Figure Description

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.

[0022] Figure 1 A schematic flowchart of a wire length determination method provided in an embodiment of this application;

[0023] Figure 2 A partial schematic diagram of a target drawing provided in an embodiment of this application;

[0024] Figure 3 This is a flowchart illustrating the process of determining the turning length of each conductor in each group of wire harnesses in the conductor length determination method provided in the embodiments of this application.

[0025] Figure 4 This is a flowchart illustrating the process of determining the turning length of each target wire bundle passing through the current node in the wire length determination method provided in this application embodiment.

[0026] Figure 5 Another flowchart illustrating the method for determining the wire length in the embodiments of this application when determining the turning length of each target wire bundle passing through the current node at the current node;

[0027] Figure 6 A flowchart illustrating the process of determining the first turning length of the second target wire harness at the current node in the wire length determination method provided in this application embodiment;

[0028] Figure 7 A flowchart illustrating the determination of the second turning length of the second target wire bundle at the current node in the wire length determination method provided in this application embodiment;

[0029] Figure 8 This is a schematic diagram of a wire length determining device provided in an embodiment of this application;

[0030] Figure 9 This is a schematic diagram of the electronic device structure provided in an embodiment of this application. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0032] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0033] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0034] Existing secondary conductor design simulation software uses a calculation method based on the conductor centerline. As the number of secondary conductors increases and the size of the wiring harness in the electrical panel becomes too large, the conductors in the harness become inconsistent in position when turning, resulting in significant errors in the length of conductors located on the inner and outer bends. This leads to inaccurate conductor length calculations. Furthermore, the large number of bends in the entire wiring harness and the accumulation of multiple errors can cause a significant deviation between the actual conductor length and the software-simulated length, rendering the conductor length calculation meaningless and failing to guarantee the prefabrication effect of the secondary conductors.

[0035] Based on the aforementioned problems, this application proposes a method for determining conductor length. By acquiring the target drawing, and according to the path information of each group of wire harnesses, the straight-line length of each conductor in each group of wire harnesses is determined. Furthermore, based on the target drawing, at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node are determined. Thus, based on at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node, the turning length of each conductor in each group of wire harnesses can be determined. By calculating the sum of the straight-line length and the turning length of each conductor in each group of wire harnesses, the conductor length of each conductor in each group of wire harnesses is obtained. This method accurately determines the length of each conductor in the target drawing, thereby ensuring the prefabrication effect of the secondary conductors and achieving consistency between the simulated conductor length and the actual installed conductor length on site.

[0036] First, the application scenarios involved in the wire length determination method provided in the embodiments of this application will be described in detail.

[0037] It is understood that the wire length determination method provided in this application embodiment can be deployed in wire harness drawing software. Users interact with the wire harness drawing software to arrange and draw components and secondary wires in electrical control cabinets. After the user completes the secondary wire drawing and obtains the target drawing, the wire harness drawing software can execute the steps of the wire length determination method provided in this application embodiment to obtain the wire length of each wire in each group of wire harnesses and output the wire length of each wire in each group of wire harnesses to the user. This allows the secondary wire laying work to be performed based on the wire length of each wire in each group of wire harnesses, so that the user only needs to simply bundle the wires of each wire harness with cable ties after the wires of each wire harness are processed. Here, secondary wires refer to the circuits composed of electrical equipment used to control and monitor primary lines in a power system.

[0038] The method for determining the wire length provided in this application will be described in detail below with reference to several embodiments.

[0039] Figure 1This is a schematic flowchart of a wire length determination method provided in an embodiment of this application, referring to... Figure 1 As shown, the executing entity of this method can be any electronic device with processing capabilities, such as an electronic device deployed with the aforementioned wire harness drawing software. The method includes:

[0040] S101. Obtain the target drawing.

[0041] Optionally, the target drawing can be an electrical secondary wiring diagram, that is, a low-voltage circuit diagram used to control, detect, protect, and measure the normal operation of electrical equipment. The target drawing includes multiple bundles of wires composed of secondary conductors, each bundle containing at least one conductor. The target drawing may also include multiple components.

[0042] Optionally, each wire harness has attributes such as path information and quantity information. The path information is used to indicate where each wire harness passes through in the electrical circuit for wiring, and the quantity information is used to indicate the number of wires included in each wire harness.

[0043] Optionally, the coordinate file corresponding to the target drawing can also be obtained. By using the coordinate values ​​of each pixel in the target drawing in the coordinate file, the path information of each wire bundle in the target drawing can be determined.

[0044] S102. Based on the path information of each group of wire harnesses, determine the straight length of each conductor in each group of wire harnesses.

[0045] Optionally, after obtaining the target drawing, the straight-line length of each conductor in each group of wire harnesses can be determined based on the path information of each group of wire harnesses in the target drawing. The straight-line length refers to the length generated when each conductor in each group of wire harnesses is routed in the horizontal or vertical direction.

[0046] For example, the straight length of each group of wire harnesses can be calculated and determined based on the coordinate information of each group of wire harnesses in the target drawing, and the straight length of each group of wire harnesses can be used as the straight length of each conductor in each group of wire harnesses.

[0047] S103. Based on the target drawing, determine at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node.

[0048] Optionally, the path information of each group of wire harnesses in the target drawing can be identified and matched to determine at least one node in the target drawing, and the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node can be determined based on the path information of each group of wire harnesses in the target drawing.

[0049] Optionally, the path information of each group of wire harnesses in the target drawing can be identified and matched to determine at least one intersection point in the target drawing. The number of wire harnesses passing through each intersection point can be filtered according to a preset number threshold. When the number of wire harnesses passing through each intersection point exceeds the preset number threshold, each intersection point is taken as a node. Based on the path information of each group of wire harnesses in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node can be determined.

[0050] Each node represents the intersection of multiple wire harnesses in the target drawing, i.e., the binding point of each wire harness. The type of each node indicates the direction of the wire harness passing through the node. At least one target wire harness passing through each node constitutes the target wire harnesses that make up the node. The relative position of each target wire harness at the node indicates the relative positional relationship of each target wire harness at the node, such as whether it is located on the innermost or outermost side.

[0051] For example, the coordinate information of each group of wire harnesses can be matched according to the coordinate information in the path information of each group of wire harnesses. When the coordinate information of two or more groups of wire harnesses at a certain point is less than a preset threshold, the two or more groups of wire harnesses can be considered to intersect, and the intersection point is the intersection point. The two or more groups of wire harnesses are regarded as at least one target wire harness passing through the node, and the relative position of each target wire harness at the node is determined according to the magnitude of the coordinate information of each group of target wire harnesses at the intersection point.

[0052] For example, Figure 2 A partial schematic diagram of a target drawing provided in an embodiment of this application, with reference to... Figure 2 As shown, the target drawing includes multiple wire harnesses, namely wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5. Each wire harness has its own wiring path and quantity information. For example, wire harness 1 may include 50 wires, wire harness 2 may include 35 wires, wire harness 3 may include 30 wires, wire harness 4 may include 38 wires, and wire harness 5 may include 40 wires.

[0053] For example, continue to refer to Figure 2As shown, by using wire harnesses 1, 2, 3, 4, and 5, we can identify nodes W1, W2, W3, and W4 in the target drawing. We can determine that node W1 is a T-junction type (meaning wire harnesses in three directions pass through node W1), node W2 is a 2-junction type (meaning wire harnesses in two directions pass through node W2), node W3 is a T-junction type (meaning wire harnesses in three directions pass through node W3), and node W4 is a T-junction type (meaning wire harnesses in three directions pass through node W4). Furthermore, we can identify the target wire harnesses passing through node W1 as wire harnesses 1, 2, and 3; the target wire harnesses passing through node W2 as wire harnesses 1, 2, and 3; the target wire harnesses passing through node W3 as wire harnesses 1, 2, 3, 4, and 5; and the target wire harnesses passing through node W4 as wire harnesses 4 and 5.

[0054] For example, continue to refer to Figure 2 As shown, by using wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5, the relative positions of wire harness 1, wire harness 2 and wire harness 3 in node W1 can also be determined as follows: wire harness 1 is located outside node W1, wire harness 2 is located in the middle of node W2, and wire harness 3 is located outside node W3.

[0055] For example, the relative positions of wire harness 1, wire harness 2 and wire harness 3 on node W2 are as follows: wire harness 1 is located outside node W2, wire harness 2 is located in the middle of node W2, and wire harness 3 is located inside node W2.

[0056] For example, the relative positions of wire harness 1, wire harness 2, wire harness 3, wire harness 4, and wire harness 5 at node W3 are as follows: at the end of node W3 where wire harness 1, wire harness 2, and wire harness 3 are located, wire harness 1 is located inside node W3, wire harness 2 is located in the middle of node W3, and wire harness 3 is located outside node W3; at the end of node W3 where wire harness 1, wire harness 2, wire harness 3, wire harness 4, and wire harness 5 are located, wire harness 1 is located at the innermost side of node W3, wire harness 2 is located at the second innermost side of node W3, wire harness 3 is located in the middle of node W3, wire harness 4 is located at the second outermost side of node W3, and wire harness 5 is located at the outermost side of node W3.

[0057] For example, the relative positions of wire harness 4 and wire harness 5 at node W4 are as follows: wire harness 4 is located in the middle of node W4, and wire harness 5 is located on the outside of node W4.

[0058] S104. Based on at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node, determine the turning length of each conductor in each group of wire harnesses.

[0059] Optionally, after obtaining at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node, the type of each node can be determined, and based on the different types of each node, combined with at least one target wire harness passing through each node and the relative position of each target wire harness at the node, the turning length of each conductor in each group of wire harnesses at each node can be determined, thereby enabling the determination of the turning length of each conductor in each group of wire harnesses.

[0060] Optionally, after obtaining at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node, the at least one target wire harness passing through each node can be judged to determine the path type between the nodes formed by each target wire harness. Based on the different path types between each node, combined with the type of each node and the relative position of each target wire harness at the node, the turning length of each conductor in each group of wire harnesses at each node can be determined, thereby determining the turning length of each conductor in each group of wire harnesses.

[0061] For example, continue to refer to Figure 2 As shown, taking node W2 as an example, the turning length of each wire in wire harness 1 can be obtained by the turning length of wire harness 1. The turning length of wire harness 1 can be obtained by multiplying the turning length of wire harness 2 by a preset turning coefficient. The turning length of each wire in wire harness 3 can be obtained by the turning length of wire harness 3. The turning length of wire harness 3 can be obtained by multiplying the turning length of wire harness 2 by a preset turning coefficient.

[0062] For example, continue to refer to Figure 2 As shown, the turning length of each conductor in wire harness 2 can be obtained from the turning length of wire harness 2, which can be obtained from the turning radius of wire harness 2 at node W2.

[0063] For example, continue to refer to Figure 2 As shown, taking node W1 as an example, the turning length of each wire in wire harness 1 can be obtained from the turning length of wire harness 1, and the turning length of each wire in wire harness 3 can be obtained from the turning length of wire harness 3. The turning length of wire harness 1 and the turning length of wire harness 3 can be the same in value, and both can be obtained by multiplying the turning radius of wire harness 1 or wire harness 3 by a preset turning factor.

[0064] For example, continue to refer to Figure 2As shown, taking nodes W1 and W2 as examples, based on the path information of harnesses 1, 2, and 3 near nodes W1 and W2, the path type between nodes W1 and W2 can be determined to be the main path. Furthermore, harnesses 1, 2, and 3 all have branch paths at node W1. Based on the different path types, combined with the types of nodes W1 and W2 and the relative positions of harnesses 1, 2, and 3 at nodes W1 and W2, the turning lengths of harnesses 1, 2, and 3 at nodes W1 and W2 can be calculated.

[0065] For example, after obtaining the turning length of wire harness 1, the turning length of wire harness 1 can be used as the turning length of each wire in wire harness 1. Alternatively, based on the turning length of wire harness 1, the turning radius of each wire in wire harness 1 can be determined. Thus, based on the turning length of wire harness 1, the turning coefficient corresponding to the turning radius of each wire is multiplied to obtain the turning length of each wire in wire harness 1.

[0066] S105. Calculate the sum of the straight length of each conductor in each group of wire harnesses and the turning length of each conductor in each group of wire harnesses, and use the sum as the conductor length of each conductor in each group of wire harnesses.

[0067] Optionally, after obtaining the straight length and turning length of each conductor in each group of wire harnesses, the sum of the straight length and turning length of each conductor in each group of wire harnesses can be calculated separately to obtain the conductor length of each conductor in each group of wire harnesses.

[0068] Optionally, the wire lengths of each wire in each group can be filled into a preset wire length table, thereby enabling the wire length table to be imported into the fully automatic unwinding machine for unwinding.

[0069] In this embodiment, by acquiring the target drawing, the straight-line length of each conductor in each group of wire harnesses is determined based on the path information of each group of wire harnesses. Furthermore, based on the target drawing, at least one node, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node are determined. This allows for the determination of the turning length of each conductor in each group of wire harnesses based on the at least one node, the type of each node, the at least one target wire harness passing through each node, and the relative position of each target wire harness at the node. By calculating the sum of the straight-line length and the turning length of each conductor in each group of wire harnesses, the conductor length of each conductor in each group of wire harnesses is obtained. This accurately determines the length of each conductor in the target drawing, reducing errors in length calculation due to the large number of conductors, thus ensuring the prefabrication effect of the secondary conductors. It achieves consistency between the simulated line length and the actual installed line length on site, reduces reliance on manual operation during the secondary conductor prefabrication process, lowers labor costs, and reduces errors and losses caused by human factors. This improves the production efficiency, production quality, and intelligence level of the secondary conductor prefabrication process.

[0070] In one possible implementation, Figure 3 This is a flowchart illustrating the process of determining the turning length of each conductor in each group of wire harnesses in the conductor length determination method provided in this application embodiment, with reference to... Figure 3 As shown, S104 above determines the turning length of each conductor in each group of wire harnesses based on at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node, including:

[0071] S301. Traverse each node in the target drawing. For the current node, determine the turning length of each target wire passing through the current node at the current node based on the type of the current node, at least one target wire harness passing through the current node, and the relative position of each target wire harness at the current node. Then, determine the turning length of each conductor in each target wire harness at the current node based on the turning length of each target wire harness at the current node.

[0072] Optionally, when determining the turning length of each conductor in each group of wire harnesses, a traversal method can be adopted to traverse each node and determine the turning length of each target wire harness passing through the current node at the current node.

[0073] Optionally, after obtaining the turning length of each target harness at the current node, the turning length of each conductor in each target harness at the current node can be determined based on the turning length of each target harness at the current node and the number of conductors in each target harness.

[0074] For example, continue to refer to Figure 2As shown, a traversal approach can be adopted to traverse nodes W1, W2, W3, and W4, and determine the turning lengths of wire harness 1, wire harness 3, wire harness 1, wire harness 2, wire harness 3, wire harness 1, wire harness 2, wire harness 3, wire harness 4, wire harness 5, and wire harness 5 at node W4. Based on the turning lengths of each target wire harness at each node, the turning lengths of each conductor in each target wire harness can be determined.

[0075] For example, continue to refer to Figure 2 As shown, after obtaining the turning length of wire harness 1 at node W1, the turning length of wire harness 1 at node W1 can be used as the turning length of each conductor in wire harness 1 at node W1. Alternatively, based on the turning length of wire harness 1 at node W1, the different positions of each conductor in the wire harness can be determined according to the number of conductors in wire harness 1, and different turning coefficients can be multiplied according to the different positions to obtain the turning length of each conductor in wire harness 1 at node W1.

[0076] S302. After traversing each node in the target drawing, determine the turning length of each conductor in each target harness based on the turning length of each conductor at each node.

[0077] Optionally, after traversing each node in the target drawing, the turning length of each conductor in each target harness at each node can be obtained. The turning lengths of each conductor in each target harness at each node can be accumulated to obtain the turning length of each conductor in each target harness.

[0078] By traversing each node in the target drawing, the turning length of each target wire bundle passing through the current node is determined at the current node. Based on the turning length of each target wire bundle at the current node, the turning length of each conductor in each target wire bundle at the current node is determined. After traversing each node in the target drawing, the turning length of each conductor in each target wire bundle at each node is determined. This ensures the accuracy of the turning length of each conductor in the target drawing, thereby ensuring the accuracy of the length of each conductor in the target drawing.

[0079] In one possible implementation, taking the type of the current node as a two-way type as an example, the specific processing procedure for determining the turning length of each target wire harness passing through the current node at the current node is described below. S301, when determining the turning length of each target wire harness passing through the current node at the current node based on the type of the current node, at least one target wire harness passing through the current node, and the relative positions of each target wire harness at the current node, includes:

[0080] If the current node is a two-way type, the turning length of each target wire harness passing through the current node is determined based on the number of wires in each target wire harness passing through the current node and the relative position of each target wire harness at the current node.

[0081] Optionally, the type of the current node is determined. If the current node is a two-way type, that is, the wires in two directions pass through the current node, the turning length of each target wire passing through the current node can be calculated based on the number of wires in each target wire passing through the current node and the relative position of each target wire at the current node.

[0082] For example, continue to refer to Figure 2 As shown, taking node W2 as an example, the target wire harnesses through node W2 are wire harness 1, wire harness 2 and wire harness 3. The number of each wire in wire harness 1, wire harness 2 and wire harness 3 and the relative position of each target wire harness at the current node can be matched with a variety of preset turning coefficients to obtain the turning coefficient corresponding to each wire harness. Thus, the turning length of each target wire harness passing through the current node at the current node can be calculated.

[0083] In one possible implementation, Figure 4 A flowchart illustrating the process of determining the turning length of each target wire harness passing through the current node at the current node in the wire length determination method provided in this application embodiment is shown below. Figure 4 As shown, the above determination of the turning length of each target harness passing through the current node at the current node, based on the number of conductors in each target harness and the relative position of each target harness at the current node, includes:

[0084] S401. Sum the number of wires in each target wire bundle to obtain the number of the first bus bundle, and input the number of the first bus bundle and the radius of each wire into the preset first bus bundle radius calculation formula to obtain the radius of the first bus bundle.

[0085] Optionally, the number of wires in each target wire bundle can be summed to obtain the total number of wires in each target wire bundle, which is used as the number of the first bus bundle, which is a wire bundle composed of each target wire bundle.

[0086] Optionally, the number of the first bus bundle and the radius of each wire are input into a preset formula for calculating the radius of the first bus bundle, and the radius of the first bus bundle is calculated.

[0087] For example, continue to refer to Figure 2 As shown, taking node W2 as an example, the total number of wires in wire harness 1, wire harness 2, and wire harness 3 is calculated as the number of the first bus harness.

[0088] For example, taking the case where the radii of each wire in wire harness 1, each wire in wire harness 2, and each wire in wire harness 3 are all the same, the number of the first bus harness and the radius of each wire are input into the first bus harness radius calculation formula to calculate the radius of the first bus harness. The first bus harness radius calculation formula can refer to the following formula (1):

[0089]

[0090] Where n1 is the number of the first bus bundles, r is the radius of the wires, and R1 is the radius of the first bus bundles.

[0091] S402. Based on the relative positions of each target wire harness at the current node, determine at least one first outer wire harness outside the first target wire harness and / or at least one first inner wire harness inside the first target wire harness.

[0092] Optionally, after obtaining the radius of the first bus bundle, the turning length of each target bundle passing through the current node can be determined. Taking any one of the target bundles as the first target bundle as an example, at least one first outer bundle outside the first target bundle and / or at least one first inner bundle inside the first target bundle can be determined based on the relative positions of each target bundle at the current node.

[0093] The first target wire bundle is any one of the target wire bundles.

[0094] For example, continue to refer to Figure 2 As shown, continuing with node W2 as an example, when the first target wire bundle is wire bundle 1, the first inner wire bundle can be determined to include wire bundle 2 and wire bundle 3 based on the relative positions of each target wire bundle at the current node.

[0095] For example, when the first target wire harness is wire harness 2, the first outer wire harness can be determined as wire harness 1 and the first inner wire harness as wire harness 3 based on the relative positions of each target wire harness at the current node.

[0096] For example, when the first target wire harness is wire harness 3, the first outer wire harness can be determined to include wire harness 1 and wire harness 2 based on the relative positions of each target wire harness at the current node.

[0097] S403. Determine the turning length of the first target wire harness at the current node based on the number of wires in each first outer wire harness and / or the radius of the first main wire harness.

[0098] Optionally, after determining at least one first outer wire harness outside the first target wire harness and / or at least one first inner wire harness inside the first target wire harness, the first outer wire harness and the first inner wire harness of the first target wire harness can be judged, and the turning length of the first target wire harness at the current node can be calculated according to different situations, combined with the number of wires in each first outer wire harness and / or the radius of the first bus wire harness.

[0099] For example, continue to refer to Figure 2 As shown, continuing with node W2 as an example, when the first target wire harness is wire harness 1, the turning length of the first target wire harness at the current node can be calculated based on the radius of the first bus wire harness.

[0100] For example, continue to refer to Figure 2 As shown, continuing with node W2 as an example, when the first target wire harness is wire harness 2, the turning length of the first target wire harness at the current node can be calculated based on the radius of the first main wire harness and the number of wires in the first outer wire harness.

[0101] For example, continue to refer to Figure 2 As shown, continuing with node W2 as an example, when the first target wire harness is wire harness 3, the turning length of the first target wire harness at the current node can be calculated based on the radius of the first main wire harness and the number of wires in each first outer wire harness.

[0102] The number of first bus bundles is obtained by summing the number of wires in each target bundle. The number of first bus bundles and the radius of each wire are then input into a preset formula for calculating the radius of the first bus bundle to obtain the radius of the first bus bundle. By distinguishing at least one first outer bundle outside the first target bundle and / or at least one first inner bundle inside the first target bundle, the turning length of the first target bundle at the current node can be determined based on the number of wires in each first outer bundle and / or the radius of the first bus bundle. This allows for precise determination of the turning length based on the different relative positions of each target bundle, thereby ensuring the accuracy of the length of each wire in the target drawing. This helps to optimize the layout of the bundles in a limited space and reduce interference and conflicts.

[0103] In one possible implementation, S403 above determines the turning length of the first target wire bundle at the current node based on the number of the first bus bundles and the number of wires in each of the first outer wire bundles and / or the radius of the first bus bundles, including:

[0104] The radius of the first bus bundle is used as the turning length of the first target bundle at the current node.

[0105] Optionally, when the first target harness does not have a first outer harness, the radius of the first main harness can be used as the turning length of the first target harness at the current node.

[0106] For example, continue to refer to Figure 2 As shown, taking node W2 as an example, when the first target wire harness is wire harness 1, the radius of the first bus wire harness and the number of the first bus wire harness can be input into the following formula (2) to calculate the turning length of the first target wire harness at the current node;

[0107]

[0108] Where L1 is the turning length of the first target harness at the current node, n1 is the number of the first bus harnesses, and R1 is the radius of the first bus harness.

[0109] In one possible implementation, S403 above determines the turning length of the first target wire bundle at the current node based on the number of the first bus bundles and the number of wires in each of the first outer wire bundles and / or the radius of the first bus bundles, including:

[0110] Multiply the number of the first bus bundle by a preset influence factor to obtain the first conductor parameter; subtract the number of conductors in each of the first outer bundles from the first conductor parameter to obtain the second conductor parameter; calculate the product of the ratio of the second conductor parameter to the first conductor parameter and the radius of the first bus bundle, and use the result as the turning length of the first target bundle at the current node.

[0111] Optionally, when the first target harness has a first outer harness, the number of the first main harness is multiplied by a preset influence factor to obtain the first conductor parameter, and the number of conductors in each of the first outer harnesses is subtracted from the first conductor parameter to obtain the second conductor parameter. Then, the product of the ratio of the second conductor parameter to the first conductor parameter and the radius of the first main harness is calculated, and the result is used as the turning length of the first target harness at the current node.

[0112] For example, continue to refer to Figure 2 As shown, continuing with node W2 as an example, when the first target harness is harness 2, the turning length of the first target harness at the current node can be calculated by referring to the following formula (3):

[0113]

[0114] Where L1 is the turning length of the first target harness at the current node, n1 is the number of the first bus harness, R1 is the radius of the first bus harness, fn1 is the number of wires in the first outer harness, i.e. the number of wires in harness 1, and the influence factor is 0.5.

[0115] For example, continue to refer to Figure 2 As shown, continuing with node W2 as an example, when the first target harness is harness 3, the turning length of the first target harness at the current node can be calculated by referring to the following formula (4):

[0116]

[0117] Where L1 is the turning length of the first target harness at the current node, n1 is the number of the first bus harness, R1 is the radius of the first bus harness, fn1 is the number of wires in the first outer harness (i.e., the number of wires in harness 1), and fn2 is the number of wires in the first outer harness (i.e., the number of wires in harness 2).

[0118] It should be understood that the above embodiments of this application exemplarily illustrate the process of calculating the turning length of each target wire harness based on the outermost target wire harness. Based on this, the turning length of each target wire harness can also be calculated based on the middle target wire harness or the innermost target wire harness, referring to the implementation principle of the above embodiments of this application. This application will not elaborate on this.

[0119] For example, after obtaining the turning length of the first target wire harness at the current node, each wire in the first target wire harness can be divided again according to a preset number division threshold to obtain multiple sub-wire harnesses. Referring to the steps S401-S403 above, the turning length of each sub-wire harness at the current node is calculated based on the turning length of the first target wire harness at the current node, and used as the turning length of each wire in each sub-wire harness at the current node.

[0120] For example, based on this, each sub-bundle can be divided separately, and the length of each conductor in each sub-bundle at the current node can be obtained by referring to the steps of S401-S403 above. This application will not elaborate on this.

[0121] The above provides an example of determining the turning length of each target wire harness passing through the current node when the current node is a two-way type. The following describes the process of determining the turning length of each target wire harness passing through the current node when the current node is a non-two-way type.

[0122] In one possible implementation, when the current node is a non-two-way type, S301 above determines the turning length of each target wire harness passing through the current node at the current node based on the type of the current node, at least one target wire harness passing through the current node, and the relative positions of each target wire harness at the current node. This can be performed according to the following steps, specifically including:

[0123] If the current node is a non-two-way type, the turning length of each target wire harness at the current node is determined based on the position information of each target wire harness, the number of wires in each target wire harness, and the relative position of each target wire harness at the current node.

[0124] It should be understood that when the current node is a non-two-way type, that is, the target wire harnesses passing through the current node have different branch paths, the target wire harnesses of different branches can be divided according to the position information of each target wire harness, so as to determine the turning length of each target wire harness passing through the current node at the current node.

[0125] Optionally, the type of the current node is determined. If the type of the current node is not a two-way type, that is, a three-way type or a four-way type, that is, there are wire harnesses passing through the current node in three directions, or there are wire harnesses passing through the current node in four directions, then the turning length of each target wire harness passing through the current node can be determined according to the position information of each target wire harness, the number of wires in each target wire harness, and the relative position of each target wire harness at the current node.

[0126] For example, continue to refer to Figure 2 As shown, taking node W3 as an example, the target wire harnesses through node W3 are wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5. Based on the position information of wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5, it can be determined that wire harness 1, wire harness 2, and wire harness 3 constitute a total wire harness, and wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5 constitute another total wire harness. Furthermore, based on the number of wires in each target wire harness and the relative position of each target wire harness at the current node, the turning length of each target wire harness passing through the current node at the current node can be determined.

[0127] In one possible implementation, Figure 5 Another flowchart illustrating the method for determining the wire length in the embodiments of this application, when determining the turning length of each target wire harness passing through the current node at the current node, is shown below. Figure 5 As shown, the above method for determining the turning length of each target wire harness at the current node based on the location information of each target wire harness, the number of conductors in each target wire harness, and the relative position of each target wire harness at the current node can be performed according to the following steps:

[0128] S501. Based on the position information of each target wire harness and the relative position of each target wire harness at the current node, determine at least one strongly correlated wire harness corresponding to the second target wire harness and the relative position of the second target wire harness and each strongly correlated wire harness at the current node, as well as at least one weakly correlated wire harness and the relative position of the second target wire harness and each weakly correlated wire harness at the current node.

[0129] Among them, the second target bundle is any bundle among the target bundles, each strongly correlated bundle is a target bundle whose path is exactly the same as the second target bundle at the current node, and each weakly correlated bundle is a target bundle whose path is not exactly the same as the second target bundle at the current node.

[0130] Optionally, taking any one of the target wire bundles as the second target wire bundle as an example, at least one strongly correlated wire bundle and at least one weakly correlated wire bundle corresponding to the second target wire bundle can be determined based on the position information of each target wire bundle, and the relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node and the relative positions of the second target wire bundle and each weakly correlated wire bundle at the current node can be obtained.

[0131] For example, continue to refer to Figure 2 As shown, taking node W3 as an example, when the second target wire bundle is wire bundle 1, it can be determined that the strongly correlated wire bundles of wire bundle 1 include: wire bundle 2 and wire bundle 3, and the weakly correlated wire bundles of wire bundle 1 include: wire bundle 4 and wire bundle 5. The relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node and the relative positions of the second target wire bundle and each weakly correlated wire bundle at the current node can be obtained.

[0132] For example, continue to refer to Figure 2 As shown, taking node W3 as an example, when the second target wire bundle is wire bundle 2, it can be determined that the strongly correlated wire bundles of wire bundle 2 include: wire bundle 1 and wire bundle 3, and the weakly correlated wire bundles of wire bundle 2 include: wire bundle 4 and wire bundle 5. The relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node and the relative positions of the second target wire bundle and each weakly correlated wire bundle at the current node can be obtained.

[0133] For example, continue to refer to Figure 2 As shown, taking node W3 as an example, when the second target wire bundle is wire bundle 3, it can be determined that the strongly correlated wire bundles of wire bundle 3 include: wire bundle 1 and wire bundle 2, and the weakly correlated wire bundles of wire bundle 3 include: wire bundle 4 and wire bundle 5. The relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node and the relative positions of the second target wire bundle and each weakly correlated wire bundle at the current node can be obtained.

[0134] S502. Determine the first turning length of the second target harness at the current node based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, and the number of conductors in each strongly correlated harness.

[0135] It is understandable that after identifying the strongly correlated and weakly correlated wire bundles of the second target wire bundle, it can be seen that the turning length of the second target wire bundle is affected by different target wire bundles on both sides of the current node. Therefore, the turning length of the second target wire bundle on both sides of the current node can be determined separately, thereby obtaining the turning length of the second target wire bundle at the current node.

[0136] Optionally, the first turning length of the second target harness at the current node can be determined based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, and the number of conductors in each strongly correlated harness.

[0137] For example, continue to refer to Figure 2 As shown, taking one side of node W3 (i.e., the side that only includes wire harnesses 1, 2, and 3) as an example, with the target wire harnesses on one side of node W3 being wire harnesses 1, 2, and 3, the number of each wire in wire harnesses 1, 2, and 3 and their relative positions at the current node can be matched with a variety of preset turning coefficients to obtain the turning coefficients corresponding to wire harnesses 1, 2, and 3, thereby calculating the turning length of wire harnesses 1, 2, and 3 on one side of node W3.

[0138] S503. Based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, the number of conductors in each strongly correlated harness, the relative positions of the second target harness and each weakly correlated harness at the current node, and the number of conductors in each weakly correlated harness, determine the second turning length of the second target harness at the current node.

[0139] For example, continue to refer to Figure 2 As shown, taking the other side of node W3 (i.e., the side including wire harnesses 1, 2, 3, 4, and 5) as an example, with the target wire harnesses on the other side of node W3 being wire harnesses 1, 2, 3, 4, and 5, the number of each wire in wire harnesses 1, 2, 3, 4, and 5, as well as the relative positions of wire harnesses 1, 2, 3, 4, and 5 at the current node, can be matched with a variety of preset turning coefficients to obtain the turning coefficients corresponding to wire harnesses 1, 2, 3, 4, and 5. Thus, the turning length of wire harnesses 1, 2, 3, 4, and 5 on the other side of node W3 can be calculated.

[0140] S504. Determine the turning length of the second target harness at the current node based on the first turning length and the second turning length.

[0141] Optionally, half of the first turning length and half of the second turning length can be summed to obtain the turning length of the second target harness at the current node.

[0142] By using the positional information of each target wire harness and their relative positions at the current node, at least one strongly correlated wire harness corresponding to the second target wire harness and the relative positions of the second target wire harness and each strongly correlated wire harness at the current node, as well as at least one weakly correlated wire harness and the relative positions of the second target wire harness and each weakly correlated wire harness at the current node, are determined. The first turning length and the second turning length of the second target wire harness at the current node are also determined. This allows for accurate determination of the turning length of each conductor in the target drawing, avoiding errors in turning length caused by wire harness splitting or merging, thus ensuring the prefabrication effect of the secondary conductors.

[0143] In one possible implementation, Figure 6 A flowchart illustrating the determination of the first turning length of the second target wire harness at the current node in the wire length determination method provided in this application embodiment is shown below. Figure 6 As shown, S502 above determines the first turning length of the second target harness at the current node based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, and the number of conductors in each strongly correlated harness, including:

[0144] S601. Determine the radius of the second bus bundle based on the number of conductors in the second target bundle and the number of conductors in each strongly correlated bundle.

[0145] Optionally, the number of wires in the second target harness is summed with the number of wires in each strongly correlated harness to obtain the number of second bus harnesses. The number of second bus harnesses and the radius of each wire are then input into a preset formula for calculating the radius of the second bus harness to obtain the radius of the second bus harness. Here, the second bus harness is a harness composed of the second target harness and each strongly correlated harness.

[0146] For example, continue to refer to Figure 2 As shown, taking one side of node W3 (i.e., only including wire harness 1, wire harness 2 and wire harness 3) as an example, the total number of wires in wire harness 1, wire harness 2 and wire harness 3 is calculated as the number of the second bus harness.

[0147] For example, taking the case where the radii of each wire in wire harness 1, each wire in wire harness 2, and each wire in wire harness 3 are all the same, the number of the second bus harness and the radius of each wire are input into the second bus harness radius calculation formula to calculate the radius of the second bus harness. The second bus harness radius calculation formula can refer to the above formula (1).

[0148] S602. Based on the relative positions of the second target wire harness and each strongly correlated wire harness at the current node, determine at least one second outer wire harness outside the second target wire harness and / or at least one second inner wire harness within the second target wire harness.

[0149] Optionally, at least one second outer wire bundle outside the second target wire bundle and / or at least one second inner wire bundle inside the second target wire bundle can be determined based on the relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node.

[0150] For example, continue to refer to Figure 2 As shown, taking one side of node W3 (i.e., only the side including wire harness 1, wire harness 2 and wire harness 3) as an example, when the second target wire harness is wire harness 1, the second inner wire harness can be determined to include wire harness 2 and wire harness 3 based on the relative positions of the second target wire harness and each strongly related wire harness at the current node.

[0151] For example, when the second target wire bundle is wire bundle 2, the second outer wire bundle can be determined as wire bundle 1 and the second inner wire bundle as wire bundle 3 based on the relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node.

[0152] For example, when the second target wire harness is wire harness 3, the second outer wire harness can be determined to include wire harness 1 and wire harness 2 based on the relative positions of the second target wire harness and each strongly correlated wire harness at the current node.

[0153] S603. Determine the first turning length of the second target wire harness at the current node based on the number of wires in each second outer wire harness and / or the radius of the second main wire harness.

[0154] Optionally, after determining at least one second outer wire harness outside the second target wire harness and / or at least one second inner wire harness inside the second target wire harness, the second outer wire harness and the second inner wire harness of the second target wire harness can be judged, and the turning length of the second target wire harness at the current node can be calculated according to different situations, combined with the number of wires in each second outer wire harness and / or the radius of the second bus wire harness.

[0155] For example, continue to refer to Figure 2 As shown, taking one side of node W3 (i.e., only the side including wire harness 1, wire harness 2 and wire harness 3) as an example, when the second target wire harness is wire harness 1, the turning length of the second target wire harness at the current node can be calculated based on the radius of the second bus wire harness. For details, please refer to the above formula (2).

[0156] For example, when the second target harness is harness 2, the turning length of the second target harness at the current node can be calculated based on the radius of the second main harness and the number of wires in the second outer harness. Specifically, refer to the above formula (3).

[0157] For example, when the second target harness is harness 3, the turning length of the second target harness at the current node can be calculated based on the radius of the second main harness and the number of wires in each second outer harness. Specifically, refer to the above formula (4).

[0158] In one possible implementation, Figure 7 A flowchart illustrating the determination of the second turning length of the second target wire harness at the current node in the wire length determination method provided in this application embodiment is shown below. Figure 7 As shown, S503 above determines the second turning length of the second target harness at the current node based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, the relative positions of the second target harness and each weakly correlated harness at the current node, the number of conductors in each strongly correlated harness, and the number of conductors in each weakly correlated harness, including:

[0159] S701. Determine the radius of the third bus bundle based on the number of conductors in the second target bundle, the number of conductors in each strongly correlated bundle, and the number of conductors in each weakly correlated bundle.

[0160] Optionally, the number of wires in the second target harness, the number of wires in each strongly correlated harness, and the number of wires in each weakly correlated harness are summed to obtain the number of the third bus harness. The number of the third bus harness and the radius of each wire are then input into a preset formula for calculating the radius of the third bus harness to obtain the radius of the third bus harness. The third bus harness is a harness composed of the second target harness, each strongly correlated harness, and each weakly correlated harness.

[0161] For example, continue to refer to Figure 2 As shown, taking the other side of node W3 (i.e. the side including wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5) as an example, calculate the sum of the number of wires in wire harness 1, the number of wires in wire harness 2, the number of wires in wire harness 3, the sum of the number of wires in wire harness 4, and the sum of the number of wires in wire harness 5, as the number of the third bus harness.

[0162] For example, taking the case where the radii of each wire in harness 1, harness 2, harness 3, harness 4, and harness 5 are all the same, the number of the third bus harness and the radius of each wire are input into the third bus harness radius calculation formula to calculate the radius of the third bus harness. The third bus harness radius calculation formula can refer to the above formula (1).

[0163] S702. Based on the relative positions of the second target wire harness and each weakly correlated wire harness at the current node and the relative positions of the second target wire harness and each strongly correlated wire harness at the current node, determine at least one third outer wire harness outside the second target wire harness and / or at least one third inner wire harness inside the second target wire harness.

[0164] Optionally, at least one third outer wire bundle outside the second target wire bundle and / or at least one third inner wire bundle inside the second target wire bundle can be determined based on the relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node.

[0165] For example, continue to refer to Figure 2 As shown, taking the other side of node W3 (i.e., the side including wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5) as an example, when the second target wire harness is wire harness 1, the third outer wire harness can be determined to include wire harness 2, wire harness 3, wire harness 4 and wire harness 5 based on the relative positions of the second target wire harness, each strongly correlated wire harness at the current node and the relative positions of the second target wire harness and each weakly correlated wire harness at the current node.

[0166] For example, when the second target wire harness is wire harness 2, the third outer wire harness can be determined to include wire harness 3, wire harness 4 and wire harness 5 based on the relative positions of the second target wire harness, each strongly correlated wire harness at the current node and the relative positions of the second target wire harness and each weakly correlated wire harness at the current node, and the third inner wire harness includes wire harness 1.

[0167] For example, when the second target wire harness is wire harness 3, the third outer wire harness can be determined to include wire harness 4 and wire harness 5 based on the relative positions of the second target wire harness, each strongly correlated wire harness at the current node, and the relative positions of the second target wire harness and each weakly correlated wire harness at the current node. The third inner wire harness includes wire harness 1 and wire harness 2.

[0168] For example, when the second target wire harness is wire harness 4, the third outer wire harness can be determined to include wire harness 5 based on the relative positions of the second target wire harness, each strongly correlated wire harness at the current node, and the relative positions of the second target wire harness and each weakly correlated wire harness at the current node. The third inner wire harness includes wire harness 1, wire harness 2, and wire harness 3.

[0169] For example, when the second target wire harness is wire harness 5, the third inner wire harness can be determined to include wire harness 1, wire harness 2, wire harness 3 and wire harness 4 based on the relative positions of the second target wire harness, each strongly correlated wire harness at the current node and the relative positions of the second target wire harness and each weakly correlated wire harness at the current node.

[0170] S703. Determine the second turning length of the second target wire harness at the current node based on the number of wires in each second outer wire harness and / or the radius of the third outer wire harness.

[0171] Optionally, after determining at least one third outer wire harness outside the second target wire harness and / or at least one third inner wire harness inside the second target wire harness, the third outer wire harness and the third inner wire harness of the second target wire harness can be judged, and according to different situations, combined with the number of wires in each third outer wire harness and / or the radius of the third outer wire harness, the turning length of the second target wire harness at the current node can be calculated.

[0172] For example, continue to refer to Figure 2 As shown, taking the other side of node W3 (i.e., the side including wire harness 1, wire harness 2, wire harness 3, wire harness 4 and wire harness 5) as an example, when the second target wire harness is wire harness 5, the turning length of the second target wire harness at the current node can be calculated based on the radius of the third bus harness. For details, please refer to the above formula (2).

[0173] For example, when the second target harness is harness 4, the turning length of the second target harness at the current node can be calculated based on the radius of the third harness and the number of wires in harness 5. Specifically, refer to the following formula (5):

[0174]

[0175] Where L2 is the turning length of the second target harness at the current node, n3 is the number of the third bus harness, R3 is the radius of the third bus harness, and fn5 is the number of wires in harness 5.

[0176] For example, when the second target harness is harness 3, the turning length of the second target harness at the current node can be calculated based on the radius of the third harness, the number of wires in harness 4, and the number of wires in harness 5. Specifically, refer to the following formula (6):

[0177]

[0178] Where L2 is the turning length of the second target harness at the current node, n3 is the number of third bus harnesses, R3 is the radius of the third bus harness, fn5 is the number of wires in harness 5, and fn4 is the number of wires in harness 4.

[0179] For example, when the second target harness is harness 2, the turning length of the second target harness at the current node can be calculated based on the radius of the third harness, the number of wires in harness 3, the number of wires in harness 4, and the number of wires in harness 5. Specifically, refer to the following formula (7):

[0180]

[0181] Where L2 is the turning length of the second target harness at the current node, n3 is the number of third bus harnesses, R3 is the radius of the third bus harness, fn5 is the number of wires in harness 5, fn4 is the number of wires in harness 4, and fn3 is the number of wires in harness 3.

[0182] For example, when the second target harness is harness 1, the turning length of the second target harness at the current node can be calculated based on the radius of the third harness, the number of wires in harness 2, the number of wires in harness 3, the number of wires in harness 4, and the number of wires in harness 5. Specifically, refer to the following formula (8):

[0183]

[0184] Where L2 is the turning length of the second target harness at the current node, n3 is the number of the third bus harness, R3 is the radius of the third bus harness, fn5 is the number of wires in harness 5, fn4 is the number of wires in harness 4, fn3 is the number of wires in harness 3, and fn2 is the number of wires in harness 2.

[0185] Based on the same inventive concept, this application also provides a wire length determining device corresponding to the wire length determining method. Since the principle of the device in this application is similar to the wire length determining method described above, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0186] Figure 8 This is a schematic diagram of a wire length determining device provided in an embodiment of this application, with reference to... Figure 8 As shown, the device includes: an acquisition module 801, a straight length determination module 802, a turning length determination module 803, and a total length determination module 804;

[0187] The acquisition module 801 is specifically used to acquire the target drawing, which includes multiple sets of wire harnesses, and each set of wire harnesses includes at least one wire.

[0188] The straight line length determination module 802 is used to determine the straight line length of each conductor in each group of wire harnesses based on the path information of each group of wire harnesses.

[0189] The turning length determination module 803 is used to determine, based on the target drawing, at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node. Each node is the intersection point of multiple sets of wire harnesses in the target drawing, and the type of each node is used to indicate the direction of the wire harness passing through the node.

[0190] The turning length determination module 803 is used to determine the turning length of each conductor in each group of wire harnesses based on at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node.

[0191] The total length determination module 804 is used to calculate the sum of the straight length of each conductor in each group of wire harnesses and the turning length of each conductor in each group of wire harnesses, which are used as the conductor length of each conductor in each group of wire harnesses.

[0192] Optionally, the turning length determination module 803 is specifically used for:

[0193] Traverse each node in the target drawing. For the current node, determine the turning length of each target wire passing through the current node at the current node based on the type of the current node, at least one target wire passing through the current node, and the relative position of each target wire at the current node. Then, determine the turning length of each conductor in each target wire at the current node based on the turning length of each target wire at the current node.

[0194] After traversing all nodes in the target drawing, the turning length of each conductor in each target harness is determined based on the turning length of each conductor at each node.

[0195] Optionally, the turning length determination module 803 is specifically used for:

[0196] If the current node is a two-way type, the turning length of each target wire harness passing through the current node is determined based on the number of wires in each target wire harness passing through the current node and the relative position of each target wire harness at the current node.

[0197] Optionally, the turning length determination module 803 is specifically used for:

[0198] The number of wires in each target wire bundle is summed to obtain the number of the first bus bundle. The number of the first bus bundle and the radius of each wire are then input into a preset formula for calculating the radius of the first bus bundle to obtain the radius of the first bus bundle. The first bus bundle is a wire bundle composed of each target wire bundle.

[0199] Based on the relative positions of each target wire harness at the current node, at least one first outer wire harness outside the first target wire harness and / or at least one first inner wire harness inside the first target wire harness are determined, wherein the first target wire harness is any wire harness among the target wire harnesses.

[0200] The turning length of the first target wire bundle at the current node is determined based on the number of first bus bundles, the number of wires in each first outer wire bundle, and / or the radius of the first bus bundle.

[0201] Optionally, the turning length determination module 803 is specifically used for:

[0202] Multiply the number of the first bus bundles by a preset influence factor to obtain the first conductor parameters;

[0203] Subtract the number of wires in each of the first outer wire bundles from the first wire parameters to obtain the second wire parameters;

[0204] Calculate the product of the ratio of the second conductor parameter to the first conductor parameter and the radius of the first bus bundle, and use the result as the turning length of the first target bundle at the current node.

[0205] Optionally, the turning length determination module 803 is specifically used for:

[0206] If the current node is a non-two-way type, the turning length of each target wire harness at the current node is determined based on the position information of each target wire harness, the number of wires in each target wire harness, and the relative position of each target wire harness at the current node.

[0207] Optionally, the turning length determination module 803 is specifically used for:

[0208] Based on the location information of each target wire bundle and the relative position of each target wire bundle at the current node, at least one strongly correlated wire bundle corresponding to the second target wire bundle and the relative position of the second target wire bundle and each strongly correlated wire bundle at the current node, at least one weakly correlated wire bundle and the relative position of the second target wire bundle and each weakly correlated wire bundle at the current node are determined respectively. Wherein, the second target wire bundle is any wire bundle among the target wire bundles, each strongly correlated wire bundle is a target wire bundle at the current node whose path is exactly the same as that of the second target wire bundle, and each weakly correlated wire bundle is a target wire bundle at the current node whose path is not exactly the same as that of the second target wire bundle.

[0209] The first turning length of the second target harness at the current node is determined based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, and the number of conductors in each strongly correlated harness.

[0210] The second turning length of the second target harness at the current node is determined based on the number of conductors in the second target harness, the relative position of the second target harness and each strongly correlated harness at the current node, the relative position of the second target harness and each weakly correlated harness at the current node, the number of conductors in each strongly correlated harness, and the number of conductors in each weakly correlated harness.

[0211] Based on the first turning length and the second turning length, determine the turning length of the second target harness at the current node.

[0212] Optionally, the turning length determination module 803 is specifically used for:

[0213] The radius of the second bus bundle is determined based on the number of conductors in the second target bundle and the number of conductors in each strongly correlated bundle. The second bus bundle is a bundle composed of the second target bundle and each strongly correlated bundle.

[0214] Based on the relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node, determine at least one second outer wire bundle outside the second target wire bundle and / or at least one second inner wire bundle inside the second target wire bundle;

[0215] The first turning length of the second target harness at the current node is determined based on the number of conductors in each second outer harness and / or the radius of the second main harness.

[0216] Optionally, the turning length determination module 803 is specifically used for:

[0217] The radius of the third bus bundle is determined based on the number of conductors in the second target bundle, the number of conductors in each strongly correlated bundle, and the number of conductors in each weakly correlated bundle. The third bus bundle is a bundle composed of the second target bundle, each strongly correlated bundle, and each weakly correlated bundle.

[0218] Based on the relative positions of the second target wire bundle and each weakly correlated wire bundle at the current node and the relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node, determine at least one third outer wire bundle outside the second target wire bundle and / or at least one third inner wire bundle inside the second target wire bundle.

[0219] The second turning length of the second target harness at the current node is determined based on the number of conductors in each second outer harness and / or the radius of the third outer harness.

[0220] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.

[0221] This application also provides an electronic device, such as... Figure 9 As shown, Figure 9The schematic diagram of the electronic device structure provided in the embodiments of this application includes: a processor 901, a memory 902, and optionally, a bus 903. The memory 902 stores machine-readable instructions executable by the processor 901 (e.g., ...). Figure 8 The device obtains the execution instructions corresponding to the module 801, the straight length determination module 802, the turning length determination module 803, and the total length determination module 804. When the electronic device is running, the processor 901 and the memory 902 communicate through the bus 903. When the machine-readable instructions are executed by the processor 901, the steps of the above-mentioned wire length determination method are performed.

[0222] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the above-described wire length determination method.

[0223] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.

[0224] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0225] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for determining the length of a conductor, characterized in that, include: Obtain the target drawing, which includes multiple sets of wire harnesses, each set of wire harnesses including at least one conductor; Based on the path information of each group of wire harnesses, determine the straight length of each conductor in each group of wire harnesses; Based on the target drawing, determine at least one node in the target drawing, the type of each node, at least one target wire harness passing through each node, and the relative position of each target wire harness at the node. Each node is the intersection point of the multiple sets of wire harnesses in the target drawing, and the type of each node is used to indicate the direction of the wire harness passing through the node. The process iterates through each node in the target drawing. For each current node, based on the type of the current node, at least one target wire bundle passing through the current node, and the relative positions of each target wire bundle at the current node, the turning length of each target wire bundle passing through the current node is determined at the current node. Based on the turning length of each target wire bundle at the current node, the turning length of each conductor in each target wire bundle at the current node is determined. After the nodes in the target drawing are traversed, the turning length of each conductor in each target wire bundle is determined based on the turning length of each conductor in each target wire bundle at each node. The straight length of each conductor in each group of wire harnesses and the sum of the turning lengths of each conductor in each group of wire harnesses are calculated respectively, and are taken as the conductor length of each conductor in each group of wire harnesses. The step of determining the turning length of each target line bundle passing through the current node at the current node based on the type of the current node, at least one target line bundle passing through the current node, and the relative positions of each target line bundle at the current node includes: If the current node is of a non-two-way type, based on the position information of each target wire bundle and the relative position of each target wire bundle at the current node, at least one strongly correlated wire bundle corresponding to the second target wire bundle and the relative position of the second target wire bundle and each strongly correlated wire bundle at the current node, at least one weakly correlated wire bundle and the relative position of the second target wire bundle and each weakly correlated wire bundle at the current node are determined respectively. Here, the second target wire bundle is any wire bundle among the target wire bundles, each strongly correlated wire bundle is a target wire bundle at the current node whose path is exactly the same as that of the second target wire bundle, and each weakly correlated wire bundle is a target wire bundle at the current node whose path is not exactly the same as that of the second target wire bundle. Based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, and the number of conductors in each strongly correlated harness, the first turning length of the second target harness at the current node is determined. Based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, the relative positions of the second target harness and each weakly correlated harness at the current node, the number of conductors in each strongly correlated harness, and the number of conductors in each weakly correlated harness, the second turning length of the second target harness at the current node is determined. Based on the first turning length and the second turning length, the final turning length of the second target harness at the current node is determined.

2. The method for determining the length of a conductor according to claim 1, characterized in that, The step of determining the turning length of each target line bundle passing through the current node at the current node based on the type of the current node, at least one target line bundle passing through the current node, and the relative positions of each target line bundle at the current node includes: If the current node is a two-way type, the turning length of each target wire bundle passing through the current node is determined at the current node based on the number of wires in each target wire bundle passing through the current node and the relative position of each target wire bundle at the current node.

3. The method for determining the length of a conductor according to claim 2, characterized in that, The step of determining the turning length of each target wire bundle passing through the current node at the current node based on the number of wires in each target wire bundle passing through the current node and the relative position of each target wire bundle at the current node includes: The number of wires in each of the target wire bundles is summed to obtain the number of the first bus bundle. The number of the first bus bundle and the radius of each wire are input into a preset formula for calculating the radius of the first bus bundle to obtain the radius of the first bus bundle. The first bus bundle is a wire bundle composed of each of the target wire bundles. Based on the relative positions of each of the target wire bundles at the current node, at least one first outer wire bundle outside the first target wire bundle and / or at least one first inner wire bundle inside the first target wire bundle are determined, wherein the first target wire bundle is any one of the target wire bundles. The turning length of the first target wire bundle at the current node is determined based on the number of the first bus bundles, the number of wires in each of the first outer wire bundles, and / or the radius of the first bus bundles.

4. The method for determining the length of a conductor according to claim 3, characterized in that, Determining the turning length of the first target wire bundle at the current node based on the number of the first bus bundles and the number of wires in each of the first outer wire bundles and / or the radius of the first bus bundles includes: Multiply the number of the first bus bundles by a preset influence factor to obtain the first conductor parameters; Subtract the number of wires in each of the first outer wire bundles from the first wire parameters to obtain the second wire parameters; Calculate the product of the ratio of the second conductor parameter to the first conductor parameter and the radius of the first bus bundle, and use the result as the turning length of the first target bundle at the current node.

5. The method for determining the length of a conductor according to claim 1, characterized in that, The step of determining the first turning length of the second target harness at the current node based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, and the number of conductors in each strongly correlated harness includes: The radius of the second bus bundle is determined based on the number of conductors in the second target bundle and the number of conductors in each strongly correlated bundle. The second bus bundle is a bundle composed of the second target bundle and each strongly correlated bundle. Based on the relative positions of the second target wire harness and each strongly correlated wire harness at the current node, at least one second outer wire harness outside the second target wire harness and / or at least one second inner wire harness inside the second target wire harness are determined. The first turning length of the second target wire bundle at the current node is determined based on the number of wires in each of the second outer wire bundles and / or the radius of the second main wire bundle.

6. The method for determining the length of a conductor according to claim 5, characterized in that, The step of determining the second turning length of the second target harness at the current node based on the number of conductors in the second target harness, the relative positions of the second target harness and each strongly correlated harness at the current node, the relative positions of the second target harness and each weakly correlated harness at the current node, the number of conductors in each strongly correlated harness, and the number of conductors in each weakly correlated harness includes: The radius of the third bus bundle is determined based on the number of conductors in the second target bundle, the number of conductors in each strongly correlated bundle, and the number of conductors in each weakly correlated bundle. The third bus bundle is a bundle composed of the second target bundle, each strongly correlated bundle, and each weakly correlated bundle. Based on the relative positions of the second target wire bundle and each weakly correlated wire bundle at the current node and the relative positions of the second target wire bundle and each strongly correlated wire bundle at the current node, determine at least one third outer wire bundle outside the second target wire bundle and / or at least one third inner wire bundle inside the second target wire bundle. The second turning length of the second target harness at the current node is determined based on the number of conductors in each of the second outer harnesses and / or the radius of the third bus harness.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the wire length determination method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Electrical wire length output method and electrical wire length output program

    CN104054080A