A method, device, electronic device and storage medium for determining a wiring path of a cabinet

By obtaining component layout information during the cabinet design stage, it automatically calculates and determines the cable routing path inside the cabinet, solving the problem of low manual wiring efficiency in the existing technology and achieving a more efficient cabinet production process.

CN118410604BActive Publication Date: 2024-10-01YONG LIAN KE JI (CHANG SHU) YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410876960.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-01
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

The efficiency of cabinet wiring in existing charging/swapping projects is low, which results in extended project cycles and increased costs. This is mainly because manual wiring is required to determine the cable routing path after the cabinet is recycled, which results in high efficiency and cost.

Method used

After the cabinet design is completed, the target connection point and wiring path are automatically determined by obtaining component layout information, the preset wiring path is used to calculate candidate paths, and the shortest path is selected as the target wiring path to achieve automated wiring.

Benefits of technology

Improved cabinet wiring efficiency, saved time and costs, and shortened the project cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410604B_ABST
    Figure CN118410604B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, device, electronic device and storage medium for determining a wiring path of a cabinet, comprising: determining a target connection point of each component based on the position information of each component and the connection relationship between the components; determining the connection relationship between the target connection points based on the connection relationship between the components and the position information of each target connection point; determining multiple candidate wiring paths between any two target connection points with a connection relationship based on the position information of each target connection point, the connection relationship between the target connection points and the position information of multiple preset wiring paths; determining the wiring path with the shortest length among the multiple candidate wiring paths as the target wiring path between any two target connection points with a connection relationship. The present invention can automatically determine the wiring path of the cables inside the cabinet according to the layout information of the cabinet components, thereby improving the efficiency of the cabinet wiring and saving the time and cost of the cabinet wiring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of new energy charging and swapping cabinets, and in particular to a method, device, electronic equipment and storage medium for determining a wiring path of a cabinet. Background Art

[0002] In recent years, with the vigorous development of the electric vehicle industry, the market demand for various charging and swapping facilities has gradually increased. The requirements of charging product buyers are not only limited to the most critical charging pile performance and cost, but also pay more and more attention to the delivery time of the product. The length of time for project implementation has become an important part of market competition. The cabinet production of current charging / swapping projects on the market basically follows the process of: cabinet design → cabinet return → cabinet measurement → cable production → cabinet assembly → defect improvement. Among them, cabinet measurement is generally carried out after the cabinet return stage, which leads to a longer project cycle; in addition, after the cabinet return stage, the existing technology generally needs to determine the wiring method of the cables inside the cabinet through manual wiring, and then further determine the length of the cables, resulting in low wiring efficiency and labor and time costs. Summary of the invention

[0003] In order to solve the above technical problems, the present invention discloses a method for determining the wiring path of a cabinet, which can automatically determine the wiring path of cables inside the cabinet according to the cabinet component layout information after the cabinet design is completed, thereby improving the efficiency of cabinet wiring, saving cabinet wiring time and cost, and shortening the project cycle of cabinet production.

[0004] In order to achieve the above object, the present invention provides a method for determining a cabinet wiring path, which is characterized by comprising:

[0005] Acquire component layout information of the target cabinet; the component layout information includes position information of each component in the target cabinet, connection relationships between the components, and position information of multiple preset routing paths;

[0006] Based on the position information of each component and the connection relationship between the components, determining at least one target connection point of each component and the position information of each target connection point;

[0007] Determine the connection relationship between the target connection points based on the connection relationship between the components and the position information of each target connection point;

[0008] Based on the position information of each target connection point, the connection relationship between the target connection points, and the position information of the plurality of preset routing paths, determining a plurality of candidate routing paths between any two target connection points having a connection relationship;

[0009] The shortest routing path among the plurality of candidate routing paths is determined as the target routing path between any two target connection points having a connection relationship.

[0010] In an optional embodiment, determining at least one target connection point of each component and the position information of each target connection point based on the position information of each component and the connection relationship between the components includes:

[0011] Based on the position information of each component and the connection relationship between the components, determine the position information of the actual connection point of each component;

[0012] Based on the position information of the actual connection point of each component, at least one target connection point of each component and the position information of each target connection point are determined.

[0013] In an optional embodiment, the connection relationship between the various components includes the connection relationship between the actual connection points of the various components, and the determining the connection relationship between the various target connection points based on the connection relationship between the various components and the position information of each target connection point includes:

[0014] Based on the position information of the actual connection point of each component and the position information of each target connection point, determining the target connection point closest to each actual connection point as the target connection point corresponding to each actual connection point;

[0015] Based on the target connection point corresponding to each actual connection point, the connection relationship between the actual connection points of the components is converted into the connection relationship between the target connection points of the components.

[0016] In an optional embodiment, the determining of multiple candidate routing paths between any two target connection points having a connection relationship based on the position information of each target connection point, the connection relationship between the target connection points, and the position information of the multiple preset routing paths includes:

[0017] Based on the position information of each target connection point and the position information of the plurality of preset routing paths, determining the preset routing path closest to each target connection point;

[0018] Determine the foot of the perpendicular between each target connection point and the preset routing path closest to each target connection point as the virtual point corresponding to each target connection point;

[0019] Traverse the preset routing paths between the two virtual points respectively corresponding to any two target connection points having the connection relationship, and determine a plurality of candidate routing paths between the two virtual points respectively corresponding to any two target connection points having the connection relationship.

[0020] In an optional embodiment, determining the preset routing path closest to each target connection point based on the position information of each target connection point and the position information of the plurality of preset routing paths includes:

[0021] Based on the position information of each target connection point and the position information of the plurality of preset routing paths, determining the minimum virtual rectangular area where each target connection point is located;

[0022] Determine a plurality of vertical projections of each target connection point position to each side of a minimum virtual rectangular area where each target connection point position is located;

[0023] The target preset routing path among the multiple preset routing paths is determined as the preset routing path that is closest to each target connection point; the target preset routing path intersects with any one of the multiple vertical projections and the length of the intersecting vertical projection is the shortest.

[0024] In an optional embodiment, traversing the preset routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship to determine a plurality of candidate routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship includes:

[0025] Determine the preset routing paths where two virtual points respectively corresponding to any two target connection points having a connection relationship are located as a first preset routing path and a second preset routing path respectively;

