Cable laying visualization method, computer equipment, storage medium and program product

Through the cable laying visualization method, a three-dimensional cable diagram is generated using the shortest distance rule and the path floor area ratio rule, which solves the problem of difficult planning of cable design in two-dimensional space, and improves the cable laying efficiency and digital delivery capabilities.

CN118898147AInactive Publication Date: 2024-11-05SHANGHAI INVESTIGATION DESIGN & RES INST CO LTD

Patent Information

Application Number
CN202411040964.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Cable design is difficult to quickly and efficiently plan cable laying in two-dimensional space, resulting in large workloads, error-prone and difficult to digitally deliver.

Method used

The cable laying visualization method is adopted to obtain cable laying rules and inventory documents, draw cable laying channels, and generate three-dimensional visual cable diagrams based on the shortest distance rules and path floor area ratio rules to improve the readability and efficiency of the cable laying path.

Benefits of technology

It improves the efficiency of cable laying, enhances the digital implementation capabilities of cable design, reduces the workload and error rate of designers, and improves the intelligence level of digital delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898147A_ABST
    Figure CN118898147A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computer aided design, and discloses a cable laying visualization method, computer equipment, a storage medium and a program product, and the cable laying visualization method comprises the steps: obtaining a cable laying rule which comprises a shortest distance rule and a path plot ratio rule; an inventory file is obtained, the inventory file represents initial information of the cable and initial information of the equipment, and the inventory file is an xml format file; according to the engineering reserved civil engineering channel, drawing a cable laying channel; and drawing a cable laying path in the cable laying channel according to the cable laying rule and the detailed file, and generating a three-dimensional visual cable diagram. The problem that digital implementation of cable design is difficult can be solved, and the cable laying efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer-aided design, and in particular to a cable laying visualization method, computer equipment, storage medium and program product. Background Art

[0002] In order to build digital delivery capabilities for the entire process and all elements, the informationization, digitization, and intelligence levels of engineering planning, surveying, design, consulting, general contracting, and monitoring (inspection) services have been greatly improved. Cables are an important design object for engineering projects and have always been a difficult point in electrical professional design. There are problems such as large workload, easy errors, difficulty in digital delivery, and high requirements for the quality of designers. The characteristics of cables are that there are many types, large quantities, scattered starting and ending points, and difficult to count the length.

[0003] Currently, CAD is used for digital cable design, but it is difficult to express cable construction drawings in two-dimensional space, making it impossible to plan cable laying work quickly and efficiently. Summary of the invention

[0004] In view of this, the present invention provides a cable laying visualization method, computer equipment, storage medium and program product to solve the problem of difficulty in digital implementation of cable design and improve the efficiency of cable laying.

[0005] In a first aspect, the present invention provides a cable laying visualization method, which includes: obtaining cable laying rules, the cable laying rules include the shortest distance rule and the path volume ratio rule; obtaining an inventory file, the inventory file is used to characterize the initial information of the cable and the initial information of the equipment, and the inventory file is an XML format file; drawing a cable laying channel according to the civil engineering channel reserved for the project; drawing a cable laying path in the cable laying channel according to the cable laying rules and the inventory file, and generating a three-dimensional visualized cable diagram.

[0006] In this implementation, digital cable design is performed, the shortest distance rules and path volume ratio rules are established in advance in the drawing software, and an inventory file in XML format compatible with the drawing software is configured. The drawing software is used to directly read the inventory file to obtain the cable and equipment information, without having to enter the cable and equipment information one by one in the drawing software. This can improve the efficiency of cable laying work. At the same time, the cable laying path is visualized in three dimensions to improve the readability of the laying drawings.

[0007] In an optional embodiment, the inventory file includes a cable inventory file, which is used to characterize the initial information of the cable. The initial information of the cable includes the cable starting device, the cable ending device, the cable number, the voltage level and the cable specification. The method for obtaining the cable inventory file includes: configuring the initial information of the cable; constructing a cable worksheet document, and adding the initial information of the cable to the cable worksheet document; defining each column of data in the cable worksheet document to generate a cable inventory file.

