Electric network information real-time exhibition method and apparatus
Technical field
The present invention relates to electric network data show, be specifically related to a kind of electric network information real-time exhibition method and apparatus.
Background technology
Along with raising and the expansion of scale of line voltage grade, the progressively enforcement of Power grid commercial operation, city is joined
Construction and the maintenance of electricity are proposed new requirement.In city power distribution industry, (GIS-Geographic Information System, full name is two-dimension GIS
Geographic Inf ormation System or Geo-Information system) technology produce, run and manage
Aspect is the most deeply widely applied, and obtains preferable effect.Wherein, two-dimension GIS relies on digital orthoimage DOM
(DigitalOrthophoto Map), electronic map data DLG (Digital Line Graphic) composition two dimension fundamental geological
Image platform, uses gps satellite location technology, by accurate distribution after electrical network facilities fine modeling in two-dimension GIS map.
SCADA (data acquisition controls with monitoring, English full name is Supervisory Control and Data Acquisition)
System is that computer-based production process controls and dispatch automated system.On-the-spot operation equipment can be carried out by it
Monitor and control, to realize the various functions such as data acquisition, equipment control, measurement, parameter regulation and various types of signal warning, i.e.
" four is distant " function that we are known, remote-terminal unit and ca bin are the important component parts of SCADA system, so-called
Real time data refers to the operation of power networks data in the short time interval collected in SCADA system, during these operations of power networks
How a large amount of digital datas describing real-time status occurred, organically blend with the data in two-dimension GIS system, it is achieved in real time
Unified represent, be a difficult problem facing of power industry.
Chinese patent literature CN101751426A discloses a kind of method realizing information sharing between SCADA and GIS,
Comprise the steps: a system in data acquisition analysis system and GIS-Geographic Information System as model derivation side, by it
Internal electric network model is converted into the electric network model file meeting common information model specification;By the model file transmission after conversion
To another system as model importing side in data acquisition analysis system and GIS-Geographic Information System;Model imports root
According to common information model specification, electric network model file is resolved, and data parsing obtained are converted in model importing side
The electric network model in portion, it is possible to achieve preferably physical isolation and good interface generality.
The disclosed method realizing information sharing between SCADA and GIS of above-mentioned patent documentation, by sharing two systems
Total resource, it is achieved that between two systems, information shares so that the total information of two systems can be unified to safeguard, fall
Low operation expense.But, it is not directed to a large amount of numbers describing real-time status how will occur during operation of power networks
Font data organically blends with the data in two-dimension GIS system and unification represents in real time.
Summary of the invention
To this end, to be solved by this invention be only realize information Real-Time Sharing between existing GIS and SCADA cannot be by numeral
Data in type data and two-dimension GIS system organically blend and the unified technical problem represented in real time, it is provided that a kind of based on GIS and
The electric network information real-time exhibition method and apparatus of SCADA.
For solving above-mentioned technical problem, the technical solution used in the present invention is as follows:
A kind of electric network information real-time exhibition method based on GIS and SCADA, comprises the steps:
S10: set up real-time data base, for synchronizing to receive the real time data of the electrical network that SCADA collects, wherein, sets up
Described real-time data base specifically includes following steps:
Setting up measuring point information table: be referred to as keyword with measuring point name, the record of a corresponding measuring point essential information includes surveying
The basic configuration information of point;
Set up real time data table, be referred to as key word, the live data values of storage product practice with measuring point name;
Set up historical data table: count in real time using measuring point title and time field as key word, the production after storage compression
According to historical data values;
S30: described server is extracted in indication range from described real-time data base by described measuring point information table
The live data values of power equipment generation meet the real time data of GIS model specification and represent model file output;
S40: described server extracts the GIS fileinfo in indication range from described GIS and generation meets GIS mould
Export after the GIS foundation data exhibiting model file of type specification;
S50: described server receives described real time data and represents model file and described GIS foundation data exhibiting model literary composition
Described real time data is also represented model file and described GIS foundation data exhibiting model file superposition by part, it is thus achieved that electrical network is real-time
Information represents model file and exports.
Described server receives described GIS foundation data exhibiting model file or real time data represents model file and exports
Step.
Also comprise the steps: that described server receives the live data values in described real-time data base, and just prestore
Often threshold range compares, and exports warning message when described live data values exceedes described normality threshold scope.
In step S30 and step S40, described indication range is set by input.
In step S10, described real-time data base is carried out data transmission by data/address bus with described SCADA.
Simultaneously, it is provided that a kind of electric network information real-time exhibition device based on GIS and SCADA, including:
Real-time data base, for synchronizing to receive the real time data of the electrical network that SCADA collects, described real-time data base enters one
Step includes:
Measuring point information table: be referred to as keyword with measuring point name, the record of a corresponding measuring point essential information includes measuring point
Basic configuration information;
Real time data table, is referred to as key word, the live data values of storage product practice with measuring point name;
Historical data table: using measuring point title and time field as key word, the product practice after storage compression
Historical data values;
Server, described server farther includes:
Real time data represents model file generation module, is extracted from described real-time data base by described measuring point information table
Go out the live data values of the power equipment in indication range and generation meets the real time data of GIS model specification and represents model file
Output;
Real time information represents model file generation module, and receiving real-time data represents model file generation module and generates
Described real time data represent the described GIS foundation that model file and GIS foundation data exhibiting model file generation module generate
Described real time data is also represented model file and described GIS foundation data exhibiting model file is folded by data exhibiting model file
Add, it is thus achieved that real time information represents model file and exports.
Described server also includes: GIS foundation data exhibiting model file or real time data represent model file output mould
Block, receiving real-time data represents the described real time data of model file generation module generation and represents model file or GIS foundation number
According to representing the described GIS foundation data exhibiting model file of model file generation module generation and exporting.
Described server also includes alarm module, receives the live data values in described real-time data base, and just prestores
Often threshold range compares, and exports warning message when described live data values exceedes described normality threshold scope.
Described server also includes indication range setting module, is used for inputting indication range.
Described electric network information real-time exhibition device based on GIS and SCADA also includes data/address bus, it is achieved described real-time number
Transmit according to the data between storehouse and described SCADA.
The technique scheme of the present invention has the advantage that compared to existing technology
A kind of electric network information real-time exhibition method and apparatus based on GIS and SCADA of the present invention, sets up number in real time
According to storehouse, for receiving the real-time data of power grid that SCADA collects, wherein, described real-time data base farther includes: measuring point information
Table, real time data table and historical data table, manage described real-time data base, quick from real-time data base by measuring point information table
Read the data needing display;I.e. make full use of existing SCADA and realize the collection of real time data, again independent of existing SCADA's
Data base, reads and is not limited by the processing speed of existing SCADA;Realize in the real time data in SCADA and two-dimension GIS system
Data organically blend and unified in real time represent.
The electric network information real-time exhibition method and apparatus based on GIS and SCADA of the present invention, its server receives described
GIS foundation data exhibiting model file or real time data represent model file and export, and can individually export electrical network geography information
Model, it is possible to individually export real-time data of power grid, meets user difference display demand.
The electric network information real-time exhibition method and apparatus based on GIS and SCADA of the present invention, its server receives described reality
Time lane database live data values, compare with the normality threshold scope prestored, exceed at described live data values described
Warning message is exported during normality threshold scope;In real time monitoring operation of power networks state, and when judging exception and alarm, meet
Power grid security Operational requirements.
Accompanying drawing explanation
In order to make present disclosure be more likely to be clearly understood, below according to the specific embodiment of the present invention and combine
Accompanying drawing, the present invention is further detailed explanation, wherein
Fig. 1 is the electric network information real-time exhibition method flow diagram based on GIS and SCADA of one embodiment of the invention;
Fig. 2 is the structured flowchart of the device of information Real-Time Sharing between GIS and SCADA that method shown in Fig. 1 is corresponding.
Detailed description of the invention
See described in Fig. 1, as the electric network information real-time exhibition side based on GIS and SCADA of one embodiment of the invention
Method, specifically includes following steps:
S10: set up real-time data base, for synchronizing to receive the real time data of the electrical network that SCADA collects, has as one
The embodiment of body, is carried out data transmission by data/address bus between described real-time data base and described SCADA, integrated based on clothes
Business bus architecture, realizes the interconnection and interflow between operation system in multiple place of safety from architecture and realization mechanism, with towards
Service system SOA (ServicesOriented Architecture) is as integral structural system.Based on IEC 61968/
61970 international standard systems, are packaged the information of different business systems with service and message alternately for elementary cell, set up
Service collaboration between service providing end and consumption end.
Wherein, set up described real-time data base and specifically include following steps:
Setting up measuring point information table: be referred to as keyword with measuring point name, the record of a corresponding measuring point essential information includes surveying
The basic configuration information of point;Wherein, measuring point can be used for indicating the concrete data item under the data type that different power equipment is different,
One power equipment can corresponding multiple measuring points, as the current measurement data of breaker apparatus are divided into A phase current, B phase current, C phase
Electric current, it is therefore necessary to set up three measuring points in order to the three-phase current these three metric data representing in described chopper respectively;Institute
State basic configuration information to include compressing deviation, the exception information such as deviation and measuring point description.
Set up real time data table, be referred to as key word, the live data values of storage product practice with measuring point name;Its
In, the timestamp of real time data of described live data values record second level change, numerical value, the information such as quality.
Set up historical data table: count in real time using measuring point title and time field as key word, the production after storage compression
According to historical data values;As a kind of specific embodiment, use huffman compression algorithm in described real time data table
Live data values is compressed.
S30: described server is extracted in indication range from described real-time data base by described measuring point information table
The live data values of power equipment generation meet the real time data of GIS model specification and represent model file output;As one
Detailed description of the invention, described indication range is set by input;Under default situations, the method for the present invention only loaded and displayed model
Enclose the live data values of interior power equipment, it is possible to by set the particular point in time in the range of loaded and displayed historical data values or
Special time period historical data curve, wherein, described historical data values is gone through from described by described measuring point information table by server
History data base reads.
S40: described server extracts the GIS fileinfo in indication range from described GIS and generation meets GIS mould
Export after the GIS foundation data exhibiting model file of type specification;As a kind of detailed description of the invention, described indication range is by defeated
Enter to be set;Under default situations, the live data values of power equipment in the range of the method for the present invention only loaded and displayed, it is possible to logical
Crossing the historical data values setting the special time in the range of loaded and displayed, wherein, described historical data values is passed through institute by server
State measuring point information table to read from described historical data base.
S50: described server receives described real time data and represents model file and described GIS foundation data exhibiting model literary composition
Described real time data is also represented model file and is added to described GIS foundation data exhibiting model file by part, it is thus achieved that electrical network is real-time
Information represents model file and unified output is shown.
Manage described real-time data base by measuring point information table, need the number of display from quickly reading of real-time data base
According to;I.e. make full use of existing SCADA and realize the collection of real time data, again independent of the data base of existing SCADA, read not by existing
There is the restriction of the processing speed of SCADA;The real time data realized in SCADA organically blends also with the data in two-dimension GIS system
Unification in real time represents.
Indication range is set by above-described embodiment, and the real time data being mainly in view of in power equipment belongs to magnanimity number
According to, if all real time datas are all shown in GIS platform by the same time, GIS platform performance will certainly be brought huge
Big pressure, affects loading efficiency.The method setting indication range as other, the present invention may be used without what Modular Data was shown
Method, i.e. based on GIS raster data model, is made up of a viewing area row, column, grid unit, row as y-coordinate,
Row are as x coordinate, and row, column is initiateed by the grid upper left corner.According to this geographical map is divided into some regions, when GIS map moves to
During a certain region, using this region as current display area, and the power equipment real time information in this viewing area is loaded into
Row is shown.
As other embodiments of the invention, on the basis of above-described embodiment, described server also includes that reception is described
GIS foundation data exhibiting model file or real time data represent model file the step exported.Can individually export electrical network ground
Reason information model, it is possible to individually export real-time data of power grid, meets user difference display demand.
As other embodiments of the invention, on the basis of above-described embodiment, described server receives described real-time number
According to the live data values in storehouse, compare with the normality threshold scope prestored, described live data values exceed described normally
Warning message is exported during threshold range.In real time monitoring operation of power networks state, and when judging exception and alarm, meet electrical network
Safe operation requirement.
Shown in Figure 2, a kind of based on GIS and SCADA the electric network information as one embodiment of the invention is opened up in real time
Showing device, including:
Real-time data base, for synchronizing to receive the real time data of the electrical network that SCADA collects, described real-time data base enters one
Step includes:
Measuring point information table: be referred to as keyword with measuring point name, the record of a corresponding measuring point essential information includes measuring point
Basic configuration information.
Real time data table, is referred to as key word, the live data values of storage product practice with measuring point name;
Historical data table: using measuring point title and time field as key word, the product practice after storage compression
Historical data values.
Data/address bus, as a kind of detailed description of the invention, described data/address bus realizes described real-time data base with described
Data transmission between SCADA.It is responsible for crossing over producing and controls great Qu and information management great Qu, thoroughly solve the transparent visit of isolation area
Ask questions so that all application systems can directly access transregional service.Based on SOA, interface specification meets the rule of IEC61968
The structural requirement of model, sets up data access platform open, that have good expandability.
Server, described server farther includes:
Real time data represents model file generation module, is extracted from described real-time data base by described measuring point information table
Go out the live data values of the power equipment in indication range and generation meets the real time data of GIS model specification and represents model file
Output.
Described server also includes indication range setting module, is used for inputting indication range.
GIS foundation data exhibiting model file generation module, receives the described indication range set, and from described GIS
Extract the GIS fileinfo in indication range and after generation meets the GIS foundation data exhibiting model file of GIS model specification
Output.
Real time information represents model file generation module, receives the described indication range set, receiving real-time data
The described real time data representing the generation of model file generation module represents model file and the life of GIS foundation data exhibiting model file
Become the described GIS foundation data exhibiting model file of module generation and described real time data is represented model file and described GIS
Basic data represents model file superposition, it is thus achieved that real time information represents model file and exports.
As other embodiments of the invention, at the electric network information real-time exhibition based on GIS and SCADA of above-described embodiment
On the basis of device, described server also includes: it is defeated that GIS foundation data exhibiting model file or real time data represent model file
Going out module, receiving real-time data represents the described real time data of model file generation module generation and represents model file or GIS base
Plinth data exhibiting model file generation module generate described GIS foundation data exhibiting model file and export.
As other embodiments of the invention, at the electric network information real-time exhibition based on GIS and SCADA of above-described embodiment
On the basis of device, described server also includes alarm module, receives the live data values in described real-time data base, and prestores
Normality threshold scope compare, when described live data values exceedes described normality threshold scope export warning message.
Obviously, above-described embodiment is only for clearly demonstrating example, and not restriction to embodiment.Right
For those of ordinary skill in the field, can also make on the basis of the above description other multi-form change or
Variation.Here without also cannot all of embodiment be given exhaustive.And the obvious change thus extended out or
Change among still in the protection domain of the invention.