The data concentrated collection of cities and counties' scheduling power equipment and the method for monitoring
The application is Application No.:201110332707.9 invention and created name is《Dispatch the data of power equipment in cities and counties
The method of concentrated collection and operation monitoring》, the applying date is:The divisional application of the application for a patent for invention on October 28th, 2011.
Technical field
The present invention relates to the technical field of cities and counties' power dispatching automation, specifically a kind of number of cities and counties' scheduling power equipment
According to concentrated collection and the method for monitoring.
Background technology
With the development of modern power network, power network intellectuality has turned into the trend of power network development, and a weight of intelligent grid
Want to be characterized in that there is real-time, online and continuous security evaluation and analysis ability, powerful early warning and prevention and control ability, with
And the ability of automatic trouble diagnosis, Fault Isolation and system self-recovery, and real-time and accurately understand the fortune of all kinds of power equipments
Row state is to support the necessary condition of intelligent grid operation.Using the present computer technology, the communication technology and sensor technology pair
It is to ensure smart grid security and hair that the running status of all kinds of power equipments of support intelligent grid operation, which carries out monitoring in real time,
The important means of existing incipient fault, and the Data acquisition and issuance to various kinds of equipment running status is monitoring various kinds of equipment operation shape
The basis of state.In order to realize the collection to various kinds of equipment status data, the collection point of corresponding device data just must be set up
Analyse platform.And need to set up a set of effective device data acquisition method and therewith in face of numerous different types of equipment
Corresponding acquisition tasks perform platform, so as to monitor online equipment running status in real time, ensure the peace of power system operation
Row for the national games.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of data concentrated collection of cities and counties scheduling power equipment and monitoring
Method, according to the characteristics of power equipment, the power equipment collection for defining a set of electric power stipulations for meeting current prevalence is appointed for it
Business description script language, and the acquisition tasks corresponding with the script perform framework.Task depicting language defines institute
The every acquisition tasks and acquisition parameter corresponding with the task to be performed, and unified tasks carrying framework is responsible for performing this
The acquisition tasks defined a bit.
In order to solve the above-mentioned technical problem, the data concentrated collection of scheduling power equipment in cities and counties' provided by the invention and monitoring
Method, it includes:
Step(1), acquisition tasks definitional language is set, corresponding to its equipment for including gathering task, the equipment
The description of acquisition parameter and task behavior defines;Wherein, the description definition to equipment is that the device attribute of required by task is determined
Justice, including:Protocol type used by the address information of equipment, equipment;Device parameter describes adopting for one parameter of definition
Collect cycle, the imformosome address of parameter, the acquisition instructions collection of information point, the answering of parameter acquisition, hough transformation type;Should
Acquisition tasks define language emit collection according to power equipment work operation and take out the characteristics of management and running it is a series of it is minimum can
The execution body being described, these execution bodies can be carried out by different combinations by task definition language and define distinct device not
Same acquisition tasks, and acquisition tasks language also defines the execution logic performed between body.These tasks carrying bodies have two species
Type, one kind perform body for parameter, mainly obtain the ambient parameter needed for an acquisition tasks, such as collecting device attribute ginseng
Number, the collection period of device parameter, the imformosome address of parameter, the acquisition instructions collection of information point, parameter acquisition answering,
Hough transformation type etc.;
Another kind performs body for order, and mainly execution parameter performs the stipulations order in body, receives corresponding stipulations report
Text and the stipulations Parameter analysis of electrochemical message data in parameter execution body.Acquisition tasks, which define language, hits and has taken out power equipment number
According to gatherer process, 101 stipulations are supported, Modbus stipulations, the power equipment of Tmaster stipulations, also extend to other stipulations
Equipment.
Step(2), electric power stipulations parsing behavior definitional language is set, it includes the message to all kinds of general electric power stipulations
The definition for obtaining flow, message content analytic method and stipulations order generation describes grammer;The language is primarily used to describe certain
The generation of stipulations order, the implementation procedure of stipulations order, order and message data solution during the device data acquisition of kind stipulations
The rule of analysis, difference of the distinct device of same electric power stipulations in data acquisition can flexibly be described using the language
Property, while also support the mutation and extension of Standards Code.Parsing behavior is performed with each stipulations of the language definition unified to appoint
Business performs in framework and is explained execution.
Step(3), unified tasks carrying framework is set, this is unified tasks carrying framework and is used for defined mission script
Parsed, and corresponding task is performed according to content for script;This is unified tasks carrying framework and driven by corresponding mission script,
According to mission script come instruction perform corresponding task, this unifies tasks carrying framework includes:Task resolver, task row
For storehouse, stipulations behavior resolver and equipment Uniform Communication Platform;Task resolver completes the parsing to mission script first, according to
Mission script assembles corresponding task behavior;One task is made up of one or several task behaviors, stipulations parsing task
Behavior calls stipulations behavior resolver to complete the stipulations order generation to stipulations equipment and the parsing of stipulations message;Task is performing
During with interacting for external device completion is responsible for by equipment Uniform Communication Platform;The main purpose of the framework is to establish out one
Can flexible expansion collection framework come deal with complexity power equipment data acquisition request.Framework defines a set of task body access rule
Model, any acquisition tasks for meeting access criteria can be performed by task framework.All tasks in the frame are driven by mission script
Dynamic to perform, unified tasks carrying framework is used to parse defined mission script, and corresponding according to content for script execution
Task.
Step(4), equipment Uniform Communication Platform is set, the equipment Uniform Communication Platform is responsible for handing over the communication of external equipment
Mutually, it receives the order sent by task control actuator, then order is transmitted into corresponding external equipment;It also is responsible for simultaneously
The message that external equipment sends over is received, and corresponding message is returned and cheats tasks carrying controller.In order to manage and control system
The interactive communication of each acquisition tasks and various equipment in one tasks carrying framework, the communication mechanism for employing asynchronous non-obstruction are accelerated
The interaction of unified tasks carrying framework and external equipment.Uniform Communication Platform is received by unified tasks carrying framework
The order that task control actuator is sent, then order is transmitted to corresponding external equipment;It also is responsible for receiving outside set simultaneously
The message that preparation is brought, message is sent to tasks carrying control corresponding in tasks carrying framework using stipulations matching technique
Device processed.
The acquisition tasks definitional language definable meets 101 stipulations, 104 stipulations, ModBus stipulations and Tmaster stipulations
Equipment acquisition tasks, the meeting the linguistic norm of the task can also be defined.
Using a variety of interbehaviors of the described various stipulations of stipulations behavioral description language description, the interbehavior includes:
The acquisition flow of stipulations message, the analytic method of specific message and the stipulations order producing method for obtaining corresponding message;Using system
One stipulations resolver is by the parsing of the stipulations behavior defined to stipulations description language, so as to support 101 stipulations, 104 rule
About, ModBus stipulations and Tmaster stipulations, and suitable for new stipulations are imported.
The unified tasks carrying framework is driven by mission script, and any describable task of mission script can all unite
Run in one tasks carrying framework.
The equipment Uniform Communication Platform is used for the communication interaction with external system, and the platform defines and tasks carrying frame
The interactive interface of frame, tasks carrying framework one is done with external system and isolated;Inhomogeneity can be facilitated the introduction of by the platform
The hardware interface device of type.
The above-mentioned technical proposal of the present invention has advantages below compared with prior art:(1)Cities and counties' scheduling electric power of the present invention
In the data concentrated collection of equipment and the method for monitoring, task depicting language define the every acquisition tasks to be performed and
Acquisition parameter corresponding with the task, and unified tasks carrying framework is responsible for performing the acquisition tasks of these definition.Collection is appointed
Business description language have followed current all kinds of universal electric power stipulations specifications, and definable describes the logical of each different types of power equipment
Believe acquisition tasks overall process.This process description generally includes that target device corresponding to acquisition tasks is corresponding with the equipment to be adopted
Collect parameter.When the definition that the particular task behavior to a particular device is completed with task depicting language, unified tasks carrying frame
Frame can define the process performing for completing the task according to the mission script.Can easily it be accessed by the system all kinds of different
Target device, and the acquisition parameter of corresponding equipment, so as to quickly and easily set up a set of expansible power equipment number
According to acquisition platform.(2)Because there is numerous different types of power equipments, different electric power stipulations have been respectively adopted in they,
In order to easily be interacted with these electric power stipulations equipment, energy is convenient, flexible rapidly especially in grid equipment monitoring system
Various types of power equipment is accessed, the present invention extracts corresponding script language according to the characteristic of all kinds of electric power stipulations is abstract
Syntax rule is sayed to describe to interact overall process with electric power stipulations equipment, and completes and supports the operation of acquisition tasks script
Unified tasks carrying framework;The task depicting language is taken to solve numerous power equipment operations in the project implementation process simultaneously
The problem that state Centralized Monitoring quickly accesses.(3), the present invention according to the characteristics of electric power stipulations, will appoint with electric power stipulations equipment
The procedure decomposition of business interaction goes out a series of minimum things unit, and each unit only focuses on some specified point of interaction, leads to
Cross and tasks carrying process of the different combinations to be depicted to different stipulations equipment is carried out to these things units, so as to accomplish
The configurable customizations of acquisition tasks behaviors.(4), the present invention using acquisition tasks can configure characteristic do not changing the feelings of system
Under condition, it is neatly new device configuration acquisition tasks, improves the autgmentability of system.(5), the unified tasks carrying frame of the present invention
The executable task of frame is not simply corresponding to certain class or a few kind equipments, and its task can be easily extended to acquisition tasks
The describable any equipment of linguistic norm.
Embodiment
The method of the data concentrated collection and monitoring of cities and counties' scheduling power equipment of the present embodiment, the electricity of task based access control driving
Power equipment collection performs framework and most taken out to limit very much interacts overall process with electric power stipulations equipment, for all kinds of differences
Stipulations equipment or clear description can be all done by mission script definitional language define with the otherness of stipulations equipment, the present invention includes
Acquisition tasks definitional language, electric power stipulations parsing behavioral description language, unified tasks carrying framework and equipment Uniform Communication Platform.
(1)Acquisition tasks definitional language:
Comprising to the behavior body of acquisition parameter and the task corresponding to the collecting device required by acquisition tasks, the equipment
The description of description definition, wherein device level is mainly the definition to the device level attribute of required by task, and it includes the address of equipment
Information, protocol type etc. used by equipment:Device parameter describes the collection period of one parameter of main definitions, the information of parameter
Body address, the acquisition instructions collection of information point, the answering of parameter acquisition, the affiliated protocol type of parameter etc.;Pass through the grammer
Each generic task of definition can be performed by unified tasks carrying framework identification.
(2)Electric power stipulations parse behavior definitional language:
Comprising to the Receive message flow of current all kinds of general electric power stipulations, message content analytic method and stipulations life
The definition of order generation describes grammer, and grammer has taken into account the difference of same stipulations on different devices.Unified tasks carrying framework can
According to the affiliated protocol type of institute's acquisition parameter, corresponding information can be extracted from stipulations message by corresponding stipulations behavior grammar
Body information.
(3)Unified tasks carrying framework:
Unified tasks carrying framework is the core of the system, and it is responsible for parsing defined mission script, according to
Content for script performs corresponding task.The task framework is not to stick to certain class particular task and behavior, it is any can be by task
The task of script syntactic definition can all perform in this common tasks framework.It is driven by corresponding mission script, according to appoint
The be engaged in instruction of script performs corresponding task, and the part includes task resolver, task behavior storehouse, stipulations behavior parsing
Device;
Task resolver completes the parsing to mission script first, and corresponding task behavior is assembled according to mission script.One
Individual task is made up of one or several task behavior bodies, and the completion pair of stipulations behavior resolver is called in stipulations parsing task behavior
Parse the stipulations order generation of stipulations equipment and stipulations message.Task interacts by equipment with external device in the process of implementation
Uniform Communication Platform is responsible for completion.
(4)Equipment Uniform Communication Platform:
Equipment Uniform Communication Platform is responsible for the communication interaction with external equipment, and it receives and sent by task control actuator
Order, then order is transmitted to corresponding external equipment;It also is responsible for receiving the message that external equipment sends over simultaneously, and will
Corresponding message returns to tasks carrying controller.
The power equipment data collection framework system of the present invention, including acquisition tasks definitional language, electric power stipulations Analytic Traveling
For definitional language, unified tasks carrying framework and equipment Uniform Communication Platform.
First, mission script defines the environmental variance to be needed during tasks carrying, such as device address, affiliated rule
About, tasks carrying cycle, task body sequence of unit and required by task acquisition parameter etc..
Task resolver completes the parsing to mission script first, and corresponding task collection row is assembled according to mission script
For.
One acquisition tasks can be made up of one or several task behavior bodies.Unified tasks carrying framework, which starts, to be assembled
Acquisition tasks, and distribute the data space of oneself for each task.When needed in task behavior body and external equipment hand over
When mutual, the stipulations that task behavior body generates the required by task by general stipulations message process unit first instruct, then by holding
Line control unit is communicated by equipment Uniform Communication Platform, is handed down to corresponding equipment.The communication packet of return is also by performing
Controller returns to corresponding task body, and task body calls general stipulations message process unit parsing report after stipulations message is received
Text, last task body assembling data upload storage.
The power equipment data of task-driven of the present invention unify collection framework system, including acquisition tasks define language
Speech, electric power stipulations parsing behavior definitional language, unified tasks carrying framework and equipment Uniform Communication Platform, it passes through to all kinds of electricity
Freely defining, parse and performing for power device data acquisition task, enormously simplify the process of the data acquisition of power equipment,
The acquisition tasks and collecting flowchart of all kinds of power equipments can be conveniently defined in the case of need not programming;Especially in large-scale power network
Important function has been played in equipment monitoring system.
Obviously, above-described embodiment is only intended to clearly illustrate example of the present invention, and is not to the present invention
The restriction of embodiment.For those of ordinary skill in the field, it can also be made on the tomb plinth of described above
Its various forms of changes or variation.There is no necessity and possibility to exhaust all the enbodiments.And these belong to this hair
Among the obvious changes or variations that bright spirit is extended out is still in protection scope of the present invention.