CN102521451B - A kind of electric network model file, generation method and the system of supporting accelerated model to splice - Google Patents

A kind of electric network model file, generation method and the system of supporting accelerated model to splice Download PDF

Info

Publication number
CN102521451B
CN102521451B CN201110415273.9A CN201110415273A CN102521451B CN 102521451 B CN102521451 B CN 102521451B CN 201110415273 A CN201110415273 A CN 201110415273A CN 102521451 B CN102521451 B CN 102521451B
Authority
CN
China
Prior art keywords
eap
message digest
properties
message
buffering area
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
CN201110415273.9A
Other languages
Chinese (zh)
Other versions
CN102521451A (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.)
East China Grid Co Ltd
Original Assignee
East China Grid Co Ltd
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 East China Grid Co Ltd filed Critical East China Grid Co Ltd
Priority to CN201110415273.9A priority Critical patent/CN102521451B/en
Publication of CN102521451A publication Critical patent/CN102521451A/en
Application granted granted Critical
Publication of CN102521451B publication Critical patent/CN102521451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

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

Abstract

The invention provides a kind of electric network model file for supporting accelerated model to splice, generation method and system, by being parsed to electric network model file, and level relational structure storehouse and topological connection relation structural library are formed in the buffer, then to the eap-message digest attribute of the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area, then eap-message digest is handled, it is final to be included extending the hierarchical organization form of eap-message digest attribute according to buffering area, generate electric network model file, in view of the change of underlying object can be delivered in the eap-message digest of ancestor node object, therefore, carry out model splicing process CIM incremental raio compared with when, it can be layered and only compare the different branch of eap-message digest, so as to reduce number of comparisons, accelerate the efficiency of model splicing storage.

Description