[0008] In an optional implementation, the inventory file also includes a device inventory file, which is used to characterize the initial information of the device. The initial information of the device includes the device ID and the device serial number. The method for obtaining the device inventory file includes: configuring the initial information of the device; constructing a device worksheet document, and adding the initial information of the device to the device worksheet document; defining each type of data in the device worksheet document to generate a device inventory file.

[0009] In an optional implementation, configuring the device initial information includes: obtaining the device type of each device; obtaining the cable information connected to each device, the cable information including the cable number and the cable starting point; configuring the device ID for the device according to the device type; and configuring the device serial number for the device according to the cable information.

[0010] In an optional embodiment, drawing a cable laying path in a cable laying channel according to cable laying rules and inventory documents includes: obtaining a first cable laying channel according to a shortest distance rule, and drawing cables and equipment in the first cable laying channel according to initial information of the cables and initial information of the equipment in the inventory document; when the cross-section of the first cable laying channel cannot simultaneously lay the first cable and the second cable, drawing the first cable in the cable laying channel and drawing the second cable in the second cable laying channel according to a path volume ratio rule, so as to obtain a cable laying path; wherein the distance of the first cable laying channel is smaller than that of the second cable laying channel, the cross-section of the first cable laying channel is larger than that of the second cable laying channel, and the cross-section of the first cable is larger than that of the second cable laying channel.

[0011] In an optional implementation, the initial information of the device also includes a device length assignment, and after obtaining the cable laying path, the method further includes: calculating the length of the cable laying path according to the device length assignment and the cable specifications.

[0012] In a second aspect, the present invention provides a cable laying visualization device, which includes: a first acquisition module, used to acquire cable laying rules, the cable laying rules include the shortest distance rule and the path volume ratio rule; a second acquisition module, used to acquire an inventory file, the inventory file represents the initial information of the cable and the initial information of the equipment, the inventory file is an XML format file; a first drawing module, used to draw a cable laying channel according to the civil engineering channel reserved for the project; a second drawing module, used to draw a cable laying path in the cable laying channel according to the cable laying rules and the inventory file, and generate a three-dimensional visualized cable diagram.

[0013] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the cable laying visualization method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0014] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the cable laying visualization method of the first aspect or any corresponding embodiment thereof.

[0015] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the cable laying visualization method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 is a schematic diagram of a process of a cable laying visualization method according to an embodiment of the present invention;

[0018] Figure 2 is a flow chart of another cable laying visualization method according to an embodiment of the present invention;

[0019] Figure 3 is a structural block diagram of a cable laying visualization device according to an embodiment of the present invention;

[0020] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0022] According to an embodiment of the present invention, an embodiment of a cable laying visualization method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0023] Existing 3D software has deficiencies in application. Domestic design institutes are actively applying 3D technology to solve these problems and are carrying out independent research and development. Mainstream 3D software includes Bentley, Bochao, Catia, Revit, etc. This application is not limited to design software. Digital cable design is performed under the interface provided by the design software. The shortest distance rules and path volume ratio rules are established in the drawing software in advance, and the inventory file in XML format adapted to the drawing software is configured. The inventory file is directly read by the drawing software to obtain the cable and equipment information, without having to enter the cable and equipment information one by one in the drawing software. This can improve the efficiency of cable laying work. At the same time, the cable laying path is visualized in three dimensions to improve the readability of the laying drawings.

[0024] In this embodiment, a cable laying visualization method is provided. Figure 1 is a flow chart of a cable laying visualization method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0025] Step S101, obtaining cable laying rules.

[0026] The cable laying rules are pre-set and can be modified, added or deleted according to the actual laying scenarios.

[0027] In one implementation, the cable laying rules include a shortest distance rule and a path volume ratio rule.

[0028] Among them, the shortest distance rule considers the length of the final cable path and gives priority to laying circuits in the cable channel with the shortest path to make the final cable path as short as possible. The path volume ratio rule considers the capacity of the cable channel for cables. When the volume of the cable channel is insufficient, the cables are sorted according to the cross-sectional size and cables with large cross-sectional areas are laid in the cable channel first.

