Background technology
Economize, between electric power scheduling automatization system the traditional data sharing mode be that a root is made according to the other side's demand and sent tables of data, then the real time data in the tables of data is sent, receive data side data done passive reception.If variation has taken place in the demand to the data that receive, then need again demand is submitted to send data side, to treat could satisfy the demands once more to sending after tables of data makes amendment, this mutual cycle is long usually.Generally speaking, the demand that receives data side can often not change, and therefore, this flow process can satisfy the demand of both sides system to real time data.But along with the continuous development of scale of power, quantity of information is increasing, simultaneously; Accidents such as disaster take place frequently; In order to guarantee the normal reliable operation of electric system, just more and more to the interim demand of the real time data of external system, and require the requirement of response in time also increasingly high.If still adopt the traditional data sharing mode will increase user's system maintenance difficulty greatly, and can't satisfy under emergency circumstances system to the requirement of various interim real time data fast shared.
Summary of the invention
The present invention existingly economizes for solving, between electric power scheduling automatization system real time data share the deficiency of method; A kind of new solution is provided; Can solve user's huge workload that the shared variation that requires brings to real time data effectively, satisfy the user to the requirement as required of real time data outside the system, the system that makes can demand obtain various relevant real time datas at any time; And be easy to safeguard, easy to operate.
Solution of the present invention provides data sharing method between a kind of province ground electric power scheduling automatization system, and it is characterized in that: it comprises data method for subscribing and data unsubscription method, and wherein, said data method for subscribing may further comprise the steps:
1) user subscribes to/quits the subscription of instrument through the real time data of local scheduling system and formulates the demand data inventory, sends subscribe request to the opposite end dispatching system then;
2) after said opposite end dispatching system receives said subscribe request, send real time data on the said demand data inventory in real time to said local scheduling system;
Said data unsubscription method may further comprise the steps:
3) user subscribes to/quits the subscription of instrument through the real time data of local scheduling system and sends the request of quitting the subscription of;
4) said opposite end dispatching system receive said quit the subscription of request after, stop sending in real time real time data, and remove said demand data inventory.
Preferably, said local scheduling system is for economizing the electric power dispatching system, said opposite end dispatching system be electric power dispatching system.
Preferably, said local scheduling system is the ground electric power dispatching system, and said opposite end dispatching system is for economizing the electric power dispatching system.
Preferably, said data method for subscribing is further comprising the steps of:
Said local scheduling system is saved in real-time data base with it after receiving the real time data that said opposite end dispatching system sends over.
Preferably, said local scheduling system shares client through real time data and sends said subscribe request or quit the subscription of request to said opposite end dispatching system.
Preferably, said opposite end dispatching system is received the said subscribe request that said local scheduling system sends or is quit the subscription of request through real time data share service termination.
Preferably, said real time data share service termination is at first carried out authority and is judged after receiving the said subscribe request that said local scheduling system sends or quitting the subscription of request, refuses the said subscribe request of unnecessary authority or quits the subscription of request.Authority is judged can stop illegal request effectively.
The beneficial effect that the present invention reached: the needs that the user can be current according to native system, require required real time data to other system flexibly, what be convenient to the user dailyly uses and manages, and has improved the adaptability to changes of system under emergency case.
Embodiment
Following specific embodiments of the invention is described in further detail.
As shown in Figure 1 to Figure 3, include real time data in province's accent electric power scheduling automatization system and the ground accent electric power scheduling automatization system and subscribe to/quit the subscription of instrument, real time data shared client, real time data share service end and real-time data base.Request is subscribed to/quit the subscription of to their local scheduling system or opposite end dispatching systems each other thereby send each other like this.The subscription that they send/request of quitting the subscription of and real time data are through the transmission of electric power dedicated network.
Under the normal condition, economize ground and transfer each self-operating of electric power scheduling automatization system with ground, its model, data etc. have separately, safeguard separately.When province's adjusting system needed, the mode that can pass through splicing was carried out real time monitoring to the data at these factories stations then with some factory's station import system of ground adjusting system.Transfer real time data with province is example with transferring; After the data sharing client receives the real time data sharing request; The data sharing service end that all data item are transferred through the network service between system with sending to; Ground is transferred after these data item and the local data base coupling matching result being generated one to economizing the real time data shared queue that transfers in this locality, simultaneously matching result is returned to province and transfers.After economize transferring the data sharing client of side to receive the return results of request, can know that which data item mate successfully, which data item is mated is failed, can be according to the requirement of native system to these data variation cycles, and the request of regular transmission real time data.Ground transfers the data sharing service end of side after generating transmission real time data shared queue; Can be according to the data item in this formation; With the variation real-time servicing of the corresponding data in the native system in this formation; Receive the real time data request of province's accent when the data sharing service end after, at once the real time data in this formation is returned to province and transfer.Economize and upgrade local real-time data base after the data sharing service end of transferring side is received real time data.The process that cancels subscriptions of real time data is also like this.If ground transfers side to think that request economizes when transferring the side real time data, needs to add certain control of authority.So just can realize economizing sharing of real time data in the ground integrated system.
Above embodiment is merely the present invention's a kind of embodiment wherein, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.