[0026] Determine any one of the first preset routing path and the second preset routing path as a current initial routing path, and determine another preset routing path of the first preset routing path and the second preset routing path except the current initial routing path as a target initial routing path;

[0027] Determine a current initial routing path sequence based on the current initial routing path;

[0028] In a case where the current initial routing path does not intersect with the target initial routing path, determining at least one preset routing path directly connected to the current initial routing path as the current initial routing path;

[0029] Updating the current initial routing path sequence based on the current initial routing path;

[0030] Repeated execution: when the current initial routing path does not intersect with the target initial routing path, at least one preset routing path directly connected to the current initial routing path is determined as the current initial routing path, and the current initial routing path sequence is updated based on the current initial routing path until the current initial routing path intersects with the target initial routing path, and based on the target initial routing path and the current initial routing path sequence, multiple candidate routing paths between two virtual points corresponding to any two target connection points having a connection relationship are determined.

[0031] In an optional embodiment, after determining the shortest routing path among the multiple candidate routing paths as the target routing path between any two target connection points having a connection relationship, the method further includes:

[0032] Determine the length of each target routing path;

[0033] The cable congestion degree of each preset routing path is determined based on the cable diameter corresponding to each target routing path.

[0034] The present invention also provides a cabinet wiring path determination device, which is characterized by comprising:

[0035] A component layout information acquisition module, used to acquire component layout information of a target cabinet; the component layout information includes position information of each component in the target cabinet, connection relationships between components, and position information of multiple preset routing paths;

[0036] A target connection point determination module, used to determine at least one target connection point of each component and the position information of each target connection point based on the position information of each component and the connection relationship between the components;

[0037] A connection relationship determination module, used to determine the connection relationship between each target connection point based on the connection relationship between each component and the position information of each target connection point;

[0038] A candidate routing path determination module, configured to determine a plurality of candidate routing paths between any two target connection points having a connection relationship based on the position information of each target connection point, the connection relationship between the target connection points, and the position information of the plurality of preset routing paths;

[0039] The target routing path determination module is used to determine the routing path with the shortest length among the multiple candidate routing paths as the target routing path between any two target connection points having a connection relationship.

[0040] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the cabinet wiring path determination method as described above.

[0041] The present invention also provides a computer-readable storage medium, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the cabinet wiring path determination method as described above.

[0042] Implementing the embodiments of the present invention has the following beneficial effects:

[0043] The cabinet wiring path determination method disclosed in the present invention can, after the cabinet design is completed, determine the representative target connection point corresponding to each component according to the position information of each component inside the cabinet and the connection relationship between each component, convert the connection relationship between the components into the connection relationship between the target connection points, and then automatically determine the shortest cable routing path between each component inside the cabinet according to the connection relationship between the target connection points and the preset routing path of the cable, thereby improving the efficiency of cabinet wiring, saving cabinet wiring time and cost, and shortening the project cycle of cabinet production. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the cabinet wiring path determination method, device, electronic device and storage medium described in the present invention, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0045] Figure 1 A schematic diagram of a process flow of a method for determining a cabinet wiring path provided by an embodiment of the present invention;

[0046] Figure 2 A schematic diagram of the positional relationship between an actual connection point and a target connection point provided by an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of location information of a target connection point on an N1 plane provided by an embodiment of the present invention;

[0048] Figure 4A schematic diagram of location information of a target connection point on an N2 plane provided by an embodiment of the present invention;

[0049] Figure 5 A schematic diagram of a flow chart of a method for determining a candidate routing path provided by an embodiment of the present invention;

[0050] Figure 6 A schematic flow chart of a method for determining a preset routing path that is closest to a target connection point provided by an embodiment of the present invention;

[0051] Figure 7 A schematic diagram of a flow chart of a method for determining a candidate routing path provided by an embodiment of the present invention;

[0052] Figure 8 A schematic diagram of a target routing path provided by an embodiment of the present invention;

[0053] Fig. 9 A schematic diagram of a target routing path provided by an embodiment of the present invention;

[0054] Fig.10 A schematic diagram of the structure of a cabinet wiring path determination device provided by an embodiment of the present invention;

[0055] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

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

[0058] Please refer to Figure 1, which shows a flow chart of a method for determining a cabinet wiring path provided by an embodiment of the present invention. This specification provides method operation steps as described in the embodiment or flow chart, but based on conventional or non-creative labor, more or fewer operation steps may be included. The order of steps listed in the embodiment is only one way of executing the order of many steps, and does not represent the only execution order. When the actual system or server product is executed, it can be executed in the order of the method shown in the embodiment or the accompanying drawings. The cabinet wiring path determination method can be applied to a target terminal, and the target terminal can be a physical device such as a smart phone, a desktop computer, a tablet computer, a laptop computer, etc. Of course, the target terminal is not limited to the above-mentioned electronic devices with a certain entity, and it can also be software running in the above-mentioned electronic devices. For example, the target terminal can be a web page or application for cabinet developers; the target terminal can include a display screen, a storage device, and a processor connected via a data bus, the display screen is used to interact with cabinet developers, etc., the storage device is used to store program codes and data, etc., the storage device can be the memory of the target terminal, or it can be a storage device such as a smart media card, a secure digital card, a flash memory card, etc., and the processor can be a single-core or multi-core processor. Specifically, as Figure 1 As shown, the cabinet wiring path determination method includes:

[0059] S101, obtaining component layout information of a target cabinet; the component layout information includes position information of each component in the target cabinet, connection relationships between the components, and position information of multiple preset routing paths;

[0060] In the embodiment of the present specification, the component layout information of the target cabinet can be obtained based on the three-dimensional design schematic diagram or the two-dimensional design schematic diagram of the target cabinet, and the components in the target cabinet refer to various electrical or electronic devices contained inside the target cabinet;

[0061] In the embodiment of the present specification, if the structural design drawing of the target cabinet is a three-dimensional design schematic drawing, the three-dimensional design schematic drawing of the target cabinet can be expanded into multiple two-dimensional design schematic drawings of a certain scale, and each two-dimensional design schematic drawing corresponds to a plane inside the target cabinet;

[0062] In the embodiment of the present specification, multiple two-dimensional design schematics of the target cabinet may be numbered to distinguish various planes inside the target cabinet;