[0029] In another implementation, the cable laying rules also include cable arrangement rules. The cable arrangement rules consider the aesthetics and orderliness of the cable arrangement, arrange the cables in sequence according to the spatial positions of the cable starting devices, and arrange the cables in sequence according to the spatial positions of the cable terminal devices, and hide the cable crossing and reconnection parts at the bends of the cable channel as much as possible to ensure that the cables are neatly arranged.

[0030] In another implementation, the cable laying rules include relevant provisions in the national standard "Power Engineering Cable Design Code GB50217-94".

[0031] Step S102, obtaining the inventory file.

[0032] The inventory file is used to characterize the initial information of the cable and the initial information of the equipment.

[0033] In one implementation, the inventory file includes a cable inventory file, and the cable inventory file is used to characterize initial information of the cable.

[0034] In another implementation, the inventory file includes a device inventory file, and the device inventory file is used to represent initial information of the device.

[0035] The inventory file is in XML format. BRCM software can directly identify the XML inventory file and obtain the corresponding cable initial information and equipment initial information.

[0036] Step S103, drawing a cable laying channel according to the civil engineering channel reserved for the project.

[0037] A cable laying channel is set up in the cable trench of the civil engineering channel reserved in the project. The cable laying channel includes a bridge, cable trench, cable shaft, buried pipe threading and virtual connection.

[0038] Exemplarily, the buried pipe threading function is similar to the arrangement of a bridge, which has a specified direction, and the corresponding cable laying channel is drawn according to the buried pipe threading direction.

[0039] Step S104, drawing the cable laying path in the cable laying channel according to the cable laying rules and the inventory file, and generating a three-dimensional visual cable diagram.

[0040] According to the cable laying rules, the cables and equipment included in the inventory file are automatically connected and laid in the cable laying channel. At the same time, the software can calculate the cable length according to the rules, and the cable inventory containing the cable length can be found everywhere. The laid cable information can be viewed individually or in batches.

[0041] A three-dimensional visual cable diagram is generated according to the drawn cable laying path, and the information and direction of the cables are marked in the generated three-dimensional visual cable diagram.

[0042] The cable laying visualization method provided in the present embodiment performs digital cable design in this implementation mode, establishes the shortest distance rule and the path volume ratio rule in advance in the drawing software, and configures the inventory file in the XML format compatible with the drawing software. The drawing software is used to directly read the inventory file to obtain the cable and equipment information, without the need to input the cable and equipment information one by one in the drawing software. This can improve the efficiency of cable laying work, and at the same time, the cable laying path is visualized in three dimensions to improve the readability of the laying drawings.

[0043] The three-dimensional software includes Bentley, Bochao, CATIA, Revit, etc. In this embodiment, a cable laying visualization method is provided, which is applied to BRCM software. Conventional modeling and layout are performed in advance in the BRCM software, and the ID of the equipment is defined in the BRCM software, that is, the equipment name of the equipment in the CAD design, and the equipment list is associated with the model. Figure 2 is a flow chart of another cable laying visualization method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0044] Step S201, obtaining cable laying rules.

[0045] For details, please see Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0046] Step S202, obtaining the inventory file.

[0047] Among them, the inventory files include cable inventory files and equipment inventory files.

[0048] Specifically, the above step S202 includes:

[0049] Step S2021, obtaining the cable inventory file.

[0050] The cable inventory file represents the initial information of the cable.

[0051] Configure the initial cable information, which includes the cable start device, cable end device, cable number, voltage level, and cable specification.

[0052] Construct a cable worksheet document in xls format and add the initial cable information to the cable worksheet document. Specifically, add the cable starting device, cable end device, cable number, voltage level and cable specification as a column of data to the cable worksheet document to obtain five columns of data.

[0053] Define each column of data in the cable worksheet document as initial cable information recognizable by the BRCM software, and generate a cable inventory file in XML format.

[0054] BRCM software adapts the modeling interface according to the requirements and can directly identify cable worksheet documents in xls format and cable inventory files in xml format.

[0055] Step S2022, obtaining a device inventory file.

[0056] The device inventory file represents the initial information of the device.