A kind of electric network model file, generation method and the system of supporting accelerated model to splice
Technical field
The present invention relates to technical field of power systems, the more particularly to a kind of electric network model for supporting accelerated model to splice text Part, generation method and system.
Background technology
The IEC61970 series standards that International Electrotechnical Commission formulates, to power system common information model and application Routine interface has carried out specification.Current CIM has become the universal model of description power system, in the different control zones of power system Exchange model information serves key effect between domain.
Characteristic is (such as " differentiated control, the hierarchical control " of China's power system:State adjust, net adjust, province adjust, adjust, county adjust) make Obtain and generally realized for the model construction for covering many control area power networks using the method for CIM splicing, in model splicing Corresponding control area " incremental computations of model change " is its crucial ring during being put in storage with increment, is also most time-consuming one Step, at present, " incremental computations of model change are based on matching process, and usual one of the both sides of matching are subject areas to be spliced New model;Another is the full model result of previous model splicing;Matching process is typically employed in buffering area according to level The top of relation carries out comparing one by one for each attribute of object to bottom, is formed《Increase list of devices》With《Subtract list of devices》So as to Model object updates storage.Although this method has carried out some optimizations (such as only comparison necessary field), on the whole for, mesh It is high not enough also to there is efficiency in preceding model comparison method.
On the other hand, for the only change of object oriented in CIM file, the comparison method generally will be considered that there is one Old object is deleted and a new object need to be increased newly, " operation of object properties modification " can be changed into " data when EMS increments are put in storage The additions and deletions operation of object in storehouse ", on the one hand can influence increment warehouse-in efficiency, on the other hand, can also influence the relatively steady of EMS models It is qualitative, because the additions and deletions of object can cause the relation between original data and object to become as the splicing storage of model is continuous Change, influence figure and the original corresponding relation of data communication are, it is necessary to rebuild, while can also cause data outage.
For deficiency of the prior art, a kind of electric network model file for supporting accelerated model to splice, generation method are proposed And system, it is one of the problem of technical field of power systems is anxious to be resolved at present.
The content of the invention
In view of this, the embodiment of the present invention proposes a kind of electric network model file for supporting accelerated model to splice, generation side Method and system, by being parsed to electric network model file, and form level relational structure storehouse and Topology connection in the buffer Relational structure storehouse, then to the message of the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area Summary attribute, is then handled eap-message digest, is finally included extending the level group of eap-message digest attribute according to buffering area Form is knitted, electric network model file is generated.
In order to solve the above technical problems, the purpose of the embodiment of the present invention is achieved through the following technical solutions:
A kind of object in electric network model file for supporting accelerated model to splice, electric network model file includes the message of extension Summary attribute, the power network CIM file of the eap-message digest attribute including extending supports the described of the object disappearing Breath summary attribute quickly finds the real increment change of power network CIM.
It is preferred that, the object in above-mentioned electric network model file includes but is not limited to container object, device object and tie point Object.
It is preferred that, said vesse object includes company's object, sub- control zone object, plant stand object and voltage class object.
It is preferred that, the said equipment object type includes generator, bus, transformer, circuit, switch, disconnecting link, earthing knife-switch, negative Lotus, capacitor and reactor.
It is preferred that, the object in above-mentioned electric network model file is power system resource object and annexation object.
It is preferred that, the eap-message digest attribute of above-mentioned extension includes this object all properties eap-message digest, this object and removes object All direct lower floor's object message summaries of all properties eap-message digest and this object outside title;
This object all properties eap-message digest refers to count all properties of the object using Message Digest 5 Calculate a fixed length code of generation;
All properties eap-message digest of this object in addition to object oriented refers to remove the object using Message Digest 5 All properties outside object oriented calculate a fixed length code of generation;
All direct lower floor's object message summaries of this object refer to using Message Digest 5 to all straight of the object Connect lower floor's object all direct lower floor's object messages of described object all properties eap-message digest and described object make a summary into Row calculates a fixed length code of generation.
It is preferred that, above-mentioned Message Digest 5 refers to MD5 algorithms or SHA-1 algorithms.
It is preferred that, above-mentioned MD5 algorithms use the secret key of 128.
It is preferred that, above-mentioned attribute includes said container attribute.
A kind of generation method for the electric network model file for supporting accelerated model to splice, including:
Step 1: being parsed to electric network model file, and level relational structure storehouse and topology are formed in the buffer even Connect relational structure storehouse;
Step 2: to the message of the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area Summary attribute;
Step 3: handling eap-message digest;
Step 4: being included extending the hierarchical organization form of eap-message digest attribute, generation electric network model text according to buffering area Part.
It is preferred that, in above-mentioned steps one, be hierarchical structure by parsing electric network model file, and according to electric network model and Topological connection relation structure is stored in the buffer.
It is preferred that, in above-mentioned steps two, further comprise the CIM file that storage is parsed through the document analysis module Hierarchical relationship structural library and topological connection relation structural library and the eap-message digest attribute including extension hierarchical relationship structural library With topological connection relation structural library.
It is preferred that, in above-mentioned steps three, further comprise using depth-first traversal algorithm to the hierarchical relationship structure In the object, the eap-message digest field of object described in bottom-up computation;And using breadth first traversal algorithm to institute State the calculation and object eap-message digest field in topological attachment point structure.
It is preferred that, in above-mentioned steps three, further comprise calculating electric network model using the generation method of electric network model file The eap-message digest field of object, and the quick method for finding increment change is contrasted to electric network model using the electric network model file File is handled and contrasts discovery increment change.
A kind of electric network model filing system for supporting accelerated model to splice, including:
Document analysis unit, for being parsed to electric network model file, and forms level relational structure in the buffer Storehouse and topological connection relation structural library;
Database Unit, for expanding the object in the hierarchical relationship structure and topological connection relation structure in buffering area The eap-message digest attribute of exhibition;
Processing unit, for handling eap-message digest;
Generation unit, for including extending the hierarchical organization form of eap-message digest attribute according to buffering area, generates power network Model file.
A kind of quick method for finding increment change of the electric network model file for supporting accelerated model to splice contrast, including:
(1) the first power network CIM file is parsed, first buffering area is conducted into, by the model weight in first buffering area New organization formation level time relational structure storehouse and topological connection relation structural library;
(2) the second power network CIM file is parsed, second buffering area is conducted into, by the model weight in second buffering area New organization formation level relational structure storehouse and topological connection relation structural library;
(3) to the container object and device object in the hierarchical relationship structural library in first buffering area and second buffering area with And the tie point object extension eap-message digest field in topological connection relation structural library, and using the model message word of above-mentioned disclosure Section computational methods are calculated;
(4) hierarchical structure (as shown in Figure 1) in buffering area is top-down successively to be compared in the first second buffering area Object oriented and eap-message digest the field four-tuple (eap-message digest 1, object oriented, the eap-message digest 2, eap-message digest that are constituted 3);
(5) i=1;The level currently compared in i representational level structural libraries;
Layer_num=max (depth of first buffering area hierarchical structure, the depth of second buffering area hierarchical structure);
(6) by the four-tuple of all objects of the i-th level in the first and second buffering area hierarchical structure storehouses, (message is plucked respectively Want 1, object oriented, eap-message digest 2, eap-message digest 3) array is ranked up according to eap-message digest 1, and by the two four-tuple numbers Group is compared, judge whether object oriented changes, whether object properties change according to the comparative result situation of appearance, Whether the subobject of object changes;And respective settings " whether subobject needs further comparison " mark, and accordingly fill in The object is inserted《Object updates registration form》、《Object accesion register》Or《Object deletes registration form》.
(7) i=i+1;
(8) i > layer_num are judgedIn this way, turn (10);Such as no, turn (9);
(9) by its of the i-th level in the first and second buffering area hierarchical structure storehouses, " whether the subobject of object needs respectively Comparison mark " is set as four-tuple (eap-message digest 1, object oriented, the message of all direct subobjects of all objects of "Yes" Summary 2, eap-message digest 3) array is ranked up according to eap-message digest 1, and the two four-tuple arrays are compared, turn (7);
(10) terminate.
In summary, the invention provides a kind of electric network model file for supporting accelerated model to splice, generation method and be System, by being parsed to electric network model file, and forms level relational structure storehouse and topological connection relation knot in the buffer Structure storehouse, then to the eap-message digest category of the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area Property, then eap-message digest is handled, is finally included extending the hierarchical organization form of eap-message digest attribute according to buffering area, Generate electric network model file.
Brief description of the drawings
Fig. 1 is the middle-level relational structure storehouse hierarchical relationship structure chart of buffering area of the embodiment of the present invention;
Fig. 2 is a kind of electric network model generation method flow chart for supporting accelerated model to splice of the embodiment of the present invention;
Fig. 3 is the flow chart of a specific embodiment of the invention;
Fig. 4 is the calculating process schematic diagram of 3 extension eap-message digest attributes of object in model file of the embodiment of the present invention;
Fig. 5 is the embodiment of the present invention《Additions and deletions information of container table》Structure chart;
Fig. 6 is the embodiment of the present invention《Additions and deletions facility information table》Structure chart;
Fig. 7 is the embodiment of the present invention《Additions and deletions connection point information table》Structure chart;
Fig. 8 generates system schematic for a kind of electric network model for supporting accelerated model to splice of the embodiment of the present invention;
Fig. 9 is a kind of quick stream for finding increment change of the electric network model file for supporting accelerated model to splice contrast of the present invention Cheng Tu;
Figure 10 is model object four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest 3) comparison result Classification.
Embodiment
A kind of electric network model file, generation method and the system of supporting accelerated model to splice provided in an embodiment of the present invention, By being parsed to electric network model file, and level relational structure storehouse and topological connection relation structure are formed in the buffer Storehouse, then to the eap-message digest category of the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area Property, then eap-message digest is handled, is finally included extending the hierarchical organization form of eap-message digest attribute according to buffering area, Generate electric network model file.
For the objects, technical solutions and advantages of the present invention are more clearly understood, develop simultaneously embodiment with reference to the accompanying drawings, right The present invention is further described.
In the present invention, in CIM electric network models file object (includes but is not limited to container object, device object and company Contact object) augmented messages summary attribute is carried out, it is respectively this object all properties eap-message digest (hereinafter referred to as eap-message digest 1), all properties eap-message digest (hereinafter referred to as eap-message digest 2) and this object of this object in addition to object oriented are all directly Lower floor's object message summary (hereinafter referred to as eap-message digest 3).
Eap-message digest in this programme refers to by a kind of irreversible mapping function (such as HASH functions), to random length Data block is calculated, and generates a fixed length code, and this yard can be used to examine the integrality of message.Now widely used HASH is calculated Method has MD5, SHA-1, HMAC etc..Because this characteristic of eap-message digest causes any change of underlying object to be delivered to ancestral In the field of eap-message digest 3 of first node object, also exactly in view of this characteristic, is carrying out model splicing Process PIM model incremental When comparing, it can be layered and only compare the different branch of the field of eap-message digest 3, so as to greatly reduce number of comparisons, improve and compare effect Rate.
As shown in Figure 1:Company, sub- control area, plant stand, voltage class and equipment (generator, load, switch, disconnecting link, Earthing knife-switch, capacitive reactance device, bus) between be hierarchical relation, between plant stand, transformer, Transformer Winding also be hierarchical relation, tool There is container category feature.
Further, the eap-message digest attribute of extension includes this object all properties eap-message digest, this object except object name All direct lower floor's object message summaries of all properties eap-message digest and this object outside title.
Specifically, this object all properties eap-message digest refers to all category to the object using Message Digest 5 Property carry out calculate generation a fixed length code;All properties eap-message digest of this object in addition to object oriented refers to pluck using message Want algorithm that all properties of the object in addition to object oriented calculate with a fixed length code of generation;This object is all directly Lower floor's object message summary refers to the described object using Message Digest 5 to all direct lower floor's objects of the object All properties eap-message digest and all direct lower floor's object message summaries of described object calculate a fixed length code of generation.
In this programme, the side of the CIM XML electric network model information of the eap-message digest attribute with extension described in buffering area Method, first by CIM XML electric network model document analysis into buffering area, and forms level pass as shown in Figure 1 in the buffer Architecture storehouse and topological connection relation structural library;
In Fig. 1:Company, sub- control area, plant stand, voltage class and equipment (generator, load, switch, disconnecting link, Knife, capacitive reactance device, bus) between be hierarchical relation, between plant stand, transformer, Transformer Winding also be hierarchical relation, have Container category feature.
Hierarchical relationship structural library forming method is as follows:
(a) power system objects in CIM XML are created in the buffer according to respective type, and remembered in the buffer Record the corresponding rdf id of each object;
(b) according to the rdfid of the attribute MemberOf_ of power system objects said container in CIM XML model files with And the hierarchical relationship structure that the power system objects corresponding to the rdf id are set up between object and its container in the buffer, can Described with two-dimensional array relation or hierarchical pointer relationship.
Hinting obliquely between the rdf id of device object and the rdf id of device port (terminal) is utilized in the buffer Incidence relation between relation and device port (Terminal) and topological attachment point (ConnectivityNode) is described The topological connection relation of power network.
Topological connection relation structural library forming method is as follows:By traveling through device port Rdfid in Terminal.ConnectivityNode property values, sets up device port (Terminal) and topological attachment point (connectivityNode) incidence relation between, and this topological connection relation is written to topological connection relation structural library In topological connection relation table in.
The embodiment of the present invention provides a kind of generation method for the electric network model file for supporting accelerated model to splice, such as Fig. 2 institutes Show, specific steps include:
Step 1: being parsed to electric network model file, and level relational structure storehouse and topology are formed in the buffer even Connect relational structure storehouse;
Specifically, in embodiments of the present invention, power network CIM file will be parsed, and according to the level knot of CIM Structure and topological connection relation structure are stored in the buffer.
Step 2: to the message of the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area Summary attribute;
Specifically, in embodiments of the present invention, further comprise:Store the CIM parsed through the document analysis module The level of the hierarchical relationship structural library and topological connection relation structural library of model file and the eap-message digest attribute including extension is closed Architecture storehouse and topological connection relation structural library.
Step 3: handling eap-message digest;
Specifically, in embodiments of the present invention, including using depth-first traversal algorithm to the hierarchical relationship structure In the object, the eap-message digest field of object described in bottom-up computation;And using breadth first traversal algorithm to institute State the calculation and object eap-message digest field in topological attachment point structure.
Further, in this programme, CIM moulds also are calculated using the generation method of the power network CIM file The eap-message digest field of type object, and the quick method for finding increment change is contrasted to CIM using the CIM file File is handled and contrasts discovery increment change.
Step 4: being included extending the hierarchical organization form of eap-message digest attribute, generation electric network model text according to buffering area Part.
Specifically, in embodiments of the present invention, it is to be included extending the level group of eap-message digest attribute according to buffering area Form is knitted, the CIM electric network model files of accelerated model splicing are supported in generation.
Further, in this programme, the hierarchical structure for producing the model file for the eap-message digest attribute for including extension is closed It is storehouse and tie point relation storehouse, and the CIM file for supporting accelerated model splicing is generated according to CIM XML syntax rules.
In addition, the flow chart of a specific embodiment of the invention is as shown in Figure 3, it is proposed that a kind of CIM by given power network The method that the CIM file of accelerated model splicing is supported in the description of XML model file generated.
(1) power network CIM XML model files are parsed, buffering area is conducted into;
(2) model in buffering area is reorganized to form level relational structure storehouse and topological connection relation structural library;
(3) to the container object and device object and topological connection relation knot in the hierarchical relationship structural library in buffering area Tie point object extension eap-message digest field (eap-message digest 1, eap-message digest 2 and eap-message digest 3) in structure storehouse, eap-message digest word The initial value of section is set to NULL;
(4) the eap-message digest field of depth-first traversal algorithm, bottom-up computation container object and device object is used, Concretely comprise the following steps:
(a) the root object root in access level structure storehouse;
(b) pointer to object assignment obj=root;
(c) judge object obj whether be hierarchical relationship storehouse leaf nodeIn this way, (d) is turned;Such as no turn (g);
(d) object obj eap-message digest field is calculated, computational methods are shown in that Fig. 4 is 3 extension message of object in model file The calculating process schematic diagram of summary attribute;
(e) judge whether all objects (container object and device object) node has been traveled through in hierarchical structure storehouse,
In this way, (i) is turned;Such as no turn (f);
(f) father's node of obj objects is returned
(g) judge that the eap-message digest field of object obj all direct subobjects has all been calculated;In this way, (d) is turned;It is such as no Turn (h);
(h) direct subobject for selecting one of those not calculate eap-message digest field, is assigned to Obj, turns (c);
(i) select and a connection point object is selected in topological connection relation structural library, calculate the eap-message digest of connection point object Field;
(j) judge whether all connection point objects have been traveled through in topological connection relation structural library;In this way, (k) is turned;It is such as no Turn (i);
(k) this step is terminated.
(5) according to CIM XML syntax rules, the extension eap-message digest to all model objects in buffering area belongs to as extension Property output, generate CIM XML file.
Fig. 5 is the embodiment of the present invention《Additions and deletions information of container table》Structure chart;
Fig. 6 is the embodiment of the present invention《Additions and deletions facility information table》Structure chart;
Fig. 7 is the embodiment of the present invention《Additions and deletions connection point information table》Structure chart;
A kind of generation system for the electric network model file for supporting accelerated model to splice, as shown in figure 8, including document analysis list Member 11, Database Unit 22, processing unit 33 and generation unit 44.
Document analysis unit 11, for being parsed to electric network model file, and forms hierarchical relationship knot in the buffer Structure storehouse and topological connection relation structural library;
Specifically, in embodiments of the present invention, power network CIM file will be parsed, and according to the level knot of CIM Structure and topological connection relation structure are stored in the buffer.
Database Unit 22, for the object in the hierarchical relationship structure and topological connection relation structure in buffering area The eap-message digest attribute of extension;
Specifically, in embodiments of the present invention, further comprise:Store the CIM parsed through the document analysis module The level of the hierarchical relationship structural library and topological connection relation structural library of model file and the eap-message digest attribute including extension is closed Architecture storehouse and topological connection relation structural library.
Processing unit 33, for handling eap-message digest;
Specifically, in embodiments of the present invention, including using depth-first traversal algorithm to the hierarchical relationship structure In the object, the eap-message digest field of object described in bottom-up computation;And using breadth first traversal algorithm to institute State the calculation and object eap-message digest field in topological attachment point structure.
Further, in this programme, CIM moulds also are calculated using the generation method of the power network CIM file The eap-message digest field of type object, and the quick method for finding increment change is contrasted to CIM using the CIM file File is handled and contrasts discovery increment change.
Generation unit 44, for being included extending the hierarchical organization form of eap-message digest attribute, generation electricity according to buffering area Pessimistic concurrency control file.
Specifically, in embodiments of the present invention, it is to be included extending the level group of eap-message digest attribute according to buffering area Form is knitted, the CIM electric network model files of accelerated model splicing are supported in generation.
Further, in this programme, the hierarchical structure for producing the model file for the eap-message digest attribute for including extension is closed It is storehouse and tie point relation storehouse, and the CIM file for supporting accelerated model splicing is generated according to CIM XML syntax rules.
In addition, finding increment the invention also provides a kind of electric network model file for supporting accelerated model to splice contrast is quick The method of change, flow chart is as shown in Figure 9.
(1) the first power network CIM file is parsed, first buffering area is conducted into, by the model weight in first buffering area New organization formation level time relational structure storehouse and topological connection relation structural library;
(2) the second power network CIM file is parsed, second buffering area is conducted into, by the model weight in second buffering area New organization formation level relational structure storehouse and topological connection relation structural library;
(3) to the container object and device object in the hierarchical relationship structural library in first buffering area and second buffering area with And the tie point object extension eap-message digest field in topological connection relation structural library, and using the model message word of above-mentioned disclosure Section computational methods are calculated;
(4) hierarchical structure (as shown in Figure 1) in buffering area is top-down successively to be compared in the first second buffering area Object oriented and eap-message digest the field four-tuple (eap-message digest 1, object oriented, the eap-message digest 2, eap-message digest that are constituted 3);
(5) i=1;The level currently compared in i representational level structural libraries;
Layer_num=max (depth of first buffering area hierarchical structure, the depth of second buffering area hierarchical structure);
(6) by the four-tuple of all objects of the i-th level in the first and second buffering area hierarchical structure storehouses, (message is plucked respectively Want 1, object oriented, eap-message digest 2, eap-message digest 3) array is ranked up according to eap-message digest 1, and by the two four-tuple numbers Group is compared, judge whether object oriented changes, whether object properties change according to the comparative result situation of appearance, Whether the subobject of object changes;And respective settings " whether subobject needs further comparison " mark, and accordingly fill in The object is inserted《Object updates registration form》、《Object accesion register》Or《Object deletes registration form》.
(7) i=i+1;
(8) i > layer_num are judgedIn this way, turn (10);Such as no, turn (9);
(9) by its of the i-th level in the first and second buffering area hierarchical structure storehouses, " whether the subobject of object needs respectively Comparison mark " is set as four-tuple (eap-message digest 1, object oriented, the message of all direct subobjects of all objects of "Yes" Summary 2, eap-message digest 3) array is ranked up according to eap-message digest 1, and the two four-tuple arrays are compared, turn (7);
(10) terminate.
Because this object all properties eap-message digest (i.e. message field 1) is that all properties of the object are calculated One fixed length code of generation;All properties eap-message digest (i.e. message field 2) of the described object in addition to object oriented is to institute State the fixed length code that all properties of the object in addition to object oriented calculate generation;Therefore, occur in the absence of message field 2 Change and the constant situation of message field 1, change and the constant situation of message field 1 while object oriented is also not present.In mould When type object is compared, only have by the result for comparing four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest 3) 7 kinds of situations, it is specific as shown in Figure 10.
One of ordinary skill in the art will appreciate that all or part of step for realizing above-described embodiment method carrying is can To instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable recording medium, The program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as Fruit is realized using in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
In summary, there is provided herein a kind of electric network model file, generation method and the system of supporting accelerated model to splice, By being parsed to electric network model file, and level relational structure storehouse and topological connection relation structure are formed in the buffer Storehouse, then to the eap-message digest category of the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area Property, then eap-message digest is handled, is finally included extending the hierarchical organization form of eap-message digest attribute according to buffering area, Generate electric network model file.
Above to a kind of electric network model file, generation method and the system of supporting accelerated model to splice provided by the present invention It is described in detail, specific case used herein is set forth to the principle and embodiment of the present invention, and the above is real The explanation for applying example is only intended to help and understands the solution of the present invention;Simultaneously for those of ordinary skill in the art, according to this hair Bright thought, be will change in specific embodiments and applications, in summary, and this specification content should not be managed Solve as limitation of the present invention.

