Distribution cloud master station-based automatic platform area graph display system and method
1. The utility model provides an automatic display system of platform district picture based on distribution cloud main website which characterized in that includes: the system comprises a WEB graph client, a WEB graph server and basic services which are sequentially connected;
the basic service is issued by a power distribution cloud master station, and provides graphics or configuration files, real-time data and model data to the WEB graphics server;
the WEB graphic client side and the WEB graphic server side perform bidirectional interaction; the WEB graphic server side provides background service and supports the automatic generation logic of the region diagram; and the WEB graphic client automatically displays the plot graph obtained from the WEB graphic server.
2. The distribution area graph automatic display system based on the power distribution cloud main station is characterized in that: the WEB graphic client comprises a WEB graphic editor, a WEB graphic browser and a WEB model retriever, wherein the WEB graphic editor finishes graphic editing based on a B/S browser; the WEB graphic browser finishes graphic browsing based on a B/S browser; and the WEB model retriever completes model retrieval based on the B/S browser.
3. The distribution area graph automatic display system based on the power distribution cloud main station is characterized in that: the WEB graphic service end comprises a region verification service, a region graph generation service, a region graph verification service, a region graph updating service and an electric meter graphic element automatic generation service.
4. The distribution area graph automatic display system based on the power distribution cloud main station is characterized in that: the basic service comprises a permission service, a file service, a model service and a real-time data service; the authority service is used for acquiring user authority; the file service is used for acquiring a graph or a configuration file; the real-time data service is used for acquiring real-time data; the model service is used to obtain model data.
5. The distribution area graph automatic display system based on the power distribution cloud main station is characterized in that: the model data comprises a medium voltage model and a low voltage model; the medium voltage model comprises a distribution network transformer; the low-voltage model comprises a low-voltage transformer area, a low-voltage bus, a low-voltage switch, a meter box and an electric meter.
6. A distribution area graph automatic display method based on a power distribution cloud master station is characterized by comprising the following steps:
starting a WEB graphic editor on a B/S browser, and receiving and initializing various entry parameters;
calling a region verification service of a WEB graphic service end according to the related information of the station region transmitted when starting the WEB graphic editor, and judging the region to which the current user belongs;
generating a zone graphic name according to the zone to which the user belongs and the zone name;
the WEB graphic editor calls a platform region graph check service of the WEB graphic service end to check whether the platform region has a corresponding platform region graph or not, if so, the platform region graph check service calls a file service to directly obtain a CIM/G file corresponding to the platform region graph and returns the CIM/G file to the WEB graphic editor, and the WEB graphic editor can carry out secondary editing on the platform region graph; if the region does not have the region graph, the region graph verification service calls a model service to write the region graph name into a region table;
the WEB graphic client calls a region diagram generation service of the WEB graphic server, and the region diagram generation service acquires a low-voltage model of distribution network transformers, low-voltage buses and low-voltage switches in the region according to a region id calling model service to generate a region model object; the region graph generating service calls a file service to read a region template graph with one input and multiple outputs and generate a region graph template object; the platform area graph generation service uses the platform area model object to replace the equipment id and the equipment name in the platform area template object according to the platform area equipment automatic matching rule, completes the association of the model, the dynamic data and the platform area name in the platform area template object, calls a file service to store the platform area template object into a platform area graph, and initially completes the generation of the platform area graph;
the WEB graphic editor carries out secondary editing aiming at the newly generated platform area graph, a box primitive of a component library in the WEB graphic editor is dragged into the WEB graphic editing area, a box with a proper shape is selected from a box primitive popup window, and the box primitive is dragged and dropped at a proper position of the WEB graphic editing area;
opening a WEB model retriever in a WEB graph editor, and calling ammeter primitives of a WEB graph service end to automatically generate service when dragging and associating a meter box model to the ammeter box primitives; the ammeter primitive automatic generation service calls a model service according to the equipment id of the ammeter box to retrieve all ammeter models under the ammeter box, generates all ammeter primitives and associated measurement in the ammeter box according to an automatic layout algorithm, and completes association of the ammeter primitives and the ammeter models; the WEB graphic editor automatically generates data returned by the service according to the ammeter graphics to display corresponding effects;
primarily generating a platform area graph, and after the primitives of a meter box and an ammeter are successfully generated, calling a file service by a WEB graph editor to store according to the CIM/G graph file specification, and simultaneously generating a low-voltage model topological relation;
and after the table area graph is successfully stored, the table area graph can be displayed in a WEB graphic browser, and the table area graph refreshing service of the WEB graphic service end supports the refreshing of the low-voltage switch, the low-voltage bus, the electric meter and the electric meter measurement real-time data in the table area graph.
7. The method as claimed in claim 6, wherein the distribution cloud master station-based distribution area graph automatic display method is characterized in that the distribution area graph checking service determines whether the associated distribution area graph already exists according to whether the associated distribution area graph name in the distribution area table is empty.
8. The method as claimed in claim 6, wherein the distribution room template map is a one-in-many-out graphics template pre-drawn by a WEB graphics editor according to the number of low-voltage outlet switches in the assigned power cloud master station.
9. The distribution network transformer and low-voltage bus model automatic display method based on the distribution cloud master station is characterized in that the distribution network transformer and low-voltage bus model automatic matching rules are automatically generated, wherein the distribution network transformer and low-voltage bus model automatic matching rules are in one-to-one correspondence with primitives in a one-in and multi-out distribution network template graph according to equipment types, and the one-in and multi-out low-voltage switch model number is in one-to-one correspondence with the switch primitive name numbers in the distribution network template graph; and replacing the equipment id and the equipment name in the platform area template graph with the actual model id and the model name according to the corresponding relation in the generation process of the platform area graph by the platform area graph generation service.
10. The distribution cloud master station-based distribution area graph automatic display method according to claim 6, wherein the CIM/G graphic file is a graphic file generated based on a power system graphic description specification; the chart box primitive is a container primitive drawn by using a WEB primitive editor and is drawn in a grid mode; the WEB model retriever is an equipment retrieval tool at a WEB end and can display all meter box equipment in the feeder line under the local area.
Background
With the application of the internet of things technology in the field of low-voltage power distribution, higher requirements are provided for grading and intelligent maintenance of the provincial, prefectural and county low-voltage distribution area diagrams aiming at the characteristics of large quantity and frequent change of low-voltage equipment in the low-voltage distribution area. The cloud platform of the Internet of things is deployed in a management information large area, the S end of the server side is deployed in a provincial level and unified mode, the B end of the front end is published in each county level system, the drawing die modification authority is transferred to the county level system, and low-voltage distribution area drawing die maintenance is required to be carried out according to the jurisdiction area at the B end of the front end.
At present, a low-voltage distribution area graph is constructed by adopting a manual drawing mode in part of enterprises, and the workload of users is large. According to the intelligent distribution area graph automatic generation method and system, the distribution area user-to-user wiring graph is automatically generated and drawn according to the distribution area user-to-user relationship by adopting a layout algorithm, and the workload of manual maintenance is reduced to a certain extent. The automatic generation technology of the low-voltage transformer area based on the graphic layout and the topological service adopts high-efficiency simulation and various relations between devices in the corresponding low-voltage transformer area, and can simplify the management work of the transformer area.
The existing low-voltage transformer area diagram generation technology provides a solution for generating a low-voltage transformer area diagram, and solves the problems that the transformer area diagram needs to be drawn manually and is low in efficiency to a certain extent, but in practical application, the following problems exist: (1) after the low-voltage transformer area model is changed, the transformer area diagram generation process is complex and takes long time. (2) The low-voltage transformer area diagram cannot be linked with electrical data in the database, and the diagram and the model are maintained separately, so that the operation is complex. (3) The generation and maintenance of the station area diagram require the installation of special software, and the light weight cannot be realized.
Disclosure of Invention
In order to solve the problems, the invention provides a distribution area graph automatic display system and a distribution area graph automatic display method based on a power distribution cloud master station, which can realize the functions of automatic display and integrated maintenance of the distribution area graph.
In order to achieve the technical purpose and achieve the technical effects, the invention is realized by the following technical scheme:
in a first aspect, the present invention provides an automatic station area diagram display system based on a power distribution cloud master station, including: the system comprises a WEB graph client, a WEB graph server and basic services which are sequentially connected;
the basic service is issued by a power distribution cloud master station, and provides graphics or configuration files, real-time data and model data to the WEB graphics server;
the WEB graphic client side and the WEB graphic server side perform bidirectional interaction; the WEB graphic server side provides background service and supports the automatic generation logic of the region diagram; and the WEB graphic client automatically displays the plot graph obtained from the WEB graphic server.
Optionally, the WEB graphics client includes a WEB graphics editor, a WEB graphics browser, and a WEB model retriever, where the WEB graphics editor completes graphics editing based on a B/S browser; the WEB graphic browser finishes graphic browsing based on a B/S browser; and the WEB model retriever completes model retrieval based on the B/S browser.
Optionally, the WEB graphics service end includes a region verification service, a region graph generation service, a region graph verification service, a region graph refresh service, and an electric meter primitive automatic generation service.
Optionally, the basic service includes a permission service, a file service, a model service, and a real-time data service; the authority service is used for acquiring user authority; the file service is used for acquiring a graph or a configuration file; the real-time data service is used for acquiring real-time data; the model service is used to obtain model data.
Optionally, the model data comprises a medium voltage model and a low voltage model; the medium voltage model comprises a distribution network transformer; the low-voltage model comprises a low-voltage transformer area, a low-voltage bus, a low-voltage switch, a meter box and an electric meter.
In a second aspect, the invention provides an automatic display method for a distribution area diagram based on a power distribution cloud master station, which comprises the following steps:
starting a WEB graphic editor on a B/S browser, and receiving and initializing various entry parameters;
calling a region verification service of a WEB graphic service end according to the related information of the station region transmitted when starting the WEB graphic editor, and judging the region to which the current user belongs;
generating a zone graphic name according to the zone to which the user belongs and the zone name;
the WEB graphic editor calls a platform region graph check service of the WEB graphic service end to check whether the platform region has a corresponding platform region graph or not, if so, the platform region graph check service calls a file service to directly obtain a CIM/G file corresponding to the platform region graph and returns the CIM/G file to the WEB graphic editor, and the WEB graphic editor can carry out secondary editing on the platform region graph; if the region does not have the region graph, the region graph verification service calls a model service to write the region graph name into a region table;
the WEB graphic client calls a region diagram generation service of the WEB graphic server, and the region diagram generation service acquires a low-voltage model of distribution network transformers, low-voltage buses and low-voltage switches in the region according to a region id calling model service to generate a region model object; the region graph generating service calls a file service to read a region template graph with one input and multiple outputs and generate a region graph template object; the platform area graph generation service uses the platform area model object to replace the equipment id and the equipment name in the platform area template object according to the platform area equipment automatic matching rule, completes the association of the model, the dynamic data and the platform area name in the platform area template object, calls a file service to store the platform area template object into a platform area graph, and initially completes the generation of the platform area graph;
the WEB graphic editor carries out secondary editing aiming at the newly generated platform area graph, a box primitive of a component library in the WEB graphic editor is dragged into the WEB graphic editing area, a box with a proper shape is selected from a box primitive popup window, and the box primitive is dragged and dropped at a proper position of the WEB graphic editing area;
opening a WEB model retriever in a WEB graph editor, and calling ammeter primitives of a WEB graph service end to automatically generate service when dragging and associating a meter box model to the ammeter box primitives; the ammeter primitive automatic generation service calls a model service according to the equipment id of the ammeter box to retrieve all ammeter models under the ammeter box, generates all ammeter primitives and associated measurement in the ammeter box according to an automatic layout algorithm, and completes association of the ammeter primitives and the ammeter models; the WEB graphic editor automatically generates data returned by the service according to the ammeter graphics to display corresponding effects;
primarily generating a platform area graph, and after the primitives of a meter box and an ammeter are successfully generated, calling a file service by a WEB graph editor to store according to the CIM/G graph file specification, and simultaneously generating a low-voltage model topological relation;
and after the table area graph is successfully stored, the table area graph can be displayed in a WEB graphic browser, and the table area graph refreshing service of the WEB graphic service end supports the refreshing of the low-voltage switch, the low-voltage bus, the electric meter and the electric meter measurement real-time data in the table area graph.
Optionally, the station area graph checking service determines whether an associated station area graph already exists according to whether an associated station area graph name in the station area table is empty.
Optionally, the platform area template map is a one-in-many-out pattern template pre-drawn by a WEB pattern editor in the assigned power cloud master station according to the number of the low-voltage outlet switches.
Optionally, the automatic matching rule of the transformer area equipment refers to that automatically generated distribution network transformers, low-voltage bus models and primitives in the one-in and multiple-out transformer area template graph have a one-to-one correspondence relationship according to equipment types, and the numbers of the one-in and multiple-out low-voltage switch models and the names of the switch primitives in the transformer area template graph have a one-to-one correspondence relationship; and replacing the equipment id and the equipment name in the platform area template graph with the actual model id and the model name according to the corresponding relation in the generation process of the platform area graph by the platform area graph generation service.
Optionally, the CIM/G graphic file is a graphic file generated based on a power system graphic description specification; the chart box primitive is a container primitive drawn by using a WEB primitive editor and is drawn in a grid mode; the WEB model retriever is an equipment retrieval tool at a WEB end and can display all meter box equipment in the feeder line under the local area.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a distribution area graph automatic display system and a distribution area graph automatic display method based on a distribution cloud master station, which not only can automatically generate a distribution area graph on the distribution cloud master station according to a distribution area template graph, but also can realize the automatic generation and integrated maintenance functions of the distribution area graph, improve the generation efficiency of the distribution area graph and reduce the labor cost; in addition, the HTML5 technology under the B/S framework is adopted, light-weight access of generation and maintenance of the distribution area graph is achieved, and development of the distribution area graph editing and displaying technology under the B/S framework of the power distribution cloud main station is promoted.
Drawings
In order that the present disclosure may be more readily and clearly understood, reference is now made to the following detailed description of the present disclosure taken in conjunction with the accompanying drawings, in which:
fig. 1 is a schematic structural diagram of an automatic platform diagram display system based on a power distribution cloud master station according to the present invention;
fig. 2 is a schematic flow diagram of a distribution room chart automatic display method based on a power distribution cloud master station.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of the invention.
The following detailed description of the principles of the invention is provided in connection with the accompanying drawings.
Example 1
The power distribution cloud master station is an application platform based on a B/S framework, has basic services such as permission service, file service, model service and real-time data service, and comprises a medium-voltage model and a low-voltage model. The medium-voltage model comprises a distribution network transformer and the like. The low-voltage model comprises a low-voltage transformer area, a low-voltage bus, a low-voltage switch, a meter box, an ammeter and the like. The premise of automatic generation of the transformer area diagram is that a low-voltage transformer area, a distribution network transformer, a low-voltage bus and a one-input-multiple-output low-voltage switch model are generated in a distribution cloud main station through a transformer area basic data maintenance module, and medium-voltage model and low-voltage model data maintenance is completed. The station area basic data maintenance module is used for opening a unified power distribution cloud master station model maintenance interface by a WEB browser, inputting station area data, and automatically triggering a distribution network transformer, a low-voltage bus and a one-input-multiple-output low-voltage switch model by the system according to rules after filling the number of trigger switches.
Specifically, an embodiment of the present invention provides an automatic station area diagram display system based on a power distribution cloud master station, and as shown in fig. 1, the system includes: the system comprises a WEB graph client, a WEB graph server and basic services which are sequentially connected;
the basic service is issued by a power distribution cloud master station, and provides graphics or configuration files, real-time data and model data to the WEB graphics server;
the WEB graphic client side and the WEB graphic server side perform bidirectional interaction; the WEB graphic server side provides background service and supports the automatic generation logic of the region diagram; and the WEB graphic client automatically displays the plot diagram obtained from the WEB graphic server, and provides a friendly human-computer interaction interface.
In a specific implementation manner of the embodiment of the invention, the WEB graphics client includes a WEB graphics editor, a WEB graphics browser and a WEB model retriever, and the WEB graphics editor completes graphics editing based on a B/S browser; the WEB graphic browser finishes graphic browsing based on a B/S browser; and the WEB model retriever completes model retrieval based on the B/S browser.
In a specific implementation manner of the embodiment of the present invention, the WEB graphics service end includes a region verification service, a block diagram generation service, a block diagram verification service, a block diagram refresh service, and an electric meter primitive automatic generation service.
In a specific implementation manner of the embodiment of the present invention, the basic service includes a permission service, a file service, a model service, and a real-time data service; the authority service is used for acquiring user authority; the file service is used for acquiring a graph or a configuration file; the real-time data service is used for acquiring real-time data; the model service is used to obtain model data.
In a specific implementation of an embodiment of the invention, the model data comprises a medium voltage model and a low voltage model; the medium voltage model comprises a distribution network transformer; the low-voltage model comprises a low-voltage transformer area, a low-voltage bus, a low-voltage switch, a meter box and an electric meter.
Example 2
The embodiment of the invention provides an automatic display method for a distribution area diagram based on a power distribution cloud master station, which comprises the following steps of:
(1) starting a WEB graphic editor on a B/S browser, receiving and initializing various entry parameters including relevant information of a transformer area, such as transformer area id, transformer area name, affiliated feeder line id, transformer area template diagram name, transformer area affiliated area id and the like;
(2) access to the area authentication service: calling a region verification service of a WEB graphic service end according to the related information of the station region transmitted when starting the WEB graphic editor, and judging the region to which the current user belongs;
(3) generating a station area map name: generating a zone graphic name according to the zone to which the user belongs and the zone name;
(4) checking a transformer area graph: the WEB graphic editor calls a platform region graph check service of the WEB graphic service end to check whether the platform region has a corresponding platform region graph or not, if so, the platform region graph check service calls a file service to directly obtain a CIM/G file corresponding to the platform region graph and returns the CIM/G file to the WEB graphic editor, and the WEB graphic editor can carry out secondary editing on the platform region graph; if the region does not have the region graph, the region graph verification service calls a model service to write the region graph name into a region table;
(5) generating a platform region graph according to the platform region template graph: the WEB graphic client calls a region diagram generation service of the WEB graphic server, and the region diagram generation service acquires a low-voltage model of distribution network transformers, low-voltage buses and low-voltage switches in the region according to a region id calling model service to generate a region model object; the region graph generating service calls a file service to read a region template graph with one input and multiple outputs and generate a region graph template object; the platform area graph generation service uses the platform area model object to replace the equipment id and the equipment name in the platform area template object according to the platform area equipment automatic matching rule, completes the association of the model, the dynamic data and the platform area name in the platform area template object, calls a file service to store the platform area template object into a platform area graph, and initially completes the generation of the platform area graph;
(6) drawing the chart box graphics primitives: the WEB graphic editor carries out secondary editing aiming at the newly generated platform area graph, a box primitive of a component library in the WEB graphic editor is dragged into the WEB graphic editing area, a box with a proper shape is selected from a box primitive popup window, and the box primitive is dragged and dropped at a proper position of the WEB graphic editing area;
(7) automatically generating the ammeter primitive: opening a WEB model retriever in a WEB graphic editor in a right key mode, and calling ammeter primitives of a WEB graphic service end to automatically generate service when dragging and associating a meter box model to the meter box primitives; the ammeter primitive automatic generation service calls a model service according to the equipment id of the ammeter box to retrieve all ammeter models under the ammeter box, generates all ammeter primitives and associated measurement in the ammeter box according to an automatic layout algorithm, and completes association of the ammeter primitives and the ammeter models; the WEB graph editor automatically generates data returned by the service according to the ammeter graphic elements to show corresponding effects, and can finely adjust the position and width of the graphic elements;
(8) and storing a table area image: primarily generating a platform area graph, and after the primitives of a meter box and an ammeter are successfully generated, calling a file service by a WEB graph editor to store according to the CIM/G graph file specification, and simultaneously generating a low-voltage model topological relation;
(9) displaying a transformer area diagram and refreshing real-time data: after the table area graph is successfully stored, the table area graph can be displayed in a WEB graph browser, and the table area graph refreshing service of the WEB graph service end supports refreshing of low-voltage switches, low-voltage buses, electric meters and electric meter measurement real-time data in the table area graph, so that accuracy of table area graph display data is guaranteed.
In a specific implementation manner of the embodiment of the present invention, the station area map checking service determines whether an associated station area map already exists according to whether an associated station area map name in the station area table is empty.
In a specific implementation manner of the embodiment of the present invention, the platform area template map refers to a one-in-many-out graph template pre-drawn by using a WEB graph editor according to the number of low-voltage outgoing line switches in the power distribution cloud master station, that is, for a one-in-three-out low-voltage switch, a one-in-three-out platform area template map can be pre-drawn by using the WEB graph editor, and includes the following primitives: the system comprises a distribution network transformer, a bus, a low-voltage incoming switch and three low-voltage outgoing switches.
In a specific implementation manner of the embodiment of the present invention, the automatic matching rule of the transformer area device refers to that automatically generated primitives in the distribution network transformer, the low-voltage bus model and the one-in-multiple-out transformer area template graph have a one-to-one correspondence relationship according to device types, and the one-in-multiple-out low-voltage switch model number has a one-to-one correspondence relationship with the switch primitive name number in the transformer area template graph; and replacing the equipment id and the equipment name in the platform area template graph with the actual model id and the model name according to the corresponding relation in the generation process of the platform area graph by the platform area graph generation service.
In a specific implementation manner of the embodiment of the present invention, the CIM/G Graphic file is a Graphic file generated based on a power system Graphic description specification (CIM-based Graphic exchange format, referred to as CIM/G for short); the chart box primitive is a container primitive drawn by using a WEB primitive editor and is drawn in a grid mode; the WEB model retriever is an equipment retrieval tool at a WEB end, can display all meter box equipment in the feeder line under the local area, and is convenient for graph-model association.
The display method in the embodiment of the present invention can be implemented based on the display system in embodiment 1.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.