[0063] In the embodiment of the present specification, a preset plane rectangular coordinate system may be established for the two-dimensional design schematic diagram of the target cabinet, and the position information of each component inside the target cabinet may be characterized based on the plane coordinates of each component in its corresponding preset plane rectangular coordinate system;

[0064] In the embodiments of this specification, the preset wiring path refers to a cable wiring path designed in advance during the cabinet design stage, that is, the cables inside the target cabinet need to pass through at least one preset wiring path to connect two components, and the preset wiring path may include structures such as cable troughs, cable bridges, and threading holes;

[0065] In an embodiment of the present specification, the location information of a preset routing path can be characterized based on the plane coordinate sequence of each preset routing path in its corresponding preset plane rectangular coordinate system; specifically, the plane coordinate sequence of a preset routing path can be expressed as L=[(x1,y1),(x2,y2),(x3,y3),…,(xn,yn)], wherein x1,x2,x3,…,xn represent the horizontal coordinates of multiple coordinate points included in the preset routing path, and y1,y2,y3,…,yn represent the horizontal coordinates of multiple coordinate points included in the preset routing path. The ordinates of the multiple coordinate points, x1~xn and y1~yn, can be arranged in increasing order, and the number of coordinate points included in each preset routing path can be determined according to the actual required path division accuracy; for a horizontal preset routing path (i.e., a preset routing path parallel to the x-axis), the ordinates of the multiple coordinate points included in the path can be considered to be the same, and for a vertical preset routing path (i.e., a preset routing path parallel to the y-axis), the horizontal coordinates of the multiple coordinate points included in the path can be considered to be the same.

[0066] S103, determining at least one target connection point of each component and the position information of each target connection point based on the position information of each component and the connection relationship between the components;

[0067] In the embodiment of the present specification, the determining, based on the position information of each component and the connection relationship between the components, at least one target connection point of each component and the position information of each target connection point includes:

[0068] Based on the position information of each component and the connection relationship between the components, determine the position information of the actual connection point of each component;

[0069] Based on the position information of the actual connection point of each component, at least one target connection point of each component and the position information of each target connection point are determined.

[0070] In the embodiments of this specification, considering that each component may have multiple actual connection points, and some actual connection points are located very close to each other, the cable lengths are slightly different, and a suitable length is generally reserved for easy maintenance during wiring, therefore, the actual connection points that are located close to each other can be appropriately selected at a moderate position (i.e., the target connection point) as a representative point;

[0071] In the embodiments of the present specification, the position information of the actual connection point of each element can be represented based on the plane coordinates of each actual connection point in its corresponding preset plane rectangular coordinate system;

[0072] In the embodiments of this specification, each component corresponds to at least one target connection point, and the number of target connection points of each component can be determined based on the position information of the actual connection points of each component;

[0073] In the embodiments of this specification, Figure 2 A schematic diagram of the position relationship between an actual connection point and a target connection point provided by an embodiment of the present invention, Figure 2 The components in the diagram include 18 connection points D11 to D19. According to the connection relationship between the components, D12, D13 and D15 can be determined as the actual connection points. Since the positions of these 6 actual connection points are close, the center positions of these actual connection points can be selected as the target connection point A based on the position information of these actual connection points. The target connection point A represents the 6 actual connection points D12, D13 and D15.

[0074] In the embodiment of the present specification, after determining the target connection point corresponding to each component, a point identifier (i.e., a name) may be assigned to each target connection point, and then the position information of each target connection point may be determined by identifying the point identifier of each target connection point. The position information of each target connection point may be characterized based on the plane coordinates of each target connection point in its corresponding preset plane rectangular coordinate system;

[0075] In the embodiments of this specification, Figure 3 A schematic diagram of location information of a target connection point on the N1 plane provided by an embodiment of the present invention, Figure 3The rectangular area in represents multiple preset routing paths of the N1 plane. For plane N1 in the target cabinet, first obtain the component layout information of the N1 plane. The component layout information of the N1 plane can be obtained based on the three-dimensional design schematic diagram or the two-dimensional design schematic diagram of the N1 plane. The component layout information of the N1 plane includes the position information of each component in the N1 plane, the connection relationship between each component, and the position information of multiple preset routing paths. Based on the position information of each component in the N1 plane and the connection relationship between each component, the position information of the actual connection point of each component in the N1 plane can be determined. Based on the position information of the actual connection point of each component in the N1 plane, at least one target connection point of each component in the N1 plane can be determined. After assigning a point identifier to each target connection point, the position information of each target connection point can be determined by identifying the point identifier of each target connection point. The specific position information of some target connection points in the N1 plane is shown in Table 1. The # prefix in Table 1 indicates the plane where the target connection point is located;

[0076] In the embodiments of this specification, Figure 4 A schematic diagram of location information of a target connection point on an N2 plane provided by an embodiment of the present invention, Figure 4 The rectangular area in represents multiple preset routing paths of the N2 plane. For plane N2 in the target cabinet, first obtain the component layout information of the N2 plane. The component layout information of the N2 plane can be obtained based on the three-dimensional design schematic diagram or the two-dimensional design schematic diagram of the N2 plane. The component layout information of the N2 plane includes the position information of each component in the N2 plane, the connection relationship between each component, and the position information of multiple preset routing paths. Based on the position information of each component in the N2 plane and the connection relationship between each component, the position information of the actual connection point of each component in the N2 plane can be determined. Based on the position information of the actual connection point of each component in the N2 plane, at least one target connection point of each component in the N2 plane can be determined. After assigning a point identifier to each target connection point, the position information of each target connection point can be determined by identifying the point identifier of each target connection point. The specific position information of some target connection points in the N2 plane is shown in Table 1. The # prefix in Table 1 indicates the plane where the target connection point is located;

[0077] Table 1 Specific location information of some target connection points in the N1 plane and N2 plane

[0078]

[0079] The embodiments of the present specification can determine at least one target connection point of each component and the position information of each target connection point based on the position information of each component in the design schematic diagram of the cabinet, the connection relationship between the components, and the position information of the actual connection point of each component, so that the position of each component can be represented by the target connection point, and the connection relationship between the components can be further converted into the connection relationship between the target connection points, and the target routing path between the target connection points can be determined. The efficiency of cabinet wiring can be improved without affecting the accuracy of the cable routing path.