[0057] Configure the initial device information, which includes the device ID and device serial number.

[0058] Construct a device worksheet document in xls format and add the device initial information to the device worksheet document. Specifically, add the device ID and device serial number as a column of data to the cable worksheet document to obtain two columns of data.

[0059] Define each type of data in the equipment worksheet document as initial equipment information that can be identified by the BRCM software, and generate an equipment inventory file in XML format.

[0060] In one implementation, a device code is assigned to each device, wherein the device code includes two parts, a first part is a device ID, and a second part is a device serial number.

[0061] Specifically, the device type of each device is obtained, and a device ID is configured for the device according to the device type.

[0062] Specifically, the cable information connected to each device is obtained, the cable information including the cable number and the cable starting point, and the device serial number is configured for the device according to the cable information.

[0063] For example, the ID of the lighting distribution box is AL, and three cables are drawn out from AL to supply power to three lamps respectively. The starting point codes of the three cables are AL-X1, AL-X2 and AL-X3 respectively.

[0064] In another implementation, the length of the equipment is assigned. It can be understood that the length of the cable laying path includes not only the length of the cable but also the length of the equipment. Therefore, the length of each equipment is assigned for subsequent calculation of the length of the cable laying path. For example, three options of additional length of 0.2 meters, 0.5 meters and 1 meter are reserved.

[0065] Step S203, drawing a cable laying channel according to the civil engineering channel reserved for the project.

[0066] Draw the cable laying channel according to the cable trench or mezzanine of the reserved civil engineering channel of the project, where the cable laying channel includes bridges, cable trenches, cable shafts, buried pipes and virtual connections.

[0067] Among them, the buried pipe threading function is similar to the layout of the bridge. The direction of the pipeline is specified to ensure the consistency of the direction of the pipeline when drawing with BRCM software.

[0068] Among them, pipes include steel pipes, plastic pipes and other special materials, and pipes made of special materials need to be manually marked.

[0069] Among them, virtual connection is a virtual cable path designed in combination with actual engineering conditions. For example, if the cable is directly connected from the bridge to the equipment, the center line of the bridge and the equipment are connected by virtual connection. The connection rule is that there must be one or more connected paths on the path from the starting point to the end point of the cable, and no interruption is allowed in the middle.

[0070] Step S204, drawing a cable laying path in the cable laying channel according to the cable laying rules and the inventory file, and generating a three-dimensional visual cable diagram.

[0071] Import the cable laying rules and inventory files into the BRCM software, and use the BRCM software to identify the initial information of the pipeline and equipment. In an actual laying scenario, when both the equipment model and the initial information are placed, the equipment model and the imported initial information are automatically associated; when only the equipment model is placed, the initial information is manually imported and associated with the equipment model and the imported initial information; when there is no equipment model, the equipment model is manually placed, the initial information is imported, and the equipment model and the imported initial information are associated.

[0072] Specifically, the above step S204 includes:

[0073] Step S2041, drawing the cable laying path.

[0074] Read the cable inventory file and the equipment inventory file, and draw the cable laying path in the cable laying channel according to the shortest distance rule and path volume ratio rule based on the cable specifications and the cable starting point equipment, to ensure that each device is connected to an uninterrupted cable laying channel.

[0075] Specifically, assuming that the cross section of the first cable is larger than that of the second cable, according to the shortest distance rule, the shortest first cable laying channel is obtained, and the cables and equipment are drawn in the first cable laying channel according to the initial information of the cables and the initial information of the equipment in the inventory file. When the cross section of the first cable laying channel cannot lay the first cable and the second cable at the same time, according to the path volume ratio rule, the first cable is drawn in the cable laying channel and the second cable is drawn in the second cable laying channel to obtain the cable laying path. Among them, the distance of the first cable laying channel is shorter than that of the second cable laying channel.

[0076] Step S2042, generating a three-dimensional visual cable diagram.

[0077] A three-dimensional visual cable diagram is generated according to the drawn cable laying path, and the information and direction of the cables are marked in the generated three-dimensional visual cable diagram.

[0078] In one implementation, the length of the cable laying path is calculated based on the equipment length assignment and the cable specifications.

