Method, device and equipment for checking cable modeling integrity, medium and product
Through the verification function, the cable laying simulation model and physical model of large ships are checked, which solves the problems of cumbersome verification process, low speed and low accuracy in the prior art, and achieves fast and accurate cable modeling integrity verification.
Patent Information
- Application Number
- CN202411636645.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art is cumbersome when verifying the modeling integrity of large ship cables, the process is cumbersome, the speed is low, and the accuracy of the calibration cannot be ensured.
By obtaining the cable laying simulation model of the target device, and using the verification function to verify the physical model and the simulation model, checking whether there are unmodeled power consumption equipment, power connection interfaces, and missing attribute configurations and incoming branch paths.
It realizes the fast and accurate completion of cable laying integrity calibration, and improves the calibration efficiency and accuracy.
Smart Images

Figure CN119514212A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of model verification technology, and in particular to a method, device, equipment, medium and product for verifying the integrity of cable modeling. Background Art
[0002] With the development of shipbuilding technology and the continuous adoption of new technologies and processes, in order to meet users' needs for ship use, a large number of electrical equipment need to be installed in large ships, which puts higher requirements on the electrical production design of large ships.
[0003] Large ocean liners, with their complex electrical designs, require extensive cable inventory data, making design and verification extremely demanding. Verifying the integrity of the cable modeling within the physical modeling of large vessels is crucial.
[0004] The existing technology manually verifies the cable information in the model one by one to ensure the integrity of the cable modeling. However, this method has a cumbersome verification process, a low verification speed, and cannot ensure the accuracy of the verification. Summary of the Invention
[0005] The present invention provides a method, device, equipment, medium and product for verifying the integrity of cable modeling, so as to solve the problems of the existing verification method, such as the cumbersome verification process, low verification speed and inability to ensure the accuracy of the verification.
[0006] According to one aspect of the present invention, there is provided a method for verifying cable modeling integrity, comprising:
[0007] Acquire a cable laying simulation model of a target device, wherein the target device includes at least one electrical device;
[0008] Use a verification function to verify the physical model corresponding to the target device with the cable laying simulation model, the verification including verifying whether the physical model includes unmodeled electrical equipment, whether the electrical equipment power connection interface in the physical model is missing, whether the attribute configuration corresponding to the electrical equipment power connection interface is missing, and whether the electrical equipment incoming line branch path in the physical model is missing;
[0009] If the verification is successful, it is determined that the cable modeling of the target device is complete.
[0010] According to another aspect of the present invention, there is provided an apparatus for verifying cable modeling integrity, comprising:
[0011] an acquisition module, configured to acquire a cable laying simulation model of a target device, wherein the target device includes at least one electrical device;
[0012] a verification module, configured to verify the physical model corresponding to the target device with the cable laying simulation model using a verification function, wherein the verification includes verifying whether the physical model includes unmodeled electrical equipment, whether the electrical connection interface of the electrical equipment in the physical model is missing, whether the attribute configuration corresponding to the electrical connection interface of the electrical equipment is missing, and whether the branch path of the electrical equipment incoming line in the physical model is missing;
[0013] The determination module is used to determine whether the cable modeling of the target device is complete after the verification is successful.
[0014] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising: at least one processor;
[0015] and a memory communicatively coupled to the at least one processor;
[0016] 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 method for verifying the integrity of cable modeling according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions for enabling a processor to implement the method for verifying cable modeling integrity according to any embodiment of the present invention when the computer instructions are executed.
[0018] The technical solution of the embodiment of the present invention uses a verification function to verify the physical model corresponding to the target device with the cable laying simulation model, to verify whether the physical model includes unmodeled electrical equipment, whether the power connection interface of the electrical equipment in the physical model is missing, whether the attribute configuration corresponding to the power connection interface of the electrical equipment is missing, and whether the branch path of the electrical equipment incoming line in the physical model is missing. This solves the problems of the existing verification method that the verification process is cumbersome, the verification speed is low, and the accuracy of the verification cannot be ensured, and achieves the beneficial effect of quickly and accurately completing the cable laying integrity verification.
[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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.
[0021] Figure 1 A schematic flow chart of a method for verifying cable modeling integrity provided in the first embodiment of the present invention;
[0022] Figure 2 A schematic diagram of a verification interface in a method for verifying cable modeling integrity provided by one embodiment of the present invention;
[0023] Figure 3 A schematic flow chart of a method for verifying cable modeling integrity provided in the second embodiment of the present invention;
[0024] Figure 4 A schematic flow chart of a method for verifying cable modeling integrity provided by one embodiment of the present invention;
[0025] Figure 5 A schematic structural diagram of a device for verifying cable modeling integrity provided in a third embodiment of the present invention;
[0026] Figure 6 The figure is a schematic structural diagram of an electronic device for verifying the integrity of cable modeling according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions 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 embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention. It should be understood that the various steps described in the method implementation mode of the present invention can be performed in different orders and / or in parallel. In addition, the method implementation mode may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0028] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0029] It should be noted that the terms "first", "second", etc. in the description 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 numbers 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] It should be noted that the modifications of "one" and "multiple" mentioned in the present invention are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] Example 1
[0033] Figure 1 This is a flow chart illustrating a method for verifying cable model integrity, provided in a first embodiment of the present invention. This method is applicable to evaluating the integrity of large-scale power equipment after modeling, and is particularly suitable for verifying the integrity of cable routes during the design process of various types of ship cables. This method can be performed by a device for verifying cable model integrity, which can be implemented in software and / or hardware and is generally integrated into an electronic device. In this embodiment, the electronic device includes, but is not limited to, a computer.
[0034] like Figure 1 As shown, a method for verifying cable modeling integrity provided by embodiment 1 of the present invention includes the following steps:
[0035] S110: Acquire a cable laying simulation model of a target device, where the target device includes at least one electrical device.
[0036] The target device can be a large electromechanical device, which can include multiple electrical devices. A large ship can be used as the target device in this embodiment. Large ships contain multiple electrical devices, such as lighting equipment, marine motors, power distribution cabinets, communications equipment, and automation control equipment. The cabling is complex. After modeling a large ship, to ensure the integrity of the equipment modeling, it is necessary to perform an integrity check on the cable modeling within the model.
[0037] The cable laying simulation model can be understood as a simulation model obtained by modeling the cable laying part of the target device.
[0038] In this embodiment, there are multiple ways to obtain a cable laying simulation model, and there is no specific limitation on how to obtain the cable laying simulation model of the target device. For example, the user can model the cable laying of the target device based on the cable system diagram of all electrical devices in the target device to obtain a cable laying simulation model, and then save the cable laying simulation model for subsequent use. The cable laying simulation model is composed of a cable attribute set and a topology network attribute set. The cable attribute set may include data such as the cable serial number, cable name, the starting and ending devices corresponding to the cable, the signal type of the device power interface, and the cable specifications. The topology network may include a bridge topology and a device topology.
[0039] S120. Use the verification function to verify the physical model corresponding to the target device with the cable laying simulation model, the verification including verifying whether the physical model includes unmodeled electrical equipment, whether the power connection interface of the electrical equipment in the physical model is missing, whether the attribute configuration corresponding to the power connection interface of the electrical equipment is missing, and whether the branch path of the electrical equipment incoming line in the physical model is missing.
[0040] After physically modeling the target device, a physical model corresponding to the target device can be obtained. The physical model corresponding to the target device can be a three-dimensional lofted model of the target device, can be obtained by modeling the target device using the Smart S3D tool, or can be obtained by modeling the target device using other modeling tools. No specific limitations are imposed herein. The verification function can be built into the modeling tool used for physical modeling.
[0041] In this embodiment, the data corresponding to the cable laying simulation model can be matched with the database of the three-dimensional layout model. After matching, the error content can be automatically output. The error content may include: the existence of unmodeled electrical equipment in the physical model; the missing power connection interface of the electrical equipment in the physical model; the missing attribute configuration corresponding to the power connection interface of the electrical equipment in the physical model; the missing branch path of the electrical equipment incoming line in the physical model.
[0042] Exemplarily, the Piecemark device name in the three-dimensional lofting model is matched with the starting device name and the ending device name of the cable in the cable laying simulation model. If the Piecemark device name does not match the starting device name and the ending device name, it means that the starting device or the ending device is not modeled in the three-dimensional lofting model.
[0043] Exemplarily, the power connection signal in the three-dimensional lofting model is matched with the signal type allowed for cable connection in the cable laying simulation model. If the cable laying simulation model includes a cable interface that allows connection of the k signal, but the three-dimensional lofting model does not include a cable interface for the k signal, it means that the cable interface for the k signal is missing in the three-dimensional lofting model.
[0044] S130: If the verification is successful, it is determined that the cable modeling of the target device is complete.
[0045] In this embodiment, if the verification is successful, it can indicate that the modeling of the cable laying part in the target device modeling is complete; if the verification is unsuccessful, the error part is corrected, for example, the unmodeled electrical equipment is modeled, the missing power connection interface of the electrical equipment is modeled, and the missing attributes of the power connection interface of the electrical equipment are modeled, and the missing branch path of the electrical equipment input line is modeled.
[0046] A method for verifying the integrity of cable modeling provided in a first embodiment of the present invention first obtains a cable laying simulation model of a target device, wherein the target device includes at least one electrical device; then uses a verification function to verify the physical model corresponding to the target device with the cable laying simulation model, wherein the verification includes verifying whether the physical model includes unmodeled electrical devices, whether the electrical device power connection interface in the physical model is missing, whether the attribute configuration corresponding to the electrical device power connection interface is missing, and whether the electrical device incoming branch path in the physical model is missing; finally, if the verification is successful, it is determined that the cable modeling of the target device is complete. The above method can quickly and accurately verify the integrity of cable laying by verifying whether there are unmodeled electrical devices, whether the electrical device power connection interface is missing, whether the attribute configuration corresponding to the electrical device power connection interface is missing, and whether the electrical device incoming branch path is missing.
[0047] Based on the above embodiment, a modified embodiment of the above embodiment is proposed. It should be noted that, in order to simplify the description, only the differences from the above embodiment are described in the modified embodiment.
[0048] Furthermore, the cable laying simulation model corresponds to data in a cable connection planning data table, and the cable connection planning data table includes cable information of at least one electrical device.
[0049] Among them, the methods for preparing the cable connection planning data table include: Method 1, manually compiling the cable information in the system diagram associated with all electrical equipment included in the target device to obtain the cable connection planning data table; Method 2, extracting the cable information in the system diagram associated with all electrical equipment included in the target device and organizing it according to the template to obtain the cable connection planning data table.
[0050] Among them, the cable information can include a cable attribute set and a topology network attribute set. The cable attribute set can include the cable serial number, cable name, the starting device and ending device corresponding to the cable, the signal type of the device power interface, and the cable specifications; the topology network attribute set can include the bridge topology and the device topology.
[0051] Furthermore, the verification function is integrated into the cable laying tool used for modeling the physical model.
[0052] In this embodiment, when modeling the target device, the cable laying tool built into the modeling tool is used to model the cable, and the verification function is integrated into the cable laying tool. The integrity of the cable modeling can be verified when modeling the target device without the need to use other verification tools. It is convenient and fast to use and saves costs.
[0053] Figure 2 A schematic diagram of a verification interface in a method for verifying cable modeling integrity provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, the cable model integrity check is completed using the built-in check function of the cable laying tool. Specifically, the following steps are included: Step 1: The user clicks the Import button on the interface and selects the cable connection planning data table to be checked; Step 2: The user clicks the Verify button on the interface to verify the data in the cable connection planning data table; Step 3: The user clicks the Output button on the interface to output error and warning information.
[0054] Furthermore, verifying whether the power connection interface of the electric device in the physical model is missing and whether the attribute configuration corresponding to the power connection interface of the electric device is missing includes:
[0055] Calling a preset command to retrieve the power connection interface of the electric device in the physical model and the attribute configuration corresponding to the power connection interface of the electric device;
[0056] If the retrieved power connection interfaces of the electric device do not include all the cable interfaces in the cable laying simulation model, it is determined that the power connection interfaces of the electric device in the physical model are missing;
[0057] If the retrieved attribute configuration corresponding to the power connection interface of the electrical device does not include all the interface attribute configurations in the cable laying simulation model, it is determined that the attribute configuration corresponding to the power connection interface of the electrical device in the physical model is missing.
[0058] Example 2
[0059] Figure 3 This is a flow chart of a method for verifying the integrity of cable modeling provided by the second embodiment of the present invention. This second embodiment is optimized based on the above embodiments. For details not yet fully described in this embodiment, please refer to the first embodiment.
[0060] like Figure 3 As shown, a method for verifying cable modeling integrity provided by embodiment 2 of the present invention includes the following steps:
[0061] S210: Obtain a cable laying simulation model of a target device, where the target device includes at least one power-consuming device.
[0062] S220. Use the verification function to verify the physical model corresponding to the target device with the cable laying simulation model. The verification includes verifying whether the physical model includes unmodeled electrical equipment, whether the power connection interface of the electrical equipment in the physical model is missing, whether the attribute configuration corresponding to the power connection interface of the electrical equipment is missing, and whether the branch path of the electrical equipment incoming line in the physical model is missing.
[0063] S230: If the verification is successful, it is determined that the cable modeling of the target device is complete.
[0064] S240. If the verification result includes that the power connection interface of the power device in the physical model is missing, the missing power connection interface of the power device is automatically added; if the verification result includes that the attribute configuration corresponding to the power connection interface of the power device in the physical model is missing, the missing attribute configuration of the power connection interface of the power device is automatically added.
[0065] Among them, one power interface can receive and send signals with different attributes, so one power interface can have multiple attribute configurations.
[0066] It is understandable that only one of step S230 and step S240 can be performed.
[0067] A second embodiment of the present invention provides a method for verifying the integrity of cable modeling. When missing information is verified, the method can automatically add the missing information to quickly restore the integrity of the cable laying.
[0068] The embodiment of the present invention provides a specific implementation method based on the technical solutions of the above embodiments.
[0069] As a specific implementation method of this embodiment, Figure 4 As shown, Figure 4A flow chart of a method for verifying the integrity of cable modeling provided in one embodiment of the present invention includes the following process: performing an initialization operation, the initialization operation including installing and configuring a cable laying report service program, configuring a server-side web page, and a project-level configuration file, i.e., a built-in verification function; organizing and formulating a cable connection planning table; matching the data in the cable connection planning table with a database of a physical model; if the matching result includes an error in a power connection interface, adding a cable interface function to quickly modify the power connection interface; if the matching result includes other errors, correcting the other errors.
[0070] It should be noted that, taking a cruise ship as an example, there are 99,100 electrical equipment on the entire ship. It is estimated that the integrity verification of a single electrical equipment saves 5 minutes of working time, a total of 8,200 hours of working time is saved, about 1,030 working days, and the total economic savings per ship are estimated to be more than 1 million yuan.
[0071] Example 3
[0072] Figure 5 This is a structural schematic diagram of a device for verifying the integrity of cable modeling provided in Example 3 of the present invention. The device can be used to evaluate the modeling integrity after modeling large-scale power equipment, and is particularly suitable for integrity verification during the design process of cable paths for various types of ships. The device can be implemented by software and / or hardware and is generally integrated on a computer device.
[0073] like Figure 5 As shown, the device includes: an acquisition module 110 , a verification module 120 and a determination module 130 .
[0074] An acquisition module 110 is configured to acquire a cable laying simulation model of a target device, wherein the target device includes at least one electrical device;
[0075] A verification module 120 is configured to verify the physical model corresponding to the target device with the cable laying simulation model using a verification function, wherein the verification includes verifying whether the physical model includes unmodeled electrical equipment, whether the electrical connection interface of the electrical equipment in the physical model is missing, whether the attribute configuration corresponding to the electrical connection interface of the electrical equipment is missing, and whether the branch path of the electrical equipment incoming line in the physical model is missing;
[0076] The determination module 130 is configured to determine whether the cable modeling of the target device is complete after the verification is successful.
[0077] In this embodiment, the device first obtains the cable laying simulation model of the target device through the acquisition module 110, and the target device includes at least one electrical device; then the verification module 120 uses the verification function to verify the physical model corresponding to the target device with the cable laying simulation model, and the verification includes verifying whether the physical model includes unmodeled electrical devices, whether the electrical device power connection interface in the physical model is missing, whether the attribute configuration corresponding to the electrical device power connection interface is missing, and whether the electrical device incoming branch path in the physical model is missing; finally, the determination module 130 determines that the cable modeling of the target device is complete after the verification is successful.
[0078] This embodiment provides a device for verifying the integrity of cable modeling, which can quickly complete the cable model integrity verification, is simple to operate, and saves costs.
[0079] Furthermore, the cable laying simulation model corresponds to data in a cable connection planning data table, and the cable connection planning data table includes cable information of at least one electrical device.
[0080] On the basis of the above optimization, the verification module 120 is used to use a verification function to match the data in the cable connection planning data table with the data in the database corresponding to the physical model corresponding to the target device.
[0081] Furthermore, the verification function is integrated into the cable laying tool used for modeling the physical model.
[0082] Furthermore, the verification module 120 is specifically used to: call a preset command to retrieve the power connection interface of the power-consuming equipment and the attribute configuration corresponding to the power connection interface of the power-consuming equipment in the physical model; if the retrieved power connection interface of the power-consuming equipment does not include all the cable interfaces in the cable laying simulation model, it is determined that the power connection interface of the power-consuming equipment in the physical model is missing; if the attribute configuration corresponding to the retrieved power connection interface of the power-consuming equipment does not include all the interface attribute configurations in the cable laying simulation model, it is determined that the attribute configuration corresponding to the power connection interface of the power-consuming equipment in the physical model is missing.
[0083] Furthermore, the device also includes a correction module for automatically adding the missing power connection interface of the power equipment if the verification result includes that the power connection interface of the power equipment in the physical model is missing; if the verification result includes that the attribute configuration corresponding to the power connection interface of the power equipment in the physical model is missing, then the attribute configuration of the missing power connection interface of the power equipment is automatically added.
[0084] The above-mentioned device for verifying the integrity of cable modeling can execute the method for verifying the integrity of cable modeling provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0085] Example 4
[0086] Figure 6 A schematic diagram of an electronic device 10 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 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 claimed herein.
[0087] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. 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 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0088] Multiple 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 magnetic 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 via a computer network such as the Internet and / or various telecommunication networks.
[0089] The processor 11 can be any general-purpose and / or specialized processing component 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 specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the method for verifying the integrity of the cable modeling.
[0090] In some embodiments, the method for verifying cable modeling integrity can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method for verifying cable modeling integrity described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the method for verifying cable modeling integrity in any other suitable manner (e.g., via firmware).
[0091] Various embodiments of the systems and techniques described 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), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes 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.
[0092] In some embodiments, the method for verifying cable modeling integrity can be implemented as a computer program that is invisibly contained in a computer program product. When executed by a processor, the computer program implements the method for verifying cable modeling integrity of the present invention. The computer program product can be understood as a software product that primarily implements its solution through the computer program. The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when executed by the processor, the computer program implements the functions / operations specified in the flowchart and / or block diagram. The computer program can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0093] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0094] To provide interaction with a user, the systems and techniques described herein can 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0095] The systems and techniques described herein can be implemented in a computing system that includes back-end 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 front-end components (e.g., a user computer with a graphical user interface or 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 back-end components, middleware components, or front-end components. The components of the system can 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.
[0096] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0097] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0098] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for verifying the integrity of cable modeling, characterized in that: The method comprises: Acquire a cable laying simulation model of a target device, wherein the target device includes at least one electrical device; Use the verification function to verify the physical model corresponding to the target device with the cable laying simulation model, the verification includes verifying whether the physical model includes unmodeled electrical equipment, whether the electrical equipment power connection interface in the physical model is missing, whether the attribute configuration corresponding to the electrical equipment power connection interface is missing, and whether the electrical equipment incoming line branch path in the physical model is missing; If the verification is successful, it is determined that the cable modeling of the target device is complete.
2. The method according to claim 1, characterized in that The cable laying simulation model corresponds to data in a cable connection planning data table, and the cable connection planning data table includes cable information of at least one electrical device.
3. The method according to claim 2, characterized in that The use of the verification function to verify the physical model corresponding to the target device with the cable laying simulation model includes: The verification function is used to match the data in the cable connection planning data table with the data in the database corresponding to the physical model corresponding to the target device.
4. The method according to claim 1, characterized in that: The verification function is integrated into the cabling tool used for modeling the physical model.
5. The method according to claim 1, characterized in that: Verifying whether the power connection interface of the power-consuming device in the physical model is missing and whether the attribute configuration corresponding to the power connection interface of the power-consuming device is missing includes: Calling a preset command to retrieve the power connection interface of the electric device in the physical model and the attribute configuration corresponding to the power connection interface of the electric device; If the retrieved power connection interface of the power-consuming device does not include all the cable interfaces in the cable laying simulation model, it is determined that the power connection interface of the power-consuming device in the physical model is missing; If the retrieved attribute configuration corresponding to the power connection interface of the power-consuming device does not include all the interface attribute configurations in the cable laying simulation model, it is determined that the attribute configuration corresponding to the power connection interface of the power-consuming device in the physical model is missing.
6. The method according to claim 1 or 5, characterized in that: Also includes: If the verification result includes that the power connection interface of the power-consuming device in the physical model is missing, the missing power connection interface of the power-consuming device is automatically added; If the verification result includes that the attribute configuration corresponding to the power connection interface of the power-consuming device in the physical model is missing, the missing attribute configuration of the power connection interface of the power-consuming device is automatically added.
7. A device for verifying the integrity of cable modeling, characterized in that: The device comprises: An acquisition module, used for acquiring a cable laying simulation model of a target device, wherein the target device includes at least one electrical device; A verification module, used for verifying the physical model corresponding to the target device with the cable laying simulation model using a verification function, wherein the verification includes verifying whether the physical model includes unmodeled electrical equipment, whether the electrical equipment power connection interface in the physical model is missing, whether the attribute configuration corresponding to the electrical equipment power connection interface is missing, and whether the electrical equipment incoming line branch path in the physical model is missing; The determination module is used to determine that the cable modeling of the target device is complete after the verification is successful.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; 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 method for verifying cable modeling integrity according to any one of claims 1 to 6.
9. 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 method for verifying cable modeling integrity according to any one of claims 1 to 6 when the computer instructions are executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the method for verifying cable modeling integrity according to any one of claims 1-6.