[0080] S105, determining the connection relationship between the target connection points based on the connection relationship between the components and the position information of each target connection point;

[0081] In the embodiment of the present specification, the connection relationship between the various components includes the connection relationship between the actual connection points of the various components, and the determination of the connection relationship between the various target connection points based on the connection relationship between the various components and the position information of each target connection point includes:

[0082] Based on the position information of the actual connection point of each component and the position information of each target connection point, determining the target connection point closest to each actual connection point as the target connection point corresponding to each actual connection point;

[0083] Based on the target connection point corresponding to each actual connection point, the connection relationship between the actual connection points of the components is converted into the connection relationship between the target connection points of the components.

[0084] In the embodiment of the present specification, based on the position information of each actual connection point and the position information of each target connection point, the target connection point corresponding to each actual connection point can be determined, each actual connection point corresponds to a target connection point, and the distance between each actual connection point and its corresponding target connection point is the shortest compared to the distance between each actual connection point and the other target connection points;

[0085] In the embodiment of the present specification, after determining the target connection point corresponding to each actual connection point, the connection relationship between the actual connection points can be converted into the connection relationship between the target connection points, and the connection relationship between the target connection points can be used to represent the connection relationship between the components. Figure 3 The N1 plane shown, the connection relationship of some target connection points in the plane is shown in Table 2;

[0086] Table 2 Connection relationship of some target connection points in the N1 plane

[0087]

[0088] After determining the target connection point corresponding to each component, the embodiments of the present specification can convert the connection relationship between the actual connection points of each component into the connection relationship between the target connection points of each component, and use the connection relationship between the target connection points to represent the connection relationship between the components. The target routing path between the target connection points is further determined, which can improve the efficiency of cabinet wiring without affecting the accuracy of the cable routing path.

[0089] S107, determining a plurality of candidate routing paths between any two target connection points having a connection relationship based on the position information of each target connection point, the connection relationship between the target connection points, and the position information of the plurality of preset routing paths;

[0090] In the embodiments of this specification, Figure 5 A flow chart of a method for determining a candidate routing path provided by an embodiment of the present invention, wherein based on the position information of each target connection point, the connection relationship between the target connection points, and the position information of the plurality of preset routing paths, a plurality of candidate routing paths between any two target connection points having a connection relationship are determined, including:

[0091] S501, based on the position information of each target connection point and the position information of the plurality of preset routing paths, determining a preset routing path that is closest to each target connection point;

[0092] In the embodiment of the present specification, since the cables inside the target cabinet need to pass through a preset routing path to connect two components, it is necessary to determine the preset routing path that each target connection point first enters when wiring, and the distance between the preset routing path and the target connection point is the shortest, that is, each target connection point can be connected to the preset routing path that it first enters when wiring through a shortest distance;

[0093] S503, determining the foot of the perpendicular between each target connection point and the preset routing path closest to each target connection point as the virtual point corresponding to each target connection point;

[0094] In the embodiment of the present specification, the vertical projection of each target connection point with respect to the preset routing path closest to it can be determined, and the intersection of the vertical projection and the preset routing path closest to it is the virtual point corresponding to each target connection point;

[0095] S505, traversing the preset routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship, and determining a plurality of candidate routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship.

[0096] In the embodiment of the present specification, since the virtual point is the foot of the perpendicular between the target connection point and the preset routing path closest to the target connection point, the virtual point is located in the preset routing path closest to the target connection point, and by traversing the preset routing paths between two virtual points corresponding to any two target connection points having a connection relationship, multiple candidate routing paths that can connect the two virtual points can be determined, and each candidate routing path includes at least one preset routing path;

[0097] After determining the connection relationship between the target connection points, the embodiments of the present specification can automatically determine multiple candidate routing paths between any two target connection points with a connection relationship based on the location information of each target connection point, the connection relationship between the target connection points, and the location information of multiple preset routing paths, and further select the path with the shortest length from the multiple candidate routing paths as the target routing path between the target connection points, thereby improving the efficiency of cabinet wiring and saving time and cost of cabinet wiring.

[0098] In the embodiments of this specification, Figure 6 A flow chart of a method for determining a preset routing path that is closest to a target connection point provided by an embodiment of the present invention, wherein the method determines the preset routing path that is closest to each target connection point based on the position information of each target connection point and the position information of the plurality of preset routing paths, including:

[0099] S601, determining a minimum virtual rectangular area where each target connection point is located based on the position information of each target connection point and the position information of the plurality of preset routing paths;

[0100] In an embodiment of the present specification, the position information of the preset routing path can be characterized based on the plane coordinate sequence of each preset routing path in its corresponding preset plane rectangular coordinate system, the plane coordinate sequence includes multiple coordinate points in the preset routing path, and the plane coordinate sequence of a preset routing path can be expressed as L=[(x1,y1),(x2,y2),(x3,y3),……,(xn,yn)], wherein x1,x2,x3,……,xn represent the horizontal coordinates of the multiple coordinate points included in the preset routing path, and y1,y2,y3,……,yn represent the vertical coordinates of the multiple coordinate points included in the preset routing path. Suppose the plane coordinates of a target connection point are (a,b), it can be determined between which two horizontal coordinates of x1~xn the horizontal coordinate a of the target connection point is and between which two vertical coordinates of y1~yn the vertical coordinate b of the target connection point is, thereby the target connection point (a,b) can be determined according to the two horizontal coordinates in x1~xn and the two vertical coordinates in y1~yn. Define a minimum virtual rectangular area;

[0101] In the embodiments of this specification, Figure 8 A target routing path schematic diagram provided by an embodiment of the present invention is specifically a target routing path between a target connection point A and a target connection point K1. For the target connection point A, the horizontal coordinate of A is between x1 and x2, and the vertical coordinate of A is between y6 and y7. Therefore, the minimum virtual rectangular area where the target connection point A is located is a rectangular area surrounded by x=x1, x=x2, y=y6, and y=y7. Similarly, the minimum virtual rectangular area where the target connection point K1 is located is a rectangular area surrounded by x=0, x=x1, y=y4, and y=y5.

[0102] S603, determining a plurality of vertical projections of each target connection point position to each side of the minimum virtual rectangular area where each target connection point position is located;

