CN112507500B - Cable model construction method, device, computer equipment and storage medium - Google Patents

Cable model construction method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112507500B
CN112507500B CN202011472976.0A CN202011472976A CN112507500B CN 112507500 B CN112507500 B CN 112507500B CN 202011472976 A CN202011472976 A CN 202011472976A CN 112507500 B CN112507500 B CN 112507500B
Authority
CN
China
Prior art keywords
cable
model
node
main line
branch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011472976.0A
Other languages
Chinese (zh)
Other versions
CN112507500A (en
Inventor
刘恩博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Radio And Tv Measurement And Testing Group Co ltd
Original Assignee
Radio And Tv Measurement And Testing Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Radio And Tv Measurement And Testing Group Co ltd filed Critical Radio And Tv Measurement And Testing Group Co ltd
Priority to CN202011472976.0A priority Critical patent/CN112507500B/en
Publication of CN112507500A publication Critical patent/CN112507500A/en
Application granted granted Critical
Publication of CN112507500B publication Critical patent/CN112507500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/16Cables, cable trees or wire harnesses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a cable model construction method, a device, computer equipment and a storage medium. The method comprises the following steps: and identifying the bifurcation point of the cable in the cable basic model, dividing the cable in the cable basic model according to the bifurcation point to obtain a plurality of bifurcation segments, constructing nodes of each bifurcation segment, determining a main line node from the nodes, and generating a cable model according to the main line node and the plurality of bifurcation segments. By adopting the method, the cable topological structure can be automatically constructed according to the cable basic model, so that the cable model is generated, the cable basic model is not required to be processed manually, and the cable topological structure is generated, and the construction efficiency of the cable model is improved.

Description

Cable model construction method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of electromagnetic simulation technologies, and in particular, to a cable model building method, a device, a computer device, and a storage medium.
Background
With the development of computational electromagnetics, electromagnetic simulation technology is increasingly applied to various electromagnetic problems. Wherein, for cable crosstalk problem in electromagnetic problem, modeling analysis can be performed by adopting CST simulation software with cable working chamber.
When modeling and analyzing the cable crosstalk problem by using CST simulation software, modeling the whole 3D environment by using CAD software is needed, after a CAD basic model is obtained, the CAD basic model is imported into the CST simulation software, and a cable 3D topological structure is manually established according to the imported CAD basic model.
However, when the current CST simulation software builds a cable 3D topological structure according to the imported basic model, the problem of low modeling efficiency of the cable 3D topological structure exists.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a cable model building method, apparatus, computer device, and storage medium that can improve the efficiency of modeling a cable 3D topology.
In a first aspect, the present application provides a method for constructing a cable model, where the method includes:
identifying a bifurcation point of a cable in the cable base model;
dividing the cable in the cable basic model according to the bifurcation points to obtain a plurality of bifurcation segments, and constructing nodes of each bifurcation segment;
determining a main line node from the slave nodes;
and generating a cable model according to the main line node and the plurality of branching sections.
In one embodiment, generating a cable model from a main line node and a plurality of branch segments includes:
combining the plurality of branching sections according to the main line node to obtain a cable path model;
and generating a cable model according to the cable path model.
In one embodiment, combining the plurality of branch segments according to the main line node to obtain the cable path model includes:
determining a main line segment and a branch line segment from a plurality of branch line segments according to the main line node;
and combining the main line segment and the branch line segment to obtain the cable path model.
In one embodiment, generating a cable model from a cable path model includes:
acquiring a main cable section model corresponding to the main cable section and a branch cable section model corresponding to the branch cable section;
and generating a cable model according to the main line segment, the main cable section model, the branch line segment and the branch cable section model.
In one embodiment, the cable model building method further includes:
importing a cable base model from a CAD application;
acquiring a segmentation instruction based on a preset setting interface;
the step of identifying the bifurcation point of the cable in the cable base model is performed in accordance with the segmentation instructions.
In one embodiment, determining a master line node from the nodes includes:
acquiring a selection instruction based on a setting interface; the setting interface comprises option labels corresponding to all nodes, and the selection instruction comprises node identifiers selected by a user;
and determining the node corresponding to the node identifier as a main line node according to the selection instruction.
In one embodiment, the cable model building method further includes:
and performing crosstalk simulation solving on the cable model to obtain a cable crosstalk result.
In a second aspect, the present application provides a cable model building apparatus, the apparatus comprising:
the identifying module is used for identifying the bifurcation point of the cable in the cable basic model;
the segmentation module is used for segmenting the cable in the cable basic model according to the bifurcation points to obtain a plurality of segmentation segments and constructing nodes of each segmentation segment;
the determining module is used for determining a main line node from the nodes;
and the generating module is used for generating a cable model according to the main line node and the plurality of branching sections.
In a third aspect, the present application provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any one of the embodiments of the first aspect described above when the computer program is executed by the processor.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the embodiments of the first aspect described above.
The cable model construction method, the device, the computer equipment and the storage medium are characterized in that the branching points of the cables in the cable basic model are identified, the cables in the cable basic model are divided according to the branching points, a plurality of branching line segments are obtained, nodes of each branching line segment are constructed, a main line node is determined from the nodes, and the cable model is generated according to the main line node and the branching line segments. The process of constructing the cable topological structure according to the cable basic model so as to generate the cable model is automatically carried out through a program, so that the cable topological structure is generated without manually processing the cable basic model, and the efficiency of constructing the cable model is improved.
Drawings
FIG. 1 is a flow diagram of a cable model building method according to one embodiment;
FIG. 2 is a schematic diagram of a macro command window in one embodiment;
FIG. 3 is a topology of cable segments in one embodiment;
FIG. 4 is a flow chart of a cable model building method according to another embodiment;
FIG. 5 is a topology of cable segments in another embodiment;
FIG. 6 is a flow chart of a cable model building method according to another embodiment;
FIG. 7 is a flow chart of a cable model building method according to another embodiment;
FIG. 8 is a flow chart of a cable model building method according to another embodiment;
FIG. 9 is a flow chart of a cable model building method according to another embodiment;
FIG. 10 is a flow chart of a cable model building method according to another embodiment;
FIG. 11 is a block diagram showing the construction of a cable model construction device according to an embodiment;
FIG. 12 is a block diagram showing a construction of a cable model constructing apparatus according to an embodiment;
fig. 13 is an internal structural view of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The cable model construction method provided by the application can be applied to computer equipment integrated with CST simulation software. The CST simulation software is used for performing simulation analysis on a long cable harness and surrounding environments which are formed by various types of wires under real working conditions, and solving the problem of cable harness crosstalk. When CST simulation software is used for simulation analysis of cable crosstalk problems, a CAD base model obtained by modeling the whole 3D environment by CAD software can be imported, a cable 3D topological structure is automatically built according to the CAD base model, and then a cable model is generated and simulation analysis is carried out.
With the rapid development of electronic information technology, a large number of communication cables are required for communication between various electronic products and devices, and the crosstalk problem between the cables directly affects the communication quality, so that the research on crosstalk between the cables is particularly important. With the development of computational electromagnetics, electromagnetic simulation techniques are increasingly applied to various electromagnetic problems including cable crosstalk, so that modeling simulation of cable crosstalk has important significance. When the cable crosstalk problem is researched, CST simulation software can be adopted for simulation analysis, but because most of CST simulation software is applied to the actual cable crosstalk problem, CAD base models are required to be directly imported to replace manual modeling, but at the moment, the imported CAD base models often contain multi-bifurcation wire harness structures, cables at bifurcation positions are disconnected from a main line and do not accord with the actual cable conditions, at the moment, after the cable 3D topological structure is manually built according to the CAD base models, the cable models can be generated and simulated analysis is carried out, and the problem of low modeling efficiency of the cable 3D topological structure exists. Based on this, the following embodiments of the present application provide a cable model building method, which can solve the above technical problems. The embodiments of the present application are specifically described below.
In one embodiment, as shown in fig. 1, a cable model construction method is provided, and the method is applied to a computer device integrated with CST simulation software for illustration, and includes the following steps:
s102, identifying a bifurcation point of the cable in the cable basic model.
The cable basic model refers to a data model generated by 3D modeling of cables and surrounding structures. Wherein, the model can be built by CST simulation software according to the actual conditions of the cable and surrounding structures; other software with the function of constructing the cable base model can be used for modeling, and the established cable base model is imported into CST simulation software, so that the modeling is not limited. For example, CAD software, PSCAD software, ETAP software, and the like may be employed to model the 3D of the cable and surrounding structures, without limitation.
Specifically, the cable basic model may include a cable bundle model with a bifurcation and a cable surrounding structure model, where the cable bundle model includes at least one bifurcation point, after the CST simulation software obtains the cable basic model, a macro command program stored in advance in the CST simulation software for automatically building the cable model may be called, and a macro command window is popped up, and by clicking a cut cable in the macro command window and creating a cable node option, the CST simulation software automatically analyzes the cable basic model, identifies a cable bundle model in the cable basic model, and then identifies a cable intersection point, i.e., a bifurcation point of the cable, in the cable bundle model. Alternatively, the macro command program in the prestored love CST simulation software may be written through a VBA development platform of the CST software itself. The macro window may include, among other things, the cut cable and create cable node option (Trim Curves and Create Cable Nodes), create cable node (Create Cable Bundles) option as shown in fig. 2.
S104, dividing the cable in the cable basic model according to the bifurcation points to obtain a plurality of bifurcation segments, and constructing nodes of each bifurcation segment.
Specifically, after the bifurcation point of the cable is identified, the system cuts the cable according to the bifurcation point of the cable to form a plurality of bifurcation segments, wherein each bifurcation segment after cutting has two endpoints to form a bifurcation segment topological structure diagram of the cable, namely, a node of each bifurcation segment is constructed. For example, a cable branching section topological diagram as shown in fig. 3 may be built for a cut cable, where the cable base model is a cable model with a binary branch port, and the cable base model is divided into three sections, namely, a N1-N2 section, a N2-N3 section, and a N2-N4 section, according to a branching point N2 of the cable. Wherein, the nodes of the N1-N2 line segments are N1 and N2; the nodes of the N2-N3 line segments are N2 and N3; the nodes of the N2-N4 line segments are N2 and N4.
S106, determining a main line node from the nodes.
The main line is a bus cable used for receiving power signals and transmitting the power signals to each branching cable. The main line node is a node of an input end of a bus cable in the cable harness model.
Specifically, after the node of each branching section is constructed, the program automatically pops up a setting interface, wherein the setting interface comprises node labels of all branch nodes, and a user can set the node as a main line node by selecting the node label of the corresponding node on the setting interface; or after each junction node is constructed, setting is directly performed at each node position in the cable junction topological graph, and a user triggers a setting instruction by selecting a node in the topological graph, wherein the setting instruction is to set the selected node as a main line node, and the setting instruction is not limited herein.
S108, generating a cable model according to the main line node and the plurality of branching sections.
Specifically, after the main line node is obtained, a plurality of branching sections can be determined according to the main line node, the line section with the main line node is the main line section, the rest line sections are branch line sections, at the moment, the main line section and the branch line sections can be combined to generate different cable path models, and the corresponding cable section models are imported to the plurality of cable path models to generate different cable models; the method may also be that a corresponding cable section model is led into the main wire section to obtain a main wire section model, a corresponding cable section model is led into each branch wire section to obtain each branching cable section model, and then the main wire section model and each branching cable section model are combined to obtain cable section models of different paths, which is not limited herein.
In the cable model construction method, the branching points of the cables in the cable basic model are identified, the cables in the cable basic model are segmented according to the branching points, a plurality of branching line segments are obtained, nodes of each branching line segment are constructed, a main line node is determined from the nodes, and the cable model is generated according to the main line node and the branching line segments. The process of constructing the cable topological structure according to the cable basic model so as to generate the cable model is automatically carried out through a program, so that the cable topological structure is generated without manually processing the cable basic model, and the efficiency of constructing the cable model is improved.
Having described the cable model construction method in the above embodiment, step S108 in the cable model construction method will be further described in one embodiment, as shown in fig. 4, generating a cable model according to the main line node and the plurality of wire segments, including:
s402, combining the plurality of branching sections according to the main line node to obtain a cable path model.
Wherein, the cable path refers to the path between each node.
Specifically, after the main line node is determined, the main line segment can be further determined in a plurality of branch line segments, and each branch line segment is combined with the main line segment to obtain different cable path models. For example, as shown in fig. 5, A1 is a main line node, and the corresponding main line segment is an A1-A2 line segment, and the branch line segment includes: A2-A3 segment, A3-A4 segment, A2-A5 segment and A3-A6 segment, and the main line segment and the branch line segment are combined to obtain an A1-A2-A3 path, an A1-A2-A5 path, an A1-A2-A3-A6 path and an A1-A2-A3-A4 path.
S404, generating a cable model according to the cable path model.
Specifically, generating the cable model from the cable path model means that after different cable path models are generated, the corresponding cable section model is imported into each cable path model to generate the cable model. The cable section model refers to a cable section model stored in advance in CST simulation software.
In this embodiment, a cable path model is obtained by combining a plurality of branch segments according to a main line node, and the cable model is generated according to the cable path model. Because the multiple branching segments are combined according to the main line node, different cable path models can be obtained, and an accurate cable model can be built according to the different cable path models.
In the above embodiment, when the cable model is obtained by combining the plurality of branch segments according to the main line node, it is necessary to determine the cable path model first, and then determine the cable model according to the cable path model, and how to determine the cable path model is further described with an embodiment, in one embodiment, as shown in fig. 6, the cable path model is obtained by combining the plurality of branch segments according to the main line node, which includes:
s602, determining a main line segment and a branch line segment from a plurality of branch line segments according to the main line node.
The main line segment refers to a line segment including a main line node. The branch line segment refers to all line segments except the main line segment in the plurality of branch line segments in the cable topology structure.
Specifically, the main line node is an end point in the main line segment, and the main line segment is determined as long as the main line node is determined, so that the branch line segment can be determined.
S604, combining the main line segment and the branch line segment to obtain a cable path model.
Specifically, when combining the main line segment and the branch line segment, the main line node and all other branch line segments need to be combined to form a cable path model. Referring to FIG. 5, the main line segment is an A1-A2 line segment, and the branch line segment includes: A2-A3 segment, A3-A4 segment, A2-A5 segment and A3-A6 segment, and the main line segment and the branch line segment are combined to obtain an A1-A2-A3 path, an A1-A2-A5 path, an A1-A2-A3-A6 path and an A1-A2-A3-A4 path.
In this embodiment, the cable path model is obtained by determining a main line segment and a branch line segment from a plurality of branch line segments according to the main line node, and combining the main line segment and the branch line segment. Because the main line segment and the branch line segment are determined from the plurality of branch line segments according to the main line node, different cable path models of the cable model are comprehensively obtained according to the combination of the main line segment and the branch line segment, and an accurate cable model can be built according to the different cable path models.
The above embodiment has determined a cable path model, and based on the above embodiment, the cable path model generation cable model according to the following embodiment will be further described, as shown in fig. 7, including:
s702, a main cable section model corresponding to the main cable section and a branch cable section model corresponding to the branch cable section are obtained.
The main cable section model and the branch cable section model are cable section data models stored in a cable section model database in CST simulation software.
Specifically, when generating the cable models according to the cable path models, selecting a cable section model corresponding to the actual application, namely a main cable section model, from a cable model database for the main cable section in each cable path model; meanwhile, each branch line segment in each cable path model needs to be selected from a cable model database, and the corresponding cable section model in practical application, namely the branch cable section model, is selected.
S704, generating a cable model according to the main line segment, the main cable section model, the branch line segment and the branch cable section model.
Specifically, different cable path models are formed by a main line segment and a branch line segment, a corresponding main cable interface model is imported to the main line segment in each cable path model, and a corresponding branch cable section model is imported to the branch line segment, namely, the cable model is generated.
In this embodiment, the cable model is generated from the main cable section model, the branch cable section model, and the branch cable section model by acquiring the main cable section model corresponding to the main cable section and the branch cable section model corresponding to the branch cable section. The cable path model is used for guiding the cable section models corresponding to the main line segment and the branch line segment in practical application to generate the cable model, so that the cable model conforming to practical conditions can be accurately constructed.
The foregoing embodiments are all based on the method steps of constructing a cable model based on the cable basic model being obtained, and how to obtain the cable basic model will be further described with an embodiment, as shown in fig. 8, where the cable model constructing method further includes:
s802, importing a cable base model from a CAD application.
Specifically, when a user needs to perform simulation analysis on a cable problem, a cable basic model of a cable and surrounding structures can be firstly built in CAD software, the built cable basic model can be selectively imported through importing operation in CST software, and the cable basic model in CAD application can be copied and pasted on a cable model building interface in the CST simulation software, so that the simulation analysis method is not limited.
S804, acquiring a segmentation instruction based on a preset setting interface.
The preset setting interface refers to a preset macro command window. The window may include a cut cable and create cable node option (Trim Curves and Create Cable Nodes), a create cable node (Create Cable Bundles) option for triggering a split instruction. The splitting instruction is to split the cable in the cable basic model according to the bifurcation point.
Specifically, after the cable basic model is obtained in the CST simulation software, a macro command program which is stored in the CST simulation software in advance and is used for automatically establishing the cable model is called, a macro command window is popped up, and a user triggers a segmentation instruction by clicking a cable cutting option and creating a cable node option in the macro command window.
S806, a step of identifying a bifurcation point of the cable in the cable base model is performed according to the segmentation instruction.
Specifically, after the segmentation instruction is acquired, the system call macro command program identifies the bifurcation point of the cable in the cable base model.
In this embodiment, the step of identifying the bifurcation point of the cable in the cable base model is performed according to the segmentation instruction by importing the cable base model from the CAD application, acquiring the segmentation instruction based on the preset setting interface. Because CAD software modeling has the characteristics of simplicity and easiness in operation, CAD software is used for establishing a cable basic model simply and efficiently, a segmentation instruction is obtained through a preset setting interface, and the step of identifying the branching points of the cable in the cable basic model is executed, and only a user simply selects a preset option to trigger the segmentation instruction, so that the program automatically operates, the cable in the cable basic model is identified and segmented, and the efficiency of establishing the cable model is improved.
On the basis of the above embodiment, step S103 in the cable construction model method is further described, as shown in fig. 9, determining a main line node from the nodes, including:
s902, acquiring a selection instruction based on a setting interface; the setting interface comprises option labels corresponding to all the nodes, and the selection instruction comprises node identifiers selected by the user.
Specifically, after the program constructs the node of each line segment, the interface of the main line node can be automatically popped up and determined, namely the interface is set. The method comprises the steps that nodes of each branch line segment and option labels corresponding to the nodes are determined in a main line node interface, and a user can trigger a selection instruction by clicking the option labels corresponding to the nodes, consistent with the main line nodes of the cable in practical application.
S904, determining the node corresponding to the node identifier as a main line node according to the selection instruction.
Specifically, according to the node identifiers in the selection instruction, comparing the node identifiers of the nodes, and selecting the corresponding node with the same node identifier as the main line node. Illustratively, if the node in the select instruction is identified as O, and each node of the split segment includes H, I, J, K, L, M, N and O, the mainline node is the node whose node is identified as O.
In this embodiment, by acquiring a selection instruction based on the setting interface, according to the selection instruction, a node corresponding to the node identifier is determined as the main line node. The main line node consistent with the main line node in the practical application of the cable can be accurately obtained.
In one embodiment, the cable model building method further includes:
and performing crosstalk simulation solving on the cable model to obtain a cable crosstalk result.
Specifically, after the cable model is built, a user can click a simulation solving option in CST software to trigger a simulation instruction, so that the CST software can carry out crosstalk simulation solving on the cable model to obtain a cable crosstalk result; the system may also automatically perform simulation solution after the cable model is built, to obtain a cable crosstalk result, which is not limited herein.
In this embodiment, a cable crosstalk result is obtained by performing crosstalk simulation solution on the cable model. The method can provide a basis for reducing crosstalk problems of the cable in practical application.
For the convenience of understanding of those skilled in the art, the following describes in detail the cable model construction method provided in the present application, and as shown in fig. 10, the method may include:
s1001, importing a cable base model from a CAD application.
S1002, acquiring a segmentation instruction based on a preset setting interface.
S1003, identifying a bifurcation point of the cable in the cable basic model.
S1004, dividing the cable in the cable basic model according to the bifurcation point to obtain a plurality of bifurcation segments, and constructing nodes of each bifurcation segment.
S1005, acquiring a selection instruction based on a setting interface; the setting interface comprises option labels corresponding to the bifurcation points, and the selection instruction comprises bifurcation point identification selected by the user.
S1006, determining a bifurcation point corresponding to the bifurcation point identification as a main line node according to the selection instruction.
S1007, determining a main line segment and a branch line segment from the plurality of branch line segments according to the main line node.
S1008, combining the main line segment and the branch line segment.
S1009, a main cable section model corresponding to the main cable section and a branch cable section model corresponding to the branch cable section are acquired.
S1010, generating a cable model according to the main line segment, the main cable section model, the branch line segment and the branch cable section model.
S1011, performing crosstalk simulation solving on the cable model to obtain a cable crosstalk result.
It should be noted that, the descriptions of 1001-S1011 are referred to above as related descriptions in the embodiments, and the effects thereof are similar, and the description of this embodiment is omitted here.
In this embodiment, by identifying a branching point of a cable in the cable base model, the cable in the cable base model is split according to the branching point to obtain a plurality of branching segments, a node of each branching segment is constructed, a main line node is determined from the nodes, and a cable model is generated according to the main line node and the plurality of branching segments. The process of constructing the cable topological structure according to the cable basic model so as to generate the cable model is automatically carried out through a program, so that the cable topological structure is generated without manually processing the cable basic model, and the efficiency of constructing the cable model is improved.
It should be understood that, although the steps in the flowcharts of fig. 1-10 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 1-10 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 11, there is provided a cable model building apparatus including: an identification module 111, a segmentation module 112, a determination module 113, and a generation module 114, wherein:
and the identifying module 111 is used for identifying the branching point of the cable in the cable basic model.
The segmentation module 112 is configured to segment the cable in the cable base model according to the bifurcation point, obtain a plurality of segments, and construct a node of each segment.
A determining module 113, configured to determine a mainline node from the nodes.
A generating module 114 is configured to generate a cable model according to the main line node and the plurality of wire segments.
In this embodiment, the identifying module is configured to identify a bifurcation point of a cable in the cable base model, the splitting module is configured to split the cable in the cable base model according to the bifurcation point, obtain a plurality of split segments, construct a node of each split segment, and the determining module is configured to determine a main line node from the nodes, and the generating module is configured to generate the cable model according to the main line node and the plurality of split segments. The process of constructing the cable topological structure according to the cable basic model so as to generate the cable model is automatically carried out through a program, so that the cable topological structure is generated without manually processing the cable basic model, and the efficiency of constructing the cable model is improved.
In one embodiment, as shown in FIG. 12, the generation module 114 includes:
and the combining unit 1141 is configured to combine the plurality of branch segments according to the main line node to obtain a cable path model.
A generating unit 1142, configured to generate the cable model according to the cable path model.
In one embodiment, the generating unit 1142 is configured to obtain a main cable section model corresponding to the main cable section and a branch cable section model corresponding to the branch cable section, and generate the cable model according to the main cable section, the main cable section model, the branch cable section model, and the branch cable section model.
In one embodiment, as shown in fig. 13, the cable model building apparatus further includes: an import module 115, an acquisition module 116, and an identification module 117, wherein:
an import module 115 for importing the cable base model from CAD applications.
The obtaining module 116 is configured to obtain the segmentation instruction based on a preset setting interface.
An execution module 117 for executing the step of identifying the bifurcation point of the cable in the cable base model according to the segmentation instruction.
In one embodiment, referring to fig. 12, the determining module 113 includes:
an acquisition unit 1131 for acquiring a selection instruction based on the setting interface;
a determining unit 1132, configured to determine, according to the selection instruction, a bifurcation point corresponding to the bifurcation point identifier as the mainline node.
Optionally, the setting interface includes option tags corresponding to the bifurcation points, and the selection instruction includes a bifurcation point identifier selected by the user.
In one embodiment, referring to fig. 12, the cable model building apparatus further includes a simulation module 118, configured to perform crosstalk simulation solution on the cable model to obtain a cable crosstalk result.
For specific limitations of the cable model building apparatus, reference may be made to the above limitations of the cable model building method, and no further description is given here. The respective modules in the cable model construction apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 13. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a cable model building method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 13 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
identifying a bifurcation point of a cable in the cable base model; dividing the cable in the cable basic model according to the bifurcation points to obtain a plurality of bifurcation segments, and constructing nodes of each bifurcation segment; determining a main line node from the slave nodes; and generating a cable model according to the main line node and the plurality of branching sections.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
identifying a bifurcation point of a cable in the cable base model; dividing the cable in the cable basic model according to the bifurcation points to obtain a plurality of bifurcation segments, and constructing nodes of each bifurcation segment; determining a main line node from the slave nodes; and generating a cable model according to the main line node and the plurality of branching sections.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A method of constructing a cable model, the method comprising:
identifying a bifurcation point of a cable in the cable base model;
dividing the cable in the cable basic model according to the bifurcation points to obtain a plurality of bifurcation segments, and constructing nodes of each bifurcation segment;
determining a mainline node from the nodes;
generating a cable model according to the main line node and the plurality of branching sections;
the determining a mainline node from the nodes includes:
automatically popping up a setting interface, wherein the setting interface comprises option labels corresponding to all nodes;
acquiring a selection instruction based on the setting interface, wherein the selection instruction comprises a node identifier selected by a user, and the selection instruction is acquired by detecting that the user clicks an option tag;
according to the selection instruction, determining the node corresponding to the node identifier as the main line node;
the generating a cable model according to the main line node and the plurality of branch line segments comprises:
determining a main line segment and a branch line segment from the plurality of branch line segments according to the main line node;
combining the main line segment and the branch line segment to obtain a cable path model;
selecting a main cable section model corresponding to the actual application from a cable model database for the main cable section in the cable path model, and selecting a branch cable section model corresponding to the actual application from the cable model database for the branch cable section in the cable path model;
and generating the cable model according to the main wire section in the cable path model, the main wire section model, the branch wire section in the cable path model and the branch wire section model.
2. The method according to claim 1, wherein the method further comprises:
importing the cable base model from a CAD application;
acquiring a segmentation instruction based on a preset setting interface;
and executing the step of identifying the bifurcation point of the cable in the cable basic model according to the segmentation instruction.
3. The method of claim 2, wherein the preset setup interface is a preset macro command window, the preset setup interface comprising cutting a cable and creating a cable node option, creating a cable node option.
4. A method according to claim 2 or 3, wherein the obtaining a segmentation instruction based on a preset setting interface comprises:
and calling a prestored macro command program for automatically establishing a cable model, popping up a macro command window, cutting a cable in the macro command window, creating a cable node option, and triggering the segmentation instruction.
5. The method according to claim 1, wherein the determining the node corresponding to the node identifier as the mainline node according to the selection instruction includes: and according to the node identifications in the selection instruction, comparing the node identifications with the node identifications of all the nodes, and selecting the corresponding node consistent with the node identifications as the main line node.
6. The method according to claim 1, wherein the method further comprises:
and performing crosstalk simulation solving on the cable model to obtain a cable crosstalk result.
7. The method of claim 6, wherein performing crosstalk simulation solution on the cable model to obtain a cable crosstalk result comprises:
after the cable model is built, simulation solving options are carried out in CST software, and simulation instructions are triggered, so that the CST software carries out crosstalk simulation solving on the cable model, and a cable crosstalk result is obtained.
8. A cable model building apparatus, the apparatus comprising:
the identifying module is used for identifying the bifurcation point of the cable in the cable basic model;
the segmentation module is used for segmenting the cable in the cable basic model according to the bifurcation points to obtain a plurality of segmentation segments, and constructing nodes of each segmentation segment;
a determining module, configured to determine a mainline node from the nodes;
the generation module is used for generating a cable model according to the main line node and the plurality of branch line segments;
the determining module is specifically configured to:
automatically popping up a setting interface, wherein the setting interface comprises option labels corresponding to all nodes;
acquiring a selection instruction based on the setting interface, wherein the selection instruction comprises a node identifier selected by a user, and the selection instruction is acquired by detecting that the user clicks an option tag;
according to the selection instruction, determining the node corresponding to the node identifier as the main line node;
the generating a cable model according to the main line node and the plurality of branch line segments comprises:
determining a main line segment and a branch line segment from the plurality of branch line segments according to the main line node;
combining the main line segment and the branch line segment to obtain a cable path model;
selecting a main cable section model corresponding to the actual application from a cable model database for the main cable section in the cable path model, and selecting a branch cable section model corresponding to the actual application from the cable model database for the branch cable section in the cable path model;
and generating the cable model according to the main wire section in the cable path model, the main wire section model, the branch wire section in the cable path model and the branch wire section model.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202011472976.0A 2020-12-15 2020-12-15 Cable model construction method, device, computer equipment and storage medium Active CN112507500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011472976.0A CN112507500B (en) 2020-12-15 2020-12-15 Cable model construction method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011472976.0A CN112507500B (en) 2020-12-15 2020-12-15 Cable model construction method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112507500A CN112507500A (en) 2021-03-16
CN112507500B true CN112507500B (en) 2024-04-05

Family

ID=74973274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011472976.0A Active CN112507500B (en) 2020-12-15 2020-12-15 Cable model construction method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112507500B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886402B (en) * 2021-12-08 2022-03-15 成都飞机工业(集团)有限责任公司 Aviation wire harness information integration method based on branches and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554247A (en) * 2019-08-28 2019-12-10 广州广电计量检测股份有限公司 crosstalk simulation modeling method and simulation model of non-parallel cable
CN110991088A (en) * 2019-12-25 2020-04-10 广电计量检测(西安)有限公司 Cable model construction method and system, terminal device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590002B (en) * 2015-12-31 2019-01-25 北京理工大学 A kind of breakout cable autoplacement method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554247A (en) * 2019-08-28 2019-12-10 广州广电计量检测股份有限公司 crosstalk simulation modeling method and simulation model of non-parallel cable
CN110991088A (en) * 2019-12-25 2020-04-10 广电计量检测(西安)有限公司 Cable model construction method and system, terminal device and storage medium

Also Published As

Publication number Publication date
CN112507500A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US20030018953A1 (en) Optimized look-up table calculations in block diagram software
CN112087313B (en) Techniques for generating network simulation scenarios
CN109901834A (en) Document file page generation method, device, computer equipment and storage medium
CN103984626B (en) A kind of method and device for generating test case script
CN109213486A (en) Method and apparatus for generating customized visualization component
CN109754072B (en) Processing method of network offline model, artificial intelligence processing device and related products
CN112507500B (en) Cable model construction method, device, computer equipment and storage medium
CN113900958A (en) Test case script generation method, system, medium and electronic device
CN111695827B (en) Business process management method and device, electronic equipment and storage medium
CN113093569A (en) Automatic driving simulation test method, device, equipment and storage medium
CN112905441A (en) Test case generation method, test method, device and equipment
CN107766106B (en) The method and apparatus for generating configuration file
CN108170602B (en) Test case generation method and device, terminal and computer readable medium
CN112464497A (en) Fault drilling method, device, equipment and medium based on distributed system
CN113868120A (en) Industrial software debugging method and device, computer equipment and storage medium
US20230267255A1 (en) Semiconductor equipment modeling method and device
CN108399125A (en) Automated testing method, device, computer equipment and storage medium
CN104809063A (en) Test method and device of distributed system
CN114691506A (en) Pressure testing method, apparatus, device, medium, and program product
Masoudi et al. An optimization framework for the design of cable harness layouts in planar interconnected systems
CN114157507A (en) Cloud service vulnerability analysis method and artificial intelligence system adopting big data analysis
JP7090131B2 (en) Methods and equipment for generating information
CN107567641B (en) System and method for identifying replicas
CN111278085A (en) Method and device for acquiring target network
KR20080024126A (en) Constrained exploration for search algorithms

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: No. 8 Qishan Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 511440, 150

Applicant after: Radio and TV Measurement and Testing Group Co.,Ltd.

Address before: No. 163, xipingyun Road, Huangpu Avenue, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU GRG METROLOGY & TEST Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant