Disclosure of Invention
In order to solve the above problems, the present invention provides an interface implementation method for implementing fault diagnosis to acquire data, and the specific technical solution is as follows:
an interface implementation method for realizing power grid fault diagnosis and acquiring confidence data is characterized in that a relay protection and fault information management system is deployed in a safety zone II, and a power grid fault diagnosis system is deployed in a safety zone I; the power grid fault diagnosis system sequentially obtains data models, events and waveform data from the relay protection and fault information management system, and cross-region heterogeneous data obtaining is achieved.
The method for acquiring the data model comprises the following steps: reversely synchronizing a scadamdl real-time database applied by the relay protection and fault information management system in the area II to a scadamdl real-time database applied by the relay protection and fault information management system in the area I through a firewall; configuring a scadamdl database applied by a relay protection and fault information management system into mirror synchronization and non-event synchronization, wherein the data model mainly comprises a relay protection device model, a protection device and a primary device incidence relation.
The event acquisition method specifically comprises the following steps: an event forwarding program is deployed in a relay protection and fault information management system of a region II, the event number is different from an alarm event number of a power grid fault diagnosis system of a region I, after a security event of the region II reaches the power grid fault diagnosis system of the region I, the alarm of the power grid fault diagnosis system of the region I is not influenced, and the history and real-time database of the power grid fault diagnosis system of the region I is not stored, and the power grid fault diagnosis system of the region I receives an event with a specified event number to acquire the event of the relay protection and fault information management system.
The waveform acquisition method specifically comprises the following steps: webservice service is deployed in a relay protection and fault information management system in a region II, Webservice service is deployed at a fault diagnosis analysis node of a power grid fault diagnosis system in a region I, and the power grid fault diagnosis system in the region I obtains a waveform file of the relay protection and fault information management system in the region II.
The invention has the beneficial effects that:
the method for acquiring the data required by the power grid fault diagnosis, which is disclosed by the invention, realizes the exchange of the data required by the power grid fault diagnosis among different safety areas, and the heterogeneous system realizes the acquisition method of the data required by the power grid fault diagnosis.
The action event is synchronously protected by deploying the event forwarding program, the real-time performance is high, the problem that the timeliness is poor when the trusted data is received through a file is solved, the waveform is obtained through the Webservice service, the waveform file storage form does not need to be known, the problem of obtaining the waveform data of the heterogeneous system is solved through the standard interface calling, and the efficiency of obtaining the data is improved.
Detailed Description
For a better understanding of the present invention, the following examples are included to further illustrate the invention:
an interface implementation method for achieving power grid fault diagnosis and acquiring confidence data is characterized in that a relay protection and fault information management system is deployed in a safety zone II, a power grid fault diagnosis system is deployed in a safety zone I, and the power grid fault diagnosis system sequentially acquires data models, events and waveform data from the relay protection and fault information management system to achieve cross-zone acquisition of heterogeneous data.
The data model acquisition is the basis for acquiring data, the data model acquisition is analyzed to obtain the data information of the primary equipment with faults, and the power grid fault diagnosis system can adopt the following two schemes for acquiring the data model from the relay protection and fault information management system;
scheme 1:
reversely synchronizing a scadamdl real-time database applied by the relay protection and fault information management system in the area II to a scadamdl real-time database applied by the relay protection and fault information management system in the area I through a firewall; the real-time database has a mirror image synchronization function, a scadamdl database applied by the relay protection and fault information management system is configured to be mirror image synchronization and non-event synchronization, the relay protection and fault information management system in the area II can be synchronized to the area I after being loaded into the database, and the real-time data of the scadamdl database applied by the relay protection and fault information management system in the area II are not synchronized.
Scheme 2:
the relay protection and fault information management system in the area II is migrated to the area I, but the alarm of the area I is influenced by the relay protection and fault information management system, and the relay protection and fault information management system also sends the alarm to an alarm database of the energy management system.
Comparing the two schemes, the invention adopts the scheme 1 to obtain the data model, and the I-area power grid fault diagnosis system obtains the data model by analyzing the scadamdl database.
The method for acquiring the event from the relay protection and fault information management system by the power grid fault diagnosis system comprises the following steps: an event forwarding program is deployed in a relay protection and fault information management system in a region II, the event number is different from an alarm event number of a power grid fault diagnosis system in a region I, after a security event in the region II reaches the power grid fault diagnosis system in the region I, the alarm of the power grid fault diagnosis system in the region I is not influenced, and the history and real-time database of the power grid fault diagnosis system in the region I is not stored, the power grid fault diagnosis system in the region I receives an event with a specified event number, and the following three schemes can be adopted for obtaining the event of the relay protection and fault information management system;
scheme 1:
and the relay protection and fault information management system in the area II is transferred to the area I, and the power grid fault diagnosis system can acquire the events of the relay protection and fault information management system.
Scheme 2:
an event forwarding program is deployed in a relay protection and fault information management system in a region II, the event forwarding program monitors event information of the relay protection and fault information management system, once an event occurs, the event is transmitted to a power grid fault diagnosis and analysis system in the region I in real time through a message, but the event number is different from an alarm event number in the region I, and after a guarantee event in the region II reaches the region I, an alarm in the region I is not influenced, and a history and real-time database in the region I is not stored. And the power grid fault diagnosis intelligent analysis system in the area I receives the event of the specified event number, and can obtain the protection action and the operation alarm of the relay protection and fault information management system.
Scheme 3:
the JMS service is deployed in the relay protection and fault information management system in the area II, and the duty node of the power grid fault diagnosis system in the area I monitors JMS information, so that the power grid fault diagnosis system in the area I obtains a guarantee event of the area II, other processes in the area I cannot obtain the JMS information, and existing alarms in the area I cannot be influenced. When the relay protection and fault information management system receives the alarm, the JMS information of the appointed TOPIC is sent to the JMS client side in the area I, the information content comprises real-time alarm information and a power grid fault report, and the message format adopts an XML format. The I-area power grid fault diagnosis system receives the JMS message of the appointed TOPIC through connecting the JMS server of the II area, analyzes the message content in the XML format and acquires the alarm information. But JMS messages are asynchronous and synchronous, with slightly poor real-time.
Compared with the three schemes, the scheme 1 can influence the alarm of the EMS system, the real-time performance of the scheme 3 is lower than that of the scheme 2, and the scheme 2 is adopted for obtaining the protection event. And the I-area power grid fault diagnosis system acquires protection event data by receiving and analyzing the message sent by the II-area event forwarding program.
The power grid fault diagnosis system acquires a waveform from a relay protection and fault information management system, deploys a Webservice service in a relay protection and fault information management system in a region II, deploys a Webservice in a fault diagnosis analysis node of the power grid fault diagnosis system in the region I, and obtains a waveform file of the relay protection and fault information management system in the region II by the power grid fault diagnosis system in the region I;
scheme 1:
and deploying the Webservice in the relay protection and fault information management system in the area II, and deploying the Webservice at the duty node of the power grid fault diagnosis system in the area I, so that the power grid fault diagnosis system in the area I obtains the waveform file of the area II.
Scheme 2:
and calling an ftp interface by a program of the power grid fault diagnosis system of the area I to acquire the waveform file of the area II, wherein the condition that the area I can acquire the file of the area II through ftp or sftp is met.
Compared with the three schemes, the scheme 2 is limited by ftp or sftp authority and a port, and the method adopts the scheme 1 to acquire the waveform file.
The present invention is not limited to the above-described embodiments, which are merely preferred embodiments of the present invention, and the present invention is not limited thereto, and any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.