[0103] In the embodiment of the present specification, the vertical projection of each target connection point position on the four sides of the minimum virtual rectangular area where it is located is determined;

[0104] In the embodiments of this specification, Figure 8 As shown, the vertical projections of the target connection point A on the four sides of the minimum virtual rectangular area where it is located intersect with the four sides at points A-1, A-2, A-3, and A-4, respectively; the vertical projections of the target connection point K1 on the four sides of the minimum virtual rectangular area where it is located intersect with the four sides at points K1-1, K1-2, K1-3, and K1-4, respectively;

[0105] S605, determining a target preset routing path among the multiple preset routing paths as a preset routing path that is closest to each target connection point; the target preset routing path intersects with any one of the multiple vertical projections and the length of the intersecting vertical projection is the shortest.

[0106] In the embodiments of the present specification, the preset routing path closest to the target connection point satisfies two conditions: (1) any one of the multiple vertical projections corresponding to the target connection point intersects; (2) the length of the intersecting vertical projection is the shortest;

[0107] In the embodiments of this specification, Figure 8 As shown, among the four vertical projections corresponding to the target connection point A, point A-1 and point A-2 intersect with path 1 and path 2 respectively, that is, path 1 and path 2 satisfy the intersection of any one of the multiple vertical projections corresponding to the target connection point A. For the two vertical projections intersecting with path 1 and path 2 respectively, the distance between A and A-1 is less than the distance between A and A-2, that is, path 1 satisfies the shortest length of the intersecting vertical projections. Therefore, the preset routing path closest to the target connection point A is path 1; similarly, for the target connection point K1, paths 3, 4 and 6 intersect with the four vertical projections corresponding to K1, among which the distance between K1 and K1-1 is the shortest. Therefore, the preset routing path closest to the target connection point K1 is path 3;

[0108] The embodiments of the present specification can determine the preset routing path closest to each target connection point based on the location information of each target connection point and the location information of multiple preset routing paths, and further determine the target routing path between the target connection points, thereby improving the efficiency of cabinet wiring.

[0109] In the embodiments of this specification, Figure 7 A flow chart of a method for determining a candidate routing path provided by an embodiment of the present invention, wherein traversing a preset routing path between two virtual points respectively corresponding to any two target connection points having a connection relationship, and determining multiple candidate routing paths between two virtual points respectively corresponding to any two target connection points having a connection relationship, comprises:

[0110] S701, respectively determining the preset routing paths where two virtual points respectively corresponding to any two target connection points having a connection relationship are located as a first preset routing path and a second preset routing path;

[0111] In the embodiments of this specification, the first preset routing path and the second preset routing path respectively represent the preset routing paths that are closest to the two target connection points;

[0112] S703, determining any one of the first preset routing path and the second preset routing path as a current initial routing path, and determining another preset routing path of the first preset routing path and the second preset routing path except the current initial routing path as a target initial routing path;

[0113] In the embodiment of the present specification, one of the first preset routing path and the second preset routing path is determined as the current initial routing path, and the other path is determined as the target initial routing path;

[0114] S705, determining a current initial routing path sequence based on the current initial routing path;

[0115] In the embodiment of this specification, a current initial routing path sequence is established according to the current initial routing path;

[0116] S707, when the current initial routing path does not intersect with the target initial routing path, determining at least one preset routing path directly connected to the current initial routing path as the current initial routing path;

[0117] In the embodiment of the present specification, if the current initial routing path does not intersect with the target initial routing path, then at least one preset routing path directly connected to the current initial routing path is found and determined as the updated current initial routing path;

[0118] S709, updating the current initial routing path sequence based on the current initial routing path;

[0119] In the embodiment of the present specification, the updated current initial routing path is added to the current initial routing path sequence;

[0120] S711, repeatedly executing: when the current initial routing path does not intersect with the target initial routing path, determining at least one preset routing path directly connected to the current initial routing path as the current initial routing path, updating the current initial routing path sequence based on the current initial routing path, until the current initial routing path intersects with the target initial routing path, and determining, based on the target initial routing path and the current initial routing path sequence, a plurality of candidate routing paths between two virtual points respectively corresponding to any two target connection points having a connection relationship.

[0121] In the embodiment of the present specification, S707 to S709 are repeatedly executed until the current initial routing path intersects with the target initial routing path, and then multiple candidate routing paths between two virtual points corresponding to any two target connection points having a connection relationship can be determined based on the target initial routing path and the current initial routing path sequence;

[0122] In the embodiment of this specification, the candidate routing path refers to all routing paths that pass through the target initial routing path and at least one preset routing path in the current initial routing path sequence and can connect two virtual points;

[0123] In the embodiments of this specification, Figure 8 As shown, the virtual point corresponding to the target connection point A is A-1, and the virtual point corresponding to the target connection point K1 is K1-1, then the first preset routing path is path 1, and the second preset routing path is path 3, path 1 is determined as the current initial routing path, path 3 is determined as the target initial routing path, and the current initial routing path sequence is determined based on path 1. At this time, path 1 and path 3 cannot directly intersect, then find the preset routing paths directly connected to path 1, that is, path 5 and path 6, determine path 5 and path 6 as the current initial routing paths, and add path 5 and path 6 to the current initial routing path sequence. At this time, path 5 and path 6 both directly intersect with path 3, then multiple candidate routing paths between A-1 and K1-1 can be determined based on path 1, path 3, path 5 and path 6;

