CN102521451A - Power grid model file for supporting fast model splicing, generation method and system thereof - Google Patents

Power grid model file for supporting fast model splicing, generation method and system thereof Download PDF

Info

Publication number
CN102521451A
CN102521451A CN2011104152739A CN201110415273A CN102521451A CN 102521451 A CN102521451 A CN 102521451A CN 2011104152739 A CN2011104152739 A CN 2011104152739A CN 201110415273 A CN201110415273 A CN 201110415273A CN 102521451 A CN102521451 A CN 102521451A
Authority
CN
China
Prior art keywords
message digest
eap
model file
electric network
buffer zone
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.)
Granted
Application number
CN2011104152739A
Other languages
Chinese (zh)
Other versions
CN102521451B (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

Images

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 power grid model file for supporting fast model splicing, a generation method and a system of the power grid model file, wherein after the power grid model file is parsed, a hierarchical relationship structure library and a topological connection structure library are formed in a buffer zone; the message digest attribute of the objects in the hierarchical relationship structure library and the topological connection structure library in the buffer zone is extended, a message digest is processed, and finally, the power grid model file is generated according to the hierarchical structure form including the extended message digest attribute in the buffer zone; as the change of a bottom object can be transferred to the message digest of an ancestor node object, when the CompuServe Information Manager (CIM) model increment is compared during the model splicing, different branches of the message digest are compared by hierarchy; thus, the comparison time is reduced and the efficiency for modeling splicing and library entering is accelerated.

Description

A kind of electric network model file, generation method and system of supporting the accelerated model splicing
Technical field
The present invention relates to technical field of power systems, particularly a kind of electric network model file, generation method and system of supporting the accelerated model splicing.
Background technology
The IEC61970 series standard that International Electrotechnical Commission formulates has carried out standard to electric system common information model CIM and application programming interfaces.CIM has become the universal model of describing electric system at present, and exchange model information has played key effect between the electric system different control areas.
" differentiated control, hierarchical control " characteristic of China's electric system (as: state transfers, net is transferred, province transfers, transfer, the county transfers) make and adopt the method for CIM model splicing to realize usually for the model construction of containing many control areas electrical network; Corresponding control area in model splicing and increment warehouse-in process " incremental computations that model changes " is its crucial ring; It also is a step the most consuming time; At present; " incremental computations that model changes is based on matching process, and common one of the both sides of coupling are the new models of subject area to be spliced; Another is the full model result of last time model splicing; Matching process is employed in the buffer zone top according to hierarchical relationship usually and carries out comparing one by one of each attribute of object to the bottom, forms " set up and be equipped with tabulation " and puts in storage so that model object upgrades with " subtracting list of devices ".Although this method has been carried out some optimizations (like more necessary field only etc.), on the whole, present model comparison method also exists efficient high not enough.
On the other hand; For the only variation of object oriented in the CIM model file, this comparison method can think that usually existence one old object is deleted with a new object and need be increased newly, when the EMS increment is put in storage, can " operation that object properties are revised " be become " additions and deletions of object operation in the database "; Can influence on the one hand increment warehouse-in efficiency, on the other hand; Also can influence the relative stability of EMS model,, influence the original corresponding relation of figure and data communication because the additions and deletions meeting of object makes original data and relation between objects constantly to change along with the splicing warehouse-in of model; Need to rebuild, also can cause data interruption simultaneously.
To deficiency of the prior art, a kind of electric network model file, generation method and system of supporting the accelerated model splicing are proposed, be one of technical field of power systems problem anxious to be solved at present.
Summary of the invention
In view of this; The embodiment of the invention has proposed a kind of electric network model file, generation method and system of supporting the accelerated model splicing; Through the electric network model file is resolved; And in buffer zone, form level relational structure storehouse and topological connection relation structure storehouse, then, then eap-message digest is handled the eap-message digest attribute of hierarchical relationship structure in the buffer zone and the object extension in the topological connection relation structure; Finally, generate the electric network model file according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone.
For solving the problems of the technologies described above, the purpose of the embodiment of the invention realizes through following technical scheme:
A kind of electric network model file of supporting the accelerated model splicing; Object in the electric network model file comprises the eap-message digest attribute of expansion, and the said eap-message digest attribute of the more said object of electrical network CIM model file support of the said eap-message digest attribute that comprises expansion finds that fast the real increment of electrical network CIM model changes.
Preferably, the object in the above-mentioned electric network model file includes but not limited to container object, device object and tie point object.
Preferably, the said vesse object comprises company's object, sub-control zone object, factory's station object and electric pressure object.
Preferably, the said equipment object type comprise generator, bus, transformer, circuit, switch, disconnecting link, cutter, load, capacitor and reactor.
Preferably, the object in the above-mentioned electric network model file is electric system resource object and annexation object.
Preferably, the eap-message digest attribute of above-mentioned expansion comprises this object all properties eap-message digest, this object all properties eap-message digest and all direct lower floor object message summaries of this object except that object oriented;
This object all properties eap-message digest is meant and adopts Message Digest 5 all properties of said object to be calculated a fixed length code of generation;
The all properties eap-message digest of this object except that object oriented is meant and adopts Message Digest 5 all properties of said object except that object oriented to be calculated a fixed length code of generation;
All direct lower floor object message summaries of this object are meant and adopt Message Digest 5 that said object all properties eap-message digest and said all direct lower floor object message summaries of object of all direct lower floor objects of said object are calculated a fixed length code of generation.
Preferably, above-mentioned Message Digest 5 is meant MD5 algorithm or SHA-1 algorithm.
Preferably, above-mentioned MD5 algorithm uses 128 close spoon.
Preferably, container attribute under above-mentioned attribute comprises.
A kind of generation method of supporting the electric network model file of accelerated model splicing comprises:
Step 1, the electric network model file is resolved, and in buffer zone, form level relational structure storehouse and topological connection relation structure storehouse;
Step 2, to the eap-message digest attribute of hierarchical relationship structure in the buffer zone and the object extension in the topological connection relation structure;
Step 3, eap-message digest is handled;
Step 4, according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone, generate the electric network model file.
Preferably, in the above-mentioned steps one, be, and in buffer zone, store according to the hierarchical structure and the topological connection relation structure of electric network model through parsing electric network model file.
Preferably; In the above-mentioned steps two, further comprise hierarchical relationship structure storehouse and the topological connection relation structure storehouse and the hierarchical relationship structure storehouse and the topological connection relation structure storehouse that comprise the eap-message digest attribute of expansion of storage through the CIM of said document analysis module parses model file.
Preferably, in the above-mentioned steps three, further comprise and adopt the depth-first traversal algorithm, the eap-message digest field of the said object of bottom-up calculating the said object in the said hierarchical relationship structure; And adopt the breadth First ergodic algorithm to the said calculation and object eap-message digest field in the said topological tie point structure.
Preferably; In the above-mentioned steps three; The eap-message digest field that further comprises the generation method calculating electric network model object that utilizes the electric network model file, and the variation of discovery increment is handled and contrasted to the method for utilizing said electric network model file to contrast discovery increment variation fast to the electric network model file.
A kind of electric network model filing system of supporting the accelerated model splicing comprises:
The document analysis unit is used for the electric network model file is resolved, and in buffer zone, forms level relational structure storehouse and topological connection relation structure storehouse;
Database Unit is used for the eap-message digest attribute to the hierarchical relationship structure and the object extension in the topological connection relation structure of buffer zone;
Processing unit is used for eap-message digest is handled;
Generation unit is used for comprising according to buffer zone the hierarchical organization form of extended message summary attribute, generates the electric network model file.
A kind of quick method of finding that increment changes of electric network model file contrast of supporting the accelerated model splicing comprises:
(1) resolves the first electrical network CIM model file, it is imported first buffer zone, the model in first buffer zone is reorganized form level time relational structure storehouse and topological connection relation structure storehouse;
(2) resolve the second electrical network CIM model file, it is imported second buffer zone, the model in second buffer zone is reorganized form level relational structure storehouse and topological connection relation structure storehouse;
(3), and adopt the model message field computing method of above-mentioned disclosure to calculate to the tie point object extension eap-message digest field in the container object in the hierarchical relationship structure storehouse in first buffer zone and second buffer zone and device object and the topological connection relation structure storehouse;
(4) according to the top-down four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest 3) formed of object oriented in the one the second buffer zones and eap-message digest field relatively successively of the hierarchical structure in the buffer zone (as shown in Figure 1);
(5) i=1; The level of current comparison in the i representational level structure storehouse;
Layer_num=max (degree of depth of the first buffer zone hierarchical structure, the degree of depth of the second buffer zone hierarchical structure);
(6) respectively with the four-tuple (eap-message digest 1 of all objects of i level in the first and second buffer zone hierarchical structure storehouses; Object oriented; Eap-message digest 2; Eap-message digest 3) array sorts according to eap-message digest 1, and these two four-tuple arrays are compared, according to the comparative result situation that occurs judge whether object oriented changes, whether object properties change, whether the subobject of object changes; And respective settings " whether subobject needs further comparison " sign, and corresponding filling in inserted this object " object renewal registration form ", " object accesion register " or " object deletion registration form ".
(7)i=i+1;
(8) do you judge i>layer_num? In this way, change (10); As not, change (9);
(9) respectively its " whether the subobject of object need compare sign " of i level in the first and second buffer zone hierarchical structure storehouses is set at the four-tuple (eap-message digest 1 of all direct subobjects of all objects of " being "; Object oriented; Eap-message digest 2; Eap-message digest 3) array sorts according to eap-message digest 1, and these two four-tuple arrays are compared, and changes (7);
(10) finish.
In sum; The invention provides a kind of electric network model file, generation method and system of supporting the accelerated model splicing; Through the electric network model file is resolved; And in buffer zone, form level relational structure storehouse and topological connection relation structure storehouse, then, then eap-message digest is handled the eap-message digest attribute of hierarchical relationship structure in the buffer zone and the object extension in the topological connection relation structure; Finally, generate the electric network model file according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone.
Description of drawings
Fig. 1 is the middle-level relational structure of an embodiment of the invention buffer zone storehouse hierarchical relationship structural drawing;
Fig. 2 generates method flow diagram for a kind of electric network model of accelerated model splicing of supporting of the embodiment of the invention;
Fig. 3 is the process flow diagram of the present invention's one specific embodiment;
Fig. 4 is the computation process synoptic diagram of 3 extended message summaries of object attribute in the embodiment of the invention model file;
Fig. 5 is the embodiment of the invention " additions and deletions information of container table " structural drawing;
Fig. 6 is the embodiment of the invention " additions and deletions facility information table " structural drawing;
Fig. 7 is the embodiment of the invention " additions and deletions connection point information table " structural drawing;
Fig. 8 is a kind of electric network model generation system synoptic diagram of supporting the accelerated model splicing of the embodiment of the invention;
Fig. 9 supports the electric network model file contrast of accelerated model splicing to find the process flow diagram that increment changes fast for the present invention is a kind of;
Figure 10 is model object four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest a 3) comparison result classification.
Embodiment
A kind of electric network model file, generation method and system of supporting the accelerated model splicing that the embodiment of the invention provides; Through the electric network model file is resolved; And in buffer zone, form level relational structure storehouse and topological connection relation structure storehouse; Follow eap-message digest attribute to hierarchical relationship structure in the buffer zone and the object extension in the topological connection relation structure; Then eap-message digest is handled, finally, generated the electric network model file according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone.
For making the object of the invention, technical scheme and advantage clearer, the embodiment that develops simultaneously with reference to the accompanying drawings is to further explain of the present invention.
In the present invention; Object in the CIM electric network model file (including but not limited to container object, device object and tie point object) expands the eap-message digest attribute, is respectively this object all properties eap-message digest (being designated hereinafter simply as eap-message digest 1), this object all properties eap-message digest (being designated hereinafter simply as eap-message digest 2) and all direct lower floor object message summaries (being designated hereinafter simply as eap-message digest 3) of this object except that object oriented.
Eap-message digest in this programme is meant through a kind of irreversible mapping function (like the HASH function), and the data block of random length is calculated, and generates a fixed length code, and this yard can be used to check the integrality of message.Present widely used HASH algorithm has MD5, SHA-1, HMAC etc.Because this characteristic of eap-message digest makes any variation of underlying object all can be delivered in eap-message digest 3 fields of ancestor node object; Also just in view of this characteristic; Carry out model splicing process CIM model quotient of difference than the time; Can layering only compare eap-message digest 3 field different branches, thereby significantly reduce number of comparisons, improve comparison efficiency.
As shown in Figure 1: between company, sub-control area, factory station, electric pressure and the equipment (generator, load, switch, disconnecting link, cutter, capacitive reactance device, bus) is level type relation; Also for level type relation, has the container class characteristic between factory station, transformer, the Transformer Winding.
Further, the eap-message digest attribute of expansion comprises this object all properties eap-message digest, this object all properties eap-message digest and all direct lower floor object message summaries of this object except that object oriented.
Particularly, this object all properties eap-message digest is meant and adopts Message Digest 5 all properties of said object to be calculated a fixed length code of generation; The all properties eap-message digest of this object except that object oriented is meant and adopts Message Digest 5 all properties of said object except that object oriented to be calculated a fixed length code of generation; All direct lower floor object message summaries of this object are meant and adopt Message Digest 5 that said object all properties eap-message digest and said all direct lower floor object message summaries of object of all direct lower floor objects of said object are calculated a fixed length code of generation.
In this programme; The method of the CIM XML electric network model information of the eap-message digest attribute of being with expansion is described in the buffer zone; At first with CIM XML electric network model document analysis in buffer zone, and in buffer zone, form hierarchical relationship structure storehouse and topological connection relation structure storehouse as shown in Figure 1;
In Fig. 1: between company, sub-control area, factory station, electric pressure and the equipment (generator, load, switch, disconnecting link, cutter, capacitive reactance device, bus) is level type relation; Also for level type relation, has the container class characteristic between factory station, transformer, the Transformer Winding.
Hierarchical relationship structure storehouse formation method is following:
(a) power system objects among the CIM XML is created in buffer zone according to type separately, and in buffer zone, write down the corresponding rdf id of each object;
(b) in buffer zone, set up the hierarchical relationship structure between object and its container according to rdfid and the pairing power system objects of this rdf id of the attribute MemberOf_ of container under the power system objects in the CIM XML model file, available two-dimensional array relation or level type pointer relationship description.
The topological connection relation that in buffer zone, utilizes the relation of hinting obliquely at and the incidence relation between device port (Terminal) and the topological tie point (ConnectivityNode) between the rdf id of rdf id and device port (terminal) of device object to describe electrical network.
Topological connection relation structure storehouse formation method is following: through the rdfid in the Terminal.ConnectivityNode property value of traversal device port; Incidence relation between apparatus for establishing port (Terminal) and the topological tie point (connectivityNode), and this topological connection relation is written in the topological connection relation table in the topological connection relation structure storehouse.
The embodiment of the invention provides a kind of generation method of supporting the electric network model file of accelerated model splicing, and as shown in Figure 2, concrete steps comprise:
Step 1, the electric network model file is resolved, and in buffer zone, form level relational structure storehouse and topological connection relation structure storehouse;
Particularly, in embodiments of the present invention, will resolve electrical network CIM model file, and in buffer zone, store according to the hierarchical structure and the topological connection relation structure of CIM model.
Step 2, to the eap-message digest attribute of hierarchical relationship structure in the buffer zone and the object extension in the topological connection relation structure;
Particularly; In embodiments of the present invention, further comprise: store hierarchical relationship structure storehouse and topological connection relation structure storehouse and the hierarchical relationship structure storehouse and the topological connection relation structure storehouse that comprise the eap-message digest attribute of expansion through the CIM of said document analysis module parses model file.
Step 3, eap-message digest is handled;
Particularly, in embodiments of the present invention, comprise and adopt the depth-first traversal algorithm, the eap-message digest field of the said object of bottom-up calculating the said object in the said hierarchical relationship structure; And adopt the breadth First ergodic algorithm to the said calculation and object eap-message digest field in the said topological tie point structure.
Further; In this programme; The eap-message digest field that also comprises the generation method calculating CIM model object that utilizes said electrical network CIM model file, and the variation of discovery increment is handled and contrasted to the method for utilizing said CIM model file to contrast discovery increment variation fast to the CIM model file.
Step 4, according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone, generate the electric network model file.
Particularly, in embodiments of the present invention, be according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone, generate the CIM electric network model file of supporting the accelerated model splicing.
Further, in this programme, the hierarchical structure that produces the model file of the eap-message digest attribute that comprises expansion concerns that storehouse and tie point concern the storehouse, and generates the CIM model file of supporting the accelerated model splicing according to CIM XML syntax rule.
In addition, the process flow diagram of the present invention's one specific embodiment is as shown in Figure 3, has proposed a kind of CIM XML model file with given electrical network and has generated the method for describing the CIM model file of supporting the accelerated model splicing.
(1) resolves electrical network CIM XML model file, it is imported buffer zone;
(2) model in the buffer zone is reorganized formation level relational structure storehouse and topological connection relation structure storehouse;
(3) to the tie point object extension eap-message digest field (eap-message digest 1, eap-message digest 2 and eap-message digest 3) in the container object in the hierarchical relationship structure storehouse in the buffer zone and device object and the topological connection relation structure storehouse, the initial value of eap-message digest field is made as NULL;
(4) adopt the depth-first traversal algorithm, the eap-message digest field of bottom-up calculating container object and device object, concrete steps are:
(a) the root object root in access level structure storehouse;
(b) pointer to object assignment obj=root;
(c) do you judge that object obj is the leaf node in hierarchical relationship storehouse? In this way, change (d); As not changeing (g);
(d) the eap-message digest field of calculating object obj, computing method see that Fig. 4 is the computation process synoptic diagram of 3 extended message summaries of object attribute in the model file;
(e) judge whether all objects (container object and device object) node all travels through in the hierarchical structure storehouse,
In this way, change (i); As not changeing (f);
(f) return father's node of obj object
(g) the eap-message digest field of judging all direct subobjects of object obj is all calculated; In this way, change (d); As not changeing (h);
(h) direct subobject of selecting one of them not calculate the eap-message digest field, assignment is given Obj, changes (c);
(i) select tie point object of selection in the topological connection relation structure storehouse, calculate the eap-message digest field of tie point object;
(j) judge whether all tie point objects all travel through in the topological connection relation structure storehouse; In this way, change (k); As not changeing (i);
(k) finish this step.
(5) according to CIM XML syntax rule, the extended message summary of all model objects in the buffer zone is exported as extended attribute, generate the XML file of CIM model.
Fig. 5 is the embodiment of the invention " additions and deletions information of container table " structural drawing;
Fig. 6 is the embodiment of the invention " additions and deletions facility information table " structural drawing;
Fig. 7 is the embodiment of the invention " additions and deletions connection point information table " structural drawing;
A kind of generation system of supporting the electric network model file of accelerated model splicing, as shown in Figure 8, comprise document analysis unit 11, Database Unit 22, processing unit 33 and generation unit 44.
Document analysis unit 11 is used for the electric network model file is resolved, and in buffer zone, forms level relational structure storehouse and topological connection relation structure storehouse;
Particularly, in embodiments of the present invention, will resolve electrical network CIM model file, and in buffer zone, store according to the hierarchical structure and the topological connection relation structure of CIM model.
Database Unit 22 is used for the eap-message digest attribute to the hierarchical relationship structure and the object extension in the topological connection relation structure of buffer zone;
Particularly; In embodiments of the present invention, further comprise: store hierarchical relationship structure storehouse and topological connection relation structure storehouse and the hierarchical relationship structure storehouse and the topological connection relation structure storehouse that comprise the eap-message digest attribute of expansion through the CIM of said document analysis module parses model file.
Processing unit 33 is used for eap-message digest is handled;
Particularly, in embodiments of the present invention, comprise and adopt the depth-first traversal algorithm, the eap-message digest field of the said object of bottom-up calculating the said object in the said hierarchical relationship structure; And adopt the breadth First ergodic algorithm to the said calculation and object eap-message digest field in the said topological tie point structure.
Further; In this programme; The eap-message digest field that also comprises the generation method calculating CIM model object that utilizes said electrical network CIM model file, and the variation of discovery increment is handled and contrasted to the method for utilizing said CIM model file to contrast discovery increment variation fast to the CIM model file.
Generation unit 44 is used for comprising according to buffer zone the hierarchical organization form of extended message summary attribute, generates the electric network model file.
Particularly, in embodiments of the present invention, be according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone, generate the CIM electric network model file of supporting the accelerated model splicing.
Further, in this programme, the hierarchical structure that produces the model file of the eap-message digest attribute that comprises expansion concerns that storehouse and tie point concern the storehouse, and generates the CIM model file of supporting the accelerated model splicing according to CIM XML syntax rule.
In addition, the invention allows for a kind of quick method of finding that increment changes of electric network model file contrast of supporting the accelerated model splicing, process flow diagram is seen shown in Figure 9.
(1) resolves the first electrical network CIM model file, it is imported first buffer zone, the model in first buffer zone is reorganized form level time relational structure storehouse and topological connection relation structure storehouse;
(2) resolve the second electrical network CIM model file, it is imported second buffer zone, the model in second buffer zone is reorganized form level relational structure storehouse and topological connection relation structure storehouse;
(3), and adopt the model message field computing method of above-mentioned disclosure to calculate to the tie point object extension eap-message digest field in the container object in the hierarchical relationship structure storehouse in first buffer zone and second buffer zone and device object and the topological connection relation structure storehouse;
(4) according to the top-down four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest 3) formed of object oriented in the one the second buffer zones and eap-message digest field relatively successively of the hierarchical structure in the buffer zone (as shown in Figure 1);
(5) i=1; The level of current comparison in the i representational level structure storehouse;
Layer_num=max (degree of depth of the first buffer zone hierarchical structure, the degree of depth of the second buffer zone hierarchical structure);
(6) respectively with the four-tuple (eap-message digest 1 of all objects of i level in the first and second buffer zone hierarchical structure storehouses; Object oriented; Eap-message digest 2; Eap-message digest 3) array sorts according to eap-message digest 1, and these two four-tuple arrays are compared, according to the comparative result situation that occurs judge whether object oriented changes, whether object properties change, whether the subobject of object changes; And respective settings " whether subobject needs further comparison " sign, and corresponding filling in inserted this object " object renewal registration form ", " object accesion register " or " object deletion registration form ".
(7)i=i+1;
(8) do you judge i>layer_num? In this way, change (10); As not, change (9);
(9) respectively its " whether the subobject of object need compare sign " of i level in the first and second buffer zone hierarchical structure storehouses is set at the four-tuple (eap-message digest 1 of all direct subobjects of all objects of " being "; Object oriented; Eap-message digest 2; Eap-message digest 3) array sorts according to eap-message digest 1, and these two four-tuple arrays are compared, and changes (7);
(10) finish.
Because this object all properties eap-message digest (being message field 1) is all properties of said object to be calculated a fixed length code of generation; The all properties eap-message digest (be message field 2) of said object except that object oriented is all properties of said object except that object oriented to be calculated a fixed length code of generation; Therefore, do not exist message field 2 to change and the constant situation of message field 1, do not exist object oriented to change simultaneously and the constant situation of message field 1 yet.When model object is compared, have only 7 kinds of situation through the result who compares four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest 3), specifically shown in figure 10.
One of ordinary skill in the art will appreciate that and realize that all or part of step that the foregoing description method is carried is to instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; This program comprises one of step or its combination of method embodiment when carrying out.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If said integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
In sum; This paper provides a kind of electric network model file, generation method and system of supporting the accelerated model splicing; Through the electric network model file is resolved; And in buffer zone, form level relational structure storehouse and topological connection relation structure storehouse, then, then eap-message digest is handled the eap-message digest attribute of hierarchical relationship structure in the buffer zone and the object extension in the topological connection relation structure; Finally, generate the electric network model file according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone.
More than to a kind of electric network model file of supporting accelerated model splicing provided by the present invention, generate method and system and carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand scheme of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. electric network model file of supporting accelerated model splicing; It is characterized in that; Object in the said electric network model file comprises the eap-message digest attribute of expansion, and the said eap-message digest attribute of the more said object of electrical network CIM model file support of the said eap-message digest attribute that comprises expansion finds that fast the real increment of electrical network CIM model changes.
2. electric network model file as claimed in claim 1 is characterized in that, the object in the said electric network model file includes but not limited to container object, device object and tie point object.
3. electric network model file as claimed in claim 2 is characterized in that, said container object comprises company's object, sub-control zone object, factory's station object and electric pressure object.
4. electric network model file as claimed in claim 2 is characterized in that, said device object type comprise generator, bus, transformer, circuit, switch, disconnecting link, cutter, load, capacitor and reactor.
5. electric network model file as claimed in claim 1 is characterized in that, the object in the said electric network model file is electric system resource object and annexation object.
6. like any described electric network model file in the claim 1 to 5; It is characterized in that the eap-message digest attribute of said expansion comprises this object all properties eap-message digest, this object all properties eap-message digest and all direct lower floor object message summaries of this object except that object oriented;
Said object all properties eap-message digest is meant and adopts Message Digest 5 all properties of said object to be calculated a fixed length code of generation;
The all properties eap-message digest of said object except that object oriented is meant and adopts Message Digest 5 all properties of said object except that object oriented to be calculated a fixed length code of generation;
Said all direct lower floor object message summaries of object are meant and adopt Message Digest 5 that said object all properties eap-message digest and said all direct lower floor object message summaries of object of all direct lower floor objects of said object are calculated a fixed length code of generation.
7. electric network model file as claimed in claim 6 is characterized in that, said Message Digest 5 is meant MD5 algorithm or SHA-1 algorithm.
8. electric network model file as claimed in claim 7 is characterized in that, said MD5 algorithm uses 128 close spoon.
9. like the described electric network model file of claim 1 to 8, it is characterized in that said attribute comprises affiliated container attribute.
10. generation method of supporting the electric network model file of accelerated model splicing is characterized in that said method comprises:
Step 1, the electric network model file is resolved, and in buffer zone, form level relational structure storehouse and topological connection relation structure storehouse;
Step 2, to the eap-message digest attribute of hierarchical relationship structure in the buffer zone and the object extension in the topological connection relation structure;
Step 3, eap-message digest is handled;
Step 4, according to the hierarchical organization form that comprises extended message summary attribute in the buffer zone, generate the electric network model file.
11. generation method according to claim 10 is characterized in that, in the said step 1, is through parsing electric network model file, and stores in buffer zone according to the hierarchical structure and the topological connection relation structure of electric network model.
12. generation method according to claim 10; It is characterized in that; In the said step 2, further comprise hierarchical relationship structure storehouse and the topological connection relation structure storehouse and the hierarchical relationship structure storehouse and the topological connection relation structure storehouse that comprise the eap-message digest attribute of expansion of storage through the CIM of said document analysis module parses model file.
13. generation method according to claim 10 is characterized in that, in the said step 3, further comprises and adopts the depth-first traversal algorithm to the said object in the said hierarchical relationship structure, the eap-message digest field of the said object of bottom-up calculating; And adopt the breadth First ergodic algorithm to the said calculation and object eap-message digest field in the said topological tie point structure.
14. generation method according to claim 10; It is characterized in that; In the said step 3; The eap-message digest field that further comprises the generation method calculating electric network model object that utilizes the electric network model file, and the variation of discovery increment is handled and contrasted to the method for utilizing said electric network model file to contrast discovery increment variation fast to the electric network model file.
15. an electric network model filing system of supporting the accelerated model splicing is characterized in that said system comprises:
The document analysis unit is used for the electric network model file is resolved, and in buffer zone, forms level relational structure storehouse and topological connection relation structure storehouse;
Database Unit is used for the eap-message digest attribute to the hierarchical relationship structure and the object extension in the topological connection relation structure of buffer zone;
Processing unit is used for eap-message digest is handled;
Generation unit is used for comprising according to buffer zone the hierarchical organization form of extended message summary attribute, generates the electric network model file.
16. support the electric network model file contrast of accelerated model splicing to find the method that increment changes fast, comprise the steps: for one kind
(1) resolves the first electrical network CIM model file, it is imported first buffer zone, the model in first buffer zone is reorganized form level time relational structure storehouse and topological connection relation structure storehouse;
(2) resolve the second electrical network CIM model file, it is imported second buffer zone, the model in second buffer zone is reorganized form level relational structure storehouse and topological connection relation structure storehouse;
(3), and adopt the model message field computing method of above-mentioned disclosure to calculate to the tie point object extension eap-message digest field in the container object in the hierarchical relationship structure storehouse in first buffer zone and second buffer zone and device object and the topological connection relation structure storehouse;
(4) according to the top-down four-tuple (eap-message digest 1, object oriented, eap-message digest 2, eap-message digest 3) formed of object oriented in the one the second buffer zones and eap-message digest field relatively successively of the hierarchical structure in the buffer zone (as shown in Figure 1);
(5) i=1; The level of current comparison in the i representational level structure storehouse;
Layer_num=max (degree of depth of the first buffer zone hierarchical structure, the degree of depth of the second buffer zone hierarchical structure);
_ (6) are respectively with the four-tuple (eap-message digest 1 of all objects of i level in the first and second buffer zone hierarchical structure storehouses; Object oriented; Eap-message digest 2; Eap-message digest 3) array sorts according to eap-message digest 1, and these two four-tuple arrays are compared, according to the comparative result situation that occurs judge whether object oriented changes, whether object properties change, whether the subobject of object changes; And respective settings " whether subobject needs further comparison " sign, and corresponding filling in inserted this object " object renewal registration form ", " object accesion register " or " object deletion registration form ";
(7)i=i+1;
(8) do you judge i>layer_num? In this way, change (10); As not, change (9);
(9) respectively its " whether the subobject of object need compare sign " of i level in the first and second buffer zone hierarchical structure storehouses is set at the four-tuple (eap-message digest 1 of all direct subobjects of all objects of " being "; Object oriented; Eap-message digest 2; Eap-message digest 3) array sorts according to eap-message digest 1, and these two four-tuple arrays are compared, and changes (7);
(10) finish.
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 true CN102521451A (en) 2012-06-27
CN102521451B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399888A (en) * 2013-07-19 2013-11-20 广东电网公司电力科学研究院 Differential synchronization method and system for power grid model data
CN107391617A (en) * 2017-07-05 2017-11-24 国网福建省电力有限公司 Model method is led based on monitoring system automatically

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399888A (en) * 2013-07-19 2013-11-20 广东电网公司电力科学研究院 Differential synchronization method and system for power grid model data
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

