The modeling method and device of communicating for power information system based on chart database
Technical field
The present invention relates to communication system of power grids technical field, and in particular to a kind of communicating for power information system based on chart database
Modeling method and device.
Background technology
The major function of information communication asset equipment in power network is to realize power network high performance control and automatic management.With
The development of intelligent power grid technology, a large amount of novel electric power apparatus come into operation, and such as distributed energy, intelligent substation is electronic
Car charging station.Such development trend brings stern challenge to communicating for power information asset management, first, in power system
Middle this kind of electrical equipment of management is very necessary, it is therefore desirable to the more servers of installation and deployment, interchanger and other communication equipments.
How growing grid equipment is managed as a urgent problem to be solved.Traditional relevant database can not be met
Such growth requirement.Traditional RDBM Relational Data Base Management technology, in storage size, search efficiency, scalability and mass data
All many-sides such as management all encounter serious technical bottleneck.
The content of the invention
The main purpose of the embodiment of the present invention is to provide a kind of building for communicating for power information system based on chart database
Mould method and device, to overcome the problems such as effectively can not handling Mass Data Management in network system in the prior art.
To achieve these goals, the embodiment of the present invention provides a kind of communicating for power information system based on chart database
Modeling method, described modeling method includes:The attribute information of communicating for power information equipment and grid information system is obtained, according to
The attribute information sets up communicating for power information device node and grid information system node respectively;According to each power information
Annexation between communication equipment sets up the first side structure of each communicating for power information device node of connection, and according to described
Communicating for power information equipment is set up with the subordinate relation of the grid information system and is connected the communicating for power information device node
And the second side structure of grid information system node;According to the communicating for power information device node, grid information system node,
First in structure and second structure set up the diagram data model of the electric power communication device and grid information system.
In one embodiment, above-mentioned communicating for power information equipment includes:Server, storage device and the network equipment;Respectively
The annexation of the communicating for power information equipment room includes:The annexation of the service server and the network equipment, each institute
State the annexation, the annexation of the storage device and LA Management Room and each storage device part of LA Management Room
Annexation;The grid information system is set with being subordinated to server, storage device and the network of the grid information system
Back-up is not connected.
In one embodiment, above-mentioned modeling method also includes:According to each communicating for power information equipment room or each institute
The business datum relation stated between communication system of power grids system sets up three-sided configuration;The three-sided configuration is added to described figure number
According in model.
In one embodiment, the attribute information of above-mentioned communicating for power information equipment includes:Device id, subclass, equipment
Model and device location;The attribute information of the grid information system includes:System Number, systematic name and System describe letter
Breath.
In one embodiment, above-mentioned modeling method also includes:Define described first in structure, second structure and the 3rd
The attribute information of side structure, described first in structure, second attribute information of structure and three-sided configuration at least include:Side
Numbering, device name, systematic name, whether there is type to, side.
The embodiment of the present invention also provides a kind of model building device of the communicating for power information system based on chart database, described
Model building device includes:Node sets up unit, the attribute information for obtaining communicating for power information equipment and grid information system, root
Communicating for power information device node and grid information system node are set up respectively according to the attribute information;Side structure sets up unit,
Each communicating for power information device node is connected for being set up according to the annexation of each communicating for power information equipment room
The first side structure, and set up according to the subordinate relation of the communicating for power information equipment and the grid information system and be connected institute
State the second side structure of communicating for power information device node and grid information system node;Diagram data model sets up unit, is used for
According to the structure foundation in structure and second of the communicating for power information device node, grid information system node, first
The diagram data model of electric power communication device and grid information system.
In one embodiment, above-mentioned communicating for power information equipment includes:Server, storage device and the network equipment;Respectively
The annexation of the communicating for power information equipment room includes:The annexation of the service server and the network equipment, each institute
State the annexation, the annexation of the storage device and LA Management Room and each storage device part of LA Management Room
Annexation;The grid information system is set with being subordinated to server, storage device and the network of the grid information system
Back-up is not connected.
In one embodiment, above-mentioned side structure is set up unit and is additionally operable to:According to each communicating for power information equipment room
Or the business datum relation between each communication system of power grids system sets up three-sided configuration;The three-sided configuration is added to described
Diagram data model in.
In one embodiment, the attribute information of above-mentioned communicating for power information equipment includes:Device id, subclass, equipment
Model and device location;The attribute information of the grid information system includes:System Number, systematic name and System describe letter
Breath.
In one embodiment, above-mentioned model building device also includes:Side attribute definition unit, for defining the first side knot
The attribute information of structure, the second side structure and three-sided configuration, described first in structure, second structure and three-sided configuration category
Property information at least includes:While numbering, device name, systematic name, whether have to, while type.
The beneficial effect of the embodiment of the present invention is, can set up electric power communication network network topological diagram and device systems are closed
Join topological diagram, preferably support equipment asset monitoring and accident analysis function.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a tool of the modeling method of the communicating for power information system based on chart database of the embodiment of the present invention 1
The flow chart of body example;
Fig. 2 is a tool of the model building device of the communicating for power information system based on chart database in the embodiment of the present invention 2
The theory diagram of body example.
Embodiment
Technical scheme is clearly and completely described below in conjunction with accompanying drawing, it is clear that described implementation
Example is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill
The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Be easy to the description present invention and simplify description, rather than indicate or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" the 3rd " is only used for describing purpose, and it is not intended that indicating or implying relative importance.
In the description of the invention, it is necessary to illustrate, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected to by intermediary, can be with
It is the connection of two element internals, can is wireless connection or wired connection.For one of ordinary skill in the art
For, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
As long as in addition, technical characteristic involved in invention described below different embodiments non-structure each other
It can just be combined with each other into conflict.
Embodiment 1
The embodiment of the present invention provides a kind of modeling method of the communicating for power information system based on chart database, such as Fig. 1 institutes
Show, the modeling method mainly comprises the following steps:
Step S101:The attribute information of communicating for power information equipment and grid information system is obtained, according to attribute information point
Communicating for power information device node and grid information system node are not set up;
Step S102:Set up according to the annexation of each communicating for power information equipment room and connect each communicating for power information equipment
First side structure of node, and connection electric power letter is set up according to communicating for power information equipment and the subordinate relation of grid information system
Second side structure of message communication device node and grid information system node;
Step S103:According to communicating for power information device node, grid information system node, first in structure and second
Structure sets up the diagram data model of electric power communication device and grid information system.
Pass through above-mentioned step S101 to step S103, the communicating for power information based on chart database of the embodiment of the present invention
The modeling method of system, sets up electric power communication network network topological diagram and device systems associated topologies figure, and preferably support is set
Standby asset monitoring and accident analysis function.
Below in conjunction with specific example, to the communicating for power information equipment modeling side based on chart database of the embodiment of the present invention
Method is described further.
Above-mentioned step S101, obtains the attribute information of communicating for power information equipment and grid information system, according to attribute
Information sets up communicating for power information device node and grid information system node respectively.
The modeling method of the embodiment of the present invention, is carried out based on chart database.Therefore, communicating for power information system modelling
During all devices and the incidence relation of equipment room can be all indicated by graph model.
In embodiments of the present invention, it is for the communicating for power information equipment and electric network information in communicating for power information system
System constructing node.Specifically, first have to obtain the attribute information of communicating for power information equipment and grid information system, Ran Houjie
The attribute information for closing communicating for power information equipment sets up communicating for power information device node, and combines the attribute of grid information system
Information sets up grid information system node.
In one embodiment, in communicating for power information system, three class physical equipments are mainly included:Server, storage are set
The standby and network equipment.Wherein, server includes polytype server, such as application server (App), data server
(Data), interface server (Port), map server (Map), proxy server (Agent) and F5 load balancing apparatus (F5)
Deng.Storage device is connected with data server therein, and the network equipment is primarily referred to as in communicating for power information system modelling
Interchanger.But the present invention is not limited thereto.
Also, what it is according to above-mentioned different types of physical equipment correspondence establishment is different nodes:Server node, storage
Device node and network equipment node.For different types of node, it comprises different attribute informations, the corresponding category of node
Property information is as shown in table 1 and table 2.
Table 1
Table 2
Device id, subclass, unit type and device location are general-purpose attributes it can be seen from above table.Namely
Say, the node of any classification all at least has this four attributes.And the IP address and network of server apparatus and storage device are set
The interface of standby (interchanger) is one-to-one.It is worth noting that a node may have more than an IP address or more than one
Individual interface.
Operating system, hardware configuration and trunking mode are the particular attributes of server apparatus.Operating system can be any
The Windows or Linux of version;Hardware configuration mainly describes core cpu, dominant frequency and the memory size of server;Cluster side
Formula refers to the trunking mode of the Servers-all in the topological relation (such as F5 or RAC) of a server cluster, same cluster
Attribute is identical.
In general, a server can only belong to a grid information system.In one embodiment, electric network information system
System includes State Grid Corporation of China's information O&M comprehensive monitoring system (IMS), State Grid Corporation of China's Production MIS (PMS)
With State Grid Corporation of China's GIS-Geographic Information System (GIS) etc..
For grid information system, its attribute information mainly includes:System Number, systematic name, System describe information etc..
It should be noted that above-mentioned attribute information and grid information system type etc. are for example, and not using
To show the present invention.
Above-mentioned step S102, sets up each power information of connection according to the annexation of each communicating for power information equipment room and leads to
Believe the first side structure of device node, and connection is set up according to communicating for power information equipment and the subordinate relation of grid information system
Second side structure of communicating for power information device node and grid information system node.
Wherein, the first side structure corresponds to the annexation of communicating for power information equipment room.In communicating for power information system
In construction in a systematic way mould, the annexation of equipment room is modeled using two-way side, a piece optical cable of correspondence per a line.Side two ends can
It is as shown in table 3 with the device type of connection.
Table 3
Second side structure corresponds to communicating for power information equipment and the subordinate relation of grid information system.In power information
In communication system modeling, the subordinate relation of communicating for power information equipment and grid information system is to represent communicating for power information equipment
Whether the grid information system is subordinated to.For be subordinated to the grid information system physical equipment (server, storage device and
The network equipment), the grid information system is connected respectively with server, storage device and the network equipment.
Above-mentioned step S103, according to communicating for power information device node, grid information system node, the first side structure and
Second side structure sets up the diagram data model of electric power communication device and grid information system.
Node and the corresponding side in communicating for power information system are established by above-mentioned step S101 and step S102
After structure, the diagram data model of communicating for power information system is set up according to the node and side structure.
By the modeling method of the communicating for power information system based on chart database of the embodiment of the present invention, diagram data is utilized
In node, side, the concept of attribute go to describe the annexation in communicating for power information system.Wherein, node correspondence is specific
Physical equipment (such as network equipment, server, storage device) and virtual grid information system (power grid GIS,
GIS) etc..Physical couplings between the corresponding device of side, such as certain server connects some network equipment, and side is also to represent
The attaching relation of equipment and grid information system, such as certain server belongs to power grid GIS system.Attribute can both have been described a little
The version model of feature, such as equipment, the title of network system etc., the feature on side can also be described, the type on such as side is that physics connects
Edge fit or system ownership side.Realize the flexible storage of incidence relation, additions and deletions, modification and inhomogeneity between equipment and system
The modeling of type annexation by the efficiency of management and convenience of annexation in significant increase communicating for power information equipment control, and
And topological analysis of the support based on incidence relation, the topological analysis of communicating for power information equipment.
In one embodiment, the modeling method of the communicating for power information system based on chart database of the embodiment of the present invention,
Also include the step of setting up business relations structure.
Specifically according to the business datum relation between communicating for power information equipment or between grid information system, building
Vertical three-sided configuration, and the three-sided configuration is added in diagram data model, the three-sided configuration can be described as service logic side,
To embody the business relations between communicating for power information equipment or between grid information system.
In one embodiment, for set up in said process first in structure, second structure and three-sided configuration,
Its attribute information of definable.Wherein, equipment connection includes in the attribute information of data structure (structure when first):The numbering on side,
The title of equipment 1, the title of equipment 2, if oriented, the attribute on side.Equipment subordinate is believed in the attribute of data structure (structure when second)
Breath includes:The numbering on side, device name, systematic name, if oriented, the attribute on side.System business logic side data structure (the
Three-sided configuration) attribute information include:The numbering on side, the title of system 1, the title of system 2, if oriented, the attribute on side.Namely
Say, for set up in said process first in structure, second structure and three-sided configuration, its attribute information at least includes
While numbering, device name, systematic name, whether have to, while type etc., specifically can also be adjusted according to the difference on side
It is whole.
The modeling method of the communicating for power information system based on chart database of the embodiment of the present invention, can also realize equipment room
Or the description of the business relations between system, by the sign of such relation, it can be determined by the analysis of specific topological relation
Coverage of the system failure etc..
Embodiment 2
The embodiment of the present invention provides a kind of model building device 1 of the communicating for power information system based on chart database, such as Fig. 2 institutes
Show, the model building device 1 mainly includes:Node sets up that unit 11, side structure set up unit 12 and diagram data model sets up unit 13.
Wherein, node sets up the attribute information that unit 11 is used to obtain communicating for power information equipment and grid information system,
Set up communicating for power information device node and grid information system node respectively according to attribute information;Side structure is set up unit 12 and used
Tied in the first side that each communicating for power information device node of connection is set up according to the annexation of each communicating for power information equipment room
Structure, and connection communicating for power information device node is set up according to communicating for power information equipment and the subordinate relation of grid information system
And the second side structure of grid information system node;Diagram data model, which sets up unit 13, to be used for according to communicating for power information equipment section
The structure in structure and second of point, grid information system node, first sets up the figure of electric power communication device and grid information system
Data model.
Pass through the collaborative work between each above-mentioned part, the power information based on chart database of the embodiment of the present invention
The model building device 1 of communication system, can set up electric power communication network network topological diagram and device systems associated topologies figure, more preferably
The monitoring of ground support asset of equipments and accident analysis function.
Below in conjunction with specific example, the communicating for power information equipment modeling based on chart database of the embodiment of the present invention is filled
Each part and its function put in 1 are described further.
Above-mentioned node sets up unit 11, and the attribute for obtaining communicating for power information equipment and grid information system is believed
Breath, communicating for power information device node and grid information system node are set up according to attribute information respectively.
The modeling process that the model building device 1 of the embodiment of the present invention is realized, is carried out based on chart database.Therefore, it is electric
The incidence relation of all devices and equipment room in force information communication system modeling process can be all indicated by graph model.
In embodiments of the present invention, it is for the communicating for power information equipment and electric network information in communicating for power information system
System constructing node.Specifically, first have to obtain the attribute information of communicating for power information equipment and grid information system, Ran Houjie
The attribute information for closing communicating for power information equipment sets up communicating for power information device node, and combines the attribute of grid information system
Information sets up grid information system node.
In one embodiment, in communicating for power information system, three class physical equipments are mainly included:Server, storage are set
The standby and network equipment.Wherein, server includes polytype server, such as application server (App), data server
(Data), interface server (Port), map server (Map), proxy server (Agent) and F5 load balancing apparatus (F5)
Deng.Storage device is connected with data server therein, and the network equipment is primarily referred to as in communicating for power information system modelling
Interchanger.But the present invention is not limited thereto.
Also, what it is according to above-mentioned different types of physical equipment correspondence establishment is different nodes:Server node, storage
Device node and network equipment node.For different types of node, it comprises different attribute informations, the corresponding category of node
Property information is as shown in table 1 and table 2.
Device id, subclass, unit type and device location are general-purpose attributes it can be seen from table 1 and table 2.Namely
Say, the node of any classification all at least has this four attributes.And the IP address and network of server apparatus and storage device are set
The interface of standby (interchanger) is one-to-one.It is worth noting that a node may have more than an IP address or more than one
Individual interface.
Operating system, hardware configuration and trunking mode are the particular attributes of server apparatus.Operating system can be any
The Windows or Linux of version;Hardware configuration mainly describes core cpu, dominant frequency and the memory size of server;Cluster side
Formula refers to the trunking mode of the Servers-all in the topological relation (such as F5 or RAC) of a server cluster, same cluster
Attribute is identical.
In general, a server can only belong to a grid information system.In one embodiment, electric network information system
System includes State Grid Corporation of China's information O&M comprehensive monitoring system (IMS), State Grid Corporation of China's Production MIS (PMS)
With State Grid Corporation of China's GIS-Geographic Information System (GIS) etc..
For grid information system, its attribute information mainly includes:System Number, systematic name, System describe information etc..
It should be noted that above-mentioned attribute information and grid information system type etc. are for example, and not using
To show the present invention.
Above-mentioned side structure sets up unit 12, is connected for being set up according to the annexation of each communicating for power information equipment room
First side structure of each communicating for power information device node, and according to communicating for power information equipment and the subordinate of grid information system
Relation sets up the second side structure of connection communicating for power information device node and grid information system node.
Wherein, the first side structure corresponds to the annexation of communicating for power information equipment room.In communicating for power information system
In construction in a systematic way mould, the annexation of equipment room is modeled using two-way side, a piece optical cable of correspondence per a line.Side two ends can
It is as shown in table 3 with the device type of connection.
Second side structure corresponds to communicating for power information equipment and the subordinate relation of grid information system.In power information
In communication system modeling, the subordinate relation of communicating for power information equipment and grid information system is to represent communicating for power information equipment
Whether the grid information system is subordinated to.For be subordinated to the grid information system physical equipment (server, storage device and
The network equipment), the grid information system is connected respectively with server, storage device and the network equipment.
Above-mentioned diagram data model sets up unit 13, for according to communicating for power information device node, grid information system
The structure in structure and second of node, first sets up the diagram data model of electric power communication device and grid information system.
Unit 11 is set up by above-mentioned node and side structure sets up unit 12 and establishes communicating for power information system respectively
In node and corresponding side structure after, you can unit 13 is set up by diagram data model, set up according to the node and side structure
The diagram data model of communicating for power information system.
By the model building device 1 of the communicating for power information system based on chart database of the embodiment of the present invention, figure number is utilized
Node, side, the concept of attribute in go to describe the annexation in communicating for power information system.Wherein, node correspondence is specific
Physical equipment (such as network equipment, server, storage device) and virtual grid information system (power network geography information system
System, GIS) etc..Physical couplings between the corresponding device of side, such as certain server connects some network equipment, and side is also used to
The attaching relation of equipment and grid information system is represented, such as certain server belongs to power grid GIS system.Attribute can both be described
The feature of point, the version model of such as equipment, the title of network system etc., the feature on side can also be described, the type on such as side is thing
Reason connection is in still system ownership.Realize the flexible storage of incidence relation between equipment and system, additions and deletions, modification and not
The modeling of same type annexation is by the efficiency of management of annexation in significant increase communicating for power information equipment control and convenient
Property, and support the topological analysis based on incidence relation, the topological analysis of communicating for power information equipment.
In one embodiment, the side structure of the embodiment of the present invention sets up unit 12, is additionally operable to execution one and sets up business relations
The step of structure.
Specifically, it is according between communicating for power information equipment or between grid information system that side structure, which sets up unit 12,
Business datum relation, sets up three-sided configuration, and the three-sided configuration is added in diagram data model, and the three-sided configuration can
Referred to as service logic side, to embody the business relations between communicating for power information equipment or between grid information system.
In one embodiment, for set up in said process first in structure, second structure and three-sided configuration,
Its attribute information of definable.Wherein, equipment connection includes in the attribute information of data structure (structure when first):The numbering on side,
The title of equipment 1, the title of equipment 2, if oriented, the attribute on side.Equipment subordinate is believed in the attribute of data structure (structure when second)
Breath includes:The numbering on side, device name, systematic name, if oriented, the attribute on side.System business logic side data structure (the
Three-sided configuration) attribute information include:The numbering on side, the title of system 1, the title of system 2, if oriented, the attribute on side.Namely
Say, for set up in said process first in structure, second structure and three-sided configuration, its attribute information at least includes
While numbering, device name, systematic name, whether have to, while type etc., specifically can also be adjusted according to the difference on side
It is whole.
The model building device 1 of the communicating for power information system based on chart database of the embodiment of the present invention, can also realize equipment
Between or system between business relations description, by the sign of such relation, can by the analysis of specific topological relation come really
Determine coverage of the system failure etc..
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
Obviously, above-described embodiment is only intended to clearly illustrate example, and the not restriction to embodiment.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of change or
Change.There is no necessity and possibility to exhaust all the enbodiments.And the obvious change thus extended out or
Among changing still in the protection domain of the invention.