CN107025279A - The online parallel deployment system and method for SCD file based on database interface layer operation stream - Google Patents
The online parallel deployment system and method for SCD file based on database interface layer operation stream Download PDFInfo
- Publication number
- CN107025279A CN107025279A CN201710190995.6A CN201710190995A CN107025279A CN 107025279 A CN107025279 A CN 107025279A CN 201710190995 A CN201710190995 A CN 201710190995A CN 107025279 A CN107025279 A CN 107025279A
- Authority
- CN
- China
- Prior art keywords
- configuration
- ied
- database
- scd file
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 82
- 230000006870 function Effects 0.000 claims description 92
- 238000007726 management method Methods 0.000 claims description 27
- 241001269238 Data Species 0.000 claims description 21
- 230000009471 action Effects 0.000 claims description 9
- 230000009977 dual effect Effects 0.000 claims description 7
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 238000013500 data storage Methods 0.000 claims 1
- 238000012986 modification Methods 0.000 abstract description 16
- 230000004048 modification Effects 0.000 abstract description 16
- 238000013507 mapping Methods 0.000 abstract description 6
- 230000000875 corresponding effect Effects 0.000 description 18
- 230000008859 change Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 241000272814 Anser sp. Species 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 3
- 239000011800 void material Substances 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000013479 data entry Methods 0.000 description 2
- 238000004080 punching Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/84—Mapping; Conversion
- G06F16/88—Mark-up to mark-up conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Water Supply & Treatment (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention discloses a kind of online parallel deployment system of the SCD file based on database interface layer operation stream and collocation method, when applying, whole station SCD file is parsed first, by IED device models therein and communication subnet, it is mapped to IED device databases and communication subnet database, simultaneously by setting up interface layer on database layer, interface function is set, in application layer, configuration operation interface is set, so that user can input configuration order and configuration parameter by configuring operation interface, and then the interface function provided by database interface layer, realize the access and modification to database, then the mapping relations between database and SCD file are passed through, realize the configuration to SCD file.It is of the invention to be handled user the modification of IED files successively in the form of operation stream in parallel deployment, the data in database are modified one by one, modification result is back to configuration slave by interface function.Multi-person synergy configuration SCD file has can be achieved in the present invention, it is to avoid configuration conflict, allocative efficiency is improved, while configuration error can be reduced.
Description
Technical field
It is particularly a kind of to be based on database interface layer operation stream the present invention relates to intelligent substation technical field of data processing
The online parallel deployment system and method for SCD file.
Background technology
In intelligent substation, the information exchange of all types of intelligent electronic devices (IED) is dependent on substation configuration description text
Part (SCD).SCD file whole station is unique, comprising all information in station, describe all IED exemplary configuration and messaging parameter and
Communication configuration between IED.And SCD file often bulky, up to MB up to a hundred, complete loading this document speed is slower, and deposits
In configuration, visualization is low, and configuration speed is slow, it is impossible to the shortcomings of parallel deployment.Current SCD configuration softwares are using single single
Machine manual configuration, solves the problem of visualization is low to a certain extent, but can not many people the problem of configure simultaneously still
In the presence of.
The content of the invention
The technical problem to be solved in the present invention is:The characteristics of based on IED models, using database technology by SCD file
Each empty terminal information model mapping, into database, is communicator netting index as IED data base entries by IED object maps
According to storehouse;Interface layer is created, database is modified by interface layer, and then realizes modification to SCD file, while using connecing
Mouth layer operation stream avoids operation from conflicting so that modification result tunable updates, and realizes parallel deployment.
Currently, smart machine has been based on IEC61850 standards and sets up object oriented programming model in intelligent substation, and mostly
Number configuration tool has been provided with parsing SCD file, extracts substation IED(IED)The function of object, is to combine number of objects
The basis of data platform is set up according to storehouse technology.By the configuration of SCD file, connection and the communication subnet of empty terminal line are abstracted into
Configuration, realizes the decoupling of equipment room, is parellel arranged basis.Contention mechanism is prevented by database, can be solved as follows
The problem of SCD file parallel deployment technology:One, the Multi-Machine Synchronous loading problem of SCD file;Two, online many people configure simultaneously and
Change modification collision problem during SCD file;Three, the consolidation problem after respective separate configurations SCD file.
The technical scheme that the present invention takes is specially:A kind of SCD file based on database interface layer operation stream is online simultaneously
Row configuration system, Configuration Online group includes the host server and multiple configuration slaves connected by LAN;
File layers and database layer are set on host server, and file layers store SCD file to be configured, and host server is treated
Configuration SCD file is parsed, and is obtained the wherein corresponding IED device datas of IED models and communication subnet data, is stored in data
Storehouse layer;
Application layer is set on each configuration slave, the configuration interface for carrying out SCD file configuration is provided the user, user by with
Put interface and send configuration order, user configuring order includes action type and configuration parameter;
Host server is with each configuration slave by interface layer connection communication, and interface layer includes the configuration of correspondence different operating type
Interface, each configuration interface is respectively equipped with corresponding configuration function;Interface layer receives the user that user is sent by each configuration slave
Configuration order, respectively successively according to the action type and configuration parameter of user configuring order, calls the configuration of corresponding configuration interface
Function, by the configuration function containing configuration parameter, adds operation queue, and in the case of without configuration conflict, operation is performed successively
Each configuration function in queue, is configured with the IED device datas or communication subnet data that are stored to database layer;
Host server will be mapped to file layers every setting time with the IED device datas and communication subnet data that postpone
In SCD file, that is, complete the configuration to SCD file.
The present invention is in use, the user configuring order sent for different configuration slaves, interface layer is matched somebody with somebody according to interface layer
The called sequencing of function is put, each configuration function is performed respectively successively in the way of operation stream, to the IED numbers of database layer
According to being written and read operation, it is to avoid operation conflict.If there are two users is almost simultaneously emitted by configuration order to same IED, due to
System refresh frequency etc. influences, and the allocating time of configuration order docking port function can be distinct, is pressed using the thought of operation stream
The order being called according to interface function is performed successively, you can avoid operation from conflicting.
" in the case of no configuration conflict " of the present invention is:Configured in preceding configuration from rear based on different SCD versions pair
IED modifies;Or in preceding configure with being based on identical SCD versions in rear configuration, in preceding configuration with configuring right respectively rear
Different IED modify;Or the interface function correspondence read-only operation of configuration operation calls, then it will not be to follow-up configuration
Operation causes configuration conflict.If preceding configuration operation and posterior configuration operation are entered based on same SCD versions to same IED
Row modification, previous item configures the parameter that operation change latter configuration operation is related to, then two configuration operations are in the presence of configuration punching
It is prominent, the now i.e. execution of refusal latter operation.When causing configuration conflict, host server is not performed in rear configuration function pair
The configuration operation answered, while host server returns to configuration conflict information to corresponding configuration slave.
Because read-only operation does not result in configuration conflict, in order to improve in the utilization ratio of system, the present invention, for respectively matching somebody with somebody
The user configuring order that slave is sent is put, only when the corresponding configuration function of user configuring order is read-write operation, user is matched somebody with somebody
Put the corresponding configuration function of order and add operation queue.
In the present invention, interface layer configuration function includes headway management function, engineering management function, volume management function, IED
Type selecting function, physical loop function, communication configuration function, empty loop configuration function and Report Server Management function.Accordingly, each configuration
On the configuration interface that slave is provided, the selection and input of user configuring order and parameter provided with the above-mentioned each configuration function of correspondence enter
Mouthful.Wherein, engineering management function, headway management function, volume management function set the description information to transformer station, and this part is repaiied
Change transformer station's description section in only influence SCD file.IED type selecting function manual modifications IED models.Physical loop function, void
Loop configuration function is used to configure different types of empty terminal line.The configuration function that communicates is used for bar in manual modification communication subnet
Mesh.Report Server Management function is output SCD file information.
It is preferred that, the initial IED device datas and communication subnet data of database layer storage are initially to wait to match somebody with somebody by traversal
The SCL language tags put in SCD file are obtained.Specially travel through element in SCL language<Header>、<Substation>、<
Communication>、<IED>With<DataTypeTemplates>Corresponding data.In the communication subnet part of SCD file,<
Communication>Element includes 6<SubNetwork>6 subnets inside daughter element, correspondence intelligent substation:MMS
Each two of net, GOOSE subnets, SV subnets.The parsing of SCD file can also use other prior arts.
It is preferred that, in host server, SCD file to be configured is stored on hard disk, IED device datas and communicator
Network data is stored in internal memory;IED device data and communicator netting index of the host server every setting time in internal memory
According to the SCD file updated in a hard disk.The interval of setting time can need to be configured according to user, to ensure SCD file
Can it is synchronous with IED equipment in time on the basis of, such as set interval slightly longer than complete S CD file load time, 100ms.
In order to ensure SCD file real-time effectiveness so that the staff of multiple configuration slaves can be known currently in time
IED configuring conditions, and then the configuration that will be carried out is adjusted as needed.The present invention deletes internal memory after the renewal of each SCD file
In database temporary file, i.e., database layer storage IED device datas and communication subnet data, then in follow-up configuration
In current updated SCD file is parsed again, the new IED device datas of acquisition and communication subnet data, now,
All configurations operation before SCD file updates will not cause configuration conflict to influence follow-up configuration operation.
It is preferred that, IED device datas of the present invention constitute IED tables of data, and IED tables of data includes the dual assumed names of IED
Title, logical device first address and subnet address, wherein IED equipment dual name are referred to as major key;Communication subnet data constitute logical
Believe sub-network data table, communication subnet tables of data includes:Empty terminal numbering, empty terminal model, connected other empty terminal numberings, void
The input and output attribute of terminal, wherein empty terminal model is as major key, empty terminal model include IED equipment belonging to empty terminal,
Logical device, logical node, data object.
Invention additionally discloses a kind of online parallel configuration method of SCD file based on database interface layer operation stream, including
Step:
S1, loads and parses SCD file to be configured, obtains the data related to each IED object models, generates IED number of devices
According to storehouse and communication subnet database;
S2, obtains the configuration order that user sends, corresponding configuration is called according to the action type and configuration parameter of configuration order
Function;
S3, the sequencing being called according to the corresponding configuration function of each configuration order carries out operation queue sequence, then successively
According to the corresponding action type of each configuration function and configuration parameter in operation queue, to IED databases and communication subnet database
In data carry out configuration operation;
S4, every a setting time, according to the real time data in IED device databases and communication subnet database, updates and waits to match somebody with somebody
The SCD file put.
In step S1, the load mode of the SCD file can be any prior art, the IED object models of formation
Level is followed successively by from top to bottom:Logical device, logical node, data object, data attribute.Empty terminal model bag in communication subnet
Include:Affiliated physical equipment(IED), logical device, logical node, data object.
In step S3, if the configuration order that user sends is to the number in IED device databases or communication subnet database
According to read-only operation is carried out, then corresponding operation operation queue is not included in.Because read-only operation will not be in change data storehouse number
According to, therefore conflict when will not bring parallel deployment, read-only operation addition operation queue can not improved into the work of configuration system
Efficiency.
In order to ensure SCD file real-time effectiveness so that the staff of multiple configuration slaves can be known currently in time
IED configuring conditions, and then the configuration that will be carried out is adjusted as needed.In step S4 of the present invention, updated in each SCD file
Afterwards, IED device databases and communication subnet database are deleted, then current updated SCD file is parsed, obtains new
IED device databases and communication subnet database, and based on new IED device databases and communication subnet database, perform
Configuration function in subsequent operation queue.Now, all configurations operation before SCD file updates will not be grasped to follow-up configuration
Configuration conflict is caused to influence.
Beneficial effect
The present invention is mapped by will be formed between the IED object models and database in SCD file, then utilizes operation stream(I.e.
Operation queue)To coordinate the configuration of database to be operated during many people's configurations, and then realize the parallel deployment to SCD file, it is to avoid
Operation conflict, realizes multi-person synergy configuration SCD file, improves allocative efficiency, while configuration error can be reduced.
Brief description of the drawings
Fig. 1 show parallel deployment system software layering schematic diagram of the present invention;
Fig. 2 show SCD file configuration flow schematic diagram;
Fig. 3 show the IED device level structural representations after parsing;
Fig. 4 show IED device data entry expanded schematic diagrams;
Fig. 5 show communication subnet database schematic diagram;
Fig. 6 show a kind of concrete application embodiment schematic flow sheet of the invention.
Embodiment
Further described below in conjunction with the drawings and specific embodiments.
Embodiment 1
With reference to shown in Fig. 1, the SCD file online parallel deployment system of the invention based on database interface layer operation stream is matched somebody with somebody online
Put host server and multiple configuration slaves that group includes connecting by LAN;
File layers and database layer are set on host server, and file layers store SCD file to be configured, and host server is to band
Configuration SCD file is parsed, and is obtained the wherein corresponding IED device datas of IED models and communication subnet data, is stored in data
Storehouse layer;
Application layer is set on each configuration slave, the configuration interface for carrying out SCD file configuration is provided the user, user by with
Put interface and send configuration order, user configuring order includes action type and configuration parameter;
By interface layer connection communication between host server and configuration slave, interface layer includes matching somebody with somebody for correspondence different operating type
Interface is put, each configuration interface is respectively equipped with corresponding configuration function;Interface layer receives the user configuring life that each configuration slave is sent
Order, respectively successively according to the action type and configuration parameter of user configuring order, calls the configuration function of corresponding configuration interface, will
Configuration function containing configuration parameter, adds operation queue, and in the case of Lothrus apterus, respectively matching somebody with somebody in operation queue is performed successively
Function is put, is configured with the IED device datas or communication subnet data that are stored to database layer;
Host server will be mapped to file layers every setting time with the IED device datas and communication subnet data that postpone
In SCD file, that is, complete the configuration to SCD file.
The present invention is in use, the user configuring order sent for different configuration slaves, interface layer is matched somebody with somebody according to interface layer
The called sequencing of function is put, each configuration function is performed respectively successively in the way of operation stream, to the IED numbers of database layer
According to being written and read operation.If certain interface function performed correspondence read-only operation, it will not be caused to follow-up configuration operation
Conflict;If the interface function correspondence read-write operation performed, the configuration operation of next interface function in operation stream may be made
Into conflict, when causing conflict, then the configuration operation of next configuration function is not performed, while host server is to corresponding
Configure slave and return to operation conflicting information.
Because read-only operation does not result in configuration conflict, in order to improve in the utilization ratio of system, the present invention, for respectively matching somebody with somebody
The user configuring order that slave is sent is put, only when the corresponding configuration function of user configuring order is read-write operation, user is matched somebody with somebody
Put the corresponding configuration function of order and add operation queue.
Such as Fig. 1, interface layer configuration function includes headway management function, engineering management function, volume management function, IED choosings
Type function, physical loop function, communication configuration function, empty loop configuration function and Report Server Management function.Accordingly, each configuration from
On the configuration interface that machine is provided, the selection and input of user configuring order and parameter provided with the above-mentioned each configuration function of correspondence enter
Mouthful.Wherein, engineering management function, headway management function, volume management function set the description information to transformer station, and this part is repaiied
Change transformer station's description section in only influence SCD file.IED type selecting function manual modifications IED models.Physical loop function, void
Loop configuration function is used to configure different types of empty terminal line.The configuration function that communicates is used for bar in manual modification communication subnet
Mesh.Report Server Management function is output SCD file information.
It is preferred that, the initial IED device datas and communication subnet data of database layer storage are initially to wait to match somebody with somebody by traversal
The SCL language tags put in SCD file are obtained.For a SCD file, only SCD file is loaded by traveling through SCL language tags
Five kinds of elements, including:<Header>,<Substation>,<Communication>,<IED>,<
DataTypeTemplates>, and not all SCD file.In the communication subnet part of SCD file,<Communication>
Element includes 6<SubNetwork>6 subnets inside daughter element, correspondence intelligent substation:MMS subnets, GOOSE subnets, SV
Each two of subnet.Because SCL language is the subset of XML language, that is, it is complete phase to search SCL language tags and XML language mark
With.The parsing of SCD file can also use other prior arts.
It is preferred that, in host server, SCD file to be configured is stored on hard disk, IED device datas and communicator
Network data is stored in internal memory;IED device data and communicator netting index of the host server every setting time in internal memory
According to the SCD file updated in a hard disk.The interval of setting time can need to be configured according to user, to ensure SCD file
Can it is synchronous with IED equipment in time on the basis of.
It is preferred that, IED device datas of the present invention constitute IED tables of data, and IED tables of data includes the dual assumed names of IED
Title, logical device first address and subnet address, wherein IED equipment dual name are referred to as major key;Communication subnet data constitute logical
Believe sub-network data table, communication subnet tables of data includes:It is empty terminal numbering, empty terminal model, the empty terminal numbering being attached thereto, defeated
Enter output attribute, wherein empty terminal model is used as major key.
Embodiment 2
With reference to shown in Fig. 6, a kind of online parallel configuration method of SCD file based on database interface layer operation stream, including step:
S1, loads SCD file to be configured, and store;
S2, parses SCD file, obtains the data related to each IED object models, generation IED device databases and communication subnet
Database;
S3, obtains the configuration order that user sends, and the sequencing sent according to user configuring order carries out operation queue sequence,
Then successively according to the action type and configuration parameter of each user configuring order in operation queue, to the data in IED databases
Carry out configuration operation;
S4, every a setting time, according to the real time data in IED device databases and communication subnet database, updates and waits to match somebody with somebody
The SCD file put.
In step S1, the load mode of the SCD file can be any prior art, the IED object models of formation
Level is followed successively by from top to bottom with reference to shown in Fig. 3:Logical device, logical node, data object, data attribute.It is empty in communication subnet
Shown in terminal model reference Fig. 5, including:Affiliated physical equipment(IED), logical device, logical node, data object.
In step S3, if the configuration order that user sends is to the number in IED device databases or communication subnet database
According to read-only operation is carried out, then corresponding operation operation queue is not included in.Because read-only operation will not be in change data storehouse number
According to, therefore conflict when will not bring parallel deployment, read-only operation addition operation queue can not improved into the work of configuration system
Efficiency.
Embodiment 3
After SCD file configuration flow schematic diagram with reference to shown in Fig. 2, the SCD file for opening file layers storage, it is solved
Analysis, obtains IED mounted casts and communication subnet, then by IED mounted casts and communication subnet, the data stored with database layer
Storehouse entry sets up mapping, obtains substation secondary IED device databases and communication subnet database.Communication subnet database includes
After the subnet of SV, GOOSE, MMS tri-, dual, six communication subnet databases altogether.The items for information of each database before configuration
Be it is incomplete, lacking in be configuration information.In configuration process, configuration information is write by interface layer functions, be have modified
These entries, form complete IED device databases and communication subnet database, that is, form complete Substation IED object mould
Type and communication subnet, and then obtained by back mapping with the SCD file postponed.
The existing many methods of the parsing of current SCD file, can finally obtain IED models and communication subnet attribute, i.e.,
Through the mapping relations between IED models, communication subnet and SCD can be realized.But IED models, communication subnet and the data
Being mapped between storehouse waits to set up.The IED model hierarchies that the parsing of current SCD file is obtained are as shown in figure 3, be followed successively by:IED-
Logical device LD- logical node LN- data object DO- data models DA.I.e.:The logical device LD quantity that IED includes is not true
Fixed, the logical node LN quantity that logical device LD is included is also uncertain, it is impossible to obtain the IED database bars of Unified Form
Mesh.Therefore the present invention uses storage of linked list, as shown in figure 4, a retention logic equipment LD in the Data Entry of IED device databases
First address LD Header, so as to realize IED models to the mapping of database.
With reference to shown in Fig. 5, communication subnet data base entries include:Empty terminal numbering, empty terminal model(Major key, including institute
The IED equipment of category, logical device, logical node, data object), connected empty terminal numbering and empty terminal input and output category
Property.When loading SCD, by IED models and communication subnet model, empty terminal model can be formed, staff is configured again
When, the empty terminal for insert empty terminal numbering, being attached thereto is numbered, input and output attribute.
To solve collision problem during many people's configurations, the present invention uses layered software architecture, including file layers, database
Layer, interface layer, senior application layer, as shown in figure 4, the configuration software being related to includes file layers, database layer, interface layer, application
Layer, wherein open interface layer, write the senior application of application layer.In file layers, to need the SCD file configured, hard disk is stored in
On.In database layer, by traveling through the mark in SCD file, the database based on substation secondary IED equipment and communication are set up
Subnet database, is resided in internal memory, is regularly stored on hard disk.Interface layer is that configuration slave and host server provide communication
Interface, interface layer software includes running on the part of slave and runs on the part of main frame, and configuration function is arranged at server master
Machine.Slave partial software is used for Configuration Type and the parameter selected according to user by application interface, sends to include to main frame and matches somebody with somebody
Put the order data of type and parameter;Host machine part software is used to configure letter according to the slave machine order data call main frame of reception
Number, and configuration operation is carried out, by configuration parameter write into Databasce.
In order to ensure SCD file real-time effectiveness so that the staff of multiple configuration slaves can be known currently in time
IED configuring conditions, and then the configuration that will be carried out is adjusted as needed.The present invention deletes internal memory after the renewal of each SCD file
The IED device databases and communication subnet database of upper storage, then parse to current updated SCD file, obtain
New IED device databases and communication subnet database, and based on new IED device databases and communication subnet database, hold
Configuration function in row subsequent operation queue.Now, all configurations operation before SCD file updates will not be to follow-up configuration
Operation causes configuration conflict to influence.
The core interface function of interface layer of the present invention includes:Engineering management interface, headway management interface, volume management connect
Mouth, IED type selectings interface, physical loop interface, communication configuration interface, empty loop configuration interface, Report Server Management interface.Wherein, work
Thread management interface, headway management interface, volume management interface set the description information to transformer station, and the modification of this part only influences
Transformer station's description section in SCD file.IED type selecting interface manual modification IED models.Physical loop interface, empty loop configuration connect
Mouth is used to configure different types of empty terminal line.Communication configuration interface is used for entry in manual modification communication subnet.Form pipe
Reason interface is used to export SCD file information.
When being configured, user is operated on the interface that senior application is provided, and inputs configuration parameter, and senior application is adjusted
With interface layer function access database object, in calling interface layer functions, function parameter includes:Operate be related to IED devices,
Communication subnet, empty terminal line, empty terminal line include:Connected empty terminal numbering, the empty terminal numbering being attached thereto, input
Output attribute, is connected with to set up empty terminal between IED equipment and communication subnet.Because IED devices are wrapped in IED databases
Empty terminal model is contained, empty terminal line parameter contains the numbering of input and the empty terminal of output, so as to can realize to communicator
The related data of two entries in net is modified.
If the present invention is in use, when user initiates configuration operation requests, previous name user has completed operation, and
Database layer is have updated, then will not occur configuration conflict.By taking Fig. 6 as an example, asked when two users almost initiate configuration operation simultaneously
Ask, simultaneity is good enough, when second place user initiates operation, the operation of first place user not yet terminates, and is so likely to cause
Configuration conflict.
Fig. 6 illustrates the situation of configuration conflict.Completed on server host after a SCD renewal, simultaneity preferable two
The configuration of name user is operated into the operation that two users are stored in operation queue, operation queue.The configuration of first place user please
Ask and performed first by interface function, IED equipment and GOOSE nets, SV nets, MMS nets in modification database.After being finished,
After being finished, implementing result is sent to each slave, refreshes the SCD data that can be seen on display configuration slave, host services
Device, which goes to find in operation stream, performs next interface function, and the now configuration operation of two users is based on identical IED device datas
Storehouse and communication subnet database version, can if preceding operation does not conflict without reference in the related IED of rear operation
Normal perform is continued after interface function, successful execution;If preceding operation in the related IED of rear operation to being modified,
The IED of visible modification is refreshed on generation configuration conflict, slave, and server host is returned after conflicting information to configuration slave, is lost
This is abandoned in rear operation.Until completing all operations in operation queue.
The related function parameter of each configuration of the invention is sent to database by interface layer with the operation packing carried out and performed, shape
Into operation stream, i.e. operation queue.Due to operation stream transmission and to perform the operation of relative human configuration be instantaneous, the i.e. present invention
Operation can be avoided to conflict by the operation stream of interface.
The present invention is mapped by that will be formed between the IED object models and database in SCD file, then using operating team
Arrange to coordinate to operate the configuration of database during many people configuration, and then realize the parallel deployment to SCD file, it is to avoid operation punching
It is prominent, multi-person synergy configuration SCD file is realized, allocative efficiency is improved, while configuration error can be reduced.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, without departing from the technical principles of the invention, some improvement and deformation can also be made, these improve and deformed
Also it should be regarded as protection scope of the present invention.
Claims (9)
1. a kind of online parallel deployment system of SCD file based on database interface layer operation stream, it is characterized in that, Configuration Online group
Including the host server and multiple configuration slaves connected by LAN;
File layers and database layer are set on host server, and file layers store SCD file to be configured, and host server is to band
Configuration SCD file is parsed, and is obtained the wherein corresponding IED device datas of IED models and communication subnet data, is stored in data
Storehouse layer;
Application layer is set on each configuration slave, the configuration interface for carrying out SCD file configuration is provided the user, user by with
Put interface and send configuration order, user configuring order includes action type and configuration parameter;
By interface layer connection communication between host server and configuration slave, interface layer includes matching somebody with somebody for correspondence different operating type
Interface is put, each configuration interface is respectively equipped with corresponding configuration function;Interface layer receives the user configuring life that each configuration slave is sent
Order, respectively successively according to the action type and configuration parameter of user configuring order, calls the configuration function of corresponding configuration interface, will
Configuration function containing configuration parameter, adds operation queue, and in the case of Lothrus apterus, respectively matching somebody with somebody in operation queue is performed successively
Function is put, is configured with the IED device datas or communication subnet data that are stored to database layer;
Host server will be mapped to file layers every setting time with the IED device datas and communication subnet data that postpone
In SCD file, that is, complete the configuration to SCD file.
2. the online parallel deployment system of the SCD file according to claim 1 based on database interface layer operation stream, it is special
Levying is, in interface layer, the user configuring order sent for each configuration slave, only when the corresponding configuration function of user configuring order
During for read-write operation, the corresponding configuration function of user configuring order is added into operation queue.
3. the online parallel deployment system of the SCD file according to claim 1 based on database interface layer operation stream, it is special
Levying is, interface layer configuration function includes headway management function, engineering management function, volume management function, IED type selectings function, thing
Manage loop function, communication configuration function, empty loop configuration function and Report Server Management function.
4. the online parallel deployment system of the SCD file according to claim 1 based on database interface layer operation stream, it is special
Levying is, the initial IED device datas and communication subnet data of database layer storage are by the initial SCD file to be configured of traversal
SCL language tags obtain.
5. the online parallel deployment system of the SCD file according to claim 1 based on database interface layer operation stream, it is special
Levying is, in host server, and SCD file to be configured is stored on hard disk, IED device datas and communication subnet data storage
In internal memory.
6. the online parallel deployment system of the SCD file according to claim 1 based on database interface layer operation stream, it is special
Levying is, the IED device datas constitute IED tables of data, and IED tables of data includes IED duals title, logical device first address
And subnet address, wherein IED equipment dual name be referred to as major key;Communication subnet data constitute communication subnet tables of data, communication
Sub-network data table includes:Empty terminal numbering, empty terminal model, the input and output of the empty terminal numbering and empty terminal that are attached thereto belong to
Property, wherein empty terminal model is as major key, including IED equipment, logical device, logical node and data pair belonging to empty terminal
As.
7. a kind of online parallel configuration method of SCD file based on database interface layer operation stream, including step:
S1, loads SCD file to be configured, and store;
S2, parses SCD file, obtains the data related to each IED object models, generation IED device databases and communication subnet
Database;
S3, obtains the configuration order that user sends, and the sequencing sent according to user configuring order carries out operation queue sequence,
Then, can communicator to IED databases successively according to the action type and configuration parameter of each user configuring order in operation queue
Data in grid database carry out configuration operation;
S4, every a setting time, according to the real time data in IED device databases and communication subnet database, updates and waits to match somebody with somebody
The SCD file put.
8. method according to claim 7, it is characterized in that, in step S3, if the configuration order that user sends is that IED is set
Data in standby database or communication subnet database carry out read-only operation, then corresponding operation are not included in into operation queue.
9. method according to claim 7, it is characterized in that, in step S4, after the renewal of each SCD file, delete IED and set
Standby database and communication subnet database, then parse to current updated SCD file, obtain new IED number of devices
According to storehouse and communication subnet database;And based on new IED device databases and communication subnet database, perform subsequent operation queue
In configuration function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710190995.6A CN107025279B (en) | 2017-03-28 | 2017-03-28 | SCD file online parallel configuration system and method based on database interface layer operation flow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710190995.6A CN107025279B (en) | 2017-03-28 | 2017-03-28 | SCD file online parallel configuration system and method based on database interface layer operation flow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107025279A true CN107025279A (en) | 2017-08-08 |
CN107025279B CN107025279B (en) | 2020-03-10 |
Family
ID=59526050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710190995.6A Active CN107025279B (en) | 2017-03-28 | 2017-03-28 | SCD file online parallel configuration system and method based on database interface layer operation flow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107025279B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107958345A (en) * | 2017-12-13 | 2018-04-24 | 许继集团有限公司 | A kind of SCD file collocation method and device based on database and file fragment |
CN109754131A (en) * | 2017-11-01 | 2019-05-14 | 国家电网公司 | A kind of SCD file configuration method and device based on NXD |
CN109800209A (en) * | 2019-02-18 | 2019-05-24 | 重庆邮电大学 | A kind of parallel analytic method of intelligent substation SCD file |
CN110765083A (en) * | 2019-09-30 | 2020-02-07 | 许昌许继软件技术有限公司 | Data forwarding equipment of intelligent substation and memory optimization method thereof |
CN112287648A (en) * | 2020-10-27 | 2021-01-29 | 国电南瑞科技股份有限公司 | SCD-based substation monitoring system data point table generation and synchronization method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862538A (en) * | 2006-02-27 | 2006-11-15 | 华为技术有限公司 | Data configuration system and method for implementing data configuration |
CN102867274A (en) * | 2012-07-27 | 2013-01-09 | 江苏省电力公司电力科学研究院 | Management and graphical display system for intelligent substation SCL (substation configuration description language) configuration files |
CN103425467A (en) * | 2012-05-18 | 2013-12-04 | 汪巨森 | Method for generating programs on basis of IEC (international electrotechnical commission) 61850 |
CN103605705A (en) * | 2013-11-11 | 2014-02-26 | 国家电网公司 | SCD (substation configuration description) file management system |
CN105429027A (en) * | 2015-11-12 | 2016-03-23 | 国网宁夏电力公司 | Secondary safety measure support system in operation and maintenance of intelligent substation and construction method |
CN106021396A (en) * | 2016-05-13 | 2016-10-12 | 国网辽宁省电力有限公司电力科学研究院 | B/S framework-based SCD configuration file graphic display method |
-
2017
- 2017-03-28 CN CN201710190995.6A patent/CN107025279B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862538A (en) * | 2006-02-27 | 2006-11-15 | 华为技术有限公司 | Data configuration system and method for implementing data configuration |
CN103425467A (en) * | 2012-05-18 | 2013-12-04 | 汪巨森 | Method for generating programs on basis of IEC (international electrotechnical commission) 61850 |
CN102867274A (en) * | 2012-07-27 | 2013-01-09 | 江苏省电力公司电力科学研究院 | Management and graphical display system for intelligent substation SCL (substation configuration description language) configuration files |
CN103605705A (en) * | 2013-11-11 | 2014-02-26 | 国家电网公司 | SCD (substation configuration description) file management system |
CN105429027A (en) * | 2015-11-12 | 2016-03-23 | 国网宁夏电力公司 | Secondary safety measure support system in operation and maintenance of intelligent substation and construction method |
CN106021396A (en) * | 2016-05-13 | 2016-10-12 | 国网辽宁省电力有限公司电力科学研究院 | B/S framework-based SCD configuration file graphic display method |
Non-Patent Citations (1)
Title |
---|
李贵等: "对象互操作的层次模型", 《计算机科学》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109754131A (en) * | 2017-11-01 | 2019-05-14 | 国家电网公司 | A kind of SCD file configuration method and device based on NXD |
CN109754131B (en) * | 2017-11-01 | 2022-05-20 | 国家电网公司 | SCD file configuration method and device based on NXD |
CN107958345A (en) * | 2017-12-13 | 2018-04-24 | 许继集团有限公司 | A kind of SCD file collocation method and device based on database and file fragment |
CN109800209A (en) * | 2019-02-18 | 2019-05-24 | 重庆邮电大学 | A kind of parallel analytic method of intelligent substation SCD file |
CN109800209B (en) * | 2019-02-18 | 2021-04-16 | 重庆邮电大学 | Intelligent substation SCD file parallel analysis method |
CN110765083A (en) * | 2019-09-30 | 2020-02-07 | 许昌许继软件技术有限公司 | Data forwarding equipment of intelligent substation and memory optimization method thereof |
CN110765083B (en) * | 2019-09-30 | 2022-07-12 | 许昌许继软件技术有限公司 | Data forwarding equipment of intelligent substation and memory optimization method thereof |
CN112287648A (en) * | 2020-10-27 | 2021-01-29 | 国电南瑞科技股份有限公司 | SCD-based substation monitoring system data point table generation and synchronization method |
Also Published As
Publication number | Publication date |
---|---|
CN107025279B (en) | 2020-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107025279A (en) | The online parallel deployment system and method for SCD file based on database interface layer operation stream | |
CN104067216B (en) | System and method for implementing expansible data storage service | |
CN104618433B (en) | A kind of service combining method based on eca rule | |
CN100484039C (en) | Network management apparatus and network management method | |
CN102567932A (en) | Method, device and system for managing comprehensive resources | |
CN103336782B (en) | A kind of relationship type distributed data base system | |
CN110110006A (en) | Data managing method and Related product | |
CN103593457B (en) | Method for converting document format | |
CN102891768A (en) | Method and network element for network management | |
CN108446327A (en) | Operation system dynamic creation method, device, computer equipment and storage medium | |
CN106021370A (en) | Memory database instance management method and device | |
CN113721892A (en) | Domain modeling method, domain modeling device, computer equipment and storage medium | |
CN108073696A (en) | GIS application processes based on distributed memory database | |
CN107870949A (en) | Data analysis job dependence relation generation method and system | |
CN103561083B (en) | Data processing method for Internet of things | |
CN113094355A (en) | Model instantiation method, device, equipment and medium based on domestic communication protocol | |
CN110532058A (en) | Management method, device, equipment and the readable storage medium storing program for executing of container cluster service | |
CN110134698A (en) | Data managing method and Related product | |
CN103809944A (en) | Web database development component processing method based on JDBC | |
CN101820354A (en) | Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server | |
CN101552695B (en) | A unified network management method and system for multi-disciplinary networks | |
CN103198140B (en) | A kind of database storage system and date storage method | |
CN109101550A (en) | Semantic network management system, method, equipment and storage medium | |
CN109783596A (en) | A kind of ArcGIS map configuration method for previewing based on Angular component | |
CN107729410A (en) | A kind of database engine suitable for power equipment big data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |