Summary of the invention
The purpose of the present invention is to propose to it is a kind of based on battalion distribution end-equipment common information model data interoperation application,
It is characterised in that it includes following steps:
Step 1:The unified interface standard body of battalion distribution end-equipment data interoperation application of the design based on IEC-CIS
System;
Step 2:The structure system of design battalion distribution end-equipment data interoperation application;
Step 3:In front on the working foundation of step 1, step 2, with unified interface specification and battalion's distribution end-equipment number
Structure system according to interoperability application is constraint, the business demand of analysis battalion distribution end-equipment data interoperation application.
The unified interface standard body of battalion's distribution end-equipment data interoperation application in the step 1 based on IEC-CIS
System is based on IEC 61970CIS international standard, in conjunction with needed for interaction between the set of system for seeking the foundation of distribution end-equipment feature
The reference standard and specification of interface;Suitable for PMS (production management system), GIS (GIS-Geographic Information System), sales service application system
The battalion such as system distribution end related system integrated modelling, the information broken between battalion's each management system of distribution end-equipment object are lonely
Island enables each system to exchange or access in a standardized manner publicly available data with other systems;Entered using unified modeling
Mouthful, be conducive to simplify modeling work, reduce the human intervention in modeling work, it is final to realize modeling integration;It is described uniformly to connect
Mouth specification includes common services interface specification, general test platform interface specification, high-speed data access interface specification, time series data
Access specification, five partial content of general purpose event and subscribing interface specification.
The structure system of battalion's distribution end-equipment data interoperation of the step 2 is ground from global angle
Study carefully the existing status in operating system framework of current battalion's distribution end-equipment management;It is described existing to include in operating system framework
Application architecture, data framework, deployment framework and safety certification mode;Carry out battalion's distribution end-equipment data on this basis mutually to grasp
Make the further research for the structure system applied.
The business demand of the analysis battalion distribution end-equipment data interoperation application of the step 3, mainly includes public letter
Model is ceased to the resolution component of existing each operation system private data model, existing each operation system private data model to public
The polymerizing component of information model and distribution GIS model data interoperability service on this basis, asset of equipments model data
Interoperability service, the service of marketing service resource data model interoperability and marketing GIS model data interoperability service.
The framework of the battalion's distribution end-equipment data interoperation application further studied is based on IEC-CIM/
CIS61970 standards system externally provides and meets IEC-61970 public service/GDA (general test platform)/HSDA (high speed number
According to access)/TSDA (time series data access)/GES (general purpose event and subscribe to) services, and framework integrally uses SOA framework to think
Want to build a system architecture that is general, can refer to;The system architecture be divided into business datum service layer, IEC-CIM service layer,
IEC-CIS service layer and service application layer;In order to solve data sharing and interoperability problem encountered, this framework is from actually asking
Topic is set out, and is constructed using SpringMVC frame, Hibernate persistence framework technology and Web Services technology a kind of complete
New system architecture, the system architecture should have the characteristics that sum open, based on IEC61970 standard faces the future;To make
Its system built has high reliability, high scalability and strong adaptability.
The system architecture is divided into business datum service layer, IEC-CIM service layer, IEC-CIS service layer, service application layer
Business datum service layer:It is illustrated below:
Business datum service layer is that operation system provides the basis of battalion's distribution end-equipment data, to guarantee the real-time of data
Property externally provide data-pushing API service by WebServices when realizing, it is good by definition by marketing, electric power GIS, PMS2.0
Interface rules, propelling data carries out fractionation conversion to data interaction middleware;
IEC-CIM service layer:
Parsing storage and mobile distribution mainly are carried out by what is got from business data service layer, which includes CIM object
Manage database, data interaction middleware, transaction data library;
Wherein data interaction middleware receives the data of business datum service layer push, and middleware parses data
And storage is split into CIM physical table, otherwise when data have unusual fluctuation in CIM physical database, pass data to number
Intermediate according to interaction, transaction data is polymerize and is distributed in transaction data library or the business of business datum service layer by middleware
In system library table;
IEC-CIS service layer
Based on IEC-CIS standard, public service, GDA, HSDA, GES, TSDA service are realized, using WebServices
Implementation method is packaged, general data access, reading and writing data service API are externally provided.
The beneficial effects of the invention are as follows uniformly connecing for battalion's distribution end-equipment data interoperation application designed by the present invention
Mouth standard system is between the set of system based on IEC 61970CIS international standard, in conjunction with battalion's distribution end-equipment feature foundation
The reference standard and specification of interface needed for interaction.The phase relation of distribution end is sought suitable for PMS, GIS, sales service application system etc.
Entityization modeling breaks the information island between battalion's each management system of distribution end-equipment object, enables each system with standard
Mode exchange or access publicly available data with other systems.Using unified modeling entrance, be conducive to simplify modeling work,
The human intervention in modeling work is reduced, it is final to realize modeling integration.
Specific embodiment
The present invention proposes a kind of data interoperation application based on battalion's distribution end-equipment common information model, including as follows
Step:
Step 1:The unified interface standard body of battalion distribution end-equipment data interoperation application of the design based on IEC-CIS
System;
Step 2:The structure system of design battalion distribution end-equipment data interoperation application;
Step 3:In front on the working foundation of step 1, step 2, with unified interface specification and battalion's distribution end-equipment number
Structure system according to interoperability application is constraint, the business demand of analysis battalion distribution end-equipment data interoperation application.
It elaborates with reference to the accompanying drawings and examples to the present invention.
Fig. 1 is the architecture design schematic diagram for seeking the application of distribution end-equipment data interoperation.It is as shown in the figure
It specifically includes:
The unified interface rule of battalion distribution end-equipment data interoperation application of the design described in step 1 based on IEC-CIS
Model system is based on IEC 61970CIS international standard, in conjunction with interaction between the set of system for seeking the foundation of distribution end-equipment feature
The reference standard and specification of required interface.It is unified suitable for the distribution end phase relation of the battalion such as PMS, GIS, sales service application system
Bodyization modeling;Unified interface specification include common services interface specification, general test platform interface specification, high-speed data access connect
Mouth specification, time series data access specification, five partial content of general purpose event and subscribing interface specification, it is specifically described below:
Common services interface specification:
This part includes public utility management system UMS (Utility by reference normatively
Management System) data access facility DAF (Data Access Facility) resource identifier module RIM
Modeling pattern included in (Resource Identifiers Module).The RIM module definition should be for identification
The universal method of CIM resource.DAF resource identifier module uses universal resource identifier URI (Universal Resource
Identifier, URI) and resource ID identify electric power enterprise resource.URI is the use for meeting universal resource identifier standard
Make the character string of title.Such as URI is transformer class " http//utility.com/Planning/Production/CIM-
schemacimu09a#/Transformer".The resource ID different from URI is digital by more compact 128 (16 byte) ID
Composition.DAF specification is respectively with resource ID sequence and URI sequence definition resource ID and URI array.In practice, it may be that one
Unique resource ID is related to multiple URI;In order to handle such case, extended resources ID services (Extended Resource
ID Service) it is that DAF resource ID increases a view name parameter, this parameter is used to determine the range of URI.Extended resources
The view name that ID service can also give for URI setting, and resource ID is distributed in server.
General test platform (GDA)
General test platform mainly includes read access, updates access and event three parts content.The essence of read access is
To the inquiry operation of resource module.Including inquiring, filtering inquiry, expand resource query.Each of resource query service interface
Operation is carried out a single inquiry.Inquire the value that each resource description returned includes institute's querying attributes subset.It returns
Attribute value arrangement sequence it is identical with the sequence for the attribute for sending the inquiry to, although some of them attribute can be omitted.Such as
Fruit resource specific for one, some attribute value can not be obtained from data set provider or the attribute-identifier is not known
Not, then the attribute value is ignored.This characteristic allows multiple queries service to be unified into an inquiry, and wherein each is inquired
A part of content of conjunctive query is answered in service.Filtering enquiry module is enhanced to the member safeguarded in GDA read access server
The access of data and instance data.Especially, GDA filters enquiry module by increasing specified resource query attribute value to limit money
The function of source inquiry, extends GDA resource query interface.From Structured Query Language SQL (structured query
Language) angle, GDA read mill ask in plus filter condition be equal to increase " where " clause.GDA filter allows visitor
Family more accurately defines its interested information.For the method in GDA resource query service interface, the inquiry of GDA filtered resources
Service interface is exactly to increase the filter based on attribute value.Extended resources query service
(ExtendedResourceQueryService) user is allowed to connect data, rather than as GDA resource query module and GDA mistake
It filters and is only inquired like that along a paths provided by enquiry module.In such a way, for example, an inquiry can not only
The breaker data of selected substation is returned, and the data of the substation can be returned in the same query.GDA extended resources are looked into
Module offer is ask for realizing the UML of query filter and the GDA expanding query interface of connection.
GDA update module extends GDA read access by providing the limited write access to metadata and instance data,
GDA more new interface provides following functions:
1) object updates:From the viewpoint of public service (common service), the attribute of existing resource is exactly updated
The ability of value.
2) multipair as updating:The ability for updating a group objects in one operation is provided.
3) control of Object Life Cycle:Creation is provided and destroys the ability by the GDA object accessed, from public sight
Point is seen, is exactly creation and the ability for deleting resource.
4) update of metadata:It is defined as creation, deletion and more new data;Refer to creation from the viewpoint of the public service;
It deletes and updating type is the resource of Class and Property.
5) existing system is encapsulated:It allows for realizing interface for multiple systems.
6) multi-client, multi-provider and concurrent:It must satisfy the friendship between multiple client and multiple data set providers
Mutual demand.When considering to update, this demand is interpreted must have some form of con current control.
Resource updates function is provided by a new service ResourceUpdateService, and the service is in GDAUpdate
- a interface is defined as in module.
GDA event is to extend DAF event with a stronger mechanism.GDA event package provides certain methods to notify visitor
The data access that specific data change and ensure consistency has occurred in family end.GDA event module allows object instance
Resource ID is embedded into event as the prompt about variation essence to client.
High-speed data accesses (HSDA)
High-speed data access defines a kind of for efficiently exchanging the general-purpose interface of data, has fully considered across local netting index
According to the delay problem that interaction is caused.HSDA data model describes the data seen through HSDA interface
How to organize.Data mainly include four partial contents:
1) Type (type):It describes node (Nodes).Therefore Type is metadata;
2) Property (property):Describing item (Items), therefore Property is metadata:
3) Node (node):The data object that description can be accessed with HSDA.In a hierarchical structure, node be can wrap
Containing other nodes.Node also may include item;
4) Item (item):The data value that description can be accessed with HSDA.Always include by a node.
In the data-message that HSDA server is dealt into client, payload includes some arrays, and each array includes
Following content:
1) item mark of this is uniquely identified in the server;
2) data value;
3) whether the quality of the data value, the i.e. value are reliable.If the value be it is invalid, this quality is also noted that the value
Why invalid reason.The Quality Codes of default are that " Good " the i.e. value is effective;
4) markers indicates the time of the value recent renewal;
5) item mark of this is uniquely identified in the client.
General purpose event and subscription (GES)
GES can be used for constructing a Wen Dang Jiao Change system.Hereinbefore high-speed data access (HSDA) interface is supported to measure, be joined
Several and other simple datas subscription, and GES interface then allow component issue and subscribe to non-measurement document (such as job note) without
It is to measure point set.Event communication interface allows component publication and subscription document such as job note, without subscribing to each job note
Attribute.GES simple event may include one can be in the effective load for the Oriented Documents that the application of any control centre sends or receives
Lotus.In this way, GES simple event can be used for accessing entire common information model (CIM).The Dynamic data exchange transmitted by GES interface
In GES Interface Definition Language (IDL), i.e. GES can be used for showing and transmitting any information exchange model.
The mode of GES simple event is general.GES simple event has the property that:
1) source (Source):One reference of the object of generation event, this can be an item (a such as specific measurement),
Or more generally CIM class name or an applicating category.
2) source path name (Source pathname):It is fully defined in the pathname in the source of IECTC57 physical model.
3) markers (Time stamp):The time that event occurs.
4) message (Message):The text-string of description event.
5) major category (Main category):For simple event, this domain includes the resource ID of simple event.
6) classification (Category):The resource ID of event type.Each classification corresponds to a specific event schema.
7) class name (Category name):The name of event type.
8) seriousness (Severity):Prompt of the server to event severity.
9) property (Properties):Mapping or index property list.
GES subscribes to filtering and provides the function of specified properties value, these property values be used to limit subscription.In SQL term
In, increase GES filtering and is equivalent to one " where " clause of increase.For example, a subscriber indicates that it wishes to receive " new change
Depressor installation " event, while also indicating and merely desiring to receive " new transformer installation " related with the transformer that given manufacturer produces
Event.
One GES subscribes to the filter specifications that one client of object maintenance is established.What filter notifies for specified
Issue client.One server may support different filtering functions, and a client can be with query subscription general headquarters
(Subscription Home) object supports any filtering function.Subscribing to general headquarters can also be used to create any number of subscription pipe
Manage device object.Each subscription manager is associated with a realization client for callback object, and such server can be to visitor
Family end sends alarm and event notice.GES event communication is not supported to subscribe to " asterisk wildcard " function in character string in theme.Example
Such as, GES event communication allows component to subscribe to based on event category (such as " transformer mount request ") or be based on theme (such as breaker
All working list) event, but all areas under a given rank can not be selected.This specification extends GES event
Communication is to support the asterisk wildcard function based on topic distillation.Increasing in zone routing supports asterisk wildcard not change GES event
(Events) interface.This specification needs a well-known asterisk wildcard URI.The URI of asterisk wildcard is http://omg.org/
schema/GES#WILDCARD。
Time series data accesses (TSDA)
Time series data access defines the high efficiency of transmission interface of the time series data under distributed environment.Herein
Under access module, the delay of data transmission is positively correlated with data volume.The playback function of this access module support time series data
Energy.The following object of main definitions in time series data:
1)Type:Pair for having same time sequence characteristic (time interval between the calculating of such as numerical value or numerical value) is described
As.Therefore, TSDA Type and HSDA Type has any different.HSDA Type mainly describes the type defined in CIM, and
TSDA Type does not have corresponding description in CIM.But TSDA Type usually can refer to HSDA Type.
2)Property:The item (Item) recorded as time series is described.TSDA Property usually can refer to
HSDA Property.One Type can have any number of Property.
3)ItemAttributeDeftnition:It describes specific to time series data ItemAtlributes.
LtemAttributeDeflnition is similar with Property in description time series data, the difference is that its data is specific
Mr. Yu's time series.One Type usually has several ItemAttributeDefinition.
4)ItemAttribute:Description is in TSDA server, and how item is handled, that is to say, that the Item time
For sequence, it is metadata.Therefore, ItemAttribiite cannot be accessed with HSDA.Since ItemAttribute may be with
Shi Bianhua, inherently time series, i.e. ItemAttributeValue.
5)Node:It is with the object of one or more items, these are recorded with time series.- a TSDA Node-
As have a corresponding HSDA Node.
6)Item:It is the object with time series, i.e. ItemValue.- a Item has multiple description time serieses
ItemAttribute。
7)ItemValue:It is the value for having markers and Quality Codes.The time series that Item is made of by one ItemValue.
8)ModifiedItemValue:It is the modification made to ItemValue.Due to not allowing to change ItemValue,
Just with the modification of ModifiedltemValue record ItemValue.
9)Annotation:It is the annotation text that can be added to ItemValue.
10)AggregateDefinition:The calculating carried out to time series data is described, such as average value, maximum value
Deng.
To meet the needs of carrying out information exchange with power grid GIS, need to expand in the CIS interface specification of official version former
The GIS communication mechanism for thering is specification not cover.Compared to systems such as real-time GIS, meteorology GIS, power grid GIS is for space-time transformation, ground
The concepts such as reason object event are not emphasized.Power grid GIS more focuses on the maintenance for power grid physical equipment account information, and to setting
The static display of standby geography information.Therefore on the basis of original CIS data model, GIS comprehension of information can be set for physics
A standby attribute, is attached in original model.Increased content is as shown in the table.
Title |
Code |
State |
STATE_ID |
Symbol angle |
FHJD |
Link information |
CONNECTION |
Whether mark |
SFBZ |
Mark size |
BZDX |
Mark color |
BZYS |
Mark orientation |
BZFW |
Arrangement mode |
PLFS |
Uniline number of words |
DHZS |
Longitude |
POS_X |
Latitude |
POS_Y |
Elevation |
ORIGIN_POS_Z |
Symbol size |
FHDX |
Spatial information |
SHAPE |
Fig. 2 show the structure system of battalion's distribution end-equipment data interoperation application described in step 2, the structure system
It needs to study the current application architecture for seeking the management of distribution end-equipment in operating system, data shelf from global angle
The existing systems framework statuses such as structure, deployment framework, safety certification mode, it is mutual to carry out battalion's distribution end-equipment data on this basis
The structure system design of operation application.
The total design principle of above-mentioned interoperability Applications construct is:Follow Service-Oriented Architecture Based (SOA) thought, strict implement
IEC61970/61968 standard, the specific operation flow suitable for end-equipment associated traffic data, thus for battalion distribution end
Equipment, which is more refined, provides technical support with intelligentized operation and management.
1) it standardizes:The codes and standards of IEC61970/61968/61850 are followed, realize modeling standardization, data exchange mark
Standardization, application function nuclear interface standardizing.
2) open:Using open architecture, open environment is provided, can support multiple hardwares platform, institute is active
Interface standard between energy module is unified, supports the exploitation of user application software program, guarantees and other systems interconnect sum aggregate
Integrally, or very easily the interface between other systems is realized.
3) scalability:System is suitable for electric system scale ever increasing need and control centre's business demand
It is continuous variation, it can be achieved that on-line rapid estimation upgrading and configuration flexible in application.
4) reliability:Fault Isolation mechanism is provided, excision failure will not influence the normal operation of other each nodes, and guarantee
Failover procedure is quick and steady, provides convenient and reliable backup and recovery ways
5) safety:According to the requirement of electric power secondary system security protection, fully considers the physical security of system data, patrols
Chian is complete, the transmission safety of data and data use it is safe.
The framework of battalion's distribution end-equipment data interoperation application shown in Fig. 3 is based on IEC-CIM/CIS61970 standard
System externally provides and meets IEC-61970 public service/GDA/HSDA/TSDAGES service;Its framework integrally uses SOA framework
Thought builds a system architecture that is general, can refer to.In order to solve data sharing and interoperability problem encountered, this
For framework from practical problem, interoperability, which is realized, uses SpringMVC frame, Hibernate persistence framework technology, Web
The technologies such as Services construct a kind of completely new system architecture, the system architecture should have it is open, based on IEC61970 standard
Sum the characteristics of facing the future, so that making the system of the architecture construction has high reliability, high scalability and strong adaptability.It is described
System architecture is divided into business datum service layer, IEC-CIM service layer, IEC-CIS service layer, service application layer business datum service
Layer:It is illustrated below:
Business datum service layer is that operation system provides the basis of battalion's distribution end-equipment data, to guarantee the real-time of data
Property externally provide data-pushing API service by WebServices when realizing, it is good by definition by marketing, electric power GIS, PMS2.0
Interface rules, propelling data carries out fractionation conversion to data interaction middleware.
IEC-CIM service layer:
Parsing storage and mobile distribution mainly are carried out by what is got from business data service layer, which includes CIM object
Manage database, data interaction middleware, transaction data library.
Wherein data interaction middleware receives the data of business datum service layer push, and middleware parses data
And storage is split into CIM physical table, otherwise when data have unusual fluctuation in CIM physical database, pass data to number
Intermediate according to interaction, transaction data is polymerize and is distributed in transaction data library or the business of business datum service layer by middleware
In system library table.
IEC-CIS service layer
Based on IEC-CIS standard, public service, GDA, HSDA, GES, TSDA service are realized, using WebServices
Implementation method is packaged, general data access, reading and writing data service API are externally provided.
For the real-time and versatility for guaranteeing data, splits process and utilize data interaction middleware, the middleware is sustainable
Active push and reception push two ways, to guarantee that data transmit real-time, business system is preferentially taken in interoperability application service
The push interface that system is provided according to data interaction middleware, battalion's distribution end-equipment data active push that operation system is stored
To middleware, after middleware receives data, according to the relation table having had built up, split storage to CIM object to data
It manages in database.
When other application system is when transferring IEC-CIS read-write interface, by CIS interface in CIM physical database
Data are modified, and data transmission interface receives transaction data at this time, which can be transferred to data transaction data in real time
Middleware polymerize data by middleware according to established traffic table incidence relation, and transaction data storage is arrived
In transaction data library, to be applicable in more application scenarios, data after polymerization provide two ways in data transmission, the first
It is that middleware has polymerize data by service database timing reading, second is to provide interface rules by operation system, in
Between part distributed in real time.Two ways can be with actual business requirement optimum selecting.
The CIS of IEC 61970 realizes mainly include three parts:Middleware platform, CIM data backstage, the general clothes of CIS
Business.Wherein CIS generic service is to realize on CIM data backstage, therefore CIM data backstage is the key that CIM/CIS is realized.
It in the construction of past data platform, is stored in CIM data in the three-dimensional real-time data base of self-developing/transformation, due to
Original real-time data base is based on hierarchical model, using the mode of static allocation memory, needs to be manually specified the first of every table
Beginning scale and attribute thickness, need to do different configurations for the system of different scales, and it is too big to often result in memory consumption, cause
Whole system is impracticable.And the CIM database that the present invention realizes is realized on mature relational database, is had very strong
Practicability and operability.
Relational database has the characteristics that complete function, opening are good.During interoperability is served by realization, we
If gradually realizing the power that can make full use of relational database, the development difficulty of system can be reduced, is improved entire
The opening and stability of system.CIM data are stored using relational database, groundwork is to establish CIM object oriented programming model
With the mapping of relational database, CIM model is described in relational database.The commercial data base of mainstream is all based on pass at this stage
It is database model, and entire CIM UML language description, using the expression way of object-oriented.Although each
Specific database product (such as Oralce, Sybase, MS Sql Server) is all supported in a manner of oneself to a certain extent
The characteristic of object-oriented, or support the data pattern towards XML, it is contemplated that transplantability and consistency, the present invention still use
Typical relational model stores CIM data.
Described in step 3 in front on the working foundation of step 1, step 2, with unified interface specification and battalion's distribution end-equipment
The structure system of data interoperation application is constraint, the business demand of analysis battalion distribution end-equipment data interoperation application.
The action of this part mainly includes completing battalion's distribution end-equipment data interoperation based on IEC-CIS
The basis for the frame system that the unified interface standard system and battalion's distribution end-equipment data interoperation being served by are served by
On, the application demand towards battalion's distribution end-equipment data interoperation, combing business demand forms requirements specification, is based on needing
Specification is sought, master-plan and detailed design that battalion's distribution end-equipment data interoperation is served by are carried out.Design is discussed
Card and evaluation, the code that completion battalion distribution end-equipment data interoperation is served by is realized to work with system testing;Main packet
Resolution component, existing each operation system private data mould containing common information model to existing each operation system private data model
Type distribution GIS model data interoperability service on basis, equipment money to the polymerizing component of common information model and herein
Produce the service of model data interoperability, the service of marketing service resource data model interoperability, marketing GIS model data interoperability service
Deng.