Summary of the invention
Technical problems to be solved in this application be to provide a kind of grid graph data generation method and
Device, in order to solve the generation scheme of grid graph data in prior art, for real based on CS framework
Existing, it is impossible to be applied in other kinds B/S framework operation system, reduce grid graph data generation side
The technical problem of the application of case, also solves the generation scheme of grid graph data in prior art
For ensureing the version of the grid graph data of generation at first, in client, user needs repeatedly to download clothes
The application program of the renewal on business device so that the inefficient technology that grid graph data generates is asked
Topic.
This application provides a kind of generation method of grid graph data, be applied to the data resource preset
Storehouse, described data repository includes that library and graphic data base, described library include at least one
Individual graphic file, described graphic data base includes the associated data of each described graphic file, described
Method includes:
Receiving the graphic hotsopt instruction of user, the instruction of described graphic hotsopt includes that pattern identification and figure are compiled
The information of collecting;
The targeted graphical file corresponding with described pattern identification is obtained in described library, and in institute
State the target association data that in graphic data base, acquisition is corresponding with described pattern identification;
According to described target association data and described targeted graphical file, generate electrical network scene graph;
According to described graphics edition information, described electrical network scene graph is edited, obtains grid graph
Data.
Said method, it is preferred that described targeted graphical file is vector graphics file, described target is closed
Connection data include the annexation of its corresponding diagram shape file;
Wherein, described according to described target association data and described targeted graphical file, generate electrical network field
Jing Tu, including:
Described targeted graphical file is attached according to the annexation in described target association data
Combination, obtains electrical network scene graph, and described electrical network scene graph is vectogram.
Said method, it is preferred that described graphics edition information includes at least one edit instruction;
Wherein, according to described graphics edition information, described electrical network scene graph is edited, obtains electricity
Net graph data, including:
Described electrical network scene graph is performed the operational motion corresponding with each described edit instruction respectively,
Obtain grid graph data.
Said method, it is preferred that described obtain grid graph data after, described method also includes:
Described grid graph data is carried out graphical analysis, obtains analysis result;
Graphic file or its associated data is had in described analysis result shows described grid graph data
When changing, in described grid graph data, extract the graphic file and/or its changed
Associated data;
The graphic file in described library is updated according to the graphic file extracted, and/or, foundation
The associated data extracted updates the associated data in described graphic data base.
Said method, it is preferred that described obtain grid graph data after, described method also includes:
Described grid graph data is shown with default page display format.
Present invention also provides the generating means of a kind of grid graph data, be applied to the data money preset
Storehouse, source, described data repository includes that library and graphic data base, described library include at least
One graphic file, described graphic data base includes the associated data of each described graphic file, institute
State device to include:
Instruction reception unit, for receiving the graphic hotsopt instruction of user, described graphic hotsopt instruction bag
Include pattern identification and graphics edition information;
File obtaining unit, for obtaining the mesh corresponding with described pattern identification in described library
Mark on a map shape file;
Data capture unit, corresponding with described pattern identification for obtaining in described graphic data base
Target association data;
Scene graph signal generating unit, is used for according to described target association data and described targeted graphical file,
Generate electrical network scene graph;
Scene graph edit cell, for according to described graphics edition information, enters described electrical network scene graph
Edlin, obtains grid graph data.
Said apparatus, it is preferred that described targeted graphical file is vector graphics file, described target is closed
Connection data include the annexation of its corresponding diagram shape file;
Wherein, described scene graph signal generating unit includes:
Vectogram generates subelement, is used for described targeted graphical file according to described target association data
In annexation be attached combination, obtain electrical network scene graph, described electrical network scene graph is vector
Figure.
Said apparatus, it is preferred that described graphics edition information includes at least one edit instruction;
Wherein, described scene graph edit cell includes:
Action executing subelement, for performing respectively to refer to each described editor to described electrical network scene graph
Make corresponding operational motion, obtain grid graph data.
Said apparatus, it is preferred that also include:
Graphical analysis unit, for described scene graph edit cell obtain described grid graph data it
After, described grid graph data is carried out graphical analysis, obtains analysis result;
Change detection unit, for having figure in described analysis result shows described grid graph data
When file or its associated data change, in described grid graph data, extraction changes
Graphic file and/or its associated data;
Change updating block, for updating the figure in described library according to the graphic file extracted
File, and/or, update the associated data in described graphic data base according to the associated data extracted.
Said apparatus, it is preferred that also include:
Data display unit, for described scene graph edit cell obtain described grid graph data it
After, described grid graph data is shown with default page display format.
From such scheme, the generation method of a kind of grid graph data that the application provides and dress
Putting, be applied to the data repository preset, this data repository includes by library and figure figurate number
According to storehouse, this document storehouse arranges graphic file, graphic data base arranges the incidence number of graphic file
According to, the application after the instruction receiving user and need to carry out graph data generation, in figure figurate number
According to storehouse obtains with instruct in target association data corresponding to pattern identification and obtain in library with
The targeted graphical file that pattern identification is corresponding, and according to the target association data got and target figure
Shape file generates complete electrical network scene graph, afterwards, according to the graphics edition information in instruction to this
Electrical network scene graph is edited, and is met the grid graph data of user's request, complete according to
Family demand sets up grid graph model, it is achieved the application purpose.The application does not limit data resource
The setting area in storehouse, therefore, the data repository preset can be arranged in server, thus,
The application, while being applicable to CS framework operation system, is equally applicable to other kinds B/S framework
Operation system, thus improves the application and realizes the applied of grid graph data generation scheme.
Meanwhile, the application in actual applications, occurs when graphic file updates or its associated data updates,
Can directly update in described data repository, thus, user carries out electrical network according to himself demand
When graph data generates, in data repository, directly obtain graphic file and the pass thereof of version at first
Connection data etc., when the application is applied to B/S framework operation system, it is not necessary to remove down loading updating every time
Application program install, the graphic file needed for only need to being obtained by browser and incidence number thereof
According to etc., finally realize the generation of grid graph data, thus, ensure graphic file and association thereof
While versions of data is up-to-date, improve the formation efficiency of grid graph data.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, to the technical scheme in the embodiment of the present application
It is clearly and completely described, it is clear that described embodiment is only that the application part is real
Execute example rather than whole embodiments.Based on the embodiment in the application, ordinary skill
The every other embodiment that personnel are obtained under not making creative work premise, broadly falls into this
The scope of application protection.
With reference to Fig. 1, the stream of the generation embodiment of the method one of a kind of grid graph data provided for the application
Cheng Tu, wherein, described method is applied to the data repository preset, and described data repository can be arranged
In server end, user can realize described data repository by being installed on the browser of client
Access.
Wherein, described data repository can include library and graphic data base, in described library
Can include graphic file, described graphic file can be understood as figure masterplate file, pel definition literary composition
The disk file that the figures such as the graphic file that part maybe can import or derive are relevant.As described graphic file can
Think that transformer station, power plant, transmission line of electricity etc. constitute the equipment drawing shape file etc. of electrical network, wherein, described
In graphic file in addition to including its figure, also include the positional information of figure, attribute information and equipment
The information such as electric pressure.
And described graphic data base can include the associated data of each described graphic file, described association
Data may include that graphic file the index information concordance list of ID grade (can be understood as identify),
Topology information (can be understood as annexation etc.) between graphic file, the node of graphic file are various
Attribute etc..
Wherein, the method in the embodiment of the present application one may comprise steps of:
Step 101: receive the graphic hotsopt instruction of user, figure can be included in the instruction of described graphic hotsopt
Shape mark and graphics edition information.
Wherein, described pattern identification refers to the required graphic file obtained of user, such as, user's requirement
Open the electric network model figure specified, pattern identification i.e. screening conditions: put into operation before the end of the year 2012, voltage etc.
Level 500KV and above substation equipment.
It should be noted that in described step 101 can by with the clothes being provided with described data repository
The browser that business device is connected realizes the acquisition instructing described graphic hotsopt.
Step 102: obtain the targeted graphical file corresponding with described pattern identification in described library,
And in described graphic data base, obtain the target association data corresponding with described pattern identification.
Wherein, described step 102 can be carried out one by one according to described pattern identification in described library
The mode of coupling, obtains described targeted graphical file;Described targeted graphical file can be utilized at described figure
Graphic data storehouse obtains corresponding target association data.
Step 103: according to described target association data and described targeted graphical file, generates electrical network scene
Figure.
Wherein, can be by by described targeted graphical file and described target association number in described step 103
According to being combined, obtain electrical network scene graph.
Step 104: according to described graphics edition information, described electrical network scene graph is edited, obtains
Grid graph data.
Wherein, described graphics edition information can be empty, also just say, in described step 103
The electrical network scene graph generated is not any editor, directly as described grid graph data;Described figure
As editor's information including to each graphic file and associated data thereof in described electrical network scene graph
The graphics edition information such as pattern coloring, figure layer association and scene management, topological analysis, inserting drawing merge,
The pattern analysis information such as data linkage.
From such scheme, the generation embodiment of the method for a kind of grid graph data that the application provides
One, it is applied to the data repository preset, this data repository includes by library and figure figurate number
According to storehouse, this document storehouse arranges graphic file, graphic data base arranges the incidence number of graphic file
According to, the application after the instruction receiving user and need to carry out graph data generation, in figure figurate number
According to storehouse obtains with instruct in target association data corresponding to pattern identification and obtain in library with
The targeted graphical file that pattern identification is corresponding, and according to the target association data got and target figure
Shape file generates complete electrical network scene graph, afterwards, according to the graphics edition information in instruction to this
Electrical network scene graph is edited, and is met the grid graph data of user's request, complete according to
Family demand sets up grid graph model, it is achieved the embodiment of the present application one purpose.The embodiment of the present application one
In do not limit the setting area of data repository, therefore, the data repository preset can be arranged at
In server, thus, the embodiment of the present application one is while being applicable to CS framework operation system, same
Sample is applicable to other kinds B/S framework operation system, thus improves the embodiment of the present application one and realizes electrical network
Graph data generates the applied of scheme.
Meanwhile, the embodiment of the present application one in actual applications, occurs that graphic file updates or its incidence number
According to when updating, can directly update in described data repository, thus, user needs according to himself
Ask carry out grid graph data generate time, in data repository, directly obtain the figure of version at first
File and associated data etc. thereof, when the embodiment of the present application one is applied to B/S framework operation system, no
The application program every time removing down loading updating is needed to install, needed for only need to being obtained by browser
Graphic file and associated data etc. thereof, finally realize the generation of grid graph data, thus, protecting
Card graphic file and associated data version up-to-date while, improve grid graph data generation effect
Rate.
Wherein, the graphic file in described library can be vector graphics file, thus, described step
The targeted graphical file got in rapid 102 can be vector graphics file, such as SVG form or G
Form etc..It should be noted that the graphic file in described library can be according to electric network model
In the graphic file of relevant primitive generating of various equipment, it is also possible to for user's online editing definition
The graphic file that new metafile generates, it is also possible to for being combined according to existing graphic file or tearing open
The new graphic file got, it is also possible to the user for the SVG form imported or G form makes by oneself
Justice graphic file etc..
It should be noted that described target association data can be the connection pass of its corresponding diagram shape file
Systems etc., as the first graphic file and second graph file have topological connection relation etc..
Now, step 103 described in above-described embodiment can be accomplished by:
Described targeted graphical file is attached according to the annexation in described target association data
Combination, obtains electrical network scene graph.
Wherein, described electrical network scene graph is the targeted graphical file generated of described vector graphics file, with
Sample is vectogram.
Such as, described targeted graphical file is voltmeter graphic file, power pattern file and resistance view
Shape file, its each self-corresponding target association data can be: voltmeter is in parallel with a resistor, power supply
The annexations such as in series with a resistor, resistance and power sources in series, in the most described step 103 particularly as follows:
Described voltmeter graphic file, power pattern file and resistance pattern file are connected according to these and closes
System is attached combination, obtains electrical network scene graph, as shown in Figure 2.
In above-described embodiment, described graphics edition information can include at least one edit instruction, each
Described edit instruction is provided with its each self-corresponding edit operation action, as split, merge, scheming
The edit operation actions such as shape coloring, figure layer association, now, described step 104 can be by following
Mode implements:
Described electrical network scene graph is performed the operational motion corresponding with each described edit instruction respectively,
Obtain grid graph data.
Such as, described electrical network scene graph is carried out pattern coloring, graphics edition, graphics edition, scene
The operation such as editor, topological analysis, inserting drawing merging, data linkage is dynamic, and then is met use
The grid graph data of family demand.
With reference to Fig. 3, the generation embodiment of the method two of a kind of grid graph data provided for the application
Flow chart, wherein, after described step 104, described method can also comprise the following steps:
Step 105: described grid graph data is carried out graphical analysis, obtains analysis result.
Wherein, to refer to analyze this grid graph data corresponding for the graphical analysis in described step 105
Whether there is graphics edition between electrical network scene graph, if it is, show in described grid graph data
Graphic file or associated data change renewal.
Step 106: have in described analysis result shows described grid graph data graphic file or its
When associated data changes, described grid graph data is extracted the graphic file changed
And/or associated data.
Wherein, described step 106 refers to show described grid graph data phase at described analysis result
For when in the electrical network scene graph of its correspondence, only graphic file changes, at described grid graph
The graphic file that extracting data changes, shows described grid graph number at described analysis result
According to relative to when in the electrical network scene graph of its correspondence, the associated data of only graphic file changes,
In described grid graph data, extract the associated data changed, show at described analysis result
Described grid graph data has graphic file and associated data equal relative to the electrical network scene graph of its correspondence
When changing, described grid graph data is extracted the graphic file changed and incidence number
According to.
Step 107: update the graphic file in described library according to the graphic file extracted, and
/ or, update the associated data in described graphic data base according to the associated data extracted.
During it should be noted that extract, in described step 106, the graphic file changed,
Described step 107 updates the graphic file in described library according to the graphic file extracted,
Concrete, the graphic file extracted can be replaced in described library and there is same pattern identification
Graphic file;When extracting, in described step 106, the associated data changed, described
Step 107 updates the associated data in described graphic data base according to the associated data extracted,
Concrete, the associated data extracted is replaced in described graphic data base there is same pattern identification
Associated data;The graphic file changed and associated data is extracted in described step 106
Time, in described step 107, update the figure in described library according to the graphic file extracted
File, and update the associated data in described graphic data base, tool according to the associated data extracted
Body, the graphic file extracted is replaced the figure in described library with same pattern identification
File, and the associated data the extracted described graphic data base of replacement will have same pattern identification
Associated data.
From in such scheme, by compiling through foundation user's request in the embodiment of the present application
Graphic file and the associated data of collecting change are updated in library and the graphic data base of correspondence, real
The now renewal to the data repository being arranged in server, it is ensured that meet user's request and generate
In grid graph data, graphic file and associated data are latest edition.
With reference to Fig. 4, the generation embodiment of the method three of a kind of grid graph data provided for the application
Flow chart, wherein, after described step 104, described method can also comprise the following steps:
Step 108: described grid graph data is shown with default page display format.
Wherein, described default page display format can be web page display format.Namely
Say, described grid graph data is presented to user with the form of web page by described step 108.
With reference to Fig. 5, the generating means embodiment four of a kind of grid graph data provided for the application
Structural representation, is applied to the data repository preset, and described data repository can be arranged at clothes
Business device end, user can realize described data repository by being installed on the browser of client
Access.
Wherein, described data repository can include library and graphic data base, described file
Can include graphic file in storehouse, described graphic file can be understood as figure masterplate file, figure
The disk file that the figures such as the graphic file that unit's definition file maybe can import or derive are relevant.As institute
Stating graphic file can be the equipment figure literary composition that transformer station, power plant, transmission line of electricity etc. constitute electrical network
Parts etc., wherein, in described graphic file in addition to including its figure, also include the position of figure
The information such as information, attribute information and equipment electric pressure.
And described graphic data base can include the associated data of each described graphic file, described
Associated data may include that the index information of graphic file (can be understood as identifying the rope of ID grade
Draw table), the topology information (can be understood as annexation etc.) between graphic file, graphic file
The each attribute of node etc..
Wherein, described device may include that
Instruction reception unit 501, for receiving the graphic hotsopt instruction of user, described graphic hotsopt refers to
Order includes pattern identification and graphics edition information.
Wherein, described pattern identification refers to the required graphic file obtained of user, such as, user's requirement
Open the electric network model figure specified, pattern identification i.e. screening conditions: put into operation before the end of the year 2012, voltage etc.
Level 500KV and above substation equipment.
It should be noted that in described instruction reception unit 501 can by be provided with described data provide
The browser that the server in storehouse, source is connected realizes the acquisition instructing described graphic hotsopt.
File obtaining unit 502, corresponding with described pattern identification for obtaining in described library
Targeted graphical file.
Data capture unit 503, for obtaining and described pattern identification phase in described graphic data base
Corresponding target association data.
Wherein, can be according to described figure mark in described library in described file obtaining unit 502
Know the mode mated one by one, obtain described targeted graphical file;Described data capture unit 503
Described targeted graphical file can be utilized to obtain corresponding target association in described graphic data base
Data.
Scene graph signal generating unit 504, for according to described target association data and described targeted graphical literary composition
Part, generates electrical network scene graph.
Wherein, can be by by described targeted graphical file and institute in described scene graph signal generating unit 504
State target association data to be combined, obtain electrical network scene graph.
Scene graph edit cell 505, for according to described graphics edition information, to described electrical network scene
Figure is edited, and obtains grid graph data.
Wherein, described graphics edition information can be empty, also just say, described scene graph edit cell
505 pairs of electrical network scene graph generated through described scene graph signal generating unit 504 are not any editor, directly
Connect as described grid graph data;Described picture editting's information can include described electrical network field
In scape figure each graphic file and the graphics edition information such as the pattern coloring of associated data, figure layer association thereof and
The pattern analysis information such as the merging of scene management, topological analysis, inserting drawing, data linkage.
From such scheme, the generating means embodiment of a kind of grid graph data that the application provides
Four, it is applied to the data repository preset, this data repository includes by library and figure figurate number
According to storehouse, this document storehouse arranges graphic file, graphic data base arranges the incidence number of graphic file
According to, the application after the instruction receiving user and need to carry out graph data generation, in figure figurate number
According to storehouse obtains with instruct in target association data corresponding to pattern identification and obtain in library with
The targeted graphical file that pattern identification is corresponding, and according to the target association data got and target figure
Shape file generates complete electrical network scene graph, afterwards, according to the graphics edition information in instruction to this
Electrical network scene graph is edited, and is met the grid graph data of user's request, complete according to
Family demand sets up grid graph model, it is achieved the embodiment of the present application four purpose.The embodiment of the present application four
In do not limit the setting area of data repository, therefore, the data repository preset can be arranged at
In server, thus, the embodiment of the present application four is while being applicable to CS framework operation system, same
Sample is applicable to other kinds B/S framework operation system, thus improves the embodiment of the present application one and realizes electrical network
Graph data generates the applied of scheme.
Meanwhile, the embodiment of the present application four in actual applications, occurs that graphic file updates or its incidence number
According to when updating, can directly update in described data repository, thus, user needs according to himself
Ask carry out grid graph data generate time, in data repository, directly obtain the figure of version at first
File and associated data etc. thereof, when the embodiment of the present application four is applied to B/S framework operation system, no
The application program every time removing down loading updating is needed to install, needed for only need to being obtained by browser
Graphic file and associated data etc. thereof, finally realize the generation of grid graph data, thus, protecting
Card graphic file and associated data version up-to-date while, improve grid graph data generation effect
Rate.
Wherein, the graphic file in institute's library can be vector graphics file, thus, described file
The targeted graphical file that acquiring unit 502 gets can be vector graphics file, such as SVG form
Or G form etc..It should be noted that the graphic file in described library can be according to electrical network
The graphic file of the relevant primitive generating of various equipment in model, it is also possible to fixed for user's online editing
The graphic file that the new metafile of justice generates, it is also possible to for being combined according to existing graphic file
Or split the new graphic file obtained, it is also possible to for the SVG form imported or the user of G form
Self-defining image shape file etc..
It should be noted that described target association data can be the connection pass of its corresponding diagram shape file
Systems etc., as the first graphic file and second graph file have topological connection relation etc..
Wherein, with reference to Fig. 6, for the generating means enforcement of a kind of grid graph data that the application provides
The structural representation of example five, wherein, described scene graph signal generating unit 504 can pass through following functions
Module realizes:
Vectogram generates subelement 541, is used for described targeted graphical file according to described target association
Annexation in data is attached combination, obtains electrical network scene graph.
Wherein, described electrical network scene graph is the targeted graphical file generated of described vector graphics file, with
Sample is vectogram.
Such as, described targeted graphical file is voltmeter graphic file, power pattern file and resistance view
Shape file, its each self-corresponding target association data can be: voltmeter is in parallel with a resistor, power supply
The annexations such as in series with a resistor, resistance and power sources in series, the most described scene graph signal generating unit 504
Described voltmeter graphic file, power pattern file and resistance pattern file are connected according to these and closes
System is attached combination, obtains electrical network scene graph, as shown in Figure 2.
In above-described embodiment, described graphics edition information includes at least one edit instruction, each described
Being provided with its each self-corresponding edit operation action in edit instruction, as split, merging, figure
The edit operation actions such as color, figure layer association, now, with reference to Fig. 7, a kind of electricity provided for the application
The structural representation of the generating means embodiment six of net graph data, wherein, described scene graph editor
Unit 505 can be realized by following functions module:
Action executing subelement 551, for performing respectively and each described volume described electrical network scene graph
Collect the operational motion that instruction is corresponding, obtain grid graph data.
Such as, described electrical network scene graph is carried out pattern coloring, graphics edition, graphics edition, scene
The operation such as editor, topological analysis, inserting drawing merging, data linkage is dynamic, and then is met use
The grid graph data of family demand.
With reference to Fig. 8, the generating means embodiment six of a kind of grid graph data provided for the application
Structural representation, wherein, described device can also include:
Graphical analysis unit 506, for obtaining described grid graph number at described scene graph edit cell
According to afterwards, described grid graph data is carried out graphical analysis, obtains analysis result.
Wherein, the graphical analysis of described graphical analysis unit 506 refer to analyze this grid graph data with
Whether there is graphics edition, if it is, show described grid graph between its corresponding electrical network scene graph
Graphic file in data or associated data change renewal.
Change detection unit 507, for having in described analysis result shows described grid graph data
When graphic file or associated data change, in described grid graph data, extract and become
The graphic file changed and/or associated data.
Wherein, described change detection unit 507 refers to: show described electrical network figure at described analysis result
Graphic data is relative to when in the electrical network scene graph of its correspondence, only graphic file changes, described
Grid graph data is extracted the graphic file changed, shows described electricity at described analysis result
Net graph data occurs relative to the associated data only having graphic file in the electrical network scene graph of its correspondence
During change, described grid graph data is extracted the associated data changed, in described parsing
Result shows that described grid graph data has graphic file and pass relative to the electrical network scene graph of its correspondence
When connection data all change, described grid graph data is extracted the graphic file changed
And associated data.
Change updating block 508, for updating in described library according to the graphic file extracted
Graphic file, and/or, update the association in described graphic data base according to the associated data extracted
Data.
It should be noted that extract, at described change detection unit 507, the graphic file changed
Time, described change updating block 508 updates in described library according to the graphic file extracted
Graphic file, concrete, can be same by the graphic file the extracted described library of replacement has
The graphic file of one pattern identification;The pass changed is extracted at described change detection unit 507
During connection data, described change updating block 508 updates described figure according to the associated data extracted
Associated data in data base, concrete, the associated data extracted is replaced described graph data
Storehouse has the associated data of same pattern identification;Extract at described change detection unit 507 and send out
When the graphic file of changing and associated data, described change updating block 508 is according to extracting
Graphic file updates the graphic file in described library, and updates according to the associated data extracted
Associated data in described graphic data base, concrete, the graphic file extracted is replaced described
Library has the graphic file of same pattern identification, and the associated data extracted is replaced institute
State the associated data in graphic data base with same pattern identification.
From in such scheme, by compiling through foundation user's request in the embodiment of the present application
Graphic file and the associated data of collecting change are updated in library and the graphic data base of correspondence, real
The now renewal to the data repository being arranged in server, it is ensured that meet user's request and generate
In grid graph data, graphic file and associated data are latest edition.
With reference to Fig. 9, the generating means embodiment seven of a kind of grid graph data provided for the application
Structural representation, wherein, described device can also include:
Data display unit 509, for obtaining described grid graph number at described scene graph edit cell
According to afterwards, described grid graph data is shown with default page display format.
Wherein, described default page display format can be web page display format.Namely
Saying, described grid graph data is represented by described data display unit 509 with the form of web page
To user.
With reference to Figure 10, for the generation of a kind of based on B/S framework the grid graph data that the application provides
The system architecture schematic diagram of system embodiment eight, wherein, described system can include above-described embodiment
Described in the generating means of grid graph data, the data repository in described device is arranged at clothes
Business device end, user calls described device by browser and realizes the generation of grid graph data.
As shown in Figure 10, the embodiment of the present application is based on Electric Power Network Planning platform, in its data set stratification
Data resource layer, underlying server layer, Business Logic, application service layer can be included and represent
Layer, wherein:
Described data resource layer: be responsible for providing data supporting required when running, comprise graphic data base
And file system;
Described infrastructure service layer: be responsible in the way of interface to serve upper layers, comprise data access
Service, Map Services, graphical services, coloring service etc. service, wherein, and above-mentioned infrastructure service layer
And SotowerDE platform and GIS(Geographic can be passed through between described data resource layer
Information System, GIS-Geographic Information System) realize;
Described Business Logic: be responsible for the realization of each service logic, contain and exhibition platform business is patrolled
Collect the various assemblies carrying out processing, such as geography information correspondence assembly, graphics edition correspondence group in Figure 10
Part, pattern coloring correspondence assembly and the figure corresponding assembly of application etc.;
Described application service layer: be responsible for externally providing service with the form of interface, accesses including map and connects
Mouth and figure access interface, it is provided that map is accessed and operation, the interface of figure associative operation;
The described layer that represents: provide various functions with the form of Web page.
It should be noted that above-mentioned geography information correspondence assembly can pass through GIS GIS-Geographic Information System
Realize.
From in such scheme, Electric Power Network Planning is the important component part of Power System Planning, its
Business is the load growth according to planning period and power source planning scheme determines corresponding optimal electrical network knot
Structure, to meet the requirement that economy reliably transmits electric power.Electric Power Network Planning determines that power network construction project
Research-on-research, directly determine reliability and the economic benefit of electrical network, need substantial amounts of figure to divide
Analysis is supported, needs a complete figure system to support, and needs to be combined with GIS-Geographic Information System
, possess Dynamic graphic display and the figure rapid modeling platform of interactive operation.Therefore, the application
System in embodiment is planned towards power system interactive mode, simulation calculation and other related service,
Use JavaEE technology path, it then follows MVC (model-view-controller, Model-View-control
Device processed) framework develops, and using JavaScript is system external interface, it is provided that data access takes
Business, Map Services, graphical services, coloring service, externally provide map access interface and figure to visit
Ask that interface calls for other system, meet the multi-stage user such as general headquarters (branch), province and district city, county
Planning and designing, meet the application such as major network planning, distribution planning, case study.
As shown in Figure 10, the system in the embodiment of the present application is applied towards power system, and geographical
Information system combines, it is provided that the function of comprehensive and abundant, it is provided that with time, space and electric pressure etc.
Dimension shows Net Frame of Electric Network change procedure;Display thematic map;Etc. high coloring;Operational factor presents
Proprietary feature.System provides GIS-Geographic Information System and configuration tool thereof, manages each geographic area
Map, it is allowed to the importing of map, display configuration;There is provided map denotation, search, range measurement,
Area measurement, scale show, Eagle-eye Map shows, translate Zoom display, mouse position shows
Function;Set up a set of graphics edition subsystem, it is achieved graphics edition, Graphic thinking, pattern coloring,
The functions such as layer management;Realize a set of extendible service application subsystem, it is achieved scene management,
The pattern analysis functions such as topological analysis, multidimensional analysis, inserting drawing merging, data linkage.
From above, grid equipment graphical information is tied mutually by the embodiment of the present application with geography information
Closing, sing on web browser carries out grid equipment figure and quickly generates (modeling);Offer can independently make
Graphical modeling platform, API bag based on JavaScript is provided simultaneously, can realize with all kinds of
B/S framework operation system carries out Seamless integration-;Pattern coloring is combined with graphics edition, it is achieved that
Operation of power networks parameter presents in real time, editing run integration.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe,
What each embodiment stressed is the difference with other embodiments, between each embodiment
Identical similar part sees mutually.
Finally, in addition it is also necessary to explanation, in this article, the relation art of such as first and second or the like
Language is used merely to separate an entity or operation with another entity or operating space, and not necessarily
Require or imply relation or the order that there is any this reality between these entities or operation.And
And, term " includes ", " comprising " or its any other variant are intended to the bag of nonexcludability
Contain, so that include that the process of a series of key element, method, article or equipment not only include those
Key element, but also include other key elements being not expressly set out, or also include for this process,
The key element that method, article or equipment are intrinsic.In the case of there is no more restriction, by statement
The key element that " including one ... " limits, it is not excluded that include the process of described key element, method,
Article or equipment there is also other identical element.
Above the generation method and device of a kind of grid graph data provided herein is carried out
Being discussed in detail, principle and the embodiment of the application are explained by specific case used herein
Stating, the explanation of above example is only intended to help and understands the present processes and core concept thereof;
Simultaneously for one of ordinary skill in the art, according to the thought of the application, in specific embodiment party
All will change in formula and range of application, in sum, this specification content should not be construed as
Restriction to the application.