[0124] In the embodiments of this specification, Fig. 9 A target routing path schematic diagram provided by an embodiment of the present invention, Fig. 9Indicates the target routing path between the target connection point M and the target connection point N. The virtual point corresponding to the target connection point M is M-1, and the virtual point corresponding to the target connection point N is N-1. The first preset routing path is path 1, and the second preset routing path is path 17. Path 1 is determined as the current initial routing path, and path 17 is determined as the target initial routing path. The current initial routing path sequence is determined based on path 1. At this time, path 1 and path 17 cannot directly intersect, so find a preset routing line directly connected to path 1. Paths, namely, path 2, path 3 and path 4, are determined as the current initial routing paths, and paths 2, path 3 and path 4 are added to the current initial routing path sequence. At this time, paths 2, path 3 and path 4 cannot directly intersect with path 17, and then continue to search for preset routing paths directly connected to paths 2, path 3 and path 4, namely, paths 5, path 6, path 7, path 8, path 9 and path 10, and paths 5 to path 10 are determined as the current initial routing paths, and paths 2, path 3 and path 4 are added to the current initial routing path sequence. Paths 5 to 10 are added to the list. At this time, none of paths 5 to 10 can directly intersect with path 17. Then continue to look for preset routing paths directly connected to paths 5 to 10, namely, paths 11, 12, 13 and 14. Paths 11 to 14 are determined as the current initial routing paths, and paths 11 to 14 are added to the current initial routing path sequence. At this time, none of paths 11 to 14 can directly intersect with path 17. Then continue to look for preset routing lines directly connected to paths 11 to 14. Path 15 is determined as the current initial routing path, and path 15 is added to the current initial routing path sequence. At this time, path 15 cannot directly intersect with path 17, and then continue to look for a preset routing path directly connected to path 15, that is, path 16, and determine path 16 as the current initial routing path, and add path 16 to the current initial routing path sequence. At this time, path 16 directly intersects with path 17, and then multiple candidate routing paths between M-1 and N-1 can be determined based on path 1 to path 17;

[0125] The embodiments of the present specification continuously search for a preset routing path that is directly connected to the current initial routing path until two virtual points can be connected through the found preset routing path sequence, thereby determining multiple candidate routing paths between target connection points, and further determining the target routing path between the target connection points, thereby improving the efficiency of cabinet wiring.

[0126] S109: Determine the shortest routing path among the plurality of candidate routing paths as the target routing path between any two target connection points having a connection relationship.

[0127] In the embodiment of the present specification, the length of each candidate routing path between any two target connection points having a connection relationship is calculated, and the candidate routing path with the shortest length is determined as the target routing path;

[0128] In the embodiments of this specification, Figure 8 As shown, among the multiple candidate routing paths between A-1 and K1-1, the path 1→path 6→path 3 has the shortest length, that is, the target routing path between the target connection point A and the target connection point K1 is A-1→path 1→path 6→path 3→K1-1;

[0129] In the embodiments of this specification, Fig. 9 As shown, among the multiple candidate routing paths between M-1 and N-1, the path 1→path 4→path 9→path 14→path 15→path 16→path 17 has the shortest length, that is, the target routing path between the target connection point M and the target connection point N is M-1→path 1→path 4→path 9→path 14→path 15→path 16→path 17→N-1;

[0130] In the embodiment of the present specification, after determining the shortest routing path among the plurality of candidate routing paths as the target routing path between any two target connection points having a connection relationship, the method further includes:

[0131] Determine the length of each target routing path;

[0132] The cable congestion degree of each preset routing path is determined based on the cable diameter corresponding to each target routing path.

[0133] In the embodiments of the present specification, after determining the length of the target routing path between any two target connection points having a connection relationship, the length of the actual routing path can be further calculated. The actual routing path refers to the routing path between the two actual connection points. Since each actual connection point corresponds to a target connection point and each target connection point corresponds to a virtual point, each actual connection point corresponds to a virtual point. Thus, the length of an actual routing path includes the length of the connection path between the two actual connection points and the two virtual points corresponding to them respectively, and the length of the target routing path between the two virtual points corresponding to them respectively. The length of the connection path between the actual connection point and the virtual point corresponding to it can be determined based on the distance between the target connection point corresponding to the actual connection point and the virtual point and the positional relationship between the actual connection point and the target connection point corresponding to it.

[0134] In the embodiment of the present specification, after determining the target routing path between any two target connection points having a connection relationship, the diameter of the actual cable corresponding to each target routing path can be further determined. The diameter represents the thickness of the cable. The cable is weighted according to the thickness. The congestion degree of the cables included in each preset routing path is counted. The cable congestion degree is equal to the sum of the weights corresponding to each segment of the cable. Finally, the cabinet R&D personnel can comprehensively consider the actual cable length, cable congestion degree, aesthetics, and cost, and determine the actual wiring plan of the target cabinet.

[0135] In the embodiment of the present specification, the above-mentioned actual connection points are all located in the same plane. If two actual connection points having a connection relationship are respectively located in two different planes, the length of the actual routing path between the two actual connection points located in different planes can be determined based on the distances between the two actual connection points and the preset cross-plane connection points and the preset cross-plane loss length. The preset cross-plane connection points and the preset cross-plane loss length can be set according to the actual design of the target cabinet;

[0136] The embodiments of the present specification can determine the length of each target routing path and the cable congestion level of each preset routing path after determining the target routing path between any two target connection points with a connection relationship, so as to facilitate cabinet R&D personnel to determine the actual wiring plan of the target cabinet according to the actual cable length and cable congestion level.

[0137] It can be seen from the above-mentioned embodiments of the cabinet wiring path determination method provided by the present invention that the embodiment of the present invention obtains the component layout information of the target cabinet; the component layout information includes the position information of each component in the target cabinet, the connection relationship between each component and the position information of multiple preset wiring paths; based on the position information of each component and the connection relationship between each component, at least one target connection point of each component and the position information of each target connection point are determined; based on the connection relationship between each component and the position information of each target connection point, the connection relationship between each target connection point is determined; based on the position information of each target connection point, the connection relationship between each target connection point and the position information of the multiple preset wiring paths, multiple candidate wiring paths between any two target connection points with a connection relationship are determined; and the wiring path with the shortest length among the multiple candidate wiring paths is determined as the target wiring path between any two target connection points with a connection relationship. The technical solution provided in the embodiments of this specification can automatically determine the wiring path of the cables inside the cabinet according to the cabinet component layout information after the cabinet design is completed, thereby improving the efficiency of cabinet wiring, saving cabinet wiring time and cost, and shortening the cabinet production project cycle.

[0138] The embodiment of the present invention also provides a cabinet wiring path determination device, such as Fig.10 As shown, it is a structural schematic diagram of a cabinet wiring path determination device provided by an embodiment of the present invention; specifically, the device includes:

[0139] The component layout information acquisition module 1010 is used to acquire the component layout information of the target cabinet; the component layout information includes the position information of each component in the target cabinet, the connection relationship between each component and the position information of multiple preset routing paths;

