Cities and counties' scheduling data centralization collection of power equipment and the method for supervision
the application is application number: 201110332707.9, and invention and created name is " cities and counties' scheduling data centralization collection of power equipment and the method for operation monitoring ", and 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 the scheduling data centralization collection of power equipment of a kind of cities and counties and the method for supervision.
Background technology
Along with the development of modern power network, electrical network intellectuality has become the trend of power network development, and intelligent grid important feature be have in real time, online and continuous print security evaluation and analysis ability, powerful early warning and prevention and control ability, and automatic trouble diagnosis, Fault Isolation and system self-recovery ability, and the running status understanding all kinds of power equipment real-time and accurately supports the necessary condition that intelligent grid runs.Utilize the present computer technology, it is the important means ensureing smart grid security and find incipient fault that the communication technology and sensor technology carry out real-time monitoring to the running status supporting all kinds of power equipments that intelligent grid runs, and is the basis of monitoring various kinds of equipment running status to the Data acquisition and issuance of various kinds of equipment running status.In order to realize the collection to various kinds of equipment status data, the collection analysis platform of corresponding device data just must be set up.And need to set up a set of effective device data acquisition method in the face of numerous different types of equipment and corresponding acquisition tasks performs platform, thus online equipment running status can be monitored in real time, ensure the safe operation of power system operation.
Summary of the invention
The technical problem to be solved in the present invention is to provide the scheduling data centralization collection of power equipment of a kind of cities and counties and the method for supervision, it is according to the feature of power equipment, define a set of power equipment acquisition tasks description script language meeting electric power stipulations popular now, and the acquisition tasks corresponding with this script performs framework.Task depicting language defines every acquisition tasks and the acquisition parameter corresponding with this task that will perform, and unified tasks carrying framework is responsible for the acquisition tasks performing these definition.
In order to solve the problems of the technologies described above, the cities and counties provided by the invention scheduling data centralization collection of power equipment and the method for supervision, it comprises:
Step (1), arrange acquisition tasks definitional language, it comprises the description definition of acquisition parameter corresponding to equipment, this equipment that will gather task and task behavior; Wherein, be the definition of the device attribute to required by task to the description definition of equipment, comprise: the protocol type that the address information of equipment, equipment adopt; Device parameter describes for defining the collection period of a parameter, the imformosome address of parameter, the acquisition instructions collection of information point, the answering of parameter acquisition, hough transformation type; This acquisition tasks definition language emits collection to take out a series of minimum perform bulk be described according to the feature of power equipment work operation and dispatching management, these perform bulk can be carried out the different acquisition task that different combinations defines distinct device by task definition language, and acquisition tasks language also defines the actuating logic between perform bulk.These tasks carrying bodies have two types, one is parameter perform bulk, mainly obtain the environmental parameter needed for an acquisition tasks, such as collecting device property parameters, the acquisition instructions collection of the collection period of device parameter, the imformosome address of parameter, information point, the answering, hough transformation type etc. of parameter acquisition;
Another kind is command execution body, the stipulations order mainly in execution parameter perform bulk, receives corresponding stipulations message and according to the stipulations Parameter analysis of electrochemical message data in parameter perform bulk.Acquisition tasks definition language hits and has taken out power equipment data acquisition, supports 101 stipulations, Modbus stipulations, the power equipment of Tmaster stipulations, also extends to the equipment of other stipulations.
Step (2), arrange electric power stipulations and resolve behavior definitional language, it comprises the definition that Receive message flow process to all kinds of general electric power stipulations, message content analytic method and stipulations order generate and describes grammer; This language is mainly used for describing the generation of stipulations order in the device data acquisition process of certain stipulations, the implementation of stipulations order, the rule that order and message data are resolved, use this language can describe the otherness of distinct device in data acquisition of same electric power stipulations flexibly, also support mutation and the expansion of Standards Code simultaneously.Perform parsing behavior by each stipulations of this language definition to be performed by explanation in unified tasks carrying framework.
Step (3), arrange unified tasks carrying framework, this unifies tasks carrying framework for resolving defined mission script, and performs corresponding task according to content for script; This is unified tasks carrying framework and is driven by corresponding mission script, and perform corresponding task according to the instruction that mission script comes, this is unified tasks carrying framework and comprises: task resolver, task behavior storehouse, stipulations behavior resolver and equipment Uniform Communication Platform; First task resolver completes the parsing to mission script, assembles corresponding task behavior according to mission script; A task is made up of one or several task behaviors, and stipulations are resolved task behavior and called the parsing that stipulations behavior resolver completes stipulations order generation to stipulations equipment and stipulations message; Task has been responsible for by equipment Uniform Communication Platform with the mutual of external device in the process of implementation; The main purpose of this framework sets up one flexible expansion to gather the power equipment data acquisition request that framework deals with complexity.Framework defines a set of task body access criteria, and any acquisition tasks meeting access criteria can be performed by task framework.All tasks are in the frame driven by mission script and perform, and unified tasks carrying framework is used for resolving defined mission script, and performs corresponding task according to content for script.
Step (4), arrange equipment Uniform Communication Platform, this equipment Uniform Communication Platform is responsible for the communication interaction with external equipment, and its receives the order sent by task control actuator, more corresponding external equipment is passed in order; It is also responsible for the message that reception external equipment sends over simultaneously, and tasks carrying controller is cheated in corresponding message return.In order to manage and control the interactive communication of each acquisition tasks and various equipment in unified tasks carrying framework, the communication mechanism that have employed asynchronous and unblock accelerates the reciprocal process of unified tasks carrying framework and external equipment.Uniform Communication Platform receives the order sent by the task control actuator in unified tasks carrying framework, more corresponding external equipment is passed in order; It is also responsible for the message that reception external equipment sends over simultaneously, utilizes stipulations matching technique message to be sent to tasks carrying controller corresponding in tasks carrying framework.
Described acquisition tasks definitional language definable meets the acquisition tasks of the equipment of 101 stipulations, 104 stipulations, ModBus stipulations and Tmaster stipulations, also can define the task of meeting this linguistic norm.
Adopt the multiple interbehavior of the various stipulations described in the description of stipulations behavioral description language, this interbehavior comprises: the acquisition flow process of stipulations message, the analytic method of concrete message and the stipulations order producing method of the corresponding message of acquisition; Adopt unified stipulations resolver by the parsing of the stipulations behavior to the definition of stipulations descriptive language, thus support described 101 stipulations, 104 stipulations, ModBus stipulations and Tmaster stipulations, and be suitable for new stipulations to import.
Described unified tasks carrying framework is driven by mission script, and the describable task of any mission script all can be run in unified tasks carrying framework.
Described equipment Uniform Communication Platform is used for the communication interaction with external system, and this platform defines the interactive interface with tasks carrying framework, tasks carrying framework and external system has been done one and has isolated; Dissimilar hardware interface device can be facilitated the introduction of by this platform.
Technique scheme of the present invention has the following advantages compared to existing technology: (1) cities and counties of the present invention dispatch in data centralization collection of power equipment and the method for supervision, task depicting language defines every acquisition tasks and the acquisition parameter corresponding with this task that will perform, and unified tasks carrying framework is responsible for the acquisition tasks performing these definition.Acquisition tasks descriptive language have followed current all kinds of universal electric power stipulations specification, and definable describes the communication acquisition tasks overall process of each different types of power equipment.This process prescription generally includes target device corresponding to the acquisition tasks acquisition parameter corresponding with this equipment.When completing the definition of the particular task behavior to a particular device with task depicting language, unified tasks carrying framework just can define the act of execution of this task according to this mission script.All kinds of different target device can be accessed easily by this system, and the acquisition parameter of corresponding equipment, thus a set of extendible power equipment data acquisition platform can be set up quickly and easily.(2) owing to there is numerous different types of power equipment, they have employed different electric power stipulations respectively, in order to carry out mutual easily with these electric power stipulations equipment, especially convenient, flexiblely various dissimilar power equipment can be accessed rapidly in grid equipment supervisory control system, the present invention extracts corresponding script syntax rule describe and the mutual overall process of electric power stipulations equipment according to the characteristic of all kinds of electric power stipulations is abstract, and completes the unified tasks carrying framework supporting that acquisition tasks script runs; The difficult problem simultaneously taking this task depicting language to solve numerous power equipment running status centralized monitor in the project implementation process to access fast.(3), the present invention is according to the characteristic of electric power stipulations, the procedure decomposition mutual with the task of electric power stipulations equipment is gone out a series of minimum things unit, each unit only pays close attention to certain specified point of reciprocal process, by describing out tasks carrying process to different stipulations equipment to the different combination of carrying out of these things unit, thus accomplish the configurable customization of acquisition tasks behavior.(4), the present invention utilizes the configurable characteristic of acquisition tasks when not changing system, is new Equipments Setting acquisition tasks neatly, improves the autgmentability of system.(5), the present invention unifies the executable task of tasks carrying framework and just do not corresponding to certain class or a few kind equipment, and its task can expand to the describable any equipment of acquisition tasks linguistic norm easily.
Embodiment
Cities and counties' scheduling data centralization collection of power equipment of the present embodiment and the method for supervision, the power equipment collection that task based access control drives performs framework and the most too limit takes out the mutual overall process with an electric power stipulations equipment, for all kinds of different stipulations equipment or all can do clear description by mission script definitional language with the otherness of stipulations equipment and define, the present invention comprises acquisition tasks definitional language, electric power stipulations resolve behavioral description language, unified tasks carrying framework and equipment Uniform Communication Platform.
(1) acquisition tasks definitional language:
Comprise the description definition of the behavior body to acquisition parameter corresponding to the collecting device required by acquisition tasks, this equipment and this task, wherein the description of device level is mainly to the definition of the device level attribute of required by task, it comprises the address information of equipment, the protocol type etc. that equipment adopts: device parameter describes protocol type etc. belonging to the collection period of a main definitions parameter, the imformosome address of parameter, the acquisition instructions collection of information point, the answering of parameter acquisition, parameter; Can be performed by the identification of unified tasks carrying framework by each generic task of this syntactic definition.
(2) electric power stipulations resolve behavior definitional language:
Comprise the Receive message flow process to current all kinds of general electric power stipulations, definition that message content analytic method and stipulations order generate describes grammer, same stipulations difference on different devices taken into account in grammer.Unified tasks carrying framework according to protocol type belonging to institute's acquisition parameter, can extract corresponding imformosome information by corresponding stipulations behavior grammar from stipulations message.
(3) tasks carrying framework is unified:
Unified tasks carrying framework is the core of native system, and it is responsible for resolving defined mission script, performs corresponding task according to content for script.This task framework is not stick to certain class particular task and behavior, anyly all can be performed in this common tasks framework by the task of mission script syntactic definition.It is driven by corresponding mission script, and perform corresponding task according to the instruction that mission script comes, this part comprises task resolver, task behavior storehouse, stipulations behavior resolver;
First task resolver completes the parsing to mission script, assembles corresponding task behavior according to mission script.A task is made up of one or several task behavior bodies, and stipulations are resolved task behavior and called stipulations behavior resolver and complete and resolve the stipulations order generation of stipulations equipment and stipulations message.Task has been responsible for by equipment Uniform Communication Platform with the mutual of external device in the process of implementation.
(4) equipment Uniform Communication Platform:
Equipment Uniform Communication Platform is responsible for the communication interaction with external equipment, and it receives the order sent by task control actuator, more corresponding external equipment is passed in order; It is also responsible for the message that reception external equipment sends over simultaneously, and corresponding message is returned to tasks carrying controller.
Power equipment data collection framework system of the present invention, comprises acquisition tasks definitional language, electric power stipulations parsing behavior definitional language, unified tasks carrying framework and equipment Uniform Communication Platform.
First, mission script defines the environmental variance that will need in tasks carrying process, as device address, affiliated stipulations, tasks carrying cycle, task body sequence of unit and required by task acquisition parameter etc.
First task resolver completes the parsing to mission script, assembles corresponding task gather behavior according to mission script.
An acquisition tasks can be made up of one or several task behavior bodies.Unified tasks carrying framework starts the acquisition tasks assembled, and is the data space of each task matching oneself.When needing mutual with external equipment in task behavior body, first task behavior body generates the stipulations instruction of this required by task by general stipulations message process unit, then carry out communication by implementation controller by equipment Uniform Communication Platform, be handed down to corresponding equipment.The communication packet returned also returns to corresponding task body by implementation controller, and task body calls general stipulations message process unit analytic message after receiving stipulations message, last task body assembling data upload warehouse-in.
The power equipment data of the task-driven that the present invention relates to unify collection framework system, comprise acquisition tasks definitional language, electric power stipulations parsing behavior definitional language, unified tasks carrying framework and equipment Uniform Communication Platform, it is by freely defining, resolve and performing all kinds of power equipment data acquisition session, enormously simplify the process of the data acquisition of power equipment, conveniently can define acquisition tasks and the collecting flowchart of all kinds of power equipment when not needing programming; Especially in large-scale grid equipment supervisory control system, important function has been played.
Obviously, above-described embodiment is only for example of the present invention is clearly described, and is not the restriction to embodiments of the present invention.For those of ordinary skill in the field, the tomb plinth of above-mentioned explanation can also make other changes in different forms.Here exhaustive without the need to also giving all execution modes.And these belong to spirit institute's apparent change of extending out of the present invention or change and are still among protection scope of the present invention.