Distribution network diagram processing method and device, electronic equipment and storage medium
By standardizing data formats across electric grid planning stages, the method addresses inefficiencies and reduces costs by facilitating seamless transitions and improving data precision.
Patent Information
- Application Number
- CN202510401588.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-07-15
AI Technical Summary
During the power grid planning process, the processors at each stage need to re-copy the data due to different database element formats, which consumes a lot of manpower and material resources and cannot guarantee the precision, which increases cost and complexity.
By obtaining power grid survey data, combining current power grid data and standard map data to generate grid edge layout, and converting it into standard format planning results images, receiving feasibility study and construction design drawings, generating structured topological data, and achieving standard unified processing of results in each stage.
The integration and standardization of the results of each stage of power grid planning has been achieved, reducing the difficulty and complexity of understanding between different stages and reducing costs.
Smart Images

Figure CN120318373A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a method, apparatus, electronic device and storage medium for processing a distribution network map. Background Art
[0002] The current power grid planning stage is mainly divided into: planning and design, preliminary plan and construction plan. Design drawings run through the entire planning business and are continuously refined by three parties.
[0003] In the current work process, the working modes and workflows used by each party are different. After the data is taken over by the processing party in the next stage, the data is stored in the database of this processing party, and the data is read from the database and revised. However, the data element formats of the databases of the processing parties in each stage may be different, and the processing party in each stage needs to redraw the transferred results once again, and then revise on this result to complete the work in the current stage. In this mode, a large amount of manpower and material resources are consumed, and the fineness of the redrawn data cannot be guaranteed, resulting in high labor and material costs. Summary of the Invention
[0004] The present invention provides a method, apparatus, electronic device and storage medium for processing a distribution network map, which can improve the processing efficiency of the distribution network map.
[0005] According to one aspect of the present invention, there is provided a method for processing a distribution network map, the method comprising:
[0006] Obtaining power grid survey data;
[0007] According to the power grid survey data and the current power grid data, the received power grid planning data is drawn in a preset standard map data to generate a power grid layout map, and the power grid planning data is associated with the current power grid data;
[0008] Converting the power grid layout map into a planning result image in a standard format, and adding the power grid survey data and the current power grid data to the planning result image;
[0009] Receiving a feasibility study design drawing corresponding to the planning result image, and generating feasibility study structured topology data; the feasibility study design drawing is a design drawing generated by refining the feasibility study of the power grid layout map; the format of the feasibility study design drawing includes the standard format;
[0010] Receiving a construction design drawing corresponding to the feasibility study design drawing, and generating construction structured topology data; the construction design drawing is a design drawing generated by refining the construction of the feasibility study design drawing; the format of the construction design drawing includes the standard format.
[0011] According to another aspect of the present invention, there is provided a device for processing a distribution network map, the device comprising:
[0012] A power grid survey data acquisition module for acquiring power grid survey data;
[0013] A power grid layout generation module for drawing the received power grid planning data in a preset standard map data according to the power grid survey data and the current power grid data to generate a power grid layout, and the power grid planning data is associated with the current power grid data;
[0014] A planning result generation module for converting the power grid layout into a planning result image in a standard format and adding the power grid survey data and the current power grid data to the planning result image;
[0015] A feasibility study result generation module for receiving a feasibility study design drawing corresponding to the planning result image and generating feasibility study structured topology data; the feasibility study design drawing is a design drawing generated by refining the feasibility study of the power grid layout; the format of the feasibility study design drawing includes the standard format;
[0016] A construction result generation module for receiving a construction design drawing corresponding to the feasibility study design drawing and generating construction structured topology data; the construction design drawing is a design drawing generated by refining the construction of the feasibility study design drawing; the format of the construction design drawing includes the standard format.
[0017] According to another aspect of the present invention, there is provided an electronic device, the electronic device includes:
[0018] At least one processor; and
[0019] A memory communicatively connected to the at least one processor; wherein,
[0020] 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 distribution network map processing method according to any embodiment of the present invention.
[0021] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the distribution network map processing method according to any embodiment of the present invention when executed.
[0022] The technical solution of the embodiment of the present invention generates a grid layout map by acquiring grid survey data and combining it with the current grid data, standard map data, and grid planning data, and converts the grid layout map into a planning result image in a standard format. It can also receive the feasibility study design drawings and construction design drawings corresponding to the planning result image, and convert the feasibility study design drawings and construction design drawings into structured topological data. It can standardize the result images of each stage, realize the integration of the results of the entire stage from grid planning to implementation, and convert them into result images with a unified standard, which can standardize the result images, facilitate users to browse and edit, reduce the understanding difficulty and complexity between different stages and different processing parties, and reduce the cost from grid planning to implementation.
[0023] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0025] Figure 1 is a flowchart of a distribution network map processing method provided according to an embodiment of the present invention;
[0026] Figure 2 is a flowchart of a distribution network map processing method provided according to an embodiment of the present invention;
[0027] Figure 3 is a processing flowchart of stage results provided according to an embodiment of the present invention;
[0028] Figure 4 is a scenario diagram of a distribution network map processing method provided according to an embodiment of the present invention;
[0029] Figure 5 is a schematic diagram of a distribution network map processing interface provided according to an embodiment of the present invention;
[0030] Figure 6 is a schematic structural diagram of a distribution network map processing device provided according to an embodiment of the present invention;
[0031] Figure 7 is a schematic structural diagram of an electronic device for implementing the distribution network map processing method of the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0032] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0033] 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 such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order different from those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0034] Figure 1 The figure is a flowchart of a power distribution network diagram processing method provided by an embodiment of the present invention. The embodiment of the present invention is applicable to the situation where, based on an existing power grid, in order to create a power grid connected to the existing power grid, the power grid to be created is planned, studied, and constructed. This method can be executed by a power distribution network diagram processing device, which can be implemented in the form of hardware and / or software, and the power distribution network diagram processing device can be configured in an electronic device with the function of processing the power distribution network diagram, such as a server.
[0035] See Figure 1 The power distribution network diagram processing method shown in the figure includes:
[0036] S101. Obtain power grid survey data.
[0037] Among them, the power grid survey data is used to prepare data for power grid planning, design, and construction. The power grid survey data may include: topographic and geomorphic data, geological condition data, line equipment status data, environment and meteorological data, electromagnetic environment data, usage data, etc. The media types of the power grid survey data may include text, images, and videos, etc. Images and videos can be collected on-site in the area to be constructed and used as power grid survey data. Public information of the area to be constructed can also be obtained to get text, which is added to the document and used as power grid survey data. In addition, text, images, videos, etc. of the area to be constructed input by the user can also be used as power grid survey data. After obtaining the power grid survey data, file sorting, compression, and distributed storage can be performed according to standard rules or templates, and different versions can be recorded for convenient traceability.
[0038] S102. According to the power grid survey data and the current power grid data, draw the received power grid planning data in the preset standard map data to generate a power grid layout. The power grid planning data is associated with the current power grid data.
[0039] Among them, the current power grid data may refer to the data of the existing constructed power grid. In the embodiments of the present invention, the power grid to be constructed does not exist in isolation. The power grid to be constructed needs to be connected to the constructed power grid. The power grid planning data may refer to the data of the power grid to be constructed input by the user. The standard map data may refer to the map data of the area where the power grid to be constructed is located. The current power grid data includes power equipment, some non-power equipment required for constructing the current power grid, and the connection relationships between various equipment, etc. The association between the power grid planning data and the current power grid data may mean that there is a connection relationship between the power grid planning data and the current power grid data. For example, there are connected equipment between the power grid to be constructed represented by the power grid planning data and the power grid represented by the current power grid data. The power grid layout may refer to the result of the planning stage. The power grid layout may include image elements and the connection relationships between the image elements. Attribute information, etc. may also be attached to the image elements. The standard map data includes geographically related image elements and power grid-related image elements. The geographically related image elements may include: roads, highways, buildings, vegetation, and water systems, etc. The power grid-related image elements may include: power grid equipment, railways, voltage lines, and cables, etc. The power grid layout may include the standard map data and the connection relationships between the power grid equipment at each position in the standard map data and the connected power grid equipment, etc.
[0040] It can display standard map data and receive power grid planning data input by users in the standard map data. For example, it can receive image elements generated and laid out by users in the standard map data, and receive connection lines established by users between at least two image elements, etc. It can extract data from power grid survey data and current power grid data and fill them into the standard map data added with power grid planning data. For example, it can receive information extracted by users from power grid survey data and current power grid data and add it to the image elements and connection lines of the standard map data added with power grid planning data to form a power grid layout.
[0041] S103. Convert the power grid layout into a planning result image in a standard format, and add the power grid survey data and the current power grid data to the planning result image.
[0042] Among them, the standard format can be the format of common drawing software. The content of the planning result image is the same as that of the power grid layout. Adding the power grid survey data and the current power grid data to the planning result image can be to package the power grid survey data, the current power grid data and the planning result and store them as a piece of information.
[0043] S104. Receive the feasibility study design drawing corresponding to the planning result image and generate feasibility study structured topology data; the feasibility study design drawing is a design drawing generated by refining the feasibility study of the power grid layout; the format of the feasibility study design drawing includes the standard format.
[0044] Among them, the feasibility study design drawing can refer to the design drawing obtained from the feasibility study. The feasibility study structured topology data can refer to the structured text data converted from the image data in the feasibility study design drawing. Compared with the power grid layout, the feasibility study design drawing is more refined image data. The refinement direction of the feasibility study design drawing can be to add entities that pass the feasibility study, the connection relationships between entities, and the positions of the connection lines of the connection relationships, etc. Users can provide the feasibility study design drawing. Users usually use applications that support the standard format to add, delete, modify, etc. the planning result image to obtain the feasibility study design drawing.
[0045] Specifically, the power grid layout can be schematic image data, such as power grid equipment and connection lines (such as straight lines) between power grid equipment, and is usually edited by power grid users to generate the power grid layout. The feasibility study design drawing includes more equipment, ports and connection lines (such as curves) that need to be installed at any position, and is usually edited by design institute users to generate the feasibility study design drawing. And the entities in the feasibility study design drawing usually cover all power grid equipment.
[0046] In an example, the power grid layout can include each power grid equipment in the power grid and schematic connection lines between each power grid equipment. The feasibility study design drawing can include power channels, line routes and pipelines in the power grid.
[0047] S105. Receive the construction design drawing corresponding to the feasibility study design drawing, and generate construction structured topology data; the construction design drawing is a design drawing generated by refining the feasibility study design drawing for construction; the format of the construction design drawing includes the standard format.
[0048] Among them, the construction design drawing can refer to the design drawing for construction. The construction structured topology data can refer to the structured text data converted from the image data in the construction design drawing. Compared with the feasibility study design drawing, the construction design drawing is more refined image data. The refinement direction of the construction design drawing can be to add entities for construction, the connection relationships between entities, and the positions of the connection lines of the connection relationships, etc. The user can provide the construction design drawing. The user usually uses an application that supports the standard format to perform operations such as adding, deleting, and modifying the feasibility study design image to obtain the construction design drawing.
[0049] Specifically, the construction design drawing more includes the content related to the construction of the power grid corresponding to the feasibility study design drawing. For example, the model, materials, auxiliary equipment, and channels of the equipment used to build the power grid, etc. In one example, the construction design drawing can include power information, engineering quantity information, and equipment materials, etc.
[0050] The technical solution of the embodiment of the present invention, by obtaining power grid survey data, and combining the current power grid data, standard map data, and power grid planning data, generates a power grid layout diagram, and converts the power grid layout diagram into a planning result image in standard format. It can also receive the feasibility study design drawing and the construction design drawing corresponding to the planning result image, and convert the feasibility study design drawing and the construction design drawing into structured topology data. It can perform standard unified processing on the result images of each stage, realize the integration of the results of the entire stage from power grid planning to implementation, and convert them into result images with a unified standard, which can standardize the result images, facilitate users to browse and edit, reduce the understanding difficulty and complexity between different stages and different processing parties, and reduce the cost from power grid planning to implementation.
[0051] Figure 2 It is a flowchart of a method for processing a distribution network diagram provided by an embodiment of the present invention. On the basis of the above embodiment, the embodiment of the present invention specifically defines "converting the power grid layout diagram into a planning result image in standard format" as: determining a cropping boundary according to the power grid survey data and the current power grid data; cropping the power grid layout diagram according to the cropping boundary to obtain at least one sub-layout diagram; for each of the sub-layout diagrams, converting the sub-layout diagram into a planning result image in standard format, and the planning result images converted from each of the sub-layout diagrams are used to provide to at least one feasibility study user for editing to obtain the corresponding feasibility study design drawing. It should be noted that for the parts not detailed in the embodiment of the present invention, reference can be made to the descriptions of other embodiments.
[0052] See Figure 2 the distribution network diagram processing method shown in the figure, including:
[0053] S201. Obtain power grid survey data.
[0054] S202. According to the power grid survey data and the current power grid data, draw the received power grid planning data in the preset standard map data to generate a power grid layout diagram, and the power grid planning data is associated with the current power grid data.
[0055] S203. Determine a cutting boundary according to the power grid survey data and the current power grid data.
[0056] Among them, the cutting boundary is used to divide the power grid layout diagram. The cutting boundary is used as the contour boundary of the divided layout diagram. Among them, the cutting boundary is usually not a boundary of a regular shape. In some embodiments, the power grid layout diagram can be divided along geographical elements, or the power grid layout diagram can be divided according to administrative regions, etc. According to the power grid survey data and the current power grid data, the cutting boundary can be determined with the goal of evenly dividing the power grid layout diagram. In fact, due to confidentiality or other business requirements, the complete power grid layout diagram cannot be provided to the users in the next stage for editing and processing. Elements constituting the cutting boundary can be specified in the power grid survey data and the current power grid data, and the specified elements can be determined as the cutting boundary.
[0057] S204. Cut the power grid layout diagram according to the cutting boundary to obtain at least one sub-layout diagram.
[0058] Among them, the boundary of the sub-layout diagram includes the cutting boundary. The power grid layout diagram can be divided into at least one sub-layout diagram. The power grid layout diagram can include the images of all sub-layout diagrams and other regions. This other region can be a region that does not require feasibility study and construction. In some embodiments, according to the power grid survey data and the current power grid data, the current power grid data is determined to be an administrative region, and the power grid survey data is multiple administrative regions adjacent to the current power grid data. At this time, the boundary of a certain administrative region among the multiple administrative regions can be determined as the cutting boundary, and the region belonging to this administrative region in the power grid layout diagram can be determined as a sub-layout diagram. In some embodiments, the power grid survey data includes multiple rivers, and the region surrounded by the multiple rivers can be determined as a sub-layout diagram, the rivers surrounding the sub-layout diagram are determined as the cutting boundary, and the region obtained by dividing the surrounded region by the current power grid can also be used as a sub-layout diagram, and the rivers and the current power grid are determined as the cutting boundary.
[0059] S205. For each of the sub-layouts along the route, convert the sub-layout along the route into a planning result image in a standard format. The planning result images converted from the sub-layouts along the route are used to be provided to at least one feasibility study user for editing to obtain corresponding feasibility study design drawings.
[0060] Among them, the standard format can be the Drawing Exchange Format (DXF) format, which can be applied to Computer-Aided Design (CAD) applications. The planning result images in the standard format are used to be provided to offline users for addition, deletion, and modification. The planning result images in the standard format can be downloaded to the local client. Among multiple sub-layouts along the route, there are sub-layouts along the route that can be used to provide different feasibility study users for feasibility studies, or can also be provided to the same feasibility study user for feasibility studies, which can be determined according to business requirements. One sub-layout along the route can be converted to obtain one planning result image. The content remains unchanged before and after conversion, but the format changes. The content of the sub-layout along the route is the same as the content of the planning result image, and the format of the sub-layout along the route is different from the format of the planning result image.
[0061] It is possible to obtain the graphic information in the sub-layout along the route and generate entities. Among them, the graphic information can include image elements, connection lines, etc.; and / or obtain the attribute information in the sub-layout along the route and generate label information. Among them, the attribute information can include the attributes of image elements, the attributes of connection lines, etc. At the same time, the label generated from the attribute information serves as the label of the entity corresponding to the graphic information described by the attribute information. According to the entities and label information, generate a planning result image in a standard format. In some embodiments, it is possible to extract power grid topology data and geographical feature data from the sub-layout along the route, and determine graphic information and attribute information from the power grid topology data and geographical feature data.
[0062] S206. Add the power grid survey data and the current power grid data to the planning result image.
[0063] Among them, the power grid survey data and the current power grid data are used as materials for the planning result and added to the planning result image to enrich the planning result. Among them, the graphic information in the power grid survey data and the current power grid data can be used to generate entities, and the attribute information in the power grid survey data and the current power grid data is used to generate label information. Or, it is also possible to directly package the planning result image, the power grid survey data, and the current power grid data together to generate the same resource package, and at the same time associate the power grid survey data and the current power grid data with the planning result image so that the power grid survey data and the current power grid data can be displayed in the display interface of the planning result graph.
[0064] S207. Receive the feasibility study design drawing corresponding to the planned result image, and generate feasible study structured topology data; the feasibility study design drawing is a design drawing generated by refining the feasibility study of the grid layout; the format of the feasibility study design drawing includes the standard format.
[0065] S208. Receive the construction design drawing corresponding to the feasibility study design drawing, and generate construction structured topology data; the construction design drawing is a design drawing generated by refining the construction of the feasibility study design drawing; the format of the construction design drawing includes the standard format.
[0066] In the embodiment of the present invention, by determining the clipping boundary according to the grid survey data and the current grid data, and dividing the grid layout according to the clipping boundary to obtain at least one sub-layout, and converting the format of the grid layout into the format conversion of each sub-layout, it is possible to perform feasibility study editing in units of sub-layouts, avoid direct access of feasibility study users to the complete grid layout, and improve the data security of the grid layout.
[0067] In an optional embodiment, the generating of the construction structured topology data includes: identifying the construction design drawing to obtain a plurality of image elements and the connection relationships between the image elements; generating structured text according to the image elements and the connection relationships between the image elements, and determining it as the construction structured topology data.
[0068] Among them, the structured text may refer to the text that defines data according to the hierarchical structure. The hierarchical structure may be consistent with the hierarchy of the image elements in the design drawing and the connection relationships between the image elements. The hierarchy of the image element can be determined according to the number of connections of the image element. For example, the more the number, the higher the hierarchy, the same number, the same hierarchy, and the fewer the number, the lower the hierarchy. The image elements with connection relationships can be in adjacent hierarchies. Generating structured text according to the construction design drawing can convert the construction design drawing into general text information, so as to be converted into images of more formats.
[0069] It can be seen that by converting the construction design drawing into structured text, the structural relationship between the image elements and the image elements can be stored, and the construction structured topology data in the construction design drawing can be recorded in text form, so as to be converted into images of more formats to adapt to the scenario of multi-party circulation of the construction design drawing.
[0070] In an optional embodiment, generating the feasible study structured topology data includes: identifying the feasible study design drawing to obtain a plurality of image elements and the connection relationships between the image elements; generating structured text according to the image elements and the connection relationships between the image elements, and determining it as the feasible study structured topology data.
[0071] Generating structured text based on the feasibility study design drawing can convert the feasibility study design drawing into general text information for conversion into images in more formats. It can be seen that by converting the feasibility study design drawing into structured text, the image elements and the structural relationships between the image elements can be stored, and the feasibility study structured topology data in the feasibility study design drawing can be recorded in text form for conversion into images in more formats to adapt to the scenario of multi-party circulation of the feasibility study design drawing.
[0072] In an optional embodiment, adding the power grid survey data and the current power grid data to the planning result image includes: extracting graphic information from the power grid survey data and the current power grid, and generating at least one corresponding entity according to at least one piece of extracted graphic information; extracting the attribute information of each piece of graphic information from the power grid survey data and the current power grid, and generating label information for the entities corresponding to each piece of graphic information according to the extracted attribute information; adding each entity and the label information of each entity to the planning result image.
[0073] Among them, in the planning result image, the entity is used as an image element and can be rendered and displayed in the application interface. The label information of the entity serves as the label of the image element and can be displayed when triggered. Among them, the entity is a node in the topological structure, and the connection relationship of the entity can be included in the label information.
[0074] It can be seen that by extracting graphic information from the power grid survey data and the current power grid to generate entities, and extracting the attribute information of the graphic information to generate label information and adding them to the planning result graphic, the content of the planning result image can be enriched.
[0075] In an optional embodiment, after generating the feasibility study structured topology data, it further includes: obtaining at least one keyword field of the report template; extracting the key information corresponding to each keyword field from the power grid layout and the feasibility study structured topology data; filling the key information corresponding to each keyword field into the report template to generate a feasibility study report; and associatively storing the feasibility study report with the feasibility study structured topology data.
[0076] Among them, the report template can refer to the template of the feasibility study report. Some key information is missing in the report template, and this key information is obtained from the generated result images. The keyword fields can refer to the descriptive information of the content to be filled. The key information can refer to the content to be filled. Corresponding images or texts can be extracted from the grid layout and the feasibility study structured topology data according to the keyword fields, descriptive texts are generated based on the extracted images, and abstract processing is performed on the descriptive texts and the extracted texts to generate the key information, thereby determining the key information corresponding to the keyword fields. The report template can be a table, and the keyword fields are table fields, and the key information corresponding to the keyword fields can be filled into the cells corresponding to the table fields. After filling in the key information corresponding to all the keyword fields, the filled report template is determined as the feasibility study report. The feasibility study report is the result of the feasibility study. The feasibility study report and the feasibility study structured topology data can be associated and stored. The feasibility study structured topology data can be queried through the feasibility study report, and the feasibility study report can be queried through the feasibility study structured topology data. The feasibility study report usually extracts the key results in the feasibility study.
[0077] In some embodiments, the feasibility study table template includes fields such as power source point description field, project current situation field, planning change field, expected implementation effect field, and project scale field. Among them, the key information corresponding to the power source point description field can be the relevant information of the power source point, including basic situations such as the type, location, and capacity of the power source point. The key information corresponding to the project current situation field can be the information on the current project progress of the project, including the stage where the project is located, the work completed, and the tasks not completed. The planning change field can be the information on whether there are changes and adjustments between the planning stage and the feasibility study stage. The key information corresponding to the expected implementation effect field can include the information on the expected effects after the project implementation, which can include the estimation of aspects such as the achievement of project goals, benefit analysis, cost-benefit, and environmental impact. The key information corresponding to the project scale field can be the information on the scale and scope of the project, which can include: content such as the capacity, investment amount, and construction area of the project.
[0078] It can be seen that by obtaining the keyword fields in the feasibility study template, extracting the key information corresponding to the keyword fields from the grid layout and the feasibility study structured topology data, filling them into the feasibility study template to generate the feasibility study report, and associating and storing it with the feasibility study structured topology data, the content and dimension of the feasibility study results can be increased, and the integrity of the feasibility study results can be enriched.
[0079] In an optional embodiment, after generating the construction structured topology data, it further includes: performing conflict detection on the construction structured topology data; the conflict detection includes: change conflicts between the construction structured topology data and the stored power grid data; the stored power grid data includes at least one of the following: the current situation power grid data, the power grid layout, and the feasibility study structured topology data; when the conflict detection of the construction structured topology data passes, store the construction structured topology data.
[0080] Among them, conflict detection is used to detect whether the uploaded results are consistent with the results of the previous stage. Change conflicts may refer to conflicts caused by changes in the results of the previous stage. When the currently uploaded results are uploaded after the changes in the results of the previous stage, generally, the currently uploaded results are edits to the results of the previous stage before the changes, and the changed data of the results of the previous stage after the changes is not inherited into the currently uploaded results, resulting in conflicts between the results of the previous stage after the changes and the currently uploaded results of the later stage. The results of the previous stage are the stored power grid data. Specifically, the stored power grid data is the results stored in each stage.
[0081] In some embodiments, changes in the current situation power grid data, the power grid layout, and the feasibility study structured topology data can cause changes in the construction structured topology data. It is possible to detect change conflicts between the changed current situation power grid data and the generated construction structured topology data. For example, if there are changes in the connection relationships of power grid equipment in the current situation power grid data, the power grid layout, and the feasibility study structured topology data, detect whether there is a topology structure related to the changed data in the generated construction structured topology data. If it exists, it is determined that the conflict detection fails; if it does not exist, it is determined that the conflict detection passes.
[0082] It can be seen that by performing conflict detection on the construction structured data and storing the construction structured topology data when the conflict detection passes, it is possible to ensure that there are no conflicts in the construction structured data and improve the accuracy of the construction structured data.
[0083] In an optional embodiment, after generating the feasibility study structured topology data, it further includes: performing correctness verification on the construction structured topology data; the correctness verification includes at least one of the following: connection verification between the construction structured topology data and the current situation power grid data, specification verification of the construction structured topology data, and connection correctness verification of the construction structured topology data; when the correctness verification of the construction structured topology data passes, store the construction structured topology data.
[0084] Among them, the connection verification between the construction structured topology data and the current power grid data can refer to the verification of whether the connection between the power grid described in the construction structured topology data and the power grid described in the current power grid data is correct. The specification verification of the construction structured topology data can refer to the verification of whether the power grid described in the construction structured topology data meets the specifications. The connection correctness verification of the construction structured topology data can refer to the verification of whether the connection of the topological structure in the power grid described in the construction structured topology data is correct.
[0085] It can be seen that by performing conflict detection on the construction structured data and storing the construction structured topology data when the conflict detection passes, it can ensure that there are no errors in the construction structured data and improve the accuracy of the construction structured data.
[0086] In one embodiment, the distribution network map processing method may include: a remote survey phase, a planning phase, a feasibility study phase, and a construction phase. As Figure 3 shown, the results uploaded in the foregoing phases may include the inheritance and transfer of the results of three phases. Inherit the planning results, edit the planning results based on CAD to generate feasibility study results. Inherit the feasibility study results, edit the feasibility study results based on CAD to generate construction results. Inherit the construction results and modify the construction results based on CAD. Among them, in the embodiment of the present invention, the planning results may include the grid layout map, and the feasibility study results may include the feasibility study design drawing and the feasibility study structured topology data. The construction results may include: construction design drawings, construction structured topology data, etc.
[0087] As Figure 4 shown, the distribution network map processing method may include:
[0088] 1. Remote survey phase
[0089] In the remote survey phase, on-site picture surveys and remote camera surveys are carried out, etc., and are archived for subsequent unified collation and use.
[0090] 2. Planning phase
[0091] The planning phase is the phase that is executed online. Combining standard map data, current power grid data, and power grid survey data, layout drawing is realized through the web page to generate the power grid layout drawing. Based on the power grid topology structure, the planned power grid layout drawing is drawn online, and the drawing data is stored in a structured manner and visually previewed. The power grid layout drawing can be divided to obtain sub-layout drawings. The sub-layout drawings can be previewed online. In addition, the data obtained in the planning phase and the remote survey phase can be packaged. The power grid layout drawing can include geographical feature data, part of the current power grid data, and the power grid data of this plan. Among them, the geographical feature data can be extracted from the standard map data, and the power grid data includes the current power grid data and the power grid data of this plan. The format of the power grid layout drawing can be converted, and the key information of the power grid layout drawing can be extracted and filled into the feasibility study template to generate a feasibility study report. The materials generated in the planning phase are packaged according to the specifications. The material package can be downloaded to the client for the client to execute the feasibility study phase and the construction phase offline. And receive the results of the feasibility study phase and the construction phase and add them to the corresponding material package to inherit the feasibility study results and construction results into the material package. Among them, the application that supports the standard format can be CAD.
[0092] 3. Feasibility Study Phase
[0093] The feasibility study phase is a phase that can be executed offline. The drawing model materials (converting the layout drawing drawn online into a DXF drawing model) and other materials of the online planning phase are downloaded in a packaged manner. For example, other materials can include: standard map data, current power grid data, power grid survey data, etc. Drawing is completed by importing into the CAD drawing tool. In the CAD drawing tool, the layout drawing drawn in the planning phase will be directly displayed on the CAD, and direct modification of the drawing is supported.
[0094] Specifically, the geographical feature data can be cropped within a specified range. Among them, the geographical feature data can include: roads, water systems, building surfaces, rivers, etc.; and the power grid equipment data can be cropped within a specified range according to the power grid topology structure; customize the conversion of geographical features and power grid equipment data into DXF format; automatically identify the key data of the planning results into the feasibility study report; organize, store, and package the uploaded results and pre-stored materials according to the specified structure.
[0095] 4. Construction Phase
[0096] The construction phase is a phase that can be executed offline. The drawing model materials (DXF drawing model) and other materials of the feasibility study preparation phase are downloaded in a packaged manner. For example, other materials can include: standard map data, current power grid data, power grid survey data, and materials uploaded in the feasibility study phase, etc. Drawing is completed by importing into the CAD drawing tool. In the CAD drawing tool, the layout drawing drawn in the feasibility study phase will be directly displayed on the CAD, and direct modification of the drawing is supported.
[0097] Specifically, the structured power grid topology data can be customized in XML format to construct a unified model of CAD and server-side power grid data, and generate construction structured topology data. Additionally, feasibility study structured topology data can also be generated during the feasibility study phase. Furthermore, conflict detection and correctness verification can be performed on the construction structured topology data based on the topological structure.
[0098] Among them, for the results uploaded in the feasibility study phase and the construction phase, power grid equipment services can also be used for conflict detection and correctness verification, and the data that passes the conflict detection and correctness verification can be stored in the database. Moreover, the feasibility study results and construction results can be read from the database.
[0099] In one example, as Figure 5 shown, the interface of the feasibility study design drawing in the feasibility study phase can include a navigation bar, which is used to read the planning results, that is, the power grid layout, and the power grid layout and the feasibility study design drawing can also be edited. The file directory is used to read resources from the downloaded data package and render and display them. The image area can display the power grid layout or the feasibility study design drawing being edited, etc. The power grid equipment area is used to display entities, that is, power grid equipment, etc.
[0100] Figure 6 The figure is a schematic structural diagram of a distribution network map processing device provided by an embodiment of the present invention. The embodiment of the present invention is applicable to the situation of planning, feasibility study, and construction of a power grid to be created on the basis of an existing power grid and connected to the existing power grid. The device can execute the distribution network map processing method, and the device can be implemented in the form of hardware and / or software, and the device can be configured in an electronic device carrying the distribution network map processing function.
[0101] See Figure 6 the distribution network map processing device shown, including:
[0102] A power grid survey data acquisition module 601, configured to acquire power grid survey data;
[0103] A power grid layout generation module 602, configured to draw the received power grid planning data in preset standard map data according to the power grid survey data and the current power grid data to generate a power grid layout, and the power grid planning data is associated with the current power grid data;
[0104] A planning result generation module 603, configured to convert the power grid layout into a planning result image in a standard format, and add the power grid survey data and the current power grid data to the planning result image;
[0105] The feasibility study result generation module 604 is configured to receive the feasibility study design drawing corresponding to the layout planning result image and generate the feasibility study structured topology data; the feasibility study design drawing is a design drawing generated by refining the feasibility study of the grid layout; the format of the feasibility study design drawing includes the standard format.
[0106] The construction result generation module 605 is configured to receive the construction design drawing corresponding to the feasibility study design drawing and generate the construction structured topology data; the construction design drawing is a design drawing generated by refining the construction of the feasibility study design drawing; the format of the construction design drawing includes the standard format.
[0107] The technical solution of the embodiment of the present invention, by acquiring the grid survey data, and combining the current grid data, the standard map data and the grid planning data, generates the grid layout drawing, and converts the grid layout drawing into a planning result image in the standard format, and can also receive the feasibility study design drawing and the construction design drawing corresponding to the planning result image, and convert the feasibility study design drawing and the construction design drawing into structured topology data, can standardize the result drawings of each stage, realize the result integration of the whole stage from grid planning to implementation, and convert them into result images in a unified standard, can standardize the result images, facilitate user browsing and editing, reduce the understanding difficulty and complexity between different stages and different processing parties, and reduce the cost from grid planning to implementation.
[0108] Optionally, the construction result generation module 605 is specifically configured to:
[0109] Identify the construction design drawing, and obtain a plurality of image elements and the connection relationships between the image elements;
[0110] Generate structured text according to the image elements and the connection relationships between the image elements, and determine it as the construction structured topology data.
[0111] Optionally, the planning result generation module 603 is specifically configured to:
[0112] Extract graphic information from the grid survey data and the current grid, and generate at least one corresponding entity according to at least one piece of extracted graphic information;
[0113] Extract the attribute information of each piece of graphic information from the grid survey data and the current grid, and generate the label information of the entity corresponding to each piece of graphic information according to the extracted attribute information;
[0114] Add each entity and the label information of each entity to the planning result image.
[0115] Optionally, the distribution network drawing processing device further includes: a feasibility study report generation module, configured to:
[0116] After generating the feasibility study structured topology data, obtaining at least one key field of the report template;
[0117] Extracting key information corresponding to each of the key fields from the power grid layout and the feasibility structured topology data;
[0118] Fill the key information corresponding to each of the key fields into the report template to generate a feasibility study report;
[0119] The feasibility study report is associated with the feasibility study structured topology data and stored.
[0120] Optionally, the distribution network diagram processing device further includes: a conflict detection module, which is used to:
[0121] After the construction structured topology data is generated, conflict detection is performed on the construction structured topology data; the conflict detection includes: a change conflict between the construction structured topology data and the stored power grid data; the stored power grid data includes at least one of the following: the current power grid data, the power grid layout and the feasibility study structured topology data;
[0122] When the conflict detection of the construction structured topology data is passed, the construction structured topology data is stored.
[0123] Optionally, the distribution network diagram processing device further includes: a correctness verification module, which is used to:
[0124] After generating the feasibility study structured topology data, the construction structured topology data is checked for correctness; the correctness check includes at least one of the following: connection check between the construction structured topology data and the current power grid data, specification check of the construction structured topology data, and connection correctness check of the construction structured topology data;
[0125] When the correctness check of the construction structured topology data passes, the construction structured topology data is stored.
[0126] The distribution network diagram processing device provided in the embodiment of the present invention can execute the distribution network diagram processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0127] In the technical solutions of the embodiments of the present invention, the acquisition, storage and application of the data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0128] Figure 7The structure diagram of an electronic device 700 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0129] As Figure 7 shown, the electronic device 700 includes at least one processor 701 and a memory communicatively connected to the at least one processor 701, such as a read-only memory (ROM) 702, a random access memory (RAM) 703, etc. The memory stores a computer program executable by the at least one processor. The processor 701 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 702 or the computer program loaded from the storage unit 708 into the random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 can also be stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. The input / output (I / O) interface 705 is also connected to the bus 704.
[0130] Multiple components in the electronic device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disc, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0131] The processor 701 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 701 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 701 executes the various methods and processes described above, such as the network configuration diagram processing method.
[0132] In some embodiments, the distribution network map processing method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the processor 701, one or more steps of the distribution network map processing method described above may be executed. Alternatively, in other embodiments, the processor 701 may be configured to execute the distribution network map processing method by any other suitable means (e.g., by means of firmware).
[0133] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a dedicated or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0134] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a dedicated computer, or other programmable data processing device, such that when the computer programs are executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs 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.
[0135] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] In order 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 a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds 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).
[0137] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0138] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS (Virtual Private Server) services.
[0139] It should be understood that various forms of processes shown above can be used, with steps reordered, added or deleted. For example, the steps recited in the present invention can be executed 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, and no limitation is made herein.
[0140] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for processing a distribution network diagram, characterized in that, The method includes: Obtaining power grid survey data; According to the power grid survey data and the current power grid data, plotting the received power grid planning data in a preset standard map data to generate a power grid layout map, where the power grid planning data is associated with the current power grid data; Converting the power grid layout map into a planning result image in a standard format, and adding the power grid survey data and the current power grid data to the planning result image; Receiving a feasibility study design drawing corresponding to the planning result image, and generating feasibility study structured topology data; the feasibility study design drawing is a design drawing generated by refining the feasibility study of the power grid layout map; the format of the feasibility study design drawing includes the standard format; Receiving a construction design drawing corresponding to the feasibility study design drawing, and generating construction structured topology data; the construction design drawing is a design drawing generated by refining the construction of the feasibility study design drawing; the format of the construction design drawing includes the standard format.
2. The method according to claim 1, wherein The converting the power grid layout map into a planning result image in a standard format includes: Determining a cutting boundary according to the power grid survey data and the current power grid data; Cutting the power grid layout map according to the cutting boundary to obtain at least one sub-layout map; For each of the sub-layout maps, converting the sub-layout map into a planning result image in a standard format, and the planning result images converted from the sub-layout maps are used to provide to at least one feasibility study user for editing to obtain corresponding feasibility study design drawings.
3. The method according to claim 1, wherein The generating the construction structured topology data includes: Identifying the construction design drawing to obtain a plurality of image elements and the connection relationships between the image elements; Generating structured text according to each of the image elements and the connection relationships between the image elements, and determining it as the construction structured topology data.
4. The method according to claim 1, characterized in that, The adding the power grid survey data and the current power grid data to the planning result image includes: Extracting graphic information from the power grid survey data and the current power grid, and generating at least one corresponding entity according to at least one of the extracted graphic information; Extracting attribute information of each of the graphic information from the power grid survey data and the current power grid, and generating label information of the entities corresponding to each of the graphic information according to the extracted attribute information; Adding each of the entities and the label information of each of the entities to the planning result image.
5. The method according to claim 1, wherein After generating the feasibility study structured topology data, it further includes: Obtaining at least one keyword field of a report template; Extracting key information corresponding to each of the keyword fields from the power grid layout map and the feasibility study structured topology data; Filling the key information corresponding to each of the keyword fields into the report template to generate a feasibility study report; Associatively storing the feasibility study report and the feasibility study structured topology data.
6. The method according to claim 1, characterized in that, After generating the construction structured topology data, it further includes: Perform conflict detection on the construction structured topology data; the conflict detection includes: change conflicts between the construction structured topology data and the stored power grid data; the stored power grid data includes at least one of the following: the current power grid data, the power grid layout, and the feasibility study structured topology data; When the conflict detection of the construction structured topology data passes, store the construction structured topology data.
7. The method according to claim 1, wherein After generating the feasibility study structured topology data, it further includes: Perform correctness verification on the construction structured topology data; the correctness verification includes at least one of the following: connection verification between the construction structured topology data and the current power grid data, specification verification of the construction structured topology data, and connection correctness verification of the construction structured topology data; When the correctness verification of the construction structured topology data passes, store the construction structured topology data.
8. A distribution network diagram processing device, characterized in that, The device includes: A power grid survey data acquisition module for acquiring power grid survey data; A power grid layout generation module for drawing the received power grid planning data in the preset standard map data according to the power grid survey data and the current power grid data to generate a power grid layout, and the power grid planning data is associated with the current power grid data; A planning result generation module for converting the power grid layout into a planning result image in a standard format and adding the power grid survey data and the current power grid data to the planning result image; A feasibility study result generation module for receiving the feasibility study design drawing corresponding to the planning result image and generating feasibility study structured topology data; the feasibility study design drawing is a design drawing generated by refining the feasibility study of the power grid layout; the format of the feasibility study design drawing includes the standard format; A construction result generation module for receiving the construction design drawing corresponding to the feasibility study design drawing and generating construction structured topology data; the construction design drawing is a design drawing generated by refining the construction of the feasibility study design drawing; the format of the construction design drawing includes the standard format.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distribution network diagram processing method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to implement the distribution network diagram processing method according to any one of claims 1-7 when executed.