Claims (14)

1. a kind of system for including the electric network model file for supporting accelerated model splicing, it is characterised in that the electric network model text Object in part includes the eap-message digest attribute of extension, described including the power network CIM file of the eap-message digest attribute extended The eap-message digest attribute of the object is supported quickly to find the real increment change of power network CIM;Wherein, institute The eap-message digest attribute for stating extension disappears including this object all properties eap-message digest, all properties of this object in addition to object oriented Breath summary and all direct lower floor's object message summaries of this object;
Described object all properties eap-message digest refers to count all properties of the object using Message Digest 5 Calculate a fixed length code of generation;
All properties eap-message digest of the described object in addition to object oriented refers to remove the object using Message Digest 5 All properties outside object oriented calculate a fixed length code of generation;
All direct lower floor's object message summaries of described object refer to using Message Digest 5 to all straight of the object Connect lower floor's object all direct lower floor's object messages of described object all properties eap-message digest and described object make a summary into Row calculates a fixed length code of generation.
2. the system as claimed in claim 1, it is characterised in that the object in the electric network model file include container object, Device object and connection point object.
3. system as claimed in claim 2, it is characterised in that the container object include company's object, sub- control zone object, Plant stand object and voltage class object.
4. system as claimed in claim 2, it is characterised in that the device object type includes generator, bus, transformation Device, circuit, switch, disconnecting link, earthing knife-switch, load, capacitor and reactor.
5. the system as claimed in claim 1, it is characterised in that the object in the electric network model file is power system resource Object and annexation object.
6. the system as claimed in claim 1, it is characterised in that the Message Digest 5 refers to that MD5 algorithms or SHA-1 are calculated Method.
7. system as claimed in claim 6, it is characterised in that the MD5 algorithms use the secret key of 128.
8. the system as described in any one in claim 1 to 7, it is characterised in that the attribute includes said container attribute.
9. a kind of generation method for the electric network model file for supporting accelerated model to splice, it is characterised in that methods described includes:
Step 1: being parsed to electric network model file, and level relational structure storehouse and Topology connection pass are formed in the buffer Architecture storehouse;
Step 2: belonging to the object extension eap-message digest in the hierarchical relationship structure and topological connection relation structure in buffering area Property;Wherein, the eap-message digest attribute of the extension includes this object all properties eap-message digest, this object in addition to object oriented All properties eap-message digest and all direct lower floor's object message summaries of this object;
Described object all properties eap-message digest refers to count all properties of the object using Message Digest 5 Calculate a fixed length code of generation;
All properties eap-message digest of the described object in addition to object oriented refers to remove the object using Message Digest 5 All properties outside object oriented calculate a fixed length code of generation;
All direct lower floor's object message summaries of described object refer to using Message Digest 5 to all straight of the object Connect lower floor's object all direct lower floor's object messages of described object all properties eap-message digest and described object make a summary into Row calculates a fixed length code of generation;
Step 3: handling eap-message digest;
Step 4: including extending the hierarchical organization form of eap-message digest attribute according to buffering area, electric network model file is generated.
10. generation method according to claim 9, it is characterised in that in the step one, is by parsing electric network model File, and hierarchical structure and topological connection relation structure according to electric network model store in the buffer.
11. generation method according to claim 9, it is characterised in that in the step 2, further comprises storage through solution The hierarchical relationship structural library and topological connection relation structural library of the CIM file of analysis and the eap-message digest attribute including extension Hierarchical relationship structural library and topological connection relation structural library.
12. generation method according to claim 9, it is characterised in that in the step 3, further comprises using depth First traversal algorithm is to the object in the hierarchical relationship structure, the eap-message digest word of object described in bottom-up computation Section;And using breadth first traversal algorithm to the calculation and object eap-message digest field in the topological attachment point structure.
13. a kind of electric network model filing system for supporting accelerated model to splice, it is characterised in that the system includes:
Document analysis unit, for being parsed to electric network model file, and in the buffer formed level relational structure storehouse and Topological connection relation structural library;
Database Unit, for disappearing to the object extension in the hierarchical relationship structure and topological connection relation structure in buffering area Breath summary attribute;Wherein, the eap-message digest attribute of the extension includes this object all properties eap-message digest, this object except object All direct lower floor's object message summaries of all properties eap-message digest and this object outside title;
Described object all properties eap-message digest refers to count all properties of the object using Message Digest 5 Calculate a fixed length code of generation;
All properties eap-message digest of the described object in addition to object oriented refers to remove the object using Message Digest 5 All properties outside object oriented calculate a fixed length code of generation;
All direct lower floor's object message summaries of described object refer to using Message Digest 5 to all straight of the object Connect lower floor's object all direct lower floor's object messages of described object all properties eap-message digest and described object make a summary into Row calculates a fixed length code of generation;
Processing unit, for handling eap-message digest;
Generation unit, for including extending the hierarchical organization form of eap-message digest attribute according to buffering area, generates electric network model File.
14. a kind of quick method for finding increment change of the electric network model file for supporting accelerated model to splice contrast, including it is as follows Step:
(1) the first power network CIM file is parsed, first buffering area is conducted into, by the model in first buffering area again group Knit to form level relational structure storehouse and topological connection relation structural library;
(2) the second power network CIM file is parsed, second buffering area is conducted into, by the model in second buffering area again group Knit to form level relational structure storehouse and topological connection relation structural library;
(3) to the container object and device object in the hierarchical relationship structural library in first buffering area and second buffering area and open up The tie point object extension eap-message digest field flutterred in annexation structural library, and using depth-first traversal algorithm to the layer The object in secondary relational structure, the eap-message digest field of object described in bottom-up computation;And use breadth First time Algorithm is gone through to the calculation and object eap-message digest field in the topological attachment point structure;
(4) the top-down object oriented and message successively compared in the first second buffering area of hierarchical structure in buffering area The four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest 3) that abstract fields are constituted;Wherein, this object institute There is attribute message summary to be referred to as eap-message digest 1;All properties eap-message digest of this object in addition to object oriented is referred to as message Summary 2;All direct lower floor's object message summaries of this object are referred to as eap-message digest 3;
(5) i=1;The level currently compared in i representational level structural libraries;
Layer_num=max (depth of first buffering area hierarchical structure, the depth of second buffering area hierarchical structure);
(6) respectively by the four-tuples of all objects of the i-th level in the first and second buffering area hierarchical structure storehouses (eap-message digest 1, Object oriented, eap-message digest 2, eap-message digest 3) array is ranked up according to eap-message digest 1, and by first and second after sequence The four-tuple of the corresponding object of the i-th level is compared in buffering area hierarchical structure storehouse, is sentenced according to the comparative result situation of appearance Whether disconnected object oriented changes, whether object properties change, whether the subobject of object changes;And respective settings " whether subobject needs further comparison " mark, and the object is inserted《Object updates registration form》、《The newly-increased registration of object Table》Or《Object deletes registration form》;
(7) i=i+1;
(8) i is judged>layer_numIn this way, turn (10);Such as no, turn (9);
(9) respectively by its " whether subobject needs to compare " mark of the i-th level in the first and second buffering area hierarchical structure storehouses Being set as the four-tuples of all direct subobjects of all objects of "Yes", (eap-message digest 1, object oriented, eap-message digest 2, disappear 3) array is ranked up breath summary according to eap-message digest 1, and the two four-tuple arrays are compared, and is turned (7);
(10) terminate.
CN201110415273.9A 2011-12-13 2011-12-13 A kind of electric network model file, generation method and the system of supporting accelerated model to splice Active CN102521451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110415273.9A CN102521451B (en) 2011-12-13 2011-12-13 A kind of electric network model file, generation method and the system of supporting accelerated model to splice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110415273.9A CN102521451B (en) 2011-12-13 2011-12-13 A kind of electric network model file, generation method and the system of supporting accelerated model to splice

