CN102750358B - Mapping method and system of system data model to common information model (CIM) - Google Patents

Mapping method and system of system data model to common information model (CIM) Download PDF

Info

Publication number
CN102750358B
CN102750358B CN201210192963.7A CN201210192963A CN102750358B CN 102750358 B CN102750358 B CN 102750358B CN 201210192963 A CN201210192963 A CN 201210192963A CN 102750358 B CN102750358 B CN 102750358B
Authority
CN
China
Prior art keywords
model
cim
data
mapping
application system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210192963.7A
Other languages
Chinese (zh)
Other versions
CN102750358A (en
Inventor
盛万兴
孙军平
范闻博
高媛
时伟君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI filed Critical State Grid Corp of China SGCC
Priority to CN201210192963.7A priority Critical patent/CN102750358B/en
Publication of CN102750358A publication Critical patent/CN102750358A/en
Application granted granted Critical
Publication of CN102750358B publication Critical patent/CN102750358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a mapping method and a system of a system data model to a CIM. The method includes configuring model mapping rules, receiving model files from corresponding application systems, and verifying and analyzing the model files to obtain information data of the application systems; judging whether model mapping rule files are loaded by the mapping system, if the files are not loaded, building a mapping rule between a private data model and the CIM through a configuration tool for model mapping rules; according to the mapping rule, private information data of the application systems are converted into CIM data and are stored in a CIM library through a mapping unit; and finally, obtaining all information data by browsing the list structure of a whole CIM data library, organizing information data according to resource description framework (RDF) specifications, exporting standard CIM/extensible markup language (XML) files for being called by other application services and components.

Description

A kind of system data model is to mapping method and the system of CIM model
Technical field
The present invention relates to power system automatic field, be specifically related to a kind of system data model to mapping method and the system of CIM model.
Background technology
Along with the develop rapidly of computer technology and the communication technology is with universal, power industry Informatization Development is swift and violent, inner the mutual and shared more and more frequent of data among systems of widely applying of electric power enterprise, yet when application system development designs, the description of electric power system model is not quite similar, and how to describe the application that electric system depends on that each are different conventionally.These application systems are often by different manufacturers design research and development, operating system based on different and data platform, data, information format are incompatible, and " information island " phenomenon forming therefrom can not be fully utilized Enterprise Resource, cause information sharing and system interoperation difficulty.In order to solve power system information sharing problem, set up standard, open power system information model, International Electrotechnical Commission has defined electric system common information model as the unified data model between electric system jointly by IEC 61970 and IEC 61968 standards, it has proposed with common information model (Common Information Model, common information model) as EMS(Energy management system, energy management system)/DMS(distribution management system, Distribution Management System) semantic basis of each application system information interaction, avoided directly changing between different system information model.The present invention is directed to heterogeneous applications inter-system data, the skimble-scamble problem of information format, proposed each application system private data model to be converted to the method based on CIM model.The present invention adopts the method that the privately owned model file of application system is mapped as to the CIM model file of IEC 61970/61968 regulation, the CIM model of usining not only meets the development trend of electric system as public information interaction models, the integrated demand that can meet existing application system simultaneously, has applicability and perspective widely in present stage.
Summary of the invention
For the deficiencies in the prior art, the invention provides a kind of system data model to mapping method and the system of CIM model, be intended to solve the model Heterogeneity between each application system in adapted electrical domain, realize the data interaction between each isomery application system of electric power enterprise and share, for system information is integrated, providing technical support with interoperability.
A kind of mapping method provided by the invention, is mapped to CIM model by application system private data model; Its improvements are, described mapping method comprises the steps:
(1) allocation models mapping ruler read the model file of application system;
(2) model file of described application system is carried out to verification, the qualified document analysis algorithm that calls of verification is resolved, and obtains all information datas in model file;
(3) mapping ruler storehouse judges whether to load described model mapping rule file; If load and carry out next step; Otherwise at mapping block configuration interface, set up the mapping ruler of described application system private data model and CIM model;
(4) map unit, according to described mapping ruler, is converted to CIM model data by application system private information data and deposits in the form of CIM relational database;
(5) travel through the data message in described CIM relational database, according to resource description framework organising data, derive the CIM/XML file of standard, for other assemblies or service call.
Wherein, step (1) user, according to the corresponding relation between described application system private data model and CIM model, sets up the mapping ruler between described application system private data model and CIM model in configuration tool.
Wherein, the step of setting up model mapping rule comprises:
1. set up the whole network CIM model bank;
2. according to application system demand, delete irrelevant model, reduce model redundancy, CIM model is minimized;
3. in configuration tool, import application system model file and CIM model file, configuration mapping ruler, realizes the mapping between application system model and CIM model.
Wherein, step (2) is described to the checking procedure of described application system model file is: whether the model file that judges application system meets its corresponding XML Schema standard, if carry out step (3), otherwise high-ranking officers' error checking false information returns to application system.
The present invention is based on a kind of system data model that another object provides to the mapped system of CIM model, its improvements are, described mapped system comprises document analysis module, map unit and the data model storage unit connecting successively; Described document analysis module is for resolving with information extraction data described application system model file; Described map unit is for configuring and store the mapping ruler between described application system private data model and common information model, and realization mutual conversion between the two; Described data model storage unit is for storing, manage, safeguard common model information.
Wherein, the model file that described document analysis module is imported into described application system is resolved; Described document analysis module adopts the DOM mode mutually nested with SAX resolver to extract data message; Described SAX resolver is for the data message of all appointments of sequential search XML file; Described DOM resolver, for data item corresponding to certain specify labels of stochastic searching, obtains data message and carries out stores processor.
Wherein, described map unit comprises mapping ruler storehouse, configuration tool and modular converter; Described configuration tool is for setting up the mapping ruler between the privately owned model of described application system and CIM model; Described modular converter reads the map information of storing in mapping ruler storehouse and realizes the conversion between the privately owned model of described application system and CIM model.
Wherein, described data model storage unit comprises and comprises CIM model bank, management tool and browser; Described CIM model bank is used for storing common model information; Described management tool and described browser provide the feature operation of the importing of common model information/derive, browse, inquire about, revise, upgrade.
Compared with the prior art, beneficial effect of the present invention is:
1, the present invention adopts common information model as master pattern, has avoided directly changing between different system information model, has good extendability, opening and maintainability, can effectively reduce the Integrated Development cost in system upgrade process.
2, the present invention adopts CIM model bank storage standards data message, can guarantee uniqueness and the standard of model data, and the mode of directly transmitting with respect to file, has the advantages such as data capacity is large, conversion efficiency is high, be easy to administer and maintain.
3, the present invention proposes a kind of by the mutual mapping method of conversion between electric power application system private data model and common information model model, the information that not yet define in IEC61970/61968 standard for those but practical application needs, user can carry out model extension by data model storage unit, after Model Mapping completes, can directly derive CIM/XML model file for third party.
Accompanying drawing explanation
Fig. 1 is that the privately owned model of application system provided by the invention is to CIM Model Mapping organization chart.
Fig. 2 is data pattern file flow path switch figure provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
The present invention adopts common information model as the normal data model of inter-system data exchange, from the private data model XML file of application system, parse information data, according to mapping ruler, be converted to the model data file that meets CIM semanteme and syntactic structure.The present invention is based on a kind of mapped system that this adopts, its structural drawing as shown in Figure 1, main include file parsing module, map unit and data model storage unit, wherein document analysis module is for realizing the extraction of file data information; Map unit allows user according to self system different application and allocation models mapping ruler realize the conversion between system private data model and common information model by mapping ruler; Data model storage unit is mainly used in storing, manages, safeguards common model information.Concrete:
(1) document analysis module
Document analysis module is the source of whole mapping method input message, completes parsing and the extraction of application system information, for mapping ruler provides converting objects.Document analysis module is resolved the XML file importing into, for improving the analyzing efficiency of large file, the comprehensive feature of analyzing existing XML document parser, adopt DOM(Document Object Mode) with SAX(Simple API for XML) the mutually nested mode of resolver extracts data message, SAX is positioned at analytical algorithm skin, data message for all appointments of sequential search XML file, triggers corresponding DTS; DOM is positioned at analytical algorithm internal layer, for data item corresponding to certain specify labels of stochastic searching, obtains data message and carries out stores processor.
(2) map unit
Map unit is the core of whole conversion method, completes the privately owned model of application system to the mutual conversion of CIM model, it provide mapping ruler configuration, read, store and the function such as parsing.Map unit comprises mapping ruler storehouse, configuration tool and modular converter.Wherein configuration tool is mainly set up model mapping rule, formation model mapping rule file to configuration between privately owned model and CIM model; Modular converter is realized privately owned model data information that document analysis module parses goes out and the mutual conversion of CIM database information in conjunction with mapping ruler; Mapping ruler storehouse is used for storing user configured map information and the attended operations such as inquiry, modification is provided.
Map unit, as realizing the chief component unit shining upon between privately owned model and CIM model, is set up model mapping rule file, and the step of its foundation mainly comprises: 1. set up the whole network CIM model bank; 2. according to application system demand, delete irrelevant model, reduce model redundancy, CIM model is minimized; 3. in configuration tool, import application system model file and CIM model file, configuration mapping ruler, realizes the mapping between application system model and CIM model.Map unit receives document analysis information, by query mappings rule base, obtains pre-configured model mapping rule, and modular converter is converted to the model information of appointment the CIM model information of standard and imports CIM model repository according to mapping ruler.Wherein configuration tool shows application system model information and CIM model information with tree structure respectively, user can adopt the manual mode pulling to set up the mapping ruler between the privately owned model of described application system and CIM model according to the corresponding relation between model information, and the map information of formation imports mapping ruler library storage.
(3) data model storage unit
The storage that data model memory module comprises model, manage, browse, import, the function such as derivation, its nucleus module be one for storing the CIM relevant database of common model information.
Data model storage unit the supply a model importing of description document, the operations such as derivation, data management and maintenance of CIM/XML file, wherein the importing of model description file carries out dissection process by the corresponding data inserting of the model data obtaining storehouse to model description file; The derivation of CIM/XML file be one according to all data messages in CIM data model structure ergodic data storehouse, be assembled into CIM object and be given to " XML generator program ", the process that the CIM/XML instance document of generation standard is called for associated component/service, has realized from CIM relational database extracted data and has generated master pattern file; Browse unit provides browsing of CIM model and retouching operation, and in browser interface, user not only can check model information, can also modify to model information, the attended operation such as renewal.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing and specific implementation method, the present invention is described in further detail.
Fig. 1 be the privately owned model of application system to CIM Model Mapping organization chart, shown the main modular unit that Model Mapping method comprises, comprise document analysis module and map unit, data model storage unit etc.User can be in map unit corresponding relation by browsing, between inquiring user data model and CIM model, adopt to pull, select or the mode such as manual typing is set up the mapping ruler of two kinds of models, formation model mapping rule file; Document analysis module reads, verification and parsing are obtained model data from the model file of application system; Map unit stress model mapping rule file is also converted to CIM model data by mapping algorithm program by model data and deposits in CIM database; Adopt the data message in the file export function traversal CIM relational database of data model storage unit, according to the CIM/XML instance document of resource description framework file generated standard for associated component/service call.
The privately owned model of application system that the present invention provides according to said system and the mapping method of CIM model, process flow diagram as shown in Figure 2, specific implementation method is: in the configuration tool of map unit, import described application system model file and CIM model file, in configuration interface, will demonstrate application system model and CIM model with tree structure, user can set up the mapping relations between the privately owned model of described application system and CIM model; Simultaneously in document analysis module, described privately owned model file from application system database reads first verification its whether meet its corresponding XML Schema standard, if meet verification, utilize analytical algorithm to extract described private data model file information data, otherwise to the error message of application system back-checking; The information data of obtaining is before modular converter shines upon storage, mapping ruler storehouse need to judge whether to have loaded mapping ruler, if load, modular converter is converted to the information data of obtaining one by one CIM model data and deposits in CIM relational database table according to mapping ruler, otherwise return to information, requires to reload mapping ruler.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although the present invention is had been described in detail with reference to above-described embodiment, those of ordinary skill in the field are to be understood that: still can modify or be equal to replacement the specific embodiment of the present invention, and do not depart from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of claim scope of the present invention.

Claims (6)

1. system data model, to a mapping method for CIM model, is characterized in that, described mapping method comprises the steps:
(1) allocation models mapping ruler read the model file of application system;
(2) model file of described application system is carried out to verification, the qualified document analysis algorithm that calls of verification is resolved, and obtains all information datas in model file;
(3) mapping ruler storehouse judges whether to load described model mapping rule file; If load and carry out next step; Otherwise at mapping block configuration interface, set up the mapping ruler of described application system private data model and CIM model;
(4) map unit, according to described mapping ruler, is converted to CIM model data by application system private information data and deposits in the form of CIM relational database;
(5) travel through the data message in described CIM relational database, according to resource description framework organising data, derive the CIM/XML file of standard, for other assemblies or service call.
2. mapping method as claimed in claim 1, it is characterized in that, step (1) user, according to the corresponding relation between described application system private data model and CIM model, sets up the mapping ruler between described application system private data model and CIM model in configuration tool.
3. mapping method as claimed in claim 1, is characterized in that, the step of setting up model mapping rule comprises:
1. set up the whole network CIM model bank;
2. according to application system demand, delete irrelevant model, reduce model redundancy, CIM model is minimized;
3. in configuration tool, import application system model file and CIM model file, configuration mapping ruler, realizes the mapping between application system model and CIM model.
4. mapping method as claimed in claim 1, it is characterized in that, the step of the verification of the described application system model file of step (2) is: whether the model file that judges application system meets its corresponding XML Schema standard, if carry out step (3), otherwise high-ranking officers' error checking false information returns to application system.
5. system data model, to a mapped system for CIM model, is characterized in that, described mapped system comprises document analysis module, map unit and the data model storage unit connecting successively; Described document analysis module is for resolving with information extraction data application system model file; Described map unit is for configuring and store the mapping ruler between described application system private data model and common information model, and realization mutual conversion between the two; Described data model storage unit is for storing, manage, safeguard common model information;
Described mapped system, is characterized in that, described map unit comprises mapping ruler storehouse, configuration tool and modular converter; Described configuration tool is for setting up the mapping ruler between the privately owned model of described application system and CIM model; Described modular converter reads the map information of storing in mapping ruler storehouse and realizes the conversion between the privately owned model of described application system and CIM model;
Described mapped system, is characterized in that, described data model storage unit comprises CIM model bank, management tool and browser; Described CIM model bank is used for storing common model information; Described management tool and described browser provide the feature operation of the importing of common model information/derive, browse, inquire about, revise, upgrade.
6. mapped system as claimed in claim 5, is characterized in that, the model file that described document analysis module is imported into described application system is resolved; Described document analysis module adopts the DOM mode mutually nested with SAX resolver to extract data message; Described SAX resolver is for the data message of all appointments of sequential search XML file; Described DOM resolver, for data item corresponding to certain specify labels of stochastic searching, obtains data message and carries out stores processor.
CN201210192963.7A 2012-06-12 2012-06-12 Mapping method and system of system data model to common information model (CIM) Active CN102750358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210192963.7A CN102750358B (en) 2012-06-12 2012-06-12 Mapping method and system of system data model to common information model (CIM)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210192963.7A CN102750358B (en) 2012-06-12 2012-06-12 Mapping method and system of system data model to common information model (CIM)

Publications (2)

Publication Number Publication Date
CN102750358A CN102750358A (en) 2012-10-24
CN102750358B true CN102750358B (en) 2014-03-12

Family

ID=47030543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210192963.7A Active CN102750358B (en) 2012-06-12 2012-06-12 Mapping method and system of system data model to common information model (CIM)

Country Status (1)

Country Link
CN (1) CN102750358B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103840858B (en) * 2014-03-19 2016-03-23 中国联合网络通信集团有限公司 Data capture method and Common Information Model CIM service end
CN105446966B (en) * 2014-05-30 2019-01-18 国际商业机器公司 The method and apparatus that production Methods data are converted to the mapping ruler of RDF format data
CN105373550A (en) * 2014-08-25 2016-03-02 国家电网公司 Data mapping method and apparatus
CN106156186B (en) * 2015-04-21 2020-02-07 阿里巴巴集团控股有限公司 Data model management device, server and data processing method
CN105426300B (en) * 2015-10-20 2021-01-15 中国电力科学研究院 Standard conformance test system and method for CIM/E model of power system
CN105630500B (en) * 2015-12-25 2019-11-29 江苏东大金智信息系统有限公司 A method of for CIM/XML data processing
CN106919618A (en) * 2015-12-28 2017-07-04 航天信息股份有限公司 Excel data lead-in methods and system
CN105868410A (en) * 2016-04-25 2016-08-17 南京南瑞集团公司 Model-driven intelligent SCD (substation configuration description) file and CIM/E (common information model/efficiency) file conversion tool and method
CN106021344B (en) * 2016-05-09 2019-12-03 国电南瑞科技股份有限公司 A kind of flexible CIME electric network model sharing method
CN110110151B (en) * 2018-01-05 2022-05-10 北大方正集团有限公司 Method, system, computer equipment and storage medium for analyzing and warehousing resource packages
CN108563768B (en) * 2018-04-19 2023-05-23 中国平安财产保险股份有限公司 Data conversion method, device, equipment and storage medium for different data models
CN109492055B (en) * 2018-08-29 2019-08-06 云南电网有限责任公司信息中心 A method of power grid big data warehouse is established based on CIM model
CN109710669B (en) * 2018-12-05 2022-07-29 国网山东省电力公司青岛供电公司 Method for improving accuracy of full power grid model data based on check rule base
CN109739915B (en) * 2018-12-27 2021-04-13 中国电子科技集团公司第三十研究所 Cross-domain shared data model construction method
CN115061662B (en) * 2022-06-13 2024-07-12 中国兵器工业信息中心 MBSE-based heterogeneous model integration method and system for interconnection platform

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG153628A1 (en) * 2004-01-14 2009-07-29 Agency Science Tech & Res Method and system for data retrieval from heterogeneous data sources
US7584191B2 (en) * 2005-08-29 2009-09-01 Harris Stratex Networks, Inc. Modeling of heterogeneous multi-technology networks and services by method of translation of domain-focused user information model to common information model
CN100458793C (en) * 2007-05-10 2009-02-04 浪潮集团山东通用软件有限公司 Mapping conversion method between data access level Xml format data and relational data
CN101697166B (en) * 2009-10-28 2011-07-27 浪潮电子信息产业股份有限公司 Method for accelerating data integration of heterogeneous platform
CN102063509B (en) * 2011-01-12 2013-07-03 南京南瑞继保电气有限公司 Model and modeling method of multi-dimensional data integration of heterogeneous databases of electric power information system
CN102081661A (en) * 2011-01-19 2011-06-01 吉林大学 Data integration method and system of heterogeneous relational database based on XML (Extensive Makeup Language)

Also Published As

Publication number Publication date
CN102750358A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN102750358B (en) Mapping method and system of system data model to common information model (CIM)
CN102542513B (en) Body-based verification tool of power grid public information model and method thereof
CN102710435B (en) System integration interface adapter based on common information model (CIM)
CN102799620B (en) Design method for interface of IEC 61850 universal database information model
CN101354696B (en) Data integration and application service system based on electric communication field sharing information model
CN107315768A (en) The distribution information interacting method and system mapped based on Heterogeneous Information model
CN100595752C (en) Interactive implementing method of electrical power system pattern based on IEC61970 standard
CN102270261B (en) Design method for intelligent transformer station model based on CAD (Computer-Aided Design) graph and model integration
CN102867274A (en) Management and graphical display system for intelligent substation SCL (substation configuration description language) configuration files
CN103902286A (en) Hierarchy type multi-source data fusion method based on SOA
CN102855271A (en) Storage and traceable management method for multi-version power grid model
CN104182911A (en) Calibration method for realizing CIM (Common Information Model) consistency of power distribution network system
CN114281790B (en) Multi-type load resource aggregator access system and method
CN104317864A (en) Automatic identification method of information model based on IEC61850 logical nodes
CN101340448A (en) Medical data integration scheme oriented to digital family
CN103078920A (en) Online information verification system based on international electrotechnical commission (IEC) 61968 enterprise service bus (ESB)
CN103049431A (en) ICD (IED Capability Description) inspection method based on objectified module semantics
CN107656951A (en) A kind of method of real time data in synchronous and heterogeneous Database Systems
CN118096090B (en) Intelligent substation model design system and method based on WEB framework
KR20200082051A (en) System for managing ontology data of power grid
Dai Design and implementation of ESB based on SOA in power system
CN103294878A (en) Unified modeling method of multidimensional grid models based on DMS (database management system)
Lu et al. Research on heterogeneous data integration for smart grid
CN104809664A (en) Information integration method for power distribution master station
Offergeld et al. cimpyorm–a queryable python CIM-Cache for smart grid applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: STATE ELECTRIC NET CROP.

Effective date: 20130425

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130425

Address after: 100192 Beijing city Haidian District Qinghe small Camp Road No. 15

Applicant after: China Electric Power Research Institute

Applicant after: State Grid Corporation of China

Address before: 100192 Beijing city Haidian District Qinghe small Camp Road No. 15

Applicant before: China Electric Power Research Institute

GR01 Patent grant
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: CHINA ELECTRIC POWER RESEARCH INSTITUTE STATE GRID

Free format text: FORMER OWNER: STATE GRID CORPORATION OF CHINA

Effective date: 20150326

Owner name: STATE GRID CORPORATION OF CHINA

Free format text: FORMER OWNER: CHINA ELECTRIC POWER RESEARCH INSTITUTE

Effective date: 20150326

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100192 HAIDIAN, BEIJING TO: 100031 XICHENG, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20150326

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Patentee after: State Grid Corporation of China

Patentee after: China Electric Power Research Institute

Patentee after: State Grid Shandong Electric Power Company

Address before: 100192 Beijing city Haidian District Qinghe small Camp Road No. 15

Patentee before: China Electric Power Research Institute

Patentee before: State Grid Corporation of China