[0079] In one implementation, a cable inventory and a material list are compiled.

[0080] The cable laying visualization method provided in this embodiment performs digital cable design and can form a cable visualization laying function with semi-automatic design capabilities. The shortest distance rule and path volume ratio rule are established in the drawing software in advance, and the inventory file in XML format adapted to the drawing software is configured. The drawing software is used to directly read the inventory file to obtain the cable and equipment information, without the need to enter the cable and equipment information one by one in the drawing software. This can improve the efficiency of cable laying work, realize data-driven, intelligent modeling, and efficient design. At the same time, the cable laying path is visualized in three dimensions to improve the readability of the laying drawings. A platform innovation with three-dimensional design as the core is achieved to promote more convenient operation and user experience, and provide more efficient three-dimensional design; to achieve digital transformation of management assistance, build an enterprise-level full-business capability map, and explore management innovations solved by multi-level management models such as platform level, project level, and resource organization level.

[0081] In this embodiment, a cable laying visualization device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0082] This embodiment provides a cable laying visualization device. Figure 3 is a structural block diagram of a cable laying visualization device according to an embodiment of the present invention. Figure 3 As shown, including:

[0083] The first acquisition module 301 is used to acquire cable laying rules, where the cable laying rules include the shortest distance rule and the path volume ratio rule.

[0084] The second acquisition module 302 is used to acquire an inventory file, the inventory file represents the initial information of the cable and the initial information of the device, and the inventory file is an XML format file.

[0085] The first drawing module 303 is used to draw a cable laying channel according to the civil engineering channel reserved for the project.

[0086] The second drawing module 304 is used to draw the cable laying path in the cable laying channel according to the cable laying rules and the inventory file, and generate a three-dimensional visual cable diagram.

[0087] In some optional implementations, the inventory file includes a cable inventory file, the cable inventory file represents initial information of the cable, and the initial information of the cable includes a cable starting device, a cable end device, a cable number, a voltage level, and a cable specification. The second acquisition module 302 includes:

[0088] The cable configuration unit is used to configure the initial information of the cable.

[0089] The cable building unit is used to build the cable worksheet document and add the cable initial information to the cable worksheet document.

[0090] The cable definition unit is used to define each column of data in the cable worksheet document and generate a cable inventory file.

[0091] In some optional implementations, the inventory file also includes a device inventory file, the device inventory file represents the initial information of the device, and the initial information of the device includes the device ID and the device serial number. The second acquisition module 302 includes:

[0092] The device configuration unit is used to configure the initial information of the device.

[0093] The device construction unit is used to construct a device worksheet document and add initial device information to the device worksheet document.

[0094] The equipment definition unit is used to define each type of data in the equipment worksheet document and generate an equipment inventory file.

[0095] In some optional implementations, the device configuration unit includes:

[0096] The acquisition subunit is used to acquire the device type of each device; acquire the cable information connected to each device, the cable information includes the cable number and the cable starting point;

[0097] The configuration subunit is used to configure a device ID for the device according to the device type; and to configure a device serial number for the device according to the cable information.

[0098] In some optional implementations, the second drawing module 304 includes:

[0099] The distance laying drawing unit is used to obtain the first cable laying channel according to the shortest distance rule, and draw the cables and equipment in the first cable laying channel according to the initial information of the cables and the initial information of the equipment in the inventory file.

[0100] The volume ratio laying drawing unit is used to draw the first cable in the cable laying channel and the second cable in the second cable laying channel according to the path volume ratio rule when the cross section of the first cable laying channel cannot lay the first cable and the second cable at the same time, so as to obtain the cable laying path. The distance of the first cable laying channel is smaller than that of the second cable laying channel, the cross section of the first cable laying channel is larger than that of the second cable laying channel, and the cross section of the first cable is larger than that of the second cable.

[0101] In some optional implementations, the second drawing module 304 further includes:

[0102] The calculation unit is used to calculate the length of the cable laying path according to the equipment length assignment and the cable specifications.

[0103] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0104] The cable laying visualization device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0105] The embodiment of the present invention also provides a computer device having the above Figure 3 Visualisation of the cable routing shown.