Publications (2)

Publication Number Publication Date
CN102521451A CN102521451A (en) 2012-06-27
CN102521451B true CN102521451B (en) 2017-09-19

Family

ID=46292364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110415273.9A Active CN102521451B (en) 2011-12-13 2011-12-13 A kind of electric network model file, generation method and the system of supporting accelerated model to splice

Country Status (1)

Country Link
CN (1) CN102521451B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399888B (en) * 2013-07-19 2016-08-10 广东电网有限责任公司电力科学研究院 The differential synchronization method of grid model data and system
CN107391617A (en) * 2017-07-05 2017-11-24 国网福建省电力有限公司 Model method is led based on monitoring system automatically
US10892938B1 (en) * 2019-07-31 2021-01-12 Abb Power Grids Switzerland Ag Autonomous semantic data discovery for distributed networked systems
CN112069456A (en) * 2020-09-21 2020-12-11 北京明略昭辉科技有限公司 Model file generation method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030135665A1 (en) * 2002-01-14 2003-07-17 International Business Machines Corporation System and method for obtaining display names from management models
CN101789042A (en) * 2010-01-29 2010-07-28 华东电网有限公司 Model increment comparing tool of common information model (CIM) of electric network enterprise
CN101930481A (en) * 2009-06-22 2010-12-29 华东电网有限公司 Method used for generating CIM model describing power grid change in designated time slot and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030135665A1 (en) * 2002-01-14 2003-07-17 International Business Machines Corporation System and method for obtaining display names from management models
CN101930481A (en) * 2009-06-22 2010-12-29 华东电网有限公司 Method used for generating CIM model describing power grid change in designated time slot and system thereof
CN101789042A (en) * 2010-01-29 2010-07-28 华东电网有限公司 Model increment comparing tool of common information model (CIM) of electric network enterprise

