A wiring method, system, device, medium, and product
Patent Information
- Application Number
- CN202611291518.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-10-13
AI Technical Summary
[0005]本发明提供了一种接线方法、系统、设备、介质和产品,能够解决在无接线清单或接线清单未及时更新的场景下,手动接线操作繁琐且接线信息不准确,导致接线错误的问题
若匹配成功,则所述接线模块,用于基于所述第一目标接线点对应的第一接线方向,以及所述第二目标接线点对应的第二接线方向,确定所述第一目标接线点与所述第二目标接线点之间的导线模型,实现所述第一三维模型和所述第二三维模型之间的自动接线。
Smart Images

Figure CN122904465A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power equipment manufacturing technology, and in particular to a wiring method, system, device, medium, and product. Background Technology
[0002] In the field of power system secondary equipment cabinet design and manufacturing, 3D computer-aided design software has been widely used in cabinet layout, component installation, and cable laying. With the promotion of flexible manufacturing models, the design frequency of cabinet products has increased significantly, and the delivery cycle has been greatly compressed. Designers need to frequently deal with non-standard wiring scenarios such as design changes and temporary additional circuits.
[0003] Currently, most mainstream 3D wiring software adopts an automatic wiring method based on wiring lists. This method pre-maintains complete equipment terminal mapping relationships and cable connection definition tables in the project database. The software reads this structured data and batch parses and generates corresponding wiring models in the 3D scene.
[0004] However, this method is highly dependent on the completeness and accuracy of the front-end wiring list. When the project is in the early design stage and the wiring relationship has not yet been solidified, or when the wiring list is not updated in time due to temporary addition of circuits due to on-site needs, the software cannot obtain valid wiring definition data. Designers can only perform wiring operations by manually modeling segment by segment, which has drawbacks such as cumbersome operation steps and easy errors in wiring information. Summary of the Invention
[0005] This invention provides a wiring method, system, device, medium, and product that can solve the problem of cumbersome manual wiring operations and inaccurate wiring information leading to wiring errors in scenarios where there is no wiring list or the wiring list is not updated in a timely manner.
[0006] This invention provides a wiring method, comprising: Obtain at least two 3D models associated with project component identifiers, and determine a first 3D model among all the 3D models. Each connection point in the 3D model has a preset connection position attribute. The connection position attribute includes a connection position name used to uniquely identify the connection point, and a connection direction used to characterize the connection direction of the connection point. In response to a first selection operation applied to the first three-dimensional model, the first target connection point is determined, a second three-dimensional model is determined based on the first target connection point, and in response to a second selection operation applied to the second three-dimensional model, a second target connection point is determined; Verify whether the first wiring position name of the first target wiring point matches the second wiring position name of the second target wiring point; If the match is successful, the wire model between the first target connection point and the second target connection point is determined based on the first wiring direction corresponding to the first target connection point and the second wiring direction corresponding to the second target connection point, thereby realizing automatic wiring between the first three-dimensional model and the second three-dimensional model.
[0007] This invention constructs an intelligent wiring process of semantic predefinition, interactive selection, and automatic calculation. By pre-setting standardized wiring position attributes (including wiring position name and wiring direction) in the 3D model, the geometric model is transformed into a design object with electrical semantics. Through the verification mechanism of wiring position name, electrical design errors caused by problems such as mismatch of wiring point types are effectively prevented, thus improving the accuracy of automatic wiring. Combined with user interactive selection to determine the start and end points of the connection, the automatic fusion of multi-dimensional attributes generates a wire model, significantly improving the automation level and wiring accuracy of electrical design.
[0008] Furthermore, determining the second three-dimensional model based on the first target connection point specifically involves: In the software interface, at least one candidate 3D model that has a wiring relationship with the first target wiring point is determined according to the preset wiring rule library, and the candidate 3D model is visualized. In response to a model selection operation applied to the software interface, the second three-dimensional model is obtained.
[0009] By pre-setting a wiring rule base and proactively recommending connection models, and guiding users to quickly locate targets through visual displays, this significantly reduces the cost for users to find connection objects in complex projects and improves the efficiency and accuracy of wiring design.
[0010] Furthermore, determining the wire model between the first target connection point and the second target connection point based on the first wiring direction corresponding to the first target connection point and the second wiring direction corresponding to the second target connection point specifically involves: Obtain the first mounting panel corresponding to the first 3D model and the second mounting panel corresponding to the second 3D model, respectively; Based on the first wiring direction and the second wiring direction, and in combination with the first mounting panel, the second mounting panel and the preset wiring medium layout scheme, a candidate wiring path from the first target wiring point to the second target wiring point is determined. A target routing path is determined from the candidate routing paths, and the conductor model is determined based on the target routing path.
[0011] This approach enables an engineering-level cabling workflow that integrates panel constraints, media layout, path optimization, and entity generation. By introducing installation panels and cabling media layout schemes, the wiring design is upgraded from simple point-to-point connections to physical cabling that conforms to engineering realities. Based on spatial constraints, candidate paths are generated and target paths are selected to ensure that the conductor model fits the actual installation environment. This significantly improves the engineering feasibility and implementation accuracy of the wiring design, achieving a seamless transition from conceptual design to engineering implementation.
[0012] Furthermore, the routing medium includes cable trays and cable bundles. Specifically, determining the target routing path from the candidate routing paths and determining the conductor model based on the target routing path involves: If an initial routing path exists among all the candidate routing paths, then the shortest path is selected as the target routing path from all the initial routing paths, wherein the initial routing path refers to a routing path consisting entirely of the cable tray and the cable bundle. If it does not exist, the wire model is determined by using a flying wire connection method.
[0013] This design employs a multi-strategy path determination mechanism that prioritizes standardization, optimizes economics, and provides a flexible fallback. It prioritizes the use of standardized channels composed of cable trays and harnesses to ensure cabling quality, optimizes the shortest path to reduce costs, and uses flying wire connections to ensure design integrity when the standardized path is unavailable. This significantly improves the adaptability and robustness of the cabling strategy and achieves an organic unity between standardization and flexibility.
[0014] Furthermore, the response acts on the first selection operation of the first three-dimensional model to determine the first target connection point, specifically as follows: In the software interface, each first connection point of the first three-dimensional model and the connection direction corresponding to each first connection point are visualized according to the preset first visualization scheme. In response to the first selection operation applied to the software interface, the first target connection point is determined among the first connection points.
[0015] This visualization approach uniformly presents candidate wiring points and their directional attributes, providing users with clear visual guidance. Simultaneously displaying directional information enhances spatial understanding, transforming wiring point selection from blind searching to directional positioning. This significantly improves the intuitiveness and efficiency of wiring operations and optimizes the human-computer interaction experience.
[0016] Another embodiment of the present invention provides a wiring system, including: an acquisition module, a wiring point determination module, a verification module, and a wiring module; The acquisition module is used to acquire at least two three-dimensional models associated with project component identifiers, and to determine a first three-dimensional model among all the three-dimensional models. Each connection point in the three-dimensional model has a preset connection position attribute. The connection position attribute includes a connection position name used to uniquely identify the connection point, and a connection direction used to characterize the connection direction of the connection point. The connection point determination module is used to respond to a first selection operation applied to the first three-dimensional model, determine the first target connection point, determine the second three-dimensional model based on the first target connection point, and respond to a second selection operation applied to the second three-dimensional model to determine the second target connection point; The verification module is used to verify whether the first wiring position name of the first target wiring point matches the second wiring position name of the second target wiring point. If the match is successful, the wiring module is used to determine the wire model between the first target wiring point and the second target wiring point based on the first wiring direction corresponding to the first target wiring point and the second wiring direction corresponding to the second target wiring point, so as to realize the automatic wiring between the first three-dimensional model and the second three-dimensional model.
[0017] The wiring system provided in this invention constructs an intelligent wiring architecture of semantic predefinition, interactive selection, and automatic calculation through the collaborative work of an acquisition module, a connection point determination module, and a wiring module. In the system, the 3D model is pre-set with standardized wiring position attributes (including wiring position name and wiring direction), transforming the geometric model into a design object with electrical semantics. The verification module effectively prevents electrical design errors caused by mismatched connection point types, improving the accuracy of automatic wiring. The connection point determination module determines the start and end points of the wiring based on user interaction selection, and the wiring module automatically integrates multi-dimensional attributes (especially wiring direction) to generate a conductor model, significantly improving the automation level and wiring accuracy of electrical design.
[0018] Furthermore, the wiring module is also used for: Obtain the first mounting panel corresponding to the first 3D model and the second mounting panel corresponding to the second 3D model, respectively; Based on the first wiring direction and the second wiring direction, and in combination with the first mounting panel, the second mounting panel and the preset wiring medium layout scheme, a candidate wiring path from the first target wiring point to the second target wiring point is determined. A target routing path is determined from the candidate routing paths, and the conductor model is determined based on the target routing path.
[0019] In this way, when determining the wiring model, the wiring module also incorporates the installation panel and cabling media layout scheme (cable trays, cable harnesses, flying wires, etc.), realizing an engineering-level cabling process of panel constraints, media layout, path optimization, and entity generation. Based on the first and second wiring directions, combined with the spatial position of the installation panel and the preset cabling media layout, this module can intelligently plan candidate cabling paths and select the target path, ensuring that the generated wiring model fits the actual cabinet installation environment. Compared to traditional simple point-to-point wiring, this system significantly improves the engineering feasibility and implementation accuracy of wiring design, achieving a seamless transition from conceptual design to engineering implementation. It is particularly suitable for flexible manufacturing scenarios without a preset wiring list or with frequent design changes.
[0020] Another embodiment of the present invention provides a terminal device, including: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the steps of the wiring method of the present invention.
[0021] Another embodiment of the present invention provides a computer-readable storage medium item, including: a stored computer program, which, when the computer program is running, controls the device where the computer-readable storage medium is located to perform the steps of the wiring method of the present invention.
[0022] Another embodiment of the present invention also provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the wiring method as described in any one of the first aspects. Attached Figure Description
[0023] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0024] Figure 1 This is a schematic flowchart of a wiring method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram showing a highlighted first three-dimensional model provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of selecting a first target connection point provided by an embodiment of the present invention; Figure 4 This is a schematic diagram showing a highlighted second three-dimensional model provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of a display for selecting a second target connection point provided in an embodiment of the present invention. Figure 6 This is a schematic diagram of a wire model provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of a wiring system provided in an embodiment of the present invention. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0026] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0027] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0028] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0029] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0030] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0031] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0032] See Figure 1 To address the problems of cumbersome manual wiring operations and inaccurate wiring information in scenarios where there is no wiring list or the wiring list is not updated in a timely manner, an embodiment of the present invention provides a wiring method, comprising: Step 101: Obtain at least two 3D models associated with the project component identifier, and determine the first 3D model among all the 3D models. Each connection point in the 3D model has a preset connection position attribute. The connection position attribute includes a connection position name used to uniquely identify the connection point, and a connection direction used to characterize the connection direction of the connection point.
[0033] In the above steps, when the user activates the automatic wiring function in the project, at least two deployed 3D models associated with project component identifiers are retrieved from the current project scenario. The user selects one of these 3D models as the first 3D model (i.e., the wiring start-up model) by clicking or selecting with a mouse. The 3D model is a pre-retrieved 3D solid model retrieved from the component library and placed at a designated location in the project cabinet. Each 3D model has pre-set wiring position attributes during the modeling phase. These attributes are attached to each wiring point of the model in the form of structured fields. The wiring position attributes contain at least two fields: one is the wiring position name, used to uniquely identify the physical location of the wiring point within the component (e.g., "Input Terminal 1" or "Output Terminal 3"); the other is the wiring direction field, used to characterize the allowed spatial direction when leading wires out from the wiring point (e.g., "Horizontal to the left," "Vertical upward," or "45° angled output").
[0034] Furthermore, the wiring location attribute may also include the name of the connector, the connector specification or type that corresponds to the wiring point (such as "pin connector" or "fork connector"), to provide a basis for subsequent wiring matching.
[0035] Step 102: In response to the first selection operation applied to the first three-dimensional model, determine the first target connection point, determine the second three-dimensional model based on the first target connection point, and in response to the second selection operation applied to the second three-dimensional model, determine the second target connection point.
[0036] In the above steps, the response acts on the user's first selection operation on the first 3D model in the 3D scene, identifying the selected wiring point in the first 3D model as the first target wiring point. Subsequently, based on the component type, wiring location name, and other attributes of the first target wiring point, a preset wiring rule library is invoked to automatically identify at least one candidate 3D model that has a wiring relationship with the first 3D model, and interactive prompts are generated (such as highlighting candidate models in the interface or popping up a recommendation list) to guide the user to select one as the second 3D model. The response acts on the user's second selection operation on the second 3D model in the 3D scene, identifying the selected wiring point in the second 3D model as the second target wiring point. The first and second 3D models can be any two different models in the same project, and the user's selection operations on the two models have a temporal order.
[0037] Step 103: Verify whether the first wiring position name of the first target wiring point matches the second wiring position name of the second target wiring point.
[0038] In the above steps, the preset wiring position names (e.g., "Input Terminal 1") in the first target wiring point and the preset wiring position names (e.g., "Output Terminal 3") in the second target wiring point are read respectively. A predefined "wiring point name matching table" is read from the project file. This matching table defines the allowed matching relationships between different wiring position names and is stored in key-value pairs or a matrix. Using the first wiring position name as an index, the corresponding set of allowed matching names is searched in the matching table. If the second wiring position name exists in this set, the match is considered successful, and subsequent steps are executed; otherwise, the match is considered unsuccessful.
[0039] Furthermore, if the matching fails, a warning box can be set to pop up in the user interface, prompting "Connection point type mismatch (e.g., 'input terminal' cannot connect to 'power terminal'), please reselect the connection point", and terminate the current automatic wiring operation, waiting for the user to reselect the second target connection point or cancel the wiring.
[0040] Step 104: If the matching is successful, then based on the first wiring direction corresponding to the first target wiring point and the second wiring direction corresponding to the second target wiring point, determine the wire model between the first target wiring point and the second target wiring point, and realize the automatic wiring between the first three-dimensional model and the second three-dimensional model.
[0041] In the above steps, the first wiring direction to which the first target wiring point belongs is obtained, and the second wiring direction to which the second target wiring point belongs is obtained. The two sets of information obtained above are used as input to automatically generate a wire model connecting the first target wiring point and the second target wiring point in the three-dimensional scene, thereby realizing the automatic wiring construction between the two three-dimensional models.
[0042] Furthermore, the component identifiers, wiring location names, wiring directions, and wire model objects involved in this wiring can be associated and stored to form a wiring relationship record that can be called upon in subsequent processes.
[0043] As an example of an embodiment of the present invention, the response acting on the first selection operation of the first three-dimensional model to determine the first target connection point specifically includes: In the software interface, each first connection point of the first three-dimensional model and the connection direction corresponding to each first connection point are visualized according to the preset first visualization scheme. In response to the first selection operation applied to the software interface, the first target connection point is determined among the first connection points.
[0044] In this embodiment, as Figure 2 The image shown is a highlighted schematic of the first 3D model. Figure 4 The diagram shows a highlighted representation of the second 3D model. When the user activates the wiring function and selects the first 3D model, all pre-defined wiring points with wiring position attributes in the 3D model are identified. These points are then presented to the user interface in a preset visualization style distinct from the model body and other non-wiringable areas. This preset visualization style allows the user to quickly locate and distinguish the currently selectable wiring point. Simultaneously, at each wiring point presented in the 3D model, direction identification information corresponding to the preset wiring direction field of that wiring point is loaded and displayed. This direction identification information is attached to the wiring point location in the form of graphic symbols or text annotations, visually conveying to the user the permissible spatial direction when leading wires from that wiring point. For example, operable wiring points are highlighted (e.g., flashing red, blue highlighting, etc.) and the corresponding wiring direction symbol (e.g., arrow) is displayed simultaneously, intuitively indicating the permissible wiring direction for that point. Figure 3 The image shown is a schematic diagram of selecting the first target connection point. Figure 5The diagram shows the selection of the second target connection point. The user performs a selection operation (such as clicking the mouse) on any of the present connection points in the 3D scene. The selection operation is captured to determine the selected connection point as the first target connection point. The component identifier, connection position name and connection direction corresponding to the connection point are recorded as input parameters for the subsequent generation of the wire model.
[0045] As an example of an embodiment of the present invention, determining the second three-dimensional model based on the first target connection point specifically includes: In the software interface, at least one candidate 3D model that has a wiring relationship with the first target wiring point is determined according to the preset wiring rule library, and the candidate 3D model is visualized. In response to a model selection operation applied to the software interface, the second three-dimensional model is obtained.
[0046] In this embodiment, after the user selects the first target wiring point, the system automatically obtains the first component identifier, first wiring location name, and first wiring direction to which the wiring point belongs. This information is then used as query conditions to call a wiring rule library pre-installed in the project. This wiring rule library stores component type compatibility relationships, port function matching rules, connector specification correspondences, and wiring direction constraints. Based on the attribute information of the first target wiring point, the system traverses all deployed 3D models in the current project scene except for the first 3D model, determining whether each model has the compatibility conditions to establish an electrical connection with the first target wiring point. This includes, but is not limited to: whether the component type allows for connection establishment; whether there are functionally matching ports or channels; whether the preset connector specifications are consistent; and whether the wiring direction meets the wiring feasibility requirements. 3D models that have been determined to have wiring compatibility are identified as candidate 3D models, and a candidate model set is generated. This candidate model set contains at least one candidate 3D model. Interactive prompts are generated based on the candidate model set. These prompts clearly indicate to the user in the user interface that several candidate models capable of establishing a valid connection with the first target wiring point have been identified, guiding the user to select a second 3D model from these models. Guided by interactive prompts, the user selects a 3D model from the candidate model set as the second 3D model and continues to select the connection points for that model. In response to the user's selection instruction for the second 3D model, the system confirms that model as the second 3D model and enters the connection point selection process for that model.
[0047] As an example of an embodiment of the present invention, determining the wire model between the first target connection point and the second target connection point based on the first wiring direction corresponding to the first target connection point and the second wiring direction corresponding to the second target connection point specifically involves: obtaining the first mounting panel corresponding to the first three-dimensional model and the second mounting panel corresponding to the second three-dimensional model; determining candidate wiring paths from the first target connection point to the second target connection point based on the first mounting panel, the second mounting panel, and a preset wiring medium layout scheme; determining the target wiring path from the candidate wiring paths; and determining the wire model based on the target wiring path.
[0048] As an example of an embodiment of the present invention, the wiring medium includes a cable tray and a wire harness. The step of determining a target wiring path among the candidate wiring paths and determining the conductor model based on the target wiring path specifically involves: if an initial wiring path exists among all the candidate wiring paths, then the shortest path among all the initial wiring paths is selected as the target wiring path, wherein the initial wiring path refers to a wiring path consisting entirely of the cable tray and the wire harness; if it does not exist, then the conductor model is determined using a flying wire connection method.
[0049] In this embodiment, as Figure 6The diagram shows a schematic of the wiring model. After determining the first and second target connection points, the system automatically identifies the physical installation positions of the 3D models to which the two connection points belong in the current project scene. Specifically, it obtains the identifiers of the first mounting panel where the first 3D model is located and the second mounting panel where the second 3D model is located. The mounting panels are structural units within the cabinet used to fix components, and each mounting panel has independent spatial coordinates and geometric contours in the project scene. The system reads the cabling media layout scheme for the current cabinet scene from the project database. This cabling media layout scheme is pre-configured structured spatial data in the project scene, used to describe the laying positions, spatial directions, and connectivity of various cabling channels within the cabinet. The cabling media includes: cable trays, which are slotted cabling channels with continuous guiding structures; and cable bundles, which are bundled binding points or cable tie holes used to bundle and fix wires. The cabling media layout scheme is organized in the form of a 3D spatial network, recording the entry points, exit points, turning points, and topological connectivity between each cabling media. Based on the spatial positions of the first and second mounting panels and the topology of the wiring medium layout scheme, all physically accessible spatial wiring routes from the first connection point to the second connection point are calculated. Specifically, with the first connection point as the starting point and the second connection point as the ending point, a path search algorithm is executed in the topology of the wiring medium layout scheme to generate at least one candidate wiring path that connects the starting and ending points. Each candidate wiring path is composed of several continuous wiring medium segments and includes a complete spatial orientation description and the coordinates of key nodes along the route. From the generated candidate wiring paths, a target wiring path for actually generating the conductor model is determined. The criteria for determining the target wiring path include: prioritizing the initial wiring path consisting entirely of cable trays and wire bundles to ensure that the conductor laying conforms to the process specifications; under the premise of meeting the process specifications, prioritizing the path with the shortest path length among the initial wiring paths as the target wiring path; when there are multiple target wiring paths that meet the above conditions, the user can manually specify them according to the actual site conditions or the system can automatically select them according to a preset priority. Based on the determined target wiring path, a conductor model consistent with the spatial orientation of the path is generated in the 3D scene. This conductor model undergoes geometric fitting along each key node of the target wiring path to achieve a realistic laying effect that conforms to the cable tray orientation and crosses bundle binding points. Simultaneously, the node coordinates of the target wiring path and the identification of the wiring medium it passes through are associated with and written into the wiring relationship data for subsequent processes. If no candidate wiring path can be generated, or if there is no initial wiring path consisting entirely of cable trays and bundles, the system automatically switches to the flying wire connection mode. In the flying wire connection mode, wiring medium layout constraints are ignored, and the conductor model is generated using a straight line from the first connection point to the second connection point or a user-specified polygonal line as the target wiring path.
[0050] like Figure 7 As shown, based on the above-described method embodiments, an embodiment of the present invention provides a wiring system 700, including: an acquisition module 701, a wiring point determination module 702, a verification module 703, and a wiring module 704; The acquisition module 701 is used to acquire at least two three-dimensional models associated with the project component identifier, and to determine a first three-dimensional model among all the three-dimensional models. Each connection point in the three-dimensional model has a preset connection position attribute. The connection position attribute includes a connection position name used to uniquely identify the connection point, and a connection direction used to characterize the connection direction of the connection point. The connection point determination module 702 is used to respond to a first selection operation applied to the first three-dimensional model, determine the first target connection point, determine the second three-dimensional model based on the first target connection point, and respond to a second selection operation applied to the second three-dimensional model to determine the second target connection point; The verification module 703 is used to verify whether the first wiring position name of the first target wiring point matches the second wiring position name of the second target wiring point. The wiring module 704 is used to determine the wire model between the first target wiring point and the second target wiring point based on the first wiring direction corresponding to the first target wiring point and the second wiring direction corresponding to the second target wiring point if the matching is successful, so as to realize the automatic wiring between the first three-dimensional model and the second three-dimensional model.
[0051] Furthermore, the wiring module 704 is also used for: Obtain the first mounting panel corresponding to the first 3D model and the second mounting panel corresponding to the second 3D model, respectively; Based on the first wiring direction and the second wiring direction, and in combination with the first mounting panel, the second mounting panel and the preset wiring medium layout scheme, a candidate wiring path from the first target wiring point to the second target wiring point is determined. A target routing path is determined from the candidate routing paths, and the conductor model is determined based on the target routing path.
[0052] It is understood that the above system embodiments correspond to the method embodiments of the present invention, and can implement the wiring method provided by any of the above method embodiments of the present invention.
[0053] It should be noted that the system embodiments described above are merely illustrative, and some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the system embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0054] For ease of description and brevity, the system embodiments of the present invention include all the implementation methods described in the above wiring method embodiments, and will not be repeated here.
[0055] Based on the above-described wiring method embodiments, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the wiring method of any embodiment of the present invention.
[0056] For example, in this embodiment, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.
[0057] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0058] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.
[0059] Based on the above-described method embodiments, another embodiment of the present invention provides a computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the wiring method described in any of the above-described method embodiments of the present invention.
[0060] Based on the above-described method embodiments, this invention also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of any of the above-described method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0061] The modules / units integrated in the device / terminal equipment, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0062] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A wiring method, characterized in that, include: Obtain at least two 3D models associated with project component identifiers, and determine a first 3D model among all the 3D models. Each connection point in the 3D model has a preset connection position attribute. The connection position attribute includes a connection position name used to uniquely identify the connection point, and a connection direction used to characterize the connection direction of the connection point. In response to a first selection operation applied to the first three-dimensional model, the first target connection point is determined, a second three-dimensional model is determined based on the first target connection point, and in response to a second selection operation applied to the second three-dimensional model, a second target connection point is determined; Verify whether the first wiring position name of the first target wiring point matches the second wiring position name of the second target wiring point; If the match is successful, the wire model between the first target connection point and the second target connection point is determined based on the first wiring direction corresponding to the first target connection point and the second wiring direction corresponding to the second target connection point, thereby realizing automatic wiring between the first three-dimensional model and the second three-dimensional model.
2. The wiring method as described in claim 1, characterized in that, The step of determining the second three-dimensional model based on the first target connection point specifically involves: In the software interface, at least one candidate 3D model that has a wiring relationship with the first target wiring point is determined according to the preset wiring rule library, and the candidate 3D model is visualized. The second three-dimensional model is obtained in response to the model selection operation applied to the software interface.
3. The wiring method as described in claim 1, characterized in that, The step of determining the wire model between the first target connection point and the second target connection point based on the first wiring direction corresponding to the first target connection point and the second wiring direction corresponding to the second target connection point specifically involves: Obtain the first mounting panel corresponding to the first 3D model and the second mounting panel corresponding to the second 3D model, respectively; Based on the first wiring direction and the second wiring direction, and in combination with the first mounting panel, the second mounting panel and the preset wiring medium layout scheme, a candidate wiring path from the first target wiring point to the second target wiring point is determined. A target routing path is determined from the candidate routing paths, and the conductor model is determined based on the target routing path.
4. The wiring method as described in claim 3, characterized in that, The wiring medium includes wire channels and wire harnesses. The step of determining a target wiring path from the candidate wiring paths and determining the conductor model based on the target wiring path specifically involves: If an initial routing path exists among all the candidate routing paths, then the shortest path is selected as the target routing path from all the initial routing paths, wherein the initial routing path refers to a routing path consisting entirely of the cable tray and the cable bundle. If it does not exist, the wire model is determined by using a flying wire connection method.
5. The wiring method as described in claim 1, characterized in that, The response acts on the first selection operation of the first three-dimensional model to determine the first target connection point, specifically: In the software interface, each first connection point of the first three-dimensional model and the connection direction corresponding to each first connection point are visualized according to the preset first visualization scheme. In response to the first selection operation applied to the software interface, the first target connection point is determined among the first connection points.
6. A wiring system, characterized in that, include: Acquisition module, connection point determination module, verification module, and wiring module; The acquisition module is used to acquire at least two three-dimensional models associated with project component identifiers, and to determine a first three-dimensional model among all the three-dimensional models. Each connection point in the three-dimensional model has a preset connection position attribute. The connection position attribute includes a connection position name used to uniquely identify the connection point, and a connection direction used to characterize the connection direction of the connection point. The connection point determination module is used to respond to a first selection operation applied to the first three-dimensional model, determine the first target connection point, determine the second three-dimensional model based on the first target connection point, and respond to a second selection operation applied to the second three-dimensional model to determine the second target connection point; The verification module is used to verify whether the first wiring position name of the first target wiring point matches the second wiring position name of the second target wiring point. The wiring module is used to determine the wire model between the first target wiring point and the second target wiring point based on the first wiring direction corresponding to the first target wiring point and the second wiring direction corresponding to the second target wiring point if the match is successful, so as to realize the automatic wiring between the first three-dimensional model and the second three-dimensional model.
7. The wiring system as described in claim 6, characterized in that, The wiring module is also used for: Obtain the first mounting panel corresponding to the first 3D model and the second mounting panel corresponding to the second 3D model, respectively; Based on the first wiring direction and the second wiring direction, and in combination with the first mounting panel, the second mounting panel and the preset wiring medium layout scheme, a candidate wiring path from the first target wiring point to the second target wiring point is determined. A target routing path is determined from the candidate routing paths, and the conductor model is determined based on the target routing path.
8. A terminal device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the wiring method as described in any one of claims 1-5.
9. A computer-readable storage medium, characterized in that, include: A stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the wiring method as described in any one of claims 1-5.
10. A computer program product, characterized in that, include: Computer instructions, when executed by a processor, implement the wiring method as described in any one of claims 1-5.