[0106] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 4As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.

[0107] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0108] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0109] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0110] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0111] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0112] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0113] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0114] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0115] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A cable laying visualization method, characterized in that: The method comprises: Acquire cable laying rules, where the cable laying rules include a shortest distance rule and a path volume ratio rule; Obtaining an inventory file, wherein the inventory file is used to characterize initial information of the cable and initial information of the device, and the inventory file is an XML format file; Draw the cable laying channel according to the reserved civil engineering channel of the project; According to the cable laying rules and the inventory file, a cable laying path is drawn in the cable laying channel, and a three-dimensional visual cable diagram is generated.

2. The cable laying visualization method according to claim 1, characterized in that: The inventory file includes a cable inventory file, the cable inventory file is used to characterize the initial information of the cable, the initial information of the cable includes a cable starting device, a cable end device, a cable number, a voltage level and a cable specification, and the method for obtaining the cable inventory file includes: configuring initial information of the cable; Building a cable worksheet document, and adding the initial cable information to the cable worksheet document; Each column of data in the cable work sheet document is defined to generate the cable inventory file.

3. The cable laying visualization method according to claim 2, characterized in that: The inventory file also includes a device inventory file, and the device inventory file is used to represent the initial information of the device, and the initial information of the device includes a device ID and a device serial number. The method for obtaining the device inventory file includes: Configuring initial information of the device; Building a device worksheet document, and adding the device initial information to the device worksheet document; Each type of data in the equipment worksheet document is defined to generate the equipment inventory file.

4. The cable laying visualization method according to claim 3, characterized in that: The configuration of the device initial information includes: Obtaining the device type of each device; obtaining the cable information connected to each device, wherein the cable information includes the cable number and the cable starting point; The device ID is configured for the device according to the device type; and the device serial number is configured for the device according to the cable information.

5. The cable laying visualization method according to claim 4, characterized in that: Drawing a cable laying path in the cable laying channel according to the cable laying rule and the inventory file includes: According to the shortest distance rule, a first cable laying channel is obtained, and according to the initial information of the cable and the initial information of the device in the inventory file, the cable and the device are drawn in the first cable laying channel; When the cross-section of the first cable laying channel cannot simultaneously lay the first cable and the second cable, according to the path volume ratio rule, the first cable is drawn in the cable laying channel, and the second cable is drawn in the second cable laying channel to obtain the cable laying path; The distance of the first cable laying channel is smaller than that of the second cable laying channel, the cross-section of the first cable laying channel is larger than that of the second cable laying channel, and the cross-section of the first cable is larger than that of the second cable.

6. The cable laying visualization method according to claim 5, characterized in that: The initial information of the equipment also includes the equipment length assignment, and after obtaining the cable laying path, the following further includes: The length of the cable laying path is calculated based on the equipment length assignment and the cable specifications.

7. A cable laying visualization device, characterized in that: The device comprises: A first acquisition module is used to acquire cable laying rules, wherein the cable laying rules include a shortest distance rule and a path volume ratio rule; A second acquisition module is used to acquire an inventory file, wherein the inventory file represents initial information of the cable and initial information of the device, and the inventory file is an XML format file; The first drawing module is used to draw the cable laying channel according to the reserved civil engineering channel of the project; The second drawing module is used to draw the cable laying path in the cable laying channel according to the cable laying rules and the inventory file, and generate a three-dimensional visual cable map.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the cable laying visualization method according to any one of claims 1 to 6 by executing the computer instructions.

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 computer to execute the cable laying visualization method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the cable laying visualization method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Three-dimensional cable laying design system and method for nuclear power plant

    CN107563023A

  • Automatic cable laying method based on device and bridge positioning digitization

    CN110880717A

  • Processing method and system for cable laying modeling and storage medium

    CN111400899A

  • Substation cable laying simulation system

    CN112685863A

  • Statistical method, device and equipment for secondary cable length based on digital three-dimensional technology

    CN115292858A

Cited By

  • Intelligent design method and system for cable laying of rail transit substation and storage medium

    CN119849077A