In the ground integrated system of a kind of province, alarm data is shared method
Technical field
The invention belongs to electric power network technique field, the present invention relates to more precisely Real-time Alarm data sharing method in the ground integrated dispatch automated system of province.
Background technology
Economize in ground integrated dispatch automated system, because electric pressure is different, the plant stand rank of administering is also different, under normal circumstances, economize and adjust side and ground to adjust side to browse separately data and the alarm of administered plant stand, economize and adjust side cannot browse factory station data and the warning information of adjusting side to administer, such as economizing the plant stand of adjusting more than side pipe linchpin 220KV, directly 110KV plant stand is not adjusted in venue, if but ground adjusts certain low pressure station of side that accident has occurred, economize to adjust and think to check in real time immediately detailed data and the alarm of adjusting side to have an accident, at this moment just need to there is a set of province ground Real-time Alarm Data Share System, and cannot realize province in original mechanism, adjust the very first time to see the Real-time Alarm information of adjusting this plant stand of side.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of province ground Real-time Alarm data sharing method, can realize province and adjust the very first time to see the Real-time Alarm information of adjusting this plant stand of side.
For solving the problems of the technologies described above, the invention provides Real-time Alarm data sharing method in the ground integrated dispatch automated system of a kind of province, it is characterized in that, comprise the following steps:
1) alarm share service end operates in ground commissioning, instrument shared by model and the shared client of alarm operates in province's commissioning, alarm is shared client and is shared after instrument request to model, by long-range subscription, service bus positioning service end Real-time Alarm share service, analytic modell analytical model sharing request message is organized request message, to service end, initiates alarm sharing request;
2) alarm share service end is safeguarded a Real-time Alarm queue, receive the our all warning information of storage, wait for the shared client-requested of receiving alarm, after receiving alarm sharing request, resolve and solicited message is preserved, from alarm queue, take out the alarm data of the plant stand that requires in solicited message, be organized into returned packet timed sending to client;
3) alarm is shared client and is carried out after dissection process for alarm window program to the alarm data of service end transmission.
The beneficial effect that the present invention reaches: the present invention can realize province by above-mentioned steps and adjust the very first time to see the Real-time Alarm information of adjusting this plant stand of side.
Accompanying drawing explanation
Fig. 1 is Real-time Alarm data-sharing systems schematic diagram in the ground integrated dispatch automated system of a kind of province;
Fig. 2 is the flow chart of Real-time Alarm data sharing service end in the ground integrated dispatch automated system of province;
Fig. 3 is the flow chart of Real-time Alarm data sharing client in the ground integrated dispatch automated system of province.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail: accompanying drawing 1 is alarm data shared system schematic diagram in the ground integrated system of a kind of province.
1) economize in ground integrated system, under normal circumstances, economize ground and adjust each self-operating with ground, model, alarm etc. has separately, safeguards separately.After economizing certain plant stand of adjusting system splicing districted dispatch system, need Dui Gai factory data to monitor and comprise real time data and Real-time Alarm data.Take to economize to transfer adjusts alarm as example, economize and adjust automated system alarm to share client after the plant stand sharing request that the shared instrument of model sends as required, by service bus, positioningly adjust automated system service end Real-time Alarm share service, organize plant stand Real-time Alarm sharing request message, to ground, adjust automated system Real-time Alarm share service end to initiate alarm and share subscribe request; The shared instrument of model is an interface tool that operates in client as required, and by this interface, user can define which plant stand of service end need to be shared as required.
2) adjust automated system Real-time Alarm share service end to safeguard a Real-time Alarm queue, receive all Real-time Alarm data in storage native system, in the alarm that receives province's tune automated system, share after subscribe request, judgement request message type: if alarm subscribe request message carries out authority judgement, possessing corresponding authority does corresponding by the required power plant and substation's information in message with native system plant stand, afterwards corresponding result is deposited in the internal memory of adjusting automated system Real-time Alarm share service end program, this corresponding result sends to province to adjust automated system Real-time Alarm to share client to subscribe to the form of reply message simultaneously, then, ground adjusts automated system Real-time Alarm share service end according to this corresponding result, alarm data is mail to province adjusts automated system Real-time Alarm to share client, if do not possess corresponding authority, do not return to request failure information, if alarm data request message is organized into returned packet timed sending to economizing the shared client of tune automated system Real-time Alarm according to the subscription information of having preserved and by the alarm data of the plant stand that requires in solicited message,
3) after the message that the shared client of province's tune automated system Real-time Alarm returns to ground tune automated system Real-time Alarm share service end, resolve, the type of judgement returned packet, if subscription reply message, if error message, resend subscribe request message, otherwise generate the factory station data information of subscribing to, deposit in the internal memory of client-side program, then generate Real-time Alarm request of data message, send to and adjust automated system Real-time Alarm share service end, wait for and receive the alarm data returned packet that automated system Real-time Alarm share service end is adjusted on ground, receive after data returned packet, Real-time Alarm data are sent to alarm window with new alarm type, so just can realize sharing of alarm data in the ground integrated system of province,
4) economize and adjust automated system alarm to share client after the variation plant stand sharing request that the shared instrument of model sends as required, again to ground, adjust automated system Real-time Alarm share service end to send subscribe request message, receive ground and adjust the subscription response message of automated system Real-time Alarm share service end, both sides carry out alarm data request/return processing with new plant stand subscription information.
If when ground commissioning thinks that request economizes commissioning alarm, need to add certain control of authority.So just can realize sharing of alarm data in the ground integrated system of province.
Above-described embodiment does not limit the present invention in any form, and all employings are equal to replaces or technical scheme that the form of equivalent transformation obtains, within all dropping on protection scope of the present invention.