Wire harness drawing method and device and storage medium
By introducing an atomic library into the online harness design software, the part deployment logic and attribute matching relationship are obtained, and the problem of complex and inefficient wiring harness drawing process in the existing technology is solved, and a simplified wiring harness drawing process and improved drawing efficiency are achieved.
Patent Information
- Application Number
- CN202411772286.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-14
AI Technical Summary
In the process of drawing the harness of the existing wiring harness design software such as Captial Harness System, the part needs to be drawn first and then the part properties are set, resulting in the complex and inefficient drawing process.
By introducing an atomic library, the part deployment logic and part attribute matching relationship corresponding to the target drawing object are obtained, and the harness drawing process is simplified. The specific method includes determining the connected part type according to the part deployment logic when a newly drawn part is made on the display interface, and displaying the matching part attribute information according to the part attribute matching relationship, obtaining selection information and drawing the corresponding parts.
It eliminates the tedious steps of setting part properties during the drawing process, simplifies the wiring harness drawing process, and improves the wiring harness drawing efficiency.
Smart Images

Figure CN119623091A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical design technology, and in particular to a wire harness drawing method, device and storage medium. Background Art
[0002] With the gradual development of the new energy era, society's requirements for wiring harness design are gradually increasing. In related technologies, wiring harness design software such as Captial Harness System is often used for wiring harness drawing.
[0003] However, when using the Captial Harness System to draw the wiring harness for schematic diagrams and wiring diagrams, it is necessary to draw the parts first and then set the part properties. Therefore, the drawing process is very complicated and the drawing efficiency is low. Summary of the invention
[0004] Based on the above-mentioned defects and shortcomings of the prior art, the present application proposes a wire harness drawing method, device and storage medium, which simplifies the wire harness drawing process by introducing an atomic library and based on the part deployment logic and part attribute matching relationship therein.
[0005] According to a first aspect of the present application, a wire harness drawing method is provided, comprising:
[0006] In the process of automatically drawing the wire harness for the target drawing object, the part deployment logic corresponding to the drawing object type to which the target drawing object belongs and the part attribute matching relationship corresponding to the target drawing object are respectively obtained from the pre-configured atomic library. Whenever a part of the target drawing object is newly drawn on the display interface, the following operations are performed on the newly drawn part until the newly drawn part is the last part of the target drawing object:
[0007] Determine the part type to be connected to the part type of the newly drawn part according to the obtained part deployment logic, and determine all parts whose attribute information can match the newly drawn part according to the obtained part attribute matching relationship among the parts corresponding to the determined part type;
[0008] Displaying attribute information of all matched parts, and obtaining part selection information determined based on the displayed attribute information;
[0009] Corresponding parts are drawn on the display interface according to the obtained part selection information.
[0010] According to the wire harness drawing method provided in the first aspect of the present application, the method further includes:
[0011] For each of the plurality of drawing object types, respectively obtain a part deployment logic configured according to a connection relationship between all part types therein;
[0012] For one or more drawing objects in each drawing object type, respectively obtain part attribute matching relationships configured according to attributes that need to be satisfied for adaptation between all connected part types therein;
[0013] The atomic library is obtained according to the configured multiple part deployment logics and multiple part attribute matching relationships.
[0014] According to the wire harness drawing method provided in the first aspect of the present application, the method further includes:
[0015] Checking the obtained part deployment logics respectively according to the pre-set part deployment rules of multiple drawing object types;
[0016] Prompts are given for part deployment logic that does not conform to the corresponding part deployment rules.
[0017] According to the wire harness drawing method provided in the first aspect of the present application, the method further includes:
[0018] In the process of manually drawing a wire harness for a target drawing object, receiving drawing operation information for each part of the target drawing object, and drawing the corresponding part on the display interface according to the obtained drawing operation information;
[0019] A part deployment rule corresponding to the drawing object type to which the target drawing object belongs is obtained from pre-set part deployment rules of multiple drawing object types, and the part deployment logic generated by the part drawing process is checked according to the obtained part deployment rule.
[0020] According to the wire harness drawing method provided in the first aspect of the present application, each part drawn on the display interface includes: a control point; the method further includes:
[0021] Acquire adjustment operation information for a control point of any part drawn on the display interface; wherein the adjustment operation information includes: position movement operation information, zoom-in operation information and zoom-out operation information;
[0022] Perform adjustment operations on corresponding parts according to the obtained adjustment operation information.
[0023] According to the wire harness drawing method provided in the first aspect of the present application, the method further includes:
[0024] Displaying the attribute information of each part drawn on the display interface;
[0025] The display mode of the attribute information of each part includes any of the following:
[0026] Displaying attribute information of the corresponding part in a preset display area corresponding to each part on the display interface;
[0027] When the cursor moves to any part, the property information of the part is displayed;
[0028] In response to a preset operation being applied to any part, attribute information of the part to which the preset operation is applied is displayed.
[0029] According to the wire harness drawing method provided in the first aspect of the present application, the target drawing object includes: an ICD module;
[0030] In response to the target drawing object being the ICD module, the types of parts drawn on the display interface include: equipment, connectors, and wires.
[0031] According to the wire harness drawing method provided in the first aspect of the present application, the method further includes:
[0032] In response to the situation that a plurality of target drawing objects have been drawn on the display interface, at least two of which are ICD modules, and at least two ICD modules both contain wires with the same attribute information, the wires with the same attribute information contained between at least two ICD modules are connected.
[0033] According to a second aspect of the present application, there is provided a wire harness drawing device, comprising: a memory and a processor;
[0034] The memory is connected to the processor and is used to store programs;
[0035] The processor is used to implement any of the above-mentioned wire harness drawing methods by running the program in the memory.
[0036] According to a third aspect of an embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned wire harness drawing methods is implemented.
[0037] The present application provides a wire harness drawing method, device and storage medium, which respectively obtains the part deployment logic corresponding to the drawing object type to which the target drawing object belongs and the part attribute matching relationship corresponding to the target drawing object from the pre-configured atomic library. In the process of automatically drawing the wire harness for the target drawing object, the obtained part deployment logic and part attribute matching relationship are used to match the connected part type and attribute of each newly drawn part on the display interface, and the attribute information of the matched part is displayed for selection, and the corresponding part is drawn according to the obtained part selection information until the target drawing object is obtained. Therefore, the tedious steps of setting part attributes in the drawing process are omitted, thereby simplifying the wire harness drawing process and improving the efficiency of wire harness drawing. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0039] Figure 1 A schematic diagram of a process flow of a wire harness drawing method provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram of a flow chart of an atomic library configuration provided in an embodiment of the present application;
[0041] Figure 3 A schematic diagram of a flowchart of a method for implementing a drawing preview provided in an embodiment of the present application;
[0042] Figure 4 A flowchart of another method for implementing a drawing preview provided in an embodiment of the present application;
[0043] Figure 5 A structural schematic diagram of a wire harness drawing device is provided for an embodiment of the present application;
[0044] Figure 6 A schematic structural diagram of a wire harness drawing device is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] The present application embodiment provides a wire harness drawing method, such as Figure 1 As shown, the method includes:
[0047] In the process of automatically drawing the wire harness for the target drawing object, the part deployment logic corresponding to the drawing object type to which the target drawing object belongs and the part attribute matching relationship corresponding to the target drawing object are respectively obtained from the pre-configured atomic library. Whenever a part of the target drawing object is newly drawn on the display interface, the following operations are performed on the newly drawn part until the newly drawn part is the last part of the target drawing object:
[0048] Step 100: determining the part type to be connected to the part type of the newly drawn part according to the obtained part deployment logic, and determining all parts whose attribute information can match the newly drawn part according to the obtained part attribute matching relationship among the parts corresponding to the determined part type;
[0049] Step 110: displaying attribute information of all matched parts, and obtaining part selection information determined based on the displayed attribute information;
[0050] Step 120: Draw corresponding parts on the display interface according to the obtained part selection information.
[0051] There are multiple parts deployment logics and multiple parts attribute matching relationships in the atomic library. Each drawing object type corresponds to a part deployment logic. Each drawing object type includes one drawing object or multiple drawing objects with different attributes. Multiple drawing objects of the same drawing object type correspond to a part attribute matching relationship. Therefore, it is necessary to first obtain the part deployment logic corresponding to the drawing object type to which the target drawing object belongs from the multiple parts deployment logics contained in the atomic library, and then obtain the part attribute matching relationship corresponding to the target drawing object from the multiple parts attribute matching relationships contained in the atomic library.
[0052] Each part deployment logic is obtained according to the connection relationship configuration between all part types in the corresponding drawing object type, and each part attribute matching relationship is obtained according to the attribute configuration that needs to be satisfied between the connected part types in the corresponding drawing object. Therefore, according to the obtained part deployment logic, the part type that will be connected to the part type of the newly drawn part can be determined, and according to the obtained part attribute matching relationship, among all the parts corresponding to the determined part type, all the parts whose attribute information can match the newly drawn part can be further determined for selection by the wire harness drawer.
[0053] Exemplarily, the attribute information may refer to the model information of the part, or other characteristic information. For example, when the part is a wire, the attribute information may refer to the type, color, cross-sectional area, product structure, subsystem information, head end information, end end information, etc. When the part is a connector, the attribute information may refer to the supplier part number, color, number of spaces, flame retardant grade, temperature tolerance, etc.
[0054] Exemplarily, the part selection information can be obtained by the wire harness drawer clicking on the selected part based on the displayed attribute information, or by the wire harness drawer inputting the selected part information in the designated information input area based on the displayed attribute information, which is not limited in the present application.
[0055] Exemplarily, it is assumed that there are drawing object types including: engine, ignition coil, and the engine and the ignition coil correspond to a part deployment logic respectively. Taking the engine as an example, the engine can include the following part types: engine body, connector, wire, and the part deployment logic corresponding to the engine can be: engine body connected to connector, connector connected to wire. Therefore, when a new engine body is drawn on the display interface, according to the part deployment logic corresponding to the engine, it can be determined that the part type to be connected to the newly drawn engine body is a connector. When a new connector is drawn on the display interface, according to the part deployment logic corresponding to the engine, it can be determined that the part type to be connected to the newly drawn connector is a wire. When a new engine body is drawn on the display interface, according to the part deployment logic corresponding to the engine, it can be determined that the part type to be connected to the newly drawn engine body is a connector. Since the engine can include multiple models, the properties that need to be satisfied between the connected part types in each model of the engine are different, so it is necessary to further determine the connector that can be connected to it according to the properties of the engine body.
[0056] For example, an A1 engine body can be connected to B1 and B2 connectors, a B1 connector can be connected to a C1 wire, and a B2 connector can be connected to a C2 wire; an A2 engine body can be connected to B3 and B4 connectors, a B3 connector can be connected to a C3 wire, and a B4 connector can be connected to a C4 wire. When the wire harness drawer receives the selection information for the A2 engine body and draws the engine body on the display interface, the attribute information of the B3 connector and the B4 connector is displayed on the display interface for the wire harness drawer to select; when the wire harness drawer receives the selection information for the B3 connector and draws the connector on the display interface, the attribute information of the C3 wire is displayed on the display interface for the wire harness drawer to select; when the wire harness drawer receives the selection information for the C3 wire, the wire is drawn on the display interface.
[0057] The wire harness drawing method provided in the embodiment of the present application obtains the part deployment logic corresponding to the drawing object type to which the target drawing object belongs and the part attribute matching relationship corresponding to the target drawing object from the pre-configured atomic library. In the process of automatically drawing the wire harness for the target drawing object, the obtained part deployment logic and part attribute matching relationship are used to match the part type and attribute of the connected parts for each newly drawn part on the display interface, and the attribute information of the matched parts is displayed for selection, and the part selection information is obtained and the corresponding parts are drawn until the target drawing object is obtained. Therefore, the tedious steps of setting part attributes in the drawing process are omitted, thereby simplifying the wire harness drawing process and improving the efficiency of wire harness drawing.
[0058] The harness drawing method provided in the embodiment of the present application can prompt the connected part type for each newly drawn part on the display interface according to the obtained part deployment logic. If the harness drawer selects the corresponding part type in each step of the part selection process, then the part deployment logic of the target drawing object finally drawn must conform to the part deployment logic of the corresponding type. However, in practice, the harness drawer often skips the selection of the corresponding part type in one or more steps of the part selection process, resulting in the part deployment logic of the target drawing object finally drawn not conforming to the part deployment logic of the corresponding type.
[0059] To this end, in an exemplary embodiment, the method further includes: detecting in real time whether the part deployment logic of the target drawing object is correct.
[0060] In an exemplary embodiment, if Figure 2 As shown, the method also includes:
[0061] Step 200: for each drawing object type among the multiple drawing object types, respectively obtain a part deployment logic configured according to the connection relationship between all part types therein;
[0062] Step 210: for one or more drawing objects in each drawing object type, respectively obtain a part attribute matching relationship configured according to the attributes that need to be satisfied between all connected part types therein;
[0063] Step 220: Obtain the atomic library according to the configured multiple part deployment logics and multiple part attribute matching relationships.
[0064] Exemplarily, corresponding part deployment logics can be configured for multiple drawing object types according to the connection relationships between part types in the multiple drawing object types, and corresponding part attribute matching relationships can be configured according to the attributes that need to be satisfied for adaptation between connected part types in one or more drawing objects in each drawing object type. Then, the part deployment logics corresponding to the configured multiple drawing object types and the part attribute matching relationships corresponding to one or more drawing objects in each drawing object type are saved in the atomic library for subsequent application.
[0065] In an exemplary embodiment, the method further comprises:
[0066] First, the obtained part deployment logic is checked respectively according to the pre-set part deployment rules for various drawing object types;
[0067] Secondly, prompts are given for part deployment logic that does not conform to the corresponding part deployment rules.
[0068] The part deployment logic corresponding to different drawing object types should comply with the corresponding rules when configuring. The part deployment rules can be used to perform local design rule checking (DRC) on the configuration information. For example, when configuring the part deployment logic corresponding to the engine, the deployment logic of connecting the engine body to the connector and the connector to the wire should be followed. If the engine body is directly connected to the wire during the configuration process, the deployment logic formed is inconsistent with the engine part deployment rules. The inconsistent part deployment logic is prompted so that the wire harness drawer can modify it.
[0069] The harness drawing method provided in the embodiment of the present application can check the part deployment logic of the atomic library, thereby ensuring the correctness of the part deployment logic configuration.
[0070] In an exemplary embodiment, the method further comprises:
[0071] First, in the process of manually drawing a wire harness for a target drawing object, drawing operation information for each part of the target drawing object is received, and corresponding parts are drawn on the display interface according to the obtained drawing operation information;
[0072] Secondly, a part deployment rule corresponding to the drawing object type to which the target drawing object belongs is obtained from the pre-set part deployment rules of multiple drawing object types, and the part deployment logic generated by the part drawing process is checked according to the obtained part deployment rule.
[0073] The wire harness drawing method provided in the embodiment of the present application also provides a manual drawing method, which can be manually drawn by the wire harness drawer, and during the drawing process, the part deployment logic generated by the part drawing process is checked according to the obtained part deployment rules, thereby ensuring the correctness of the part deployment logic during the manual wire harness drawing process.
[0074] In an exemplary embodiment, each part drawn on the display interface includes: a control point; the method further includes:
[0075] First, the adjustment operation information for the control point of any part drawn on the display interface is obtained; wherein the adjustment operation information includes: position movement operation information, zoom-in operation information and zoom-out operation information;
[0076] Secondly, the corresponding parts are adjusted according to the obtained adjustment operation information.
[0077] According to the control points of any part drawn on the display interface, operations such as moving the part position, zooming in on the part, and reducing the part can be performed, thereby meeting the personalized wire harness drawing requirements of the wire harness drawer.
[0078] In an exemplary embodiment, the method further comprises:
[0079] Displaying the attribute information of each part drawn on the display interface;
[0080] The display mode of the attribute information of each part includes any of the following:
[0081] Displaying attribute information of the corresponding part in a preset display area corresponding to each part on the display interface;
[0082] When the cursor moves to any part, the property information of the part is displayed;
[0083] In response to a preset operation being applied to any part, attribute information of the part to which the preset operation is applied is displayed.
[0084] Exemplarily, the preset display area corresponding to each part may be an area pre-demarcated for each part for displaying its attribute information.
[0085] Exemplarily, the preset operation may be a click operation performed by using a mouse, or other operations, which is not limited in the present application.
[0086] In an exemplary embodiment, the target drawing object includes: an integrated circuit design module (ICD) module;
[0087] In response to the target drawing object being the ICD module, the types of parts drawn on the display interface include: equipment, connectors, and wires.
[0088] ICD modules refer to software modules or hardware modules used for integrated circuit design. These modules are widely used in electronic design automation tools to help engineers design, analyze, verify and optimize integrated circuits. ICD modules cover all aspects from circuit design, simulation, physical layout to manufacturing.
[0089] Exemplarily, when the target drawing object is an ICD module, the automatic drawing includes the automatic drawing of connectors and the automatic drawing of wires, and the connectors are automatically drawn to the default width and height; the automatic drawing of wires adopts the automatic layout algorithm existing in the software, and automatically draws the wires in the orthogonal mode according to the positions of the wire pins and the width and height of their connectors, so that the drawings seen by the wire harness drawer are clearer, and the wire harness drawer can automatically adjust the connector size and the wire position.
[0090] In an exemplary embodiment, the method further comprises:
[0091] In response to the situation that multiple target drawing objects have been drawn on the display interface, at least two of which are ICD modules, and at least two ICD modules contain wires with the same attribute information, the wires (also called loop numbers) with the same attribute information contained between at least two ICD modules are connected.
[0092] The wire harness drawing method provided in the embodiment of the present application also provides a drawing preview function, thereby providing a way for the wire harness drawer to determine whether the configuration is correct, so as to facilitate more in-depth analysis and decision-making. The drawing preview function can be implemented in the following way: a preview button is provided on the display interface, and when the wire harness drawer clicks the preview button, the drawing information corresponding to the target drawing object is displayed.
[0093] The present application also provides a method for implementing a drawing preview, such as Figure 3 As shown, including:
[0094] Step 300, click the Preview button.
[0095] Step 310: Setting default display sizes for different parts of the target drawing object.
[0096] For example, the default width of the device is set to 20 mm and the height is 40 mm, the default width of the plug is set to 10 mm and the height is set to 20 mm, and the default length of the wire is set to 30 mm;
[0097] Step 320: Draw the target drawing object according to the part deployment logic.
[0098] For example, place a plug (a type of connector) in different positions of the device, such as the left side or the right side, change the position of the plug, add the plug pin number, and add wires downward in sequence.
[0099] Step 330: Set a default window in the background and draw the target drawing object in the center of the window.
[0100] Step 340: Preview the target drawing object.
[0101] The present application also provides a method for implementing a drawing preview, such as Figure 4 As shown, including:
[0102] Step 400: Perform minimum ICD module configuration according to the component deployment logic.
[0103] Step 410, determine whether the configured ICD module passes the DRC test. When it is determined that the configured ICD module cannot pass the DRC test, end the process; when it is determined that the configured ICD module can pass the DRC test, execute step 403.
[0104] Step 420: Preview the configured ICD module.
[0105] When dragging a device, the wires will be automatically laid out. By calculating the bounding boxes of the two devices and the distance between the wires, wires with orthogonal characteristics are drawn, and the wires will not intersect, thereby reducing the workload of manual analysis and improving efficiency and accuracy.
[0106] The embodiment of the present application also provides a wire harness drawing device, which, in the process of automatically drawing a wire harness for a target drawing object, obtains the part deployment logic corresponding to the drawing object type to which the target drawing object belongs and the part attribute matching relationship corresponding to the target drawing object from the pre-configured atomic library, and whenever a part of the target drawing object is newly drawn on the display interface, performs the following operations on the newly drawn part until the newly drawn part is the last part of the target drawing object. Figure 5 As shown, including:
[0107] The processing unit 500 is used to determine the part type to be connected to the part type of the newly drawn part according to the obtained part deployment logic, and determine all parts whose attribute information can match the newly drawn part according to the obtained part attribute matching relationship among the parts corresponding to the determined part type;
[0108] An interactive unit 510, used to display the attribute information of all matched parts and obtain part selection information determined based on the displayed attribute information;
[0109] The drawing unit 520 is used to draw the corresponding parts on the display interface according to the obtained part selection information.
[0110] The wire harness drawing device provided in the embodiment of the present application obtains the part deployment logic corresponding to the drawing object type to which the target drawing object belongs and the part attribute matching relationship corresponding to the target drawing object from the pre-configured atomic library. In the process of automatically drawing the wire harness for the target drawing object, the obtained part deployment logic and part attribute matching relationship are used to match the connected part type and attribute of each newly drawn part on the display interface, and the attribute information of the matched part is displayed for selection, and the corresponding part is drawn according to the obtained part selection information until the target drawing object is obtained. Therefore, the tedious steps of setting part attributes in the drawing process are omitted, thereby simplifying the wire harness drawing process and improving the efficiency of wire harness drawing.
[0111] The wire harness drawing device provided in this embodiment belongs to the same application concept as the wire harness drawing method provided in the above embodiments of this application, can execute the method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the wire harness drawing method. For technical details not fully described in this embodiment, please refer to the specific processing content of the wire harness drawing method provided in the above embodiments of this application, and will not be repeated here.
[0112] The functions implemented by the above processing unit 500, interaction unit 510, and drawing unit 520 can be implemented by the same or different processors, respectively, and the embodiments of the present application are not limited thereto.
[0113] It should be understood that each unit in the above device can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of each unit of the device, wherein the processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory in the device or a memory outside the device. Alternatively, the unit in the device can be implemented in the form of a hardware circuit, and the functions of some or all units can be realized by designing the hardware circuit. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all units above are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD, taking FPGA as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by a configuration file, so as to realize the functions of some or all units above. All units of the above device can be implemented in the form of a processor calling software, or in the form of a hardware circuit, or in the form of a processor calling software, and the remaining part can be implemented in the form of a hardware circuit.
[0114] In an embodiment of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor may be a circuit with the ability to read and run instructions, such as a CPU, a microprocessor, a GPU, or a DSP; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, DPU, etc.
[0115] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0116] In addition, all or part of the units in the above devices can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0117] The present application also provides a wire harness drawing device, such as Figure 6 As shown, it includes: a memory 600 and a processor 610;
[0118] The memory 600 is connected to the processor 610 and is used to store programs;
[0119] The processor is used to implement the wire harness drawing method described in any of the above embodiments by running the program in the memory.
[0120] Specifically, the wire harness drawing device may further include: a bus, a communication interface 620 , an input device 630 and an output device 640 .
[0121] The processor 610, the memory 600, the communication interface 620, the input device 630 and the output device 640 are connected to each other via a bus.
[0122] A bus may include a pathway that transfers information between components of a computer system.
[0123] The processor 610 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0124] The processor 610 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0125] The memory 600 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 600 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0126] The input device 630 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0127] Output device 640 may include a device that allows information to be output to a user, such as a display screen, printer, speaker, etc.
[0128] The communication interface 620 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.
[0129] The processor 610 executes the program stored in the memory 600 and calls other devices, which can be used to implement each step of any one of the wire harness drawing methods provided in the above embodiments of the present application.
[0130] In addition to the above methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the wire harness drawing method according to various embodiments of the present application described in any of the above embodiments of this specification.
[0131] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0132] In addition, an embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the wire harness drawing method described in any of the above embodiments is implemented.
[0133] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0134] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. 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.
[0135] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0136] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0137] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0138] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0140] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0141] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0142] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0143] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A wire harness drawing method, characterized in that: include: In the process of automatically drawing the wire harness for the target drawing object, the part deployment logic corresponding to the drawing object type to which the target drawing object belongs and the part attribute matching relationship corresponding to the target drawing object are respectively obtained from the pre-configured atomic library. Whenever a part of the target drawing object is newly drawn on the display interface, the following operations are performed on the newly drawn part until the newly drawn part is the last part of the target drawing object: Determine the part type to be connected to the part type of the newly drawn part according to the obtained part deployment logic, and determine all parts whose attribute information can match the newly drawn part according to the obtained part attribute matching relationship among the parts corresponding to the determined part type; Displaying attribute information of all matched parts, and obtaining part selection information determined based on the displayed attribute information; Corresponding parts are drawn on the display interface according to the obtained part selection information.
2. The method according to claim 1, characterized in that The method further comprises: For each of the plurality of drawing object types, respectively obtain a part deployment logic configured according to a connection relationship between all part types therein; For one or more drawing objects in each drawing object type, respectively obtain part attribute matching relationships configured according to attributes that need to be satisfied for adaptation between all connected part types therein; The atomic library is obtained according to the configured multiple part deployment logics and multiple part attribute matching relationships.
3. The method according to claim 2, characterized in that The method further comprises: Checking the obtained part deployment logics respectively according to the pre-set part deployment rules of multiple drawing object types; Prompts are given for part deployment logic that does not conform to the corresponding part deployment rules.
4. The method according to claim 1, characterized in that: The method further comprises: In the process of manually drawing a wire harness for a target drawing object, receiving drawing operation information for each part of the target drawing object, and drawing the corresponding part on the display interface according to the obtained drawing operation information; A part deployment rule corresponding to the drawing object type to which the target drawing object belongs is obtained from pre-set part deployment rules of multiple drawing object types, and the part deployment logic generated by the part drawing process is checked according to the obtained part deployment rule.
5. The method according to claim 1, characterized in that Each part drawn on the display interface includes: a control point; the method further includes: Acquire adjustment operation information for a control point of any part drawn on the display interface; wherein the adjustment operation information includes: position movement operation information, zoom-in operation information and zoom-out operation information; Perform adjustment operations on corresponding parts according to the obtained adjustment operation information.
6. The method according to claim 1, characterized in that The method further comprises: Displaying the attribute information of each part drawn on the display interface; The display mode of the attribute information of each part includes any of the following: Displaying attribute information of the corresponding part in a preset display area corresponding to each part on the display interface; When the cursor moves to any part, the property information of the part is displayed; In response to a preset operation being applied to any part, attribute information of the part to which the preset operation is applied is displayed.
7. The method according to claim 1, characterized in that The target drawing object includes: an ICD module; In response to the target drawing object being the ICD module, the types of parts drawn on the display interface include: equipment, connectors, and wires.
8. The method according to claim 7, characterized in that The method further comprises: In response to the situation that a plurality of target drawing objects have been drawn on the display interface, at least two of which are ICD modules, and at least two ICD modules both contain wires with the same attribute information, the wires with the same attribute information contained between at least two ICD modules are connected.
9. A wire harness drawing device, characterized in that: include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the wire harness drawing method according to any one of claims 1 to 8 by running the program in the memory.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the wire harness drawing method according to any one of claims 1 to 8 is implemented.