[0140] A target connection point determination module 1020 is used to determine at least one target connection point of each component and the position information of each target connection point based on the position information of each component and the connection relationship between the components;

[0141] A connection relationship determination module 1030, configured to determine the connection relationship between each target connection point based on the connection relationship between each component and the position information of each target connection point;

[0142] The candidate routing path determination module 1040 is used to determine multiple candidate routing paths between any two target connection points having a connection relationship based on the position information of each target connection point, the connection relationship between the target connection points, and the position information of the multiple preset routing paths;

[0143] The target routing path determining module 1050 is used to determine the routing path with the shortest length among the multiple candidate routing paths as the target routing path between any two target connection points having a connection relationship.

[0144] In the embodiment of this specification, the target connection point determination module 1020 includes:

[0145] An actual connection point determination unit, used to determine the position information of the actual connection point of each component based on the position information of each component and the connection relationship between the components;

[0146] The first target connection point determination unit is used to determine at least one target connection point of each component and the position information of each target connection point based on the position information of the actual connection point of each component.

[0147] In the embodiment of this specification, the connection relationship between the various components includes the connection relationship between the actual connection points of the various components, and the connection relationship determination module 1030 includes:

[0148] A second target connection point determination unit, configured to determine the target connection point closest to each actual connection point as the target connection point corresponding to each actual connection point based on the position information of the actual connection point of each component and the position information of each target connection point;

[0149] The connection relationship determining unit is used to convert the connection relationship between the actual connection points of the components into the connection relationship between the target connection points of the components based on the target connection points corresponding to each actual connection point.

[0150] In the embodiment of this specification, the candidate routing path determination module 1040 includes:

[0151] A preset routing path determining unit, configured to determine the preset routing path closest to each target connection point based on the position information of each target connection point and the position information of the plurality of preset routing paths;

[0152] A virtual point determination unit, used to determine the foot of the perpendicular between each target connection point and the preset routing path closest to each target connection point as the virtual point corresponding to each target connection point;

[0153] The candidate routing path determination unit is used to traverse the preset routing paths between the two virtual points respectively corresponding to any two target connection points with a connection relationship, and determine multiple candidate routing paths between the two virtual points respectively corresponding to any two target connection points with a connection relationship.

[0154] In the embodiment of this specification, the preset routing path determination unit includes:

[0155] A virtual rectangular area determination subunit, configured to determine a minimum virtual rectangular area where each target connection point is located based on the position information of each target connection point and the position information of the plurality of preset routing paths;

[0156] A vertical projection determination subunit, used to determine a plurality of vertical projections of each target connection point position with respect to each side of the minimum virtual rectangular area where each target connection point position is located;

[0157] The target preset routing path determination subunit is used to determine the target preset routing path among the multiple preset routing paths as the preset routing path that is closest to each target connection point; the target preset routing path intersects with any one of the multiple vertical projections and the length of the intersecting vertical projection is the shortest.

[0158] In the embodiment of this specification, the candidate routing path determination unit includes:

[0159] A preset routing path determination subunit, used to determine the preset routing paths where two virtual points respectively corresponding to any two target connection points having a connection relationship are located as a first preset routing path and a second preset routing path respectively;

[0160] a current initial routing path and a target initial routing path determining subunit, configured to determine any one of the first preset routing path and the second preset routing path as the current initial routing path, and to determine another preset routing path of the first preset routing path and the second preset routing path except the current initial routing path as the target initial routing path;

[0161] an initial routing path sequence determining subunit, configured to determine a current initial routing path sequence based on the current initial routing path;

[0162] a current initial routing path updating subunit, configured to determine at least one preset routing path directly connected to the current initial routing path as the current initial routing path when the current initial routing path does not intersect with the target initial routing path;

[0163] An initial routing path sequence updating subunit, configured to update the current initial routing path sequence based on the current initial routing path;

[0164] The candidate routing path determination subunit is used to repeatedly execute: when the current initial routing path does not intersect with the target initial routing path, at least one preset routing path directly connected to the current initial routing path is determined as the current initial routing path, and the current initial routing path sequence is updated based on the current initial routing path until the current initial routing path intersects with the target initial routing path, and based on the target initial routing path and the current initial routing path sequence, multiple candidate routing paths between two virtual points corresponding to any two target connection points having a connection relationship are determined.

[0165] In the embodiment of this specification, the device also includes:

[0166] A path length determination module, used to determine the length of each target routing path;

[0167] The cable congestion level determination module is used to determine the cable congestion level of each preset routing path based on the cable diameter corresponding to each target routing path.

[0168] An embodiment of the present invention also provides an electronic device, comprising a processor and a memory; the memory stores one or more instructions, and the one or more instructions are suitable for the processor to load and execute to implement the cabinet wiring path determination method as described in the above method embodiment.

[0169] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.

[0170] Fig.11 The schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, the internal structure of the electronic device may include but is not limited to: a processor 1101, a memory 1102 and a communication interface 1103, wherein the processor 1101, the memory 1102 and the communication interface 1103 in the electronic device may be connected through a bus or other means, as shown in the embodiment of this specification Fig.11 The example of connecting through bus is taken in the following.

[0171] Among them, the processor 1101 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device. The communication interface 1103 is used for communication between the memory 1102 and the processor 1101. The memory 1102 (Memory) is used to store programs and data. It can be understood that the memory here can be a high-speed RAM storage device or a non-volatile storage device (non-volatile memory), such as at least one disk storage device; optionally, it can also be at least one storage device located away from the aforementioned processor. The memory provides a storage space, which stores the operating system of the electronic device, which may include but is not limited to: Windows system (an operating system), Linux system (an operating system), etc., and the present invention does not limit this; and, a computer program (including program code) suitable for being loaded and executed by the processor is also stored in the storage space. In the embodiment of this specification, the processor 1101 loads and executes the computer program stored in the memory 1102 to implement the cabinet wiring path determination method provided in the above method embodiment.

[0172] An embodiment of the present invention also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction, at least one program, a code set or an instruction set related to a cabinet wiring path determination method in an implementation method embodiment. The at least one instruction, the at least one program, the code set or the instruction set can be loaded and executed by a processor of the electronic device to implement the cabinet wiring path determination method provided in the above method embodiment.

