Dynamic Display method and system are connected inside virtual terminals of intelligent substation
Technical field
The present invention relates to connect Dynamic Display method and system inside a kind of virtual terminals of intelligent substation.
Background technique
Existing intelligent substation is when inquiring the state of each equipment virtual terminator, usually according to intelligent substation
SCD file reads SV, GOOSE nodal information and the corresponding subscription information of the equipment under corresponding facility information and equipment,
This scheme time when reading file model is longer, in the subscription information for the virtual terminator connection equipment for searching a certain equipment, needs
It proofreads benchmark library file and training documentation and presents a paper, process is cumbersome, and display mode is single, it has not been convenient to check, people
Machine interaction is unfriendly, and extends the working time.
It is to read SCD file that the prior art, which is most of, by the exhibition method of SVG, which need equipment and
Subscription information production Methods map file according to the mode of reading file, and is needed to convert the format of file, be shown again
The connection status of the virtual terminator of equipment, time-consuming and laborious, the space of waste storage equipment, and which can not provide source code, significantly
Improve maintenance cost.
In view of the above deficiencies, propose that a kind of virtual terminals of intelligent substation inside connects Dynamic Display method and system, due to
SCD file is excessively huge, and read access time is too long, which first by SCD file generating device model respective file, simplifies model
File directly generates the subscribing relationship of equipment room, which can quickly read device model file, and equipment is accurately positioned and orders
The corresponding relationship of equipment is read, the mode for calculating major-minor forms is simply accurate, and it is convenient for safeguarding, and dynamic effect is good, shows that information is rich
Richness provides good human-computer interaction.
Virtual terminator information is mainly the terminal connecting line situation described between equipment and equipment, in virtual terminals of intelligent substation
Whether the connecting line that portion's connection Dynamic Display method and system can quickly search equipment room terminal connects correctly, and fast quick checking, which lacks, mends
Leakage corrects connection error, provides more convenient and fast approach for overhaul of the equipments.
Summary of the invention
The present invention to solve the above-mentioned problems, proposes a kind of virtual terminals of intelligent substation inside connection Dynamic Display method
And system, the present invention can quickly be positioned when showing virtual terminator connection, shortened and searched time and file read access time,
Improve working efficiency.
To achieve the goals above, the present invention adopts the following technical scheme:
A kind of virtual terminals of intelligent substation inside connection Dynamic Display method, comprising the following steps:
According to intelligent substation SCD master configuration file, generates and save corresponding MMS control block under equipment and device node
(hereinafter referred to as MMS), SV control block (hereinafter referred to as SV), GOOSE control block (hereinafter referred to as GOOSE), report-control block and pass
Join the model file of equipment and the corresponding subscription information of associate device;
The request about certain equipment virtual terminator internal connection state is received, the model file of corresponding equipment is loaded, displaying is set
Standby loop diagram;
The position MMS, SV and GOOSE in position and equipment to equipment positions, using the equipment as main window
Body positions and is arranged height and width, searches associated input equipment, output equipment progress circumferential arrangement, then with Main form
Positions and dimensions, the associated device window of corresponding configuration;
It indicates that there are subscription information between SV and GOOSE using tag line, and is subject to direction and indicates that input or output are closed
System forms and shows.
As further limiting, the model file does not include the communication and data type node content of SCD.It is such to set
Setting can guarantee quickly position when showing virtual terminator connection, shorten and search time and file read access time.
As further limiting, the stress model file on network message analytical equipment generates tree construction, and caches.
As further limiting, height and width are positioned and be arranged as Main form using equipment to be checked, is searched associated
Input equipment, output equipment carry out left-right layout, according in associate device information to be shown a GOOSE, b SV or/
Forms height is calculated with the quantity of c MMS, calculation formula is h=th+ (a+b+c) * (bh+hmargi n), and wherein th is equipment
Text description height, i.e. window title bar height;Bh is the height for controlling block text;Hmargi n is clearance height, to calculate
As a result it is shown.
As further limiting, according to the virtual terminator quantity of GOOSE, SV and/or MMS of output equipment calculate child form it
Between interval height, interval height is the height of every information and the product of quantity.
As further limiting, the interval height of default is provided between the information window form of display, such as without subscription information, then
Setting interval, and interval height is set as default height.
As further limiting, using there are subscription information between connecting line mark SV and GOOSE, and by clicking the company
Wiring is unfolded or shrinks specific virtual terminator input/output information.
It is limited as further, when clicking the connecting line specific virtual terminator input/output information of expansion, Main form is high
Degree variation is the associated input equipment of lookup, output equipment forms height and the middle maximum value that periphery is laid, i.e., in the distribution of left and right
All secondary forms height in the left side and l h and all pair forms height in the right and rh is compared, if l h is greater than rh, main window
Body height is l h, conversely, Main form height is rh.
As further limiting, judge whether the Y-coordinate of virtual terminator input control block and output control block is equal, if phase
Deng then according to the middle position of MMS, GOOSE, SV control block building connecting line, if unequal, to export the Y of control block
Subject to coordinate, change the coordinate of input MMS, GOOSE, SV control block, until the Y-coordinate of the two is equal.
A kind of virtual terminals of intelligent substation inside connection dynamic exhibition system, comprising:
Model file generation module, is configured as according to intelligent substation SCD master configuration file, generate save equipment and
Corresponding MMS, SV, GOOSE, report-control block and associate device and the corresponding subscription information of associate device under device node
Model file;
Network message analytical equipment is configured as receiving the request about certain equipment virtual terminator internal connection state, load
The model file of corresponding equipment, the position MMS, SV and GOOSE in position and equipment to equipment positions, sets described
It is standby that height and width are positioned and be arranged as Main form, associated input equipment, output equipment progress circumferential arrangement are then searched,
With the positions and dimensions of Main form, the associated device window of corresponding configuration;Indicate exist between SV and GOOSE using tag line
Subscription information, and be subject to direction and indicate input or output relation, it is shown.
Compared with prior art, the invention has the benefit that
1, the present invention can fast and accurately empty end inside the subscription information between presentation device and equipment and subscription information
Sub- line situation shows that interface is reasonable, and content is detailed, and human-computer interaction is good.
2, the present invention first determines that Main form position is forms middle position, and secondary forms subscribe to letter according to Main form equipment
Breath, the height of DYNAMIC DISTRIBUTION or so forms, forms are obtained according to the number of a GOOSE, b SV, c MMS under the equipment to calculate
, calculation formula is as follows: h=th+ (a+b+c) * (bh+hmargi n), and wherein th is equipment text description height, i.e. forms mark
Inscribe column height;Bh is the height of control block (following control block includes GOOSE, SV, MMS control block) text;Between hmargi n is
Gap height, if virtual terminator information is not unfolded, default height dh, if expansion, according to virtual terminator number m, hmargi n=m*dh,
Control block width is default width cw;
3, the present invention draws the line between subscription information, if input control block is equal with the output Y-coordinate of control block, in window
Dotted line is drawn in vivo, directly draws solid line line outside framework, if the intracorporal empty oblique line of unequal elder generation's picture frame, then according to dotted line
Terminal Y-coordinate, the line between painting frame body and framework, the link width between major-minor forms is default width bw.
Detailed description of the invention
The accompanying drawings constituting a part of this application is used to provide further understanding of the present application, and the application's shows
Meaning property embodiment and its explanation are not constituted an undue limitation on the present application for explaining the application.
Fig. 1 is the flow chart of the present embodiment;
Fig. 2 is the flow chart that the present embodiment shows corresponding virtual terminator content;
Specific embodiment:
The invention will be further described with embodiment with reference to the accompanying drawing.
It is noted that following detailed description is all illustrative, it is intended to provide further instruction to the application.Unless another
It indicates, all technical and scientific terms used herein has usual with the application person of an ordinary skill in the technical field
The identical meanings of understanding.
It should be noted that term used herein above is merely to describe specific embodiment, and be not intended to restricted root
According to the illustrative embodiments of the application.As used herein, unless the context clearly indicates otherwise, otherwise singular
Also it is intended to include plural form, additionally, it should be understood that, when in the present specification using term "comprising" and/or " packet
Include " when, indicate existing characteristics, step, operation, device, component and/or their combination.
In the present invention, term for example "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", " side ",
The orientation or positional relationship of the instructions such as "bottom" is to be based on the orientation or positional relationship shown in the drawings, only to facilitate describing this hair
Bright each component or component structure relationship and the relative of determination, not refer in particular to either component or element in the present invention, cannot understand
For limitation of the present invention.
In the present invention, term such as " affixed ", " connected ", " connection " be shall be understood in a broad sense, and indicate may be a fixed connection,
It is also possible to be integrally connected or is detachably connected;It can be directly connected, it can also be indirectly connected through an intermediary.For
The related scientific research of this field or technical staff can determine the concrete meaning of above-mentioned term in the present invention as the case may be,
It is not considered as limiting the invention.
As shown in Figure 1, methods of exhibiting is connected inside a kind of intelligent station network message analysis virtual terminator, mainly according to intelligent change
Power station SCD master configuration file, generation are ordered by corresponding under corresponding SV, GOOSE and SV, GOOSE node under equipment and equipment
Information model file is read, loads corresponding model file in network message analytical equipment, this document only saves equipment and sets
Corresponding MMS, SV, GOOSE, report-control block and associate device and the corresponding subscription information exhibition of associate device under slave node
Show, reduces the communication and data type node content of SCD, can quickly position, shorten when showing virtual terminator connection
Search time and file read access time.
When showing the virtual terminator of a certain equipment, need to the position MMS, SV, GOOSE in the position of equipment and equipment
It is positioned, which is positioned as Main form and is arranged height and width, then search associated input equipment, output is set
It is standby to carry out left-right layout, and the original state for initializing subscription information is contraction state, SV, GOOSE have subscription information to connect
Line is identified, and is marked as input or output information with arrow direction.
The connecting line is clicked, expansion shows the virtual terminator input/output information of the connecting line, again taps on, shrink the connection
The virtual terminator of line is shown.
Concrete implementation process includes:
Step 1, start process, enter step 2;
Step 2, configuration tool is imported into according to intelligent substation SCD file and generates model file, enter step 3;
Step 3, equipment letter is added in network message analysis and main interface navigation tree in recording device in stress model file
Breath generates tree construction, enters step 4;
Step 4, cache model file is entered step including the subscription information under equipment and equipment between GOOSE, SV
5;
Step 5, it shows loop diagram, enters step 6;
As shown in Fig. 2, step 6, clicks virtual terminator line, virtual terminator link information is shown and shunk;
Step 7, it first has to obtain the facility information and a GOOSE, b SV, c MMS information in tree node, determines
Main form position is defaulted among forms, calculates forms height, calculation formula h=th+ according to the quantity of GOOSE, SV, MMS
(a+b+c) * (bh+hmargi n), wherein th is equipment text description height, i.e. window title bar height;Bh is control block (packet
Containing GOOSE, SV, MMS) height of text;Hmargi n is clearance height, has a default wide between GOOSE, SV, MMS framework
Degree, enters step 8;
Step 8, the subscription information for obtaining Input/Output Device information and GOOSE, SV of the equipment, enters step 9;
Step 9, the interval height between child form is calculated according to the virtual terminator quantity of GOOSE, SV, MMS of output equipment,
Interval height is the height of every information and the product of quantity, there is subscription information, calculates the forms height of the equipment, no subscription letter
Breath, interval height are set as default height, enter step 10;
Step 10, the line between subscription information is drawn, if input control block is equal with the output Y-coordinate of control block, in window
Dotted line is drawn in vivo, directly draws solid line line outside framework, if the intracorporal empty oblique line of unequal elder generation's picture frame, then according to dotted line
Terminal Y-coordinate, the line between painting frame body and framework enters step 11;
Step 11, whether the line recorded between subscription information is unfolded, if not being unfolded, forms height is unchanged, if expansion,
8 are entered step, otherwise enters step 12;
Step 12, terminate the process.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field
For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair
Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention
The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not
Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.