Also Published As

Publication number Publication date
CN102521451B (en) 2017-09-19

Similar Documents

Publication Publication Date Title
CN103218398B (en) Intelligent substation SCL (substation configuration description language) file difference comparison method
CN102693302B (en) Quick file comparison method, system and client side
CN102750406B (en) Multi-version management method for model set and difference model-based power grid model
CN104182911A (en) Calibration method for realizing CIM (Common Information Model) consistency of power distribution network system
CN102609417A (en) Engine device and method for data integration and exchange of building information mode based on IFC (industry foundation classes) standards
CN104317864B (en) A method of the information model automatic identification based on IEC61850 logical nodes
CN102184299B (en) Model conversion method and system from CAD (Computer Aided Design) system to three-dimensional checking system
CN102855271A (en) Storage and traceable management method for multi-version power grid model
CN104486075A (en) Intelligent substation ICD model file digital signature verification method
CN104504485A (en) Integrative power system relay protection setting calculation method
CN109284346A (en) A kind of distribution network planning method and device based on cloud computing
CN108446396B (en) Power data processing method based on improved CIM model
CN105426451A (en) Key value pair-based data processing method and system
CN102609520B (en) Method for exporting model data of substation by filtering
CN110674152B (en) Data synchronization method and device, storage medium and electronic equipment
CN103049431B (en) ICD (IED Capability Description) inspection method based on objectified module semantics
CN106528641B (en) Data storage method and device and communication gateway machine
CN104573022A (en) Data query method and device for HBase
CN104572833A (en) Mapping rule establishing method and device
CN102521380A (en) Method for importing power grid CIM (common information model) data and SVG (scalable vector graphic) data
CN103606032B (en) A kind of method in two dimension power grid GIS data set
CN103986783A (en) Cloud computing system
CN105205118A (en) Image file synchronization method based on file partition
CN104378397A (en) Method and system for issuing incremental updating of program package
CN103441988B (en) Across GIS platform data migration method

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