Summary of the invention
Technical matters to be solved by this invention provides a kind ofly carries out quick related and the generated energy acquisition of warehouse-in and the implementation method of supervisory system graphic monitoring of drawing a picture to the Various types of data that has defined in the database.
The technical solution adopted for the present invention to solve the technical problems:
The implementation method of a kind of generated energy acquisition and supervisory system graphic monitoring is characterized in that said method comprises the equipment that defines said system or other object, selective object set gopher, drags that alternative is put on the graphics device directly and database is associated and drag alternative from said gopher from said gopher and be put on the data definition corresponding field directly defining operation number; Said method generates the SVG format graphics of standard; Utilize the SVG technology to realize cross-platform data definition; Concrete steps are following:
(1) set up the modularization interface:
Said modularization interface is made up of graphical tree module, operation domain module and instrument shelves module; Said figure module is to show all figure titles of said system with graphical tree mode sectional lists level, and said operation domain module is the graphic plotting district, and said instrument shelves module is the various drawing instruments that operation definition object is used; Said graphical tree module all has consistent how much connecting interfaces and consistent IO interface unit with the operation domain module;
Said drawing instrument comprises selection, movable button, magnify tool button, dwindles tool button, throw button, straight line tool button, the rectangle tool button, ellipse tool button, arc tool button and changeable shape tool button.
(2) generate various monitoring pattern through manual association or auto-associating:
(1) dynamic data is manually related:
The manual association of dynamic data is through the dynamic data in the said system of the character associative on the said figure, related afterwards incidence relation being stored in the database;
Said dynamic data comprise measure dot number according to, specially become user data, public user data, power supply unit data, acquisition terminal data, track data, electric energy meter data, computing formula data, bus equilibrium criterion and the transformer equilibrium criterion of becoming;
After the dynamic data association; Said figure reads incidence relation from corresponding database when the web page or leaf is showed; Mutual through webService mode and graphic interface program; Dynamic real time data, day data, month data and the annual data of showing during displaying and the data interaction of graphic interface program, transmits with the XML form;
The XML form that figure passes to graphic interface program comprises the id of the data type of id, the inquiry of the incidence relation information of storage, the data object in database that will inquire about, the date of inquiry, the data time type of inquiry;
The XML form that graphic interface program returns to figure comprises the unit and the data effective marker of corresponding incidence relation information id, the id of query object, the time of inquiry, the data of returning, data;
The related data of dynamic data show day, month, year curve of choosing data when data display.
(2) quantity of state is manually related:
The manual association of quantity of state is that said graphic element comprises rectangle, circle and ellipse through the quantity of state data in the related said system of graphic element, related afterwards incidence relation being stored in the corresponding database;
Said quantity of state comprises terminal acquisition state, special public change state, passage running status and the critical point SOT state of termination;
After the quantity of state association; Said figure reads this incidence relation from corresponding database when the web page is showed; Mutual through webService mode and graphic interface program; Dynamically show real-time terminal acquisition state, the special public terminal running state that becomes User Status, passage running status and critical point with user-defined different colours, during displaying and the data interaction of graphic interface program, transmit with the XML form;
The XML form that figure passes to graphic interface program comprises the id, the id of query State amount object of incidence relation of Data Source type, the storage of type, the data of the association status amount of storage;
The XML form that graphic interface program returns to figure comprises the color of the correspondence that defines in quantity of state data that the id, the id of query State amount object, the quantity of state data of returning that check out, quantity of state time corresponding, figure of incidence relation of type, the storage of the association status amount of storage returns according to graphic interface and the show state amount attribute.
(3) picture is manually related:
Any said graphic element is provided with the picture association link, when the web page browsing is clicked this figure, then jumps to the picture of setting, realize association and redirect fast between the picture;
After the said picture association, during displaying and the data interaction of graphic interface program, transmit with the XML form; The XML form that figure passes to graphic interface program comprises the id, finish node sign of type, the circuit of circuit, affiliated radio button code and data source;
The XML form that graphic interface program returns to figure comprises user's type, user's id and user's title;
Dynamic data to each specially public change user has carried out acquiescence simultaneously is related related with quantity of state; Preserve incidence relation in corresponding database; Related related with quantity of state and graphic interface program is mutual during pattern exhibiting according to dynamic data, carry out the real-time update of data.
(4) auto-associating:
Select to want related a certain 10kv main line or branched line; Mutual through webService mode and graphic interface program; Automatically generate in the graphics display area all public change of special changes users under related circuit and the circuit, and it is related with quantity of state to carry out user's dynamic data association automatically;
Said various monitoring pattern comprises manual associated graphic and auto-associating figure;
Said manual associated graphic comprises confession sale of electricity monitoring function figure; Different electric pressure circuit bus balance monitoring function figures; Different brackets transformer loss on transmission monitoring function figure; Each place power plant generating electric weight monitoring function figure; Each station electric weight monitoring function figure; Net decreases the monitoring function figure; Terminal operating mode and online situation monitoring pattern; Circuit supplies electricity sales amount and line loss per unit and following all specially public change users' electric weight and User Status amount monitoring pattern; The electric weight critical point monitoring pattern at electric weight power supply and each factory station; Distribution practicability circuit monitoring figure and emphasis user monitoring figure;
Said auto-associating figure is meant the automatic generation of motion graphics and the automatic generation of circuit; Mainly refer to the automatic systematic function of 10kv circuit, a related secondary data just can generate all user's dynamic data information and quantity of state data messages below the circuit automatically.
(3) combination javascript realizes text editing, color is mutual and graphic interpolation function.
(4) said SVG form monitoring pattern embedded web page is showed:
On the basis of bag batik of increasing income, realize based on applet.
The method of the invention has following characteristic:
(1) can related dynamic data in the same figure from different database source, also can related real-time status amount data from the disparate databases source.Convenient data of in a figure, showing various separate sources.
(2) provide realization multi-functional, polymorphic type pattern exhibiting; A kind of is the association displaying of static graphics, comprises that confession sale of electricity monitoring function figure, different electric pressure circuit bus balance monitoring function figure, different brackets transformer loss on transmission monitoring function figure, each place power plant generating electric weight monitoring function figure, each station electric weight monitoring function figure, net decrease monitoring function figure, terminal operating mode and online situation monitoring pattern, circuit confession electricity sales amount and line loss per unit and following all special public users' of change electric weight and electric weight critical point monitoring pattern, distribution practicability circuit monitoring figure and the emphasis user monitoring figure that User Status amount monitoring pattern, electric weight power supply and each factory stand.
A kind of in addition is the automatic generation of motion graphics and the automatic generation of circuit; Mainly refer to the automatic systematic function of circuit; A related secondary data just can generate all user's dynamic data information and quantity of state data messages below the circuit automatically; Avoid having under the circuit a large amount of user profile with related numerous and diverse property and make mistakes, saved great amount of time, the convenient use.
Beneficial effect of the present invention is following:
(1) from visual graphical tree instrument, choose final unique object layer by layer and be dragged to the error that destination object has reduced artificial input, and more convenient and swift.
(2) association of multi-data source.Not only be limited in the graphical tree instrument that provides in the present invention, and can realize as the data source association, for example Drawing Object etc. for the device object that has defined.Equally as target source can be in graphic element or the data entry system certain etc.
(3) definition makes things convenient for the expansion of data flexibly.The association of graph data uses webservice mode and graphic interface program to carry out, and when requirements extend, in graphic interface program, increases configuration information and just inquires about and can realize, makes things convenient for the expansion and the realization of demand.
Embodiment
The implementation method of a kind of generated energy acquisition and supervisory system graphic monitoring is characterized in that said method comprises the equipment that defines said system or other object, selective object set gopher, drags that alternative is put on the graphics device directly and database is associated and drag alternative from said gopher from said gopher and be put on the data definition corresponding field directly defining operation number; Said method generates the SVG format graphics of standard; Utilize the SVG technology to realize cross-platform data definition; Concrete steps are following:
(1) set up modularization interface (see figure 1):
Said modularization interface is made up of graphical tree module, operation domain module and instrument shelves module; Said figure module is to show all figure titles of said system with graphical tree mode sectional lists level, and said operation domain module is the graphic plotting district, and said instrument shelves module is the various drawing instruments that operation definition object is used; Said graphical tree module all has consistent how much connecting interfaces and consistent IO interface unit with the operation domain module;
In Fig. 1, the screen left side is the graphical tree area part, can choose that catalogue or certain figure increase, deletion, move operation.Its right upper part is the toolbar zone, is used to select various graphic plottings and operation tool, and its lower part is the graphic plotting zone, is used for the various operations of graphing and figure.
By graphical tree and toolbar mapping.Graphical tree among the present invention can unique definite generated energy acquisition and the object factory of supervisory system, is beneficial to the level location of associated data.
Said drawing instrument comprises selection, movable button, magnify tool button, dwindles tool button, throw button, straight line tool button, the rectangle tool button, ellipse tool button, arc tool button and changeable shape tool button.
(2) generate various monitoring pattern through manual association or auto-associating:
(1) the manual related (see figure 2) of dynamic data:
The manual association of dynamic data is through the dynamic data in the said system of the character associative on the said figure, related afterwards incidence relation being stored in the database;
Said dynamic data comprise measure dot number according to, specially become user data, public user data, power supply unit data, acquisition terminal data, track data, electric energy meter data, computing formula data, bus equilibrium criterion and the transformer equilibrium criterion of becoming;
After the dynamic data association; Said figure reads incidence relation from corresponding database when the web page or leaf is showed; Mutual through webService mode and graphic interface program; Dynamic real time data, day data, month data and the annual data of showing during displaying and the data interaction of graphic interface program, transmits with the XML form;
The XML form that figure passes to graphic interface program comprises the id of the data type of id, the inquiry of the incidence relation information of storage, the data object in database that will inquire about, the date of inquiry, the data time type of inquiry;
The XML form that graphic interface program returns to figure comprises the unit and the data effective marker of corresponding incidence relation information id, the id of query object, the time of inquiry, the data of returning, data;
The related data of dynamic data show day, month, year curve of choosing data when data display.
In Fig. 2, the dynamic data association comprises the gopher of all database informations, can be the Drawing Object that had defined, and can also be the formula manipulation number that has defined.Also can be the middle corresponding object of graphic file as the target of placing equally, or the operand in the formula definition, can also import as the parameter in the database typing item equally.
Select to want the place of related dynamic data, carry out the dynamic data association, search the object that is associated, choose the attribute of wanting related, promptly carried out the association of dynamic data after confirming.
(2) the manual related (see figure 3) of quantity of state:
The manual association of quantity of state is that said graphic element comprises rectangle, circle and ellipse through the quantity of state data in the related said system of graphic element, related afterwards incidence relation being stored in the corresponding database;
Said quantity of state comprises terminal acquisition state, special public change state, passage running status and the critical point SOT state of termination;
After the quantity of state association; Said figure reads this incidence relation from corresponding database when the web page is showed; Mutual through webService mode and graphic interface program; Dynamically show real-time terminal acquisition state, the special public terminal running state that becomes User Status, passage running status and critical point with user-defined different colours, during displaying and the data interaction of graphic interface program, transmit with the XML form;
The XML form that figure passes to graphic interface program comprises the id, the id of query State amount object of incidence relation of Data Source type, the storage of type, the data of the association status amount of storage;
The XML form that graphic interface program returns to figure comprises the color of the correspondence that defines in quantity of state data that the id, the id of query State amount object, the quantity of state data of returning that check out, quantity of state time corresponding, figure of incidence relation of type, the storage of the association status amount of storage returns according to graphic interface and the show state amount attribute.
In Fig. 3, the quantity of state data association comprises the gopher of all database informations, can be the Drawing Object that had defined, and can also be the formula manipulation number that has defined.Also can be the middle corresponding object of graphic file as the target of placing equally, or the operand in the formula definition, can also import as the parameter in the database typing item equally.
Select to want the graphic element of association status amount, carry out the association of quantity of state, search the object of wanting related, the color of quantity of state attribute is set, promptly carried out the related of quantity of state and graphic element after confirming.
In Fig. 3, the color of " normally " button is green, and the color of " unusually " button is yellow, and the color of " fault " button is red.
(3) the manual related (see figure 4) of picture:
Any said graphic element is provided with the picture association link, when the web page browsing is clicked this figure, then jumps to the picture of setting, realize association and redirect fast between the picture;
After the said picture association, during displaying and the data interaction of graphic interface program, transmit with the XML form; The XML form that figure passes to graphic interface program comprises the id, finish node sign of type, the circuit of circuit, affiliated radio button code and data source;
The XML form that graphic interface program returns to figure comprises user's type, user's id and user's title;
Dynamic data to each specially public change user has carried out acquiescence simultaneously is related related with quantity of state; Preserve incidence relation in corresponding database; Related related with quantity of state and graphic interface program is mutual during pattern exhibiting according to dynamic data, carry out the real-time update of data.
In Fig. 4, selection will be provided with the place of picture redirect, searches the Drawing Object of wanting related, promptly is provided with the manual association link of picture after confirming.Wherein return push-button can define the chained address of the homepage that returns.
(4) auto-associating (see figure 5):
Select to want related a certain 10kv main line or branched line; Mutual through webService mode and graphic interface program; Automatically generate in the graphics display area all public change of special changes users under related circuit and the circuit, and it is related with quantity of state to carry out user's dynamic data association automatically;
Said various monitoring pattern comprises manual associated graphic and auto-associating figure;
Said manual associated graphic comprises confession sale of electricity monitoring function figure; Different electric pressure circuit bus balance monitoring function figures; Different brackets transformer loss on transmission monitoring function figure; Each place power plant generating electric weight monitoring function figure; Each station electric weight monitoring function figure; Net decreases the monitoring function figure; Terminal operating mode and online situation monitoring pattern; Circuit supplies electricity sales amount and line loss per unit and following all specially public change users' electric weight and User Status amount monitoring pattern; The electric weight critical point monitoring pattern at electric weight power supply and each factory station; Distribution practicability circuit monitoring figure and emphasis user monitoring figure;
Said auto-associating figure is meant the automatic generation of motion graphics and the automatic generation of circuit; Mainly refer to the automatic systematic function of 10kv circuit, a related secondary data just can generate all user's dynamic data information and quantity of state data messages below the circuit automatically.
In Fig. 5, the delivery that on behalf of the special change information under the 10kv circuit, two circle, individual pen represent the public affairs under the 10kv circuit to become on information, the picture is represented the delivery of this 10kv circuit, the electricity sales amount that the electricity sales amount on the picture is represented this 10kv circuit, the line loss per unit that the line loss per unit on the picture is represented this 10kv circuit.This specially public SOT state of termination, User Status auto-associating that becomes in the color of single, double circle and the database; The normal electricity consumption of green expression user, terminal operating are normal; Aubergine representes that user power utilization is normal, the terminal off-line, yellow expression user cancellation, and red expression user stops transport.The public information that is shown that becomes comprises public become total electricity sales amount, platform district line loss and status information under title, summary table electric weight, the platform district on the picture, is the templating combination and shows.Rectangular block is represented the line sectionalizing switch, and blue expression switch closes, and red expression is broken off.
(3) combination javascript realizes text editing, color is mutual and graphic interpolation function.
(4) said SVG form monitoring pattern embedded web page is showed:
On the basis of bag batik of increasing income, realize based on applet.
Fig. 6-the 11st, some practical application figure that the present invention relates to.
In Fig. 6; Rectangle frame in the picture is represented the acquisition terminal of each transformer station, representes that certain transformer station's acquisition terminal operating mode is normal, represent certain transformer station's acquisition terminal operating mode undesired if the color in the dotted rectangle is a redness if the color in the solid-line rectangle frame is a green.Mouse drag is to certain rectangular block, with the detailed operating condition that shows this transformer station terminal automatically.
Fig. 7-1 and Fig. 7 the-the 2nd, and a plurality of ordered electric users' monitoring figure, electric weight wherein can select a plurality of users to carry out a moon electric quantity curve demonstration arbitrarily.
In Fig. 7-2,1 is large user-sea otter iron and steel, and 2 is large user-Haizhou iron and steel, and 3 is large user-middle steel sea machine, and 4 is large user-Longzhou iron and steel.
In Figure 10, each power plant's title of the left side is all represented the full factory measurement monitoring picture based on an electric network wiring scheme of a power plant.
Figure 11 is the bus electric quantity balancing guide lookization displaying situation of each electric pressure of somewhere whole 220kV transformer station; (color in the fine line rectangle frame is red to different colours in the rectangle frame; Color in the dotted rectangle be yellow, and the color in the heavy line rectangle frame be a green) represent the bus of different electric pressures, the mother of this bus equals the rate data; Also can add annotations and comments according to field condition.