[0173] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0174] It should be noted that the sequence of the embodiments of the present invention described above is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0175] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0176] Those skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0177] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A method for determining a cabinet wiring path, It is characterized in that include: Obtain component layout information of the target cabinet; The component layout information includes the position information of each component in the target cabinet, the connection relationship between the components, and the position information of multiple preset routing paths; The preset wiring path refers to a cable wiring path designed in advance during the design phase of the target cabinet, that is, the cables inside the target cabinet need to pass through at least one preset wiring path to connect any two components with a connection relationship, and the preset wiring path includes a cable trough, a cable bridge, and a cable threading hole structure; Based on the position information of each component and the connection relationship between the components, determine the position information of the actual connection point of each component; Based on the position information of the actual connection point of each component, the center position of the actual connection point of each component is used as at least one target connection point of each component to determine the position information of each target connection point; Determine the connection relationship between the target connection points based on the connection relationship between the components and the position information of each target connection point; Based on the position information of each target connection point and the position information of the plurality of preset routing paths, determining the preset routing path closest to each target connection point; Determine the foot of the perpendicular between each target connection point and the preset routing path closest to each target connection point as the virtual point corresponding to each target connection point; Traversing the preset routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship, and determining a plurality of candidate routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship; The shortest routing path among the plurality of candidate routing paths is determined as the target routing path between any two target connection points having a connection relationship.

2. The method for determining a cabinet wiring path according to claim 1, It is characterized in that The connection relationship between the various components includes the connection relationship between the actual connection points of the various components, and the determination of the connection relationship between the various target connection points based on the connection relationship between the various components and the position information of each target connection point includes: Based on the position information of the actual connection point of each component and the position information of each target connection point, determining the target connection point closest to each actual connection point as the target connection point corresponding to each actual connection point; Based on the target connection point corresponding to each actual connection point, the connection relationship between the actual connection points of the components is converted into the connection relationship between the target connection points of the components.

3. The method for determining a cabinet wiring path according to claim 1, It is characterized in that The determining, based on the position information of each target connection point and the position information of the plurality of preset routing paths, the preset routing path closest to each target connection point comprises: Based on the position information of each target connection point and the position information of the multiple preset routing paths, determine the minimum virtual rectangular area where each target connection point is located; the position information of each target connection point is based on the plane coordinate representation of each target connection point in a preset plane rectangular coordinate system, the position information of each preset routing path is based on the plane coordinate sequence representation of each preset routing path in the preset plane rectangular coordinate system, the minimum virtual rectangular area where each target connection point is located is determined based on two horizontal boundaries and two vertical boundaries, the two vertical boundaries are determined based on two horizontal coordinates that are adjacent to the horizontal coordinate of each target connection point and belong to the plane coordinate sequence, and the two horizontal boundaries are determined based on two vertical coordinates that are adjacent to the vertical coordinate of each target connection point and belong to the plane coordinate sequence; Determine a plurality of vertical projections of each target connection point position to each side of a minimum virtual rectangular area where each target connection point position is located; The target preset routing path among the multiple preset routing paths is determined as the preset routing path that is closest to each target connection point; the target preset routing path intersects with one of the multiple vertical projections and the length of the intersecting vertical projection is the shortest.

4. The method for determining a cabinet wiring path according to claim 1, It is characterized in that The traversing the preset routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship, and determining a plurality of candidate routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship, comprises: Determine the preset routing paths where two virtual points respectively corresponding to any two target connection points having a connection relationship are located as a first preset routing path and a second preset routing path respectively; Determine any one of the first preset routing path and the second preset routing path as a current initial routing path, and determine another preset routing path of the first preset routing path and the second preset routing path except the current initial routing path as a target initial routing path; Determine a current initial routing path sequence based on the current initial routing path; In a case where the current initial routing path does not intersect with the target initial routing path, determining at least one preset routing path directly connected to the current initial routing path as the current initial routing path; Updating the current initial routing path sequence based on the current initial routing path; Repeated execution: when the current initial routing path does not intersect with the target initial routing path, at least one preset routing path directly connected to the current initial routing path is determined as the current initial routing path, and the current initial routing path sequence is updated based on the current initial routing path until the current initial routing path intersects with the target initial routing path, and based on the target initial routing path and the current initial routing path sequence, multiple candidate routing paths between two virtual points corresponding to any two target connection points having a connection relationship are determined.

5. The method for determining a cabinet wiring path according to claim 1, It is characterized in that After determining the shortest routing path among the plurality of candidate routing paths as the target routing path between any two target connection points having a connection relationship, the method further includes: Determine the length of each target routing path; The cable congestion degree of each preset routing path is determined based on the cable diameter corresponding to each target routing path.

6. A device for determining a wiring path of a cabinet, It is characterized in that include: A component layout information acquisition module, used to acquire component layout information of a target cabinet; The component layout information includes the position information of each component in the target cabinet, the connection relationship between the components, and the position information of multiple preset routing paths; The preset wiring path refers to a cable wiring path designed in advance during the design phase of the target cabinet, that is, the cables inside the target cabinet need to pass through at least one preset wiring path to connect any two components with a connection relationship, and the preset wiring path includes a cable trough, a cable bridge, and a cable threading hole structure; a target connection point determination module, for determining the position information of the actual connection point of each component based on the position information of each component and the connection relationship between the components; based on the position information of the actual connection point of each component, taking the center position of the actual connection point of each component as at least one target connection point of each component, and determining the position information of each target connection point; A connection relationship determination module, used to determine the connection relationship between each target connection point based on the connection relationship between each component and the position information of each target connection point; A candidate routing path determination module is used to determine the preset routing path closest to each target connection point based on the position information of each target connection point and the position information of the multiple preset routing paths; determine the foot of the perpendicular between each target connection point and the preset routing path closest to each target connection point as the virtual point corresponding to each target connection point; traverse the preset routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship, and determine multiple candidate routing paths between the two virtual points respectively corresponding to any two target connection points having a connection relationship; The target routing path determination module is used to determine the routing path with the shortest length among the multiple candidate routing paths as the target routing path between any two target connection points having a connection relationship.

7. An electronic device, It is characterized in that The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the cabinet wiring path determination method as described in any one of claims 1-5.

8. A computer-readable storage medium, It is characterized in that The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the cabinet wiring path determination method as described in any one of claims 1-5.