Alarm data is shared method in the ground integrated system of a kind of province
Technical field
The invention belongs to the electric power network technique field, the present invention relates to Real-time Alarm data sharing method in the ground integrated dispatch automated system of province more precisely.
Background technology
Economize in the ground integrated dispatch automated system; Because electric pressure is different, factory's station rank of being administered is also different, under the normal condition; Economize to transfer side and ground to transfer side to browse data and alarm that the factory of administering of institute stands separately; Economize factory station data and the warning information of transferring side to transfer side to administer, such as economizing the factory station of transferring more than the side pipe linchpin 220KV, directly 110KV factory station is not transferred in the venue with browsing; But if certain low pressure station accident happens of side is transferred on ground; Economize to transfer and to think at this moment just to need the detailed data and the alarm of transferring side to have an accident in real time immediately Yi Tao and economize ground Real-time Alarm data sharing mechanism, and can't realize economizing the Real-time Alarm information of transferring the very first time to transfer this factory of side to stand in original mechanism with seeing with checking.
Summary of the invention
Technical problem to be solved by this invention provides a kind of province ground Real-time Alarm data sharing method, can realize economizing and transfer the very first time to transfer the Real-time Alarm information at this factory station of side with seeing.
For solving the problems of the technologies described above, the present 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, may further comprise the steps:
1) alarm share service end is transferred survey with operating in; The shared instrument of model is shared client with alarm and is operated in province's accent survey; After the shared client of alarm receives the shared instrument request of 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, initiates the alarm sharing request to service end;
2) alarm share service end is safeguarded a Real-time Alarm formation; Receive all warning information of storage we; Wait for the shared client-requested of receiving alarm; After receiving the alarm sharing request, resolve and solicited message is preserved; From the alarm formation, take out the alarm data at the factory that requires of institute station in the solicited message, be organized into the returned packet timed sending and arrive client;
3) alarm is shared client and is received the alarm data that service end sends and carry out supplying alarm window program to use after the dissection process.
The beneficial effect that the present invention reached: the present invention can realize economizing through above-mentioned steps and transfer the very first time to transfer the Real-time Alarm information at this factory station of side with seeing.
Description of drawings
Fig. 1 is a Real-time Alarm data-sharing systems sketch map 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 done further introduction in detail: accompanying drawing 1 is alarm data shared system sketch map in the ground integrated system of a kind of province.
1) in the province ground integrated system, under the normal condition, economize ground and transfer each self-operating with ground, model, alarm etc. has separately, safeguards separately.After economizing certain factory station of adjusting system, adjusting system splicing ground, need keep watch on these factory's data and comprise real time data and Real-time Alarm data.Transfer alarm with province is example with transferring; Economize transferring the automated system alarm to share client receives after model as required shares factory's station sharing request that instrument sends; Transfer automated system service end Real-time Alarm share service through ground, service bus location; Organize factory's station Real-time Alarm sharing request message, transfer automated system Real-time Alarm share service end to initiate alarm to ground and share subscribe request; The shared instrument of model is an interface tool that operates in client as required, and through this interface, the user can define which factory station of service end need be carried out sharing as required.
2) transfer automated system Real-time Alarm share service end to safeguard a Real-time Alarm formation; Receive all Real-time Alarm data in the storage native system; After subscribe request is shared in the alarm that receives province's accent automated system; Judge the request message type: judge if alarm subscribe request message then carries out authority; Possess corresponding authority and then station information of the required factory in the message and native system factory station are done correspondingly, afterwards corresponding result is transferred in the internal memory of automated system Real-time Alarm share service end program with depositing in, this corresponding result of while sends to the shared client of province's accent automated system Real-time Alarm with the form of subscription reply message; Then; Ground transfers automated system Real-time Alarm share service end according to this corresponding result, alarm data is mail to province transfer the automated system Real-time Alarm to share client, does not then return the request failure information if do not possess corresponding authority; If the alarm data request message, then according to the subscription information of having preserved and the alarm data at the factory that requires of institute station in the solicited message is organized into the returned packet timed sending transfers the shared client of automated system Real-time Alarm to economizing;
3) economize to transfer the automated system Real-time Alarm to share client to transfer the message that automated system Real-time Alarm share service end returns with receiving after, resolve the type of judgement returned packet; If the subscription reply message, if error message then resends the subscribe request message; Otherwise generate the factory station data information of subscribing to; Deposit in the internal memory of client-side program, generate Real-time Alarm request of data message then, transfer automated system Real-time Alarm share service end with sending to; Wait for and receive the alarm data returned packet that automated system Real-time Alarm share service end is transferred on ground; After receiving the data returned packet, the Real-time Alarm data are sent to the alarm window with new alarm type, so just can realize economizing sharing of alarm data in the ground integrated system;
4) economize transferring the automated system alarm to share client receives after model as required shares the variation factory station sharing request that instrument sends; Again transfer automated system Real-time Alarm share service end to send the subscribe request message to ground; Receive ground and transfer the subscription response message of automated system Real-time Alarm share service end, both sides carry out alarm data request/return processing with new factory's station subscription information.
Want to ask to economize to transfer when surveying alarm if ground is transferred to survey, need add certain control of authority.So just can realize economizing sharing of alarm data in the ground integrated system.
The foregoing description does not limit the present invention in any form, and all employings are equal to the technical scheme that form obtained of replacement or equivalent transformation, all drop within protection scope of the present invention.