Cable processing design method and device, electronic equipment and storage equipment
By automatically obtaining and processing cable selection data and end selection data, and automatically generating cable processing styles and details, the problems of large workload and error-prone caused by manual drawing of cable diagrams and copying detailed lists in the prior art are solved, and efficient and accurate cable design is achieved.
Patent Information
- Application Number
- CN202411915653.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-11
AI Technical Summary
The existing cable design technology uses manual method to draw cable diagrams and copy cable details, resulting in large workloads and error-prone.
By obtaining the initial file with electrical connection attributes, the cable selection data and end selection data are automatically obtained, and the cable processing styles and details are automatically generated based on these data, which are displayed in the cable processing diagrams and reports.
An automated cable design process is realized, reducing the time and error rate of manual operation, and improving design efficiency and accuracy.
Smart Images

Figure CN119808406A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated design technology, and in particular to a cable processing design method, device, electronic equipment and storage device. Background Art
[0002] In the field of automated electrical equipment manufacturing, it is usually necessary to purchase cables from outside or customize the cables based on specific production requirements.
[0003] In the existing cable processing design technology, after completing the electrical schematic design, the designer manually draws the cable processing diagram according to the electrical logic of the schematic diagram, and organizes the cable material list at the same time. Due to the complex styles and wide variety of cable processing drawings, manual drawing takes a lot of time, and a large number of repetitive tasks such as copying drawings and statistical reports are performed at the same time. The workload is large, which increases the design cost, prolongs the production cycle, and is prone to errors in the drawing of cable processing drawings. Summary of the invention
[0004] The present invention provides a cable processing design method, device, electronic device and storage device to solve the problem that the existing cable design adopts manual drawing of cable diagrams and transcription of cable lists, resulting in a large workload and prone to errors. The cable diagrams and cable lists are automatically generated to improve the design efficiency.
[0005] According to one aspect of the present invention, a cable processing design method is provided, comprising: obtaining an initial file having electrical connection properties; obtaining cable selection data and terminal selection data based on the electrical connection properties recorded in the initial file; wherein the cable selection data includes at least one of the following: cable property information and a cable stamp; the terminal selection data includes at least one of the following: terminal material information and a terminal stamp; determining a cable processing style according to the electrical connection properties, the cable selection data and the terminal selection data, and displaying the cable processing style in a cable processing diagram, and / or determining cable details according to the cable selection data and the terminal selection data, and displaying the cable details in a cable processing report.
[0006] Optionally, the cable processing style is determined according to the electrical connection properties, the cable selection data and the terminal selection data, and the cable processing style is displayed on the cable processing diagram, including: obtaining cable ownership information of different cable cores and auxiliary material number ownership information of different cable numbers based on the electrical connection properties; determining a cable hierarchical structure according to the cable ownership information and the auxiliary material number ownership information; determining the cable processing style according to the cable selection data, the terminal selection data and the cable hierarchical structure.
[0007] Optionally, determining the cable processing style according to the electrical connection properties, the cable selection data and the terminal selection data, and displaying the cable processing style in a cable processing drawing, further includes: obtaining the frame information of the cable processing drawing; adjusting the cable layout position and scaling ratio according to the cable stamp, the terminal stamp and the frame information, so that the cable cores under the same cable number are displayed in the same cable processing drawing.
[0008] Optionally, determining cable details based on the cable selection data and the terminal selection data, and displaying the cable details in a cable processing report, includes: generating a report template in response to a custom operation instruction for the cable processing report; extracting data from the cable selection data and the terminal selection data based on header information in the report template; and adding the extracted data to the cable processing report.
[0009] Optionally, the acquiring of cable selection data and terminal selection data based on the electrical connection properties recorded in the initial file includes: generating the cable selection data in response to an operation instruction for a preset cable database; generating the terminal selection data in response to an operation instruction for a preset terminal database.
[0010] Optionally, the cable processing design method also includes: updating the electrical connection properties, the cable selection data and the terminal selection data in response to an editing instruction for the initial file; and outputting an updated cable processing drawing and / or cable processing report based on the updated electrical connection properties, the cable selection data and the terminal selection data.
[0011] Optionally, the cable processing design method further includes: obtaining a material stamp based on the components recorded in the electrical connection attributes; generating an electrical wiring diagram according to the material stamp and wiring diagram constraint information; and verifying the cable processing diagram according to the electrical wiring diagram.
[0012] According to another aspect of the present invention, a cable processing design device is provided, comprising: a first acquisition module for acquiring an initial file having electrical connection properties; a second acquisition module for acquiring cable selection data and terminal selection data based on the electrical connection properties recorded in the initial file; wherein the cable selection data includes at least one of the following: cable property information and a cable stamp; the terminal selection data includes at least one of the following: terminal material information and a terminal stamp; a design output module for determining a cable processing style according to the electrical connection properties, the cable selection data and the terminal selection data, and displaying the cable processing style on a cable processing drawing, and / or determining cable details according to the cable selection data and the terminal selection data, and displaying the cable details in a cable processing report.
[0013] According to another aspect of the present invention, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned cable processing design method.
[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the above-mentioned cable processing design method when executed by a processor.
[0015] The technical solution of the embodiment of the present invention obtains an initial file with electrical connection attributes; obtains cable selection data and terminal selection data based on the electrical connection attributes recorded in the initial file; determines the cable processing style according to the electrical connection attributes, the cable selection data and the terminal selection data, and displays the cable processing style in the cable processing drawing, and / or determines the cable details according to the cable selection data and the terminal selection data, and displays the cable details in the cable processing report, which solves the problem that the existing cable design uses manual drawing of cable diagrams and copying of cable detail lists, resulting in a large workload and prone to errors. It automatically generates cable processing drawings and cable detail lists, improves design efficiency, can realize standardized design of cable diagram styles and component structures, better matches cable production needs, avoids unnecessary errors caused by drawing and copying, and improves the accuracy of cable diagram design and cable processing efficiency.
[0016] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flow chart of a cable processing design method provided by an embodiment of the present invention;
[0019] Figure 2 A flow chart of a method for generating a cable processing diagram provided by an embodiment of the present invention;
[0020] Figure 3 A flowchart of a method for generating cable processing details provided by an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of a cable processing diagram of a single-line cable provided in an embodiment of the present invention;
[0022] Figure 5 A schematic diagram of a cable processing diagram of a one-to-many cable provided by an embodiment of the present invention;
[0023] Figure 6 A schematic diagram of a cable processing diagram of a cable with a tube provided in an embodiment of the present invention;
[0024] Figure 7 A schematic diagram of a cable processing diagram of a twisted pair cable provided in an embodiment of the present invention;
[0025] Figure 8 A flow chart of another cable processing design method provided by an embodiment of the present invention;
[0026] Fig. 9 A flow chart of another cable processing design method provided by an embodiment of the present invention;
[0027] Fig.10 A schematic diagram of the structure of a cable processing design device provided by an embodiment of the present invention;
[0028] Fig.11 A schematic structural diagram of an electronic device for implementing the cable processing design method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Figure 1 This is a flow chart of a cable processing design method provided by an embodiment of the present invention. This embodiment can be applied to the application scenario of automatically generating a cable processing diagram after the electrical schematic diagram is drawn. The method can be executed by a cable processing design device, which can be implemented in the form of hardware and / or software. The cable processing design device can be configured in an electronic device with electrical design functions. Figure 1 As shown, the cable processing design method of the present application comprises the following steps:
[0032] S1: Get an initial file with electrical connection properties.
[0033] Among them, the electrical connection properties can be understood as the connection characteristics that realize signal transmission or control functions between components, terminals and other electrical parts in the electronic circuit. In this embodiment, the electrical connection properties include but are not limited to any of the following: electrical connection path, connection method and connection terminal type. Typically, the electrical connection path is not limited to: one-to-one connection, one-to-many connection and electrical parts connected at each end. The connection method includes but is not limited to: crimping, plug-in connection or welding. The connection terminal type includes but is not limited to: screw terminal, spring terminal, plug-in terminal, fence terminal and track terminal.
[0034] The initial file can be understood as a file that records the electrical connection properties that can realize the complete or partial signal transmission or control function of the electronic circuit. In this application, the initial file can be a DWG format file (such as an electrical schematic) or a spreadsheet file (such as an Excel table corresponding to the electrical schematic).
[0035] Specifically, an initial file capable of realizing a specific signal transmission or control function may be obtained by importing an external file into the drawing software or by custom editing the electrical connection properties in the drawing software.
[0036] S2: Obtain cable selection data and terminal selection data based on the electrical connection properties recorded in the initial file.
[0037] Among them, cable selection data can be understood as parameters and indicators that describe and define cable performance, characteristics and application scenarios. Typically, cable selection data includes at least one of the following: cable attribute information and cable stamp. Typically, cable attribute information includes but is not limited to: the number of cable cores, cable wire diameter, cable rated voltage, cable cross-sectional area, insulation layer material, flame retardant grade, shielding method (such as aluminum foil shielding or tinned copper wire shielding) and other special properties (including but not limited to: axial tensile strength, minimum bending radius, weather resistance and corrosion resistance).
[0038] Terminal selection data can be understood as parameters and indicators used to determine and select suitable cable terminals (such as terminal blocks, connectors, etc.) when connecting or terminal processing cables. Typically, terminal selection data includes at least one of the following: terminal material information and terminal stamp. Terminal material information includes but is not limited to: basic information (including but not limited to: conductor cross-section, rated voltage and operating conditions), wiring method, terminal component structure (including but not limited to: insulating sleeve, connector and protective tube), terminal type (terminal type includes but is not limited to: single hole, double hole, socket and hook), terminal material (silver-plated copper, zinc-plated copper, copper, aluminum, iron), and additional functional design.
[0039] Optionally, the cable selection data and the terminal selection data are obtained based on the electrical connection properties recorded in the initial file, including: generating the cable selection data in response to an operation instruction for a preset cable database; generating the terminal selection data in response to an operation instruction for a preset terminal database. The preset cable database can be understood as a data set established based on the correspondence between cable option data such as cable property information and cable stamps and electrical connection properties; the preset terminal database can be understood as a data set established based on the correspondence between terminal selection data such as terminal material information and terminal stamps and electrical connection properties.
[0040] Specifically, the preset cable database and the preset terminal database can be imported into the drawing software and displayed through the display window. Designers can select the data in the preset cable database and the preset terminal database based on the electrical connection properties (such as electrical connection path, connection method and connection terminal type) recorded in the initial file (such as the electrical schematic) to configure, modify or add the terminal material information, terminal stamp and cable attribute information.
[0041] S3: Determine the cable processing style according to the electrical connection properties, the cable selection data and the terminal selection data, and display the cable processing style in the cable processing diagram, and / or determine the cable details according to the cable selection data and the terminal selection data, and display the cable details in the cable processing report.
[0042] The cable processing style can be understood as the different types, specifications, structures, processing techniques and appearances of the cable during the processing process. Typically, the cable processing style includes but is not limited to: single-wire cable, one-to-many cable, cable with conduit and twisted-pair cable.
[0043] The cable processing drawing can be understood as a drawing used to guide the cable processing process and describe the cable processing style and specifications. In this embodiment, the cable processing drawing includes but is not limited to the following: cable type and specifications (such as conductor cross-section, number of cores and voltage level, etc.), cable structure (such as arrangement, size and material of each part such as conductor, insulation layer, shielding layer, sheath, etc.), size and annotation (such as total length of the cable, length, diameter, angle and other parameters of each part), connection and joint (such as type, size, material and connection method of connector, etc.).
[0044] Cable details can be understood as a list of various characteristics and parameters of materials such as cables and terminals. Cable processing reports can be understood as reports that record the details of materials required during cable processing. Typically, cable processing reports include but are not limited to: cable details (including but not limited to: cable code, version, quantity), cable material details (including but not limited to: material code, specification, quantity, remarks), cable cost accounting table (including but not limited to: material accounting and processing fee accounting).
[0045] In this embodiment, the cable processing report can be partially displayed in the cable processing diagram, and the cable processing report can be used to display the material details in the cable processing diagram.
[0046] Specifically, by obtaining electrical connection properties and the cable properties and terminal material information corresponding to the electrical connection properties, the terminal stamp is automatically called to draw the cable processing drawing, and the material information is automatically called to fill in the detailed list. This solves the problem that the existing cable design uses manual drawing of cable diagrams and copying of cable detailed lists, which leads to heavy workload and easy errors. The cable diagram and cable detailed list are automatically generated to improve the design efficiency, and the standardized design of cable diagram style and composition structure can be achieved to better match the cable production needs, avoid unnecessary errors caused by drawing and copying, and improve the accuracy of cable diagram design and cable processing efficiency.
[0047] Figure 2 A flowchart of a method for generating a cable processing diagram provided by an embodiment of the present invention. Figure 2As shown, in the above step S3, the cable processing style is determined according to the electrical connection properties, the cable selection data and the terminal selection data, and the cable processing style is displayed on the cable processing diagram, including:
[0048] S301: Obtaining the cable ownership information of different cable cores and the auxiliary material number ownership information of different cable numbers based on the electrical connection attributes.
[0049] The cable ownership information of the cable core can be understood as information recording the cable number to which the cable core belongs. In this embodiment, different cable numbers correspond to different cables.
[0050] The auxiliary material number attribution information can be understood as information recording the drawing code to which the cable number belongs. In this embodiment, one or more cable numbers can be recorded in the same processing drawing.
[0051] In this embodiment, the correspondence between the electrical connection attributes and the cable ownership information and the auxiliary material number ownership information can be customized based on actual production needs.
[0052] S302: Determine the cable hierarchy structure according to the cable ownership information and the auxiliary material number ownership information.
[0053] The cable hierarchical structure can be understood as the arrangement level and structure of the cables of each component. Typically, the cable hierarchical structure includes but is not limited to: cable segment location, segment cable length and segment cable type.
[0054] S303: Determine the cable processing style according to the cable selection data, the terminal selection data and the cable hierarchy structure.
[0055] Specifically, a traversal algorithm (such as a breadth-first algorithm) can be used to identify the cable ownership of the core in the schematic diagram and the auxiliary material number ownership information of the cable number, and the cable hierarchy structure can be reasonably allocated in combination with the electrical connection properties or circuit functions in the electronic circuit. For example, cores with the same function (such as power supply or transmission of control signals) and connected to the same or close electrical parts are classified under the same cable number, and cables that realize the same signal transmission or control function are classified as the same auxiliary material number ownership information. Finally, the cable processing style required for processing is generated by combining the hierarchical structure of each core in the cable hierarchy structure, the cable selection data corresponding to the core, and the terminal selection data corresponding to different connection ends of the core. The cable ownership and auxiliary material number ownership information of the core in the schematic diagram are automatically identified through the traversal algorithm, so that the cable processing style and composition structure are more standardized, meet the production needs of the cable factory, and improve the cable processing efficiency.
[0056] See also Figure 2As shown, in the above step S3, the cable processing style is determined according to the electrical connection properties, the cable selection data and the terminal selection data, and the cable processing style is displayed on the cable processing diagram, which also includes:
[0057] S304: Acquire the frame information of the cable processing drawing.
[0058] The frame information includes but is not limited to the image size or the effective border size of the frame.
[0059] S305: Adjust the cable layout position and scaling ratio according to the cable stamp, terminal stamp and frame information so that the cable cores under the same cable number are displayed in the same cable processing drawing.
[0060] Specifically, according to the size of the terminal stamp, the number of cable cores, the size of the cable stamps corresponding to different cores, and the effective frame size of the drawing frame recorded in the schematic diagram, the layout position and scaling ratio of the cable stamp and the terminal stamp in the cable processing drawing are adjusted to ensure that the cable cores under the same cable code are generated in the same cable processing drawing (such as DWG format drawings). By adaptively adjusting the material stamps, the integrity and readability of the cable processing drawing are improved, and the problem of data loss caused by the cable processing drawing exceeding the drawing frame is avoided.
[0061] Figure 3 A flowchart of a method for generating cable processing details provided by an embodiment of the present invention. Figure 3 As shown, in the above step S3, the cable details are determined according to the cable selection data and the terminal selection data, and the cable details are displayed in the cable processing report, including:
[0062] S310: In response to a custom operation instruction for a cable processing report, a report template is generated.
[0063] S320: extracting the cable selection data and the terminal selection data based on the header information in the report template.
[0064] S330: Add the extracted data to the cable processing report.
[0065] Specifically, by reading all the headers of the report template, the data items that need to be counted, such as material number, quantity, specification, etc., can be determined, and the data recorded in the cable selection data and the terminal selection data can be traversed. If a matching header is found, the column number is recorded, and the matching column is copied, and the data recorded in the column is added to the column corresponding to the same data item in the cable processing report.
[0066] Figure 4 A schematic diagram of a cable processing diagram of a single-line cable provided in an embodiment of the present invention; Figure 5A schematic diagram of a cable processing diagram of a one-to-many cable provided by an embodiment of the present invention; Figure 6 A schematic diagram of a cable processing diagram of a cable with a tube provided in an embodiment of the present invention; Figure 7 A schematic diagram of a cable processing diagram of a twisted pair cable provided in an embodiment of the present invention.
[0067] See also Figures 4 to 7 As shown, when generating a cable processing diagram, the materials in the diagram can be automatically labeled, such as terminal 1, sleeve 2, and cable 3, etc., and the harness label is used to distinguish the cable ownership information. For example, W02 indicates that the cable core belongs to a single-wire cable, W03 indicates that the cable core belongs to a one-to-many cable, W01 indicates that the cable core belongs to a cable with a tube, and W12 indicates that the cable core belongs to a twisted-pair cable. Furthermore, a cable processing report can be added to the cable processing diagram, and the material code, specification, quantity and other information of different materials (such as terminal 1, sleeve 2, cable 3) can be marked in the cable processing report.
[0068] Figure 8 A flowchart of another cable processing design method provided by an embodiment of the present invention is shown in FIG. Figure 8 As shown, the cable processing design method of the present application includes:
[0069] S801: Acquire an initial file with electrical connection attributes.
[0070] S802: In response to an edit instruction for the initial file, update electrical connection properties, cable selection data, and terminal selection data.
[0071] In this embodiment, the editing instructions for the initial file include, but are not limited to: component selection data modification, terminal attribute modification, and electrical connection logic modification.
[0072] S803: Outputting an updated cable processing diagram and / or cable processing report according to the updated electrical connection properties, cable selection data, and terminal selection data.
[0073] Specifically, the initial file and its corresponding cable processing drawings and cable processing reports can be saved as templates. After the initial file is modified, only the modification parameters need to be adjusted to quickly output a new cable processing drawing. This process also avoids unnecessary errors caused by drawing and reading meters, thereby improving design efficiency.
[0074] Fig. 9 A flowchart of another cable processing design method provided by an embodiment of the present invention is shown in FIG. Fig. 9 As shown, the cable processing design method of the present application includes the following steps:
[0075] S901: Acquire an initial file with electrical connection attributes.
[0076] S902: Obtain cable selection data and terminal selection data based on the electrical connection properties recorded in the initial file.
[0077] S903: Determine the cable processing style according to the electrical connection properties, the cable selection data and the terminal selection data, and display the cable processing style in the cable processing diagram, and / or determine the cable details according to the cable selection data and the terminal selection data, and display the cable details in the cable processing report.
[0078] S904: Obtain a material stamp based on the component recorded in the electrical connection attribute, and generate an electrical wiring diagram according to the material stamp and wiring diagram constraint information.
[0079] Among them, the wiring diagram constraint information can be understood as the layout constraint requirements that need to be followed when drawing and interpreting electrical wiring diagrams based on the safety, reliability and maintainability of the electrical system. Optionally, the wiring diagram constraint information includes: frame size, stamp spacing threshold, and spacing threshold between annotations and connecting lines. Among them, the frame size can be understood as a parameter that characterizes the size of the electrical wiring diagram, such as A2, A3, etc.; the stamp spacing threshold can be understood as the maximum value and / or minimum value used to limit the spacing distance between two adjacent stamps; the spacing threshold between annotations and connecting lines can be understood as the maximum value and / or minimum value used to limit the spacing distance between the text to be annotated and the connecting line.
[0080] In this embodiment, an electrical symbol library can be established to store the correspondence between materials, stamps, and wiring logic, and the corresponding material stamp can be determined by accessing the electrical symbol library and looking up a table.
[0081] S905: Verify the cable processing diagram according to the electrical wiring diagram.
[0082] Specifically, the components recorded in the electrical connection attributes are matched with the materials in the pre-stored database (such as the electrical symbol library), and the abstract components, terminals and other contents are converted into specific component stamps or terminal stamps to realize the visualization of text data. After obtaining the graphical symbol (i.e., the material stamp), the placement of the material stamp is determined by calculating the material stamp and the wiring diagram constraint information, and the corresponding electrical wiring diagram is displayed. After obtaining the electrical wiring diagram, the connection relationship between the wire core and the terminal in the cable processing diagram can be verified by the connection relationship between the wire core and the terminal in the electrical wiring diagram to verify the accuracy of the cable processing diagram.
[0083] Based on the same inventive concept as the above embodiments, an embodiment of the present invention further provides a cable processing design device, which can execute the cable processing design method provided by any embodiment of the present invention.
[0084] Fig.10The structure diagram of a cable processing design device provided by an embodiment of the present invention is shown in FIG. Fig.10 As shown, the cable processing design device includes: a first acquisition module 101, a second acquisition module 102 and a design output module 103.
[0085] Among them, the first acquisition module 101 is used to obtain an initial file with electrical connection properties; the second acquisition module 102 is used to obtain cable selection data and terminal selection data based on the electrical connection properties recorded in the initial file; wherein the cable selection data includes at least one of the following: cable property information and cable stamp; the terminal selection data includes at least one of the following: terminal material information and terminal stamp; the design output module 103 is used to determine the cable processing style according to the electrical connection properties, the cable selection data and the terminal selection data, and display the cable processing style on the cable processing diagram, and / or, determine the cable details according to the cable selection data and the terminal selection data, and display the cable details in the cable processing report.
[0086] Optionally, the design output module 103 is configured to: obtain cable ownership information of different cable cores and auxiliary material number ownership information of different cable numbers based on electrical connection properties; determine the cable hierarchy structure according to the cable ownership information and the auxiliary material number ownership information; determine the cable processing style according to the cable selection data, terminal selection data and the cable hierarchy structure.
[0087] Optionally, the design output module 103 is further configured to: obtain the frame information of the cable processing drawing; adjust the cable layout position and zoom ratio according to the cable stamp, terminal stamp and frame information, so that the cable cores under the same cable number are displayed in the same cable processing drawing.
[0088] Optionally, the design output module 103 is also configured to: generate a report template in response to a custom operation instruction for a cable processing report; extract cable selection data and terminal selection data based on header information in the report template; and add the extracted data to the cable processing report.
[0089] Optionally, the second acquisition module 102 is configured to: generate cable selection data in response to an operation instruction for a preset cable database; generate terminal selection data in response to an operation instruction for a preset terminal database.
[0090] Optionally, the cable processing design device of the present application is also configured to: update electrical connection properties, cable selection data and terminal selection data in response to editing instructions for the initial file; and output updated cable processing drawings and / or cable processing reports based on the updated electrical connection properties, cable selection data and terminal selection data.
[0091] Optionally, the cable processing design device of the present application is further configured to: obtain a material stamp based on the components recorded in the electrical connection properties; generate an electrical wiring diagram according to the material stamp and wiring diagram constraint information; and verify the cable processing diagram according to the electrical wiring diagram.
[0092] The cable processing design method device provided in the embodiment of the present invention can execute the cable processing design method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method, and the same parts will not be repeated.
[0093] Based on any of the above embodiments, an embodiment of the present invention also provides an electronic device, the electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above cable processing design method.
[0094] Fig.11 A schematic diagram of an electronic device that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0095] like Fig.11 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0096] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0097] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the above-mentioned cable processing design method.
[0098] In some embodiments, the cable processing design method described above may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the cable processing design method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the cable processing design method described above in any other appropriate manner (e.g., by means of firmware).
[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0100] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0101] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0102] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0103] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0104] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A cable processing design method, characterized in that: include: Obtaining an initial file with electrical connection properties; Based on the electrical connection properties recorded in the initial file, the cable selection data and the terminal selection data are obtained; wherein the cable selection data includes at least one of the following: cable property information and cable stamp; the terminal selection data includes at least one of the following: terminal material information and terminal stamp; Determine a cable processing style based on the electrical connection properties, the cable selection data and the terminal selection data, and display the cable processing style on a cable processing diagram, and / or determine cable details based on the cable selection data and the terminal selection data, and display the cable details in a cable processing report.
2. The cable processing design method according to claim 1, characterized in that: The determining of the cable processing style according to the electrical connection attributes, the cable selection data and the terminal selection data, and displaying the cable processing style on the cable processing diagram, comprises: Based on the electrical connection attributes, the cable ownership information of different cable cores and the auxiliary material number ownership information of different cable numbers are obtained; Determine the cable hierarchy structure according to the cable ownership information and the auxiliary material number ownership information; The cable processing style is determined according to the cable selection data, the terminal selection data and the cable hierarchical structure.
3. The cable processing design method according to claim 2, characterized in that: The determining of the cable processing style according to the electrical connection attributes, the cable selection data and the terminal selection data, and displaying the cable processing style on the cable processing diagram, further includes: Obtaining frame information of the cable processing drawing; The cable layout position and scaling ratio are adjusted according to the cable stamp, the terminal stamp and the frame information so that the cable cores under the same cable number are displayed in the same cable processing drawing.
4. The cable processing design method according to claim 1, characterized in that: The determining of cable details according to the cable selection data and the terminal selection data, and displaying the cable details in a cable processing report, includes: In response to the custom operation instruction for the cable processing report, a report template is generated; Extracting the cable selection data and the terminal selection data based on the header information in the report template; The extracted data is added to the cable processing report.
5. The cable processing design method according to claim 1, characterized in that: The acquiring of the cable selection data and the terminal selection data based on the electrical connection attributes recorded in the initial file includes: In response to an operation instruction for a preset cable database, generating the cable selection data; The terminal selection data is generated in response to an operation instruction for a preset terminal database.
6. The cable processing design method according to any one of claims 1 to 5, characterized in that: Also includes: In response to an edit instruction for the initial file, updating the electrical connection attributes, the cable selection data, and the terminal selection data; Output an updated cable processing diagram and / or cable processing report according to the updated electrical connection properties, the cable selection data and the terminal selection data.
7. The cable processing design method according to any one of claims 1 to 5, characterized in that: Also includes: obtaining a material stamp based on the component recorded in the electrical connection attribute; generating an electrical wiring diagram according to the material stamp and wiring diagram constraint information; The cable processing diagram is verified according to the electrical wiring diagram.
8. A cable processing design device, characterized in that: include: A first acquisition module, used to acquire an initial file having electrical connection attributes; A second acquisition module is used to acquire cable selection data and terminal selection data based on the electrical connection properties recorded in the initial file; wherein the cable selection data includes at least one of the following: cable property information and cable stamp; the terminal selection data includes at least one of the following: terminal material information and terminal stamp; An output module is designed to determine a cable processing style according to the electrical connection properties, the cable selection data and the terminal selection data, and display the cable processing style in a cable processing diagram, and / or to determine cable details according to the cable selection data and the terminal selection data, and display the cable details in a cable processing report.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the cable processing design method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cable processing design method according to any one of claims 1 to 7 when executed.
Citation Information
Cited By
Self-made cable parameter configuration system and method and electronic equipment
CN120724512A
Server cable design method, product, equipment and storage medium
CN121256100A
A server cable design method, product, device and storage medium
CN121256100B