Also Published As

Publication number Publication date
CN102521451A (en) 2012-06-27

Similar Documents

Publication Publication Date Title
US12038887B2 (en) Low-latency database analysis using external data sources
CN103218398B (en) Intelligent substation SCL (substation configuration description language) file difference comparison method
CN105787089B (en) A kind of distribution network planning basic data integrated approach
EP3550444B1 (en) Query generation based on a logical data model
CN104182911A (en) Calibration method for realizing CIM (Common Information Model) consistency of power distribution network system
CN101930481B (en) Method used for generating CIM model describing power grid change in designated time slot and system thereof
CN102521451B (en) A kind of electric network model file, generation method and the system of supporting accelerated model to splice
US20230325388A1 (en) Aggregation Operations In A Distributed Database
US20200151166A1 (en) Systems and Methods for Database Analysis
US20230101890A1 (en) Object Scriptability
US11748264B1 (en) Approximate unique count
US20230177024A1 (en) Automatic Machine Learning Data Modeling In A Low-Latency Data Access And Analysis System
CN103927385A (en) Unifying method and device of data model
CN103177094A (en) Cleaning method of data of internet of things
Liang et al. Mid-model design used in model transition and data migration between relational databases and nosql databases
Mostajabi et al. A systematic review of data models for the big data problem
CN106528641A (en) Data storage method and device and communication gateway machine
US10397326B2 (en) IRC-Infoid data standardization for use in a plurality of mobile applications
Xu et al. Answering label-constraint reachability in large graphs
CN103606032B (en) A kind of method in two dimension power grid GIS data set
Chen et al. Multi-source and heterogeneous data integration model for big data analytics in power DCS
CN115238423A (en) S-SCDN dynamic topology analysis and loop detection algorithm based on graph calculation
CN103336829A (en) Query optimization method based on simulated annealing algorithm
CN103164760A (en) Power grid increment planning method and system
US11989196B